Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

[Snort-users] OT: VLANs and ngrep?

Subject: [Snort-users] OT: VLANs and ngrep?
Date: Tue, 04 Sep 2007 13:22:33 +1200
Hi there - a bit off-topic, but I'm sure this is a "like minds" case :-)

We have some spanned/monitored ports here where you have to call the
likes of snort and tcpdump with "vlan xxxxx" first in the BPF for them
to "see" the traffic correctly.

Now I'm a big fan of ngrep, but it cannot operate in this mode. It
appears it is hard-wired for beginning all BPFs with "ip" - which means
I can't jam "vlan" in there to make it VLAN-aware.

Has anyone out there found a workaround for this? I partially succeeded
by fiddling with ngrep.c (#define BPF_FILTER_IP       "(vlan)") but had
a side effect
of corrupting the IPs reported - so I obviously don't know what I'm
doing :-(


 -- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

<Prev in Thread] Current Thread [Next in Thread>