bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Bug and Solution to Bug


From: Todd Booth
Subject: [Bug-wget] Bug and Solution to Bug
Date: Thu, 6 Oct 2011 22:41:43 +0200


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:

 

address@hidden:~$ 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 (address@hidden) (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:image002.jpg@01CB97C3.BFF2AC00Description:
Description: Description: Description: cid:image002.png@01CB3D84.E32FF720

LTU is the Official 2011 Swedish Champion in Technology-SM

 

 <http://ltu.se/> Description: Description: Description: Description:
cid:image003.png@01CB3D84.E32FF720   <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:address@hidden> address@hidden

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

LinkedIn:  <mailto:address@hidden> address@hidden

 

GIF image

JPEG image

PNG image

JPEG image

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]