[Bug 727670] New: cannot connect to host through gateway
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c0 Summary: cannot connect to host through gateway Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rcoe@wi.rr.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 My incoming mail host is 71.74.56.78 My outgoing mail host is 71.74.56.22 I'm on a 192.168.1.X network and the gateway is 192.168.1.1 All network traffic needs to be routed through the gateway to get to the outside internet. The computer gets into a state where it cannot connect to 71.74.56.78, eg : telnet 71.74.56.78 110 Trying 71.74.56.78... telnet: connect to address 71.74.56.78: No route to host I can, however, ping and telnet to 71.74.56.22. If I reboot, all functionality to 71.74.56.78 comes back. : netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 Reproducible: Always Steps to Reproduce: 1. boot machine 2. configure network 3. fetch email 4. suspend computer 5. go to work, fetch email, work all day, suspend computer 6. come home, wake computer, configure network 7. fetch email fails -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c1 --- Comment #1 from Rich Coe <rcoe@wi.rr.com> 2011-11-02 12:43:08 UTC --- I have several computers on the 192.168.1.x network, and the openSUSE 12.1 is the only computer which has this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c2 --- Comment #2 from Rich Coe <rcoe@wi.rr.com> 2011-11-03 04:43:27 UTC --- I did a network trace on 'any' interface, instead of the wlan0 interface. The network stack is still trying to reach the 'work' gateway which was configured on eth0 (172.16.1.2): 4 4.011311 IntelCor_f0:7a:25 ARP Who has 172.16.1.2? Tell 192.168.1.8 This even though eth0 is 'down' and not even in the routing table. I removed eth0 with rmmod and it still tries to arp with the ethernet h/w addr. I am at a loss to figure out where the information of the previously defined route is coming from. I tried 'flushing' the route table with 'ip route flush table main', but this did not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c3 --- Comment #3 from Rich Coe <rcoe@wi.rr.com> 2011-11-03 04:46:26 UTC --- Correction, f0:7a:25 is the wlan0 interface. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c4 --- Comment #4 from Rich Coe <rcoe@wi.rr.com> 2011-11-03 18:07:21 UTC --- It looks like 172.16.1.2 is a cisco which replies to arp requests on the network. It's not clear to me why this address is not flushed from the network code when the interface is brought down. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c5 --- Comment #5 from Rich Coe <rcoe@wi.rr.com> 2011-11-04 03:26:00 UTC --- I found the cause. The gateway 172.16.1.1 is issuing an ICMP Redirect Why this is observed, or not dropped when eth0 is brought down, or something else that's different from 11.4 to 12.1 Internet Control Message Protocol Type: 5 (Redirect) Code: 0 (Redirect for network) Checksum: 0xfbd0 [correct] Gateway address: 172.16.1.2 (172.16.1.2) Internet Protocol, Src: 172.16.23.56 (172.16.23.56), Dst: 71.74.56.78 (71.74.56.78) I set net.ipv4.conf.all.accept_redirects = 0 as a work-around. The default on 12.1 is the same as 11.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c6 --- Comment #6 from Rich Coe <rcoe@wi.rr.com> 2011-11-05 01:00:12 UTC --- I have discovered that I cannot block the ICMP redirects as a work around. The redirect has come back with a vengence. I can also flush the routing cache with 'ip -4 ro flush cache' which empties the cache, and the entry magically comes back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c Rich Coe <rcoe@wi.rr.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c7 --- Comment #7 from Rich Coe <rcoe@wi.rr.com> 2011-11-05 15:24:45 UTC --- This looks like a promising patch I will have to try. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7cc9... 12 days ago Flavio Leitner route: fix ICMP redirect validation The commit f39925dbde7788cfb96419c0f092b086aa325c0f (ipv4: Cache learned redirect information in inetpeer.) removed some ICMP packet validations which are required by RFC 1122, section 3.2.2.2: .. A Redirect message SHOULD be silently discarded if the new gateway address it specifies is not on the same connected (sub-) net through which the Redirect arrived [INTRO:2, Appendix A], or if the source of the Redirect is not the current first-hop gateway for the specified destination (see Section 3.3.1). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c8 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |rcoe@wi.rr.com AssignedTo|kernel-maintainers@forge.pr |bpoirier@suse.com |ovo.novell.com | --- Comment #8 from Jeff Mahoney <jeffm@suse.com> 2012-03-25 22:32:11 EDT --- Did that patch help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c9 Rich Coe <rcoe@wi.rr.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|rcoe@wi.rr.com | --- Comment #9 from Rich Coe <rcoe@wi.rr.com> 2012-03-26 12:20:50 UTC --- Yes, that patch works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727670 https://bugzilla.novell.com/show_bug.cgi?id=727670#c10 Rich Coe <rcoe@wi.rr.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Rich Coe <rcoe@wi.rr.com> 2013-10-03 17:10:56 UTC --- I have not had this issue after upgrading. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com