Hello,

 

I found a bug in wget and I also found the solution to the bug.

 

Here is a description.

 

I have two Ethernet interfaces.  1) local/private and 2) public Ethernet
interface.  

 

By default wget fails because it binds locally on my local/private Ethernet
interface when connecting to the Internet !!! BUG

 

Note, I use DHCP to get my public IP address and I hard code my
local/private IP address.

 

To get around the bug:  I needed to manually tell wget to locally bind on
the public Ethernet interface.  Then it works fine.

 

Here is my solution (with a little debugging added on).

 

wget --inet4-only --debug --verbose --bind-address=77.110.21.210
http://www.snort.org/pub-bin/oinkmaster.cgi/
<http://www.snort.org/pub-bin/oinkmaster.cgi/%3cmyOinkCode%3e/snortrules-sna
pshot-2905.tar.gz> <myOinkCode>/snortrules-snapshot-2905.tar.gz  

 

Note: I’m using wget from Vyatta’s latest release -> Debian.  Here is the
startup message:

 

vyatta@Vyatta1:~$ show system boot-messages

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 2.6.37-1-586-vyatta-virt (root@vyatta) (gcc
versi 4.4.5 (Debian 4.4.5-8) ) #1 SMP Thu Jul 7 22:30:24 PDT 2011

 

Could you please let me know if this is a known bug or a new bug?

 

Thanks and Regards,

Description: Description: cid:[email protected]:
Description: Description: Description: cid:[email protected]

LTU is the Official 2011 Swedish Champion in Technology-SM

 

 <http://ltu.se/> Description: Description: Description: Description:
cid:[email protected]   <http://ltu.se/> Luleå Technology
University

Teacher, Research Engineer and Lecturer Todd Booth

 

 <http://www.ltu.se/org/srt?l=en> Department: Computer Science, Electrical
and Space Engineering, CSEE (SKE/SRT)

 <http://www.ltu.se/org/srt/Avdelningar/Datavetenskap?l=en> Division:
Computer Science

Specialty:     Computer and System Science /
<http://www.ltu.se/edu/program/FMISA?l=en> Information Security

Courses:        <http://www.ltu.se/edu/course/A00/A0004N?l=en> A0004N
Information Security and  <http://www.ltu.se/edu/course/A70/A7011N?l=en>
A7011N Internet Security

 

Direct: +46-910-585 324

Mobile: +46-76-346 3459

Email:  <mailto:[email protected]> [email protected]

Web:  <http://ltu.se/> http://LTU.se

LinkedIn:  <mailto:[email protected]> [email protected]

 

<<image001.gif>>

<<image002.jpg>>

<<image003.png>>

<<image006.jpg>>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to