Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 08:19:53 -0800 (PST)
From:      Dave McCammon <davemac11@yahoo.com>
To:        questions@freebsd.org
Subject:   grep, netstat, and bridging
Message-ID:  <20031223161953.18632.qmail@web41414.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I this a feature, bug, or just some logical thing that
grep does( or perhaps netstat)?

Scenario:

IP addresses
comp1=xx.xx.xx.1
comp2=xx.xx.xx.6
comp3=xx.xx.xx.12

comp1 and comp3 run FBSD 4.9 stable
comp2 runs FBSD 5.1-RELEASE

comp1 is a bridging firewall using ipfw

A: comp2# netstat -n |grep xx.xx.xx.1

tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54952 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.22    xx.xx.xx.1.1233 
ESTABLISHED


B: comp2# netstat -n |grep xx.xx.xx.1.

tcp4 0 0  xx.xx.xx.6.54954 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.22    xx.xx.xx.1.1233 
ESTABLISHED


C: comp2# netstat -n |grep xx.xx.xx.12

tcp4 0 0  xx.xx.xx.6.54957 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54956 xx.xx.xx.12.3551 TIME_WAIT


Actually..I see the same output on a cygwin machine
behind the comp1 firewall.

So, does this have something to do with the bridging
as I do not see the same behavior on another FBSD
machine that is on a different network?


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031223161953.18632.qmail>