Snort mailing list archives

Re: Alert Based on MAC Address


From: Matt Kettler <mkettler () evi-inc com>
Date: Thu, 21 Mar 2002 18:39:40 -0500

As Jeff W already said, the content option of a rule looks at the application layer content, not the headers.

you might consider using tcpdump for this purpose:

tcpdump ether src <mac address>

or run arpwatch.

Snort is major overkill for only trying to catch packets with a single, static feature of the header. Snort is designed for applying a few hundred different test cases (including application layer content searches) to each packet and logging matches. Tcpdump is designed for dumping packets which match a relatively simple header content pattern. Choose your tool that best fits the scope of your task.

At 03:34 PM 3/21/2002 -0500, Bamberger, Marc (M.A.) wrote:
I'm interested in tracking a PC that keeps changing it's IP address by it's
MAC (Ethernet) address. I would like to write a rule that would alert
whenever a certain MAC address appears in a packet.

It looks like the content keyword only scans the data of the packet and
doesn't match against headers. Am I misunderstanding the content keyword or
is there another way to accomplish this?


_______________________________________________
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


Current thread: