[BusyBox 0001404]: wget authentication error

bugs at busybox.net bugs at busybox.net
Tue Jun 26 03:15:15 PDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1404 
====================================================================== 
Reported By:                iggarpe
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1404
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-26-2007 02:31 PDT
Last Modified:              06-26-2007 03:15 PDT
====================================================================== 
Summary:                    wget authentication error
Description: 
Looks like the HTTP authentication code is broken. When updating a dyndns
dynamic host, wget fails with the following error message:

badauthwget: error getting response: Bad file descriptor

This works fine in busybox 1.2.1.

URL Example (replace user, password myhost.dyndns.org and 127.0.0.1 with
valid values):

wget -qO -
http://user:password@members.dyndns.org/nic/update/?system=dyndns\&hostname=myhost.dyndns.org\&myip=127.0.0.1


====================================================================== 

---------------------------------------------------------------------- 
 iggarpe - 06-26-07 03:15  
---------------------------------------------------------------------- 
It seems that bb_uuencode is badly broken and is corrupting the host_info
structure when the authentication user is uuencoded.

Replacing the bb_uuencode call by the old base64enc code (see wget.c in
busybox 1.2.1) solves the problem.

Will investigate further what's going on, but thought this info is worth
being known before the bug is assigned. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-26-07 02:31  iggarpe        New Issue                                    
06-26-07 02:31  iggarpe        Status                   new => assigned     
06-26-07 02:31  iggarpe        Assigned To               => BusyBox         
06-26-07 03:15  iggarpe        Note Added: 0002516                          
======================================================================



More information about the busybox-cvs mailing list