Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: [FC4 Regression]: spamc doesn't use localhost by default


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175439





------- Additional Comments From [EMAIL PROTECTED]  2005-12-11 10:06 EST -------
Created an attachment (id=122109)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=122109&action=view)
A testcase

It looks a kernel bug. When spamc connects to 127.0.0.1, accepts returns
with client from eth0:

bash-3.00$ make
gcc -g    foo.c   -o foo
./foo &
/usr/bin/spamc -d 127.0.0.1 -p 10000 < Makefile > /dev/null
client: 192.168.10.1
killall foo
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:E9:9C:3E:3E
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe9c:3e3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:66945 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67008 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11665750 (11.1 MiB)  TX bytes:26087513 (24.8 MiB)

eth1      Link encap:Ethernet  HWaddr 00:90:27:35:B5:EC
          inet6 addr: fe80::290:27ff:fe35:b5ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:309349 errors:0 dropped:0 overruns:0 frame:0
          TX packets:226676 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:286360587 (273.0 MiB)  TX bytes:29126030 (27.7 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:178744 errors:0 dropped:0 overruns:0 frame:0
          TX packets:178744 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15843278 (15.1 MiB)  TX bytes:15843278 (15.1 MiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:69.232.217.9  P-t-P:151.164.184.68  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:303933 errors:0 dropped:0 overruns:0 frame:0
          TX packets:221223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:279349032 (266.4 MiB)  TX bytes:24095241 (22.9 MiB)

I am running PPP over ethernet. eth1 doesn't have an IP address. kernel
gets confused and return eth0 instead of lo.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

--
Fedora-perl-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to