Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm trying to set up snort on Debian 6.06. It's connected to an HP procurve switch which is mirroring an entire vlan (103) to eth1 on the Debian box. I'm trying to use tcpdump to make sure that eth1 can see the mirrored traffic.
eth0 is set up with ip 10.103.16.25, and eth1 does not have an address configured. My workstation (initiating the ssh session) has an IP of 10.101.0.72.
If I invoke:
Code:
tcpdump -i eth0 not port 22
, Tcpdump excludes my ssh session just fine, but if I turn to eth1, and invoke:
Your filter looks fine. My WAG is the port mirroring is somehow confusing tcpdump(8).
tcpdump(8) says, "He told me to exclude port 22 traffic for eth1. But I'm seeing port 22 traffic for eth0 - on eth1. So I'd better chatter about it". (Just a theory.)
Just for fun, try your invocation with the '-i any' option, a la:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.