Date: Sat, 25 Apr 1998 13:34:37 -0700 (PDT) From: muir@idiom.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/6412: NFS ignores interface when sending packets Message-ID: <199804252034.NAA14642@news.idiom.com>
next in thread | raw e-mail | index | archive | help
>Number: 6412 >Category: kern >Synopsis: NFS sends packets from the wrong interface >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 25 13:40:01 PDT 1998 >Last-Modified: >Originator: David Muir Sharnoff >Organization: Idiom >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD 2.2.6-STABLE on a system with many interfaces. The lowest numbered interface (fxp0) leads to the outside world. NFS traffic must be restricted to the internal network. >Description: Routing table: # netstat -rn | grep 140.174.82 140.174.82/27 209.157.69.22 UGc 2 1333 eth1 140.174.82.32/27 209.157.69.22 UGc 3 69 eth1 140.174.82.66 209.157.69.22 UGH 0 0 eth1 140.174.82.82 209.157.69.22 UGH 0 0 eth1 140.174.82.113 209.157.69.22 UGH 1 209 eth1 140.174.82.128/26 209.157.69.22 UGc 0 0 eth1 140.174.82.192/26 209.157.69.22 UGc 0 0 eth1 Firewall: # ipfw -a list | head -1 00900 47 6560 allow log udp from any to 140.174.82.4 2049 Kernel log: Apr 25 13:20:05 another /kernel: ipfw: 900 Accept UDP 209.157.69.21:1022 140.174.82.4:2049 out via fxp0 Note the interface it went out. Now it gets stranger: Interfaces: # ifconfig fxp0 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 209.66.121.17 netmask 0xffffffc0 broadcast 209.66.121.63 inet 209.66.121.65 netmask 0xffffffc0 broadcast 209.66.121.127 inet 209.66.121.18 netmask 0xffffffc0 broadcast 209.66.121.63 inet 209.66.121.19 netmask 0xffffffc0 broadcast 209.66.121.63 inet 209.66.121.69 netmask 0xffffffc0 broadcast 209.66.121.127 ether 00:a0:c9:45:b0:7d media: autoselect # ifconfig eth1 eth1: flags=51<UP,POINTOPOINT,RUNNING> mtu 1500 inet 209.157.69.21 --> 209.157.69.22 netmask 0xfffffffc I would like to add that the packets sent from fxp0 seem to be sent to the default route: # netstat -rn | grep default default 209.66.121.1 UGSc 236 8967144 fxp0 This is a slightly more complete example of a nearly identical problem I reported earlier. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804252034.NAA14642>