Security Basics mailing list archives

RE: Caching a sniffer


From: "David Gillett" <gillettdavid () fhda edu>
Date: Thu, 25 Mar 2004 11:55:26 -0800

-----Original Message-----
From: Shawn Jackson [mailto:sjackson () horizonusa com]
  I think this suggestion was that the MAC flood would 
trigger the aging, so it keeps pace automatically.  That, in 
turn, requires the malicious 
host that's flooding bogus MAC addresses to continue doing 
so, in order 
to try to keep valid MACs from being retained in the table 
(long enough 
to keep their traffic from flooding and being seen by the sniffer).

So there would need to be a algorithm to detect the MAC flood and
respond by increasing the age time for records in the table. Once the
flood stops aging would return to normal. Correct?

  Not really.  I'm a switch, and I've just seen a new source MAC 
address, which I want to insert into my table.  Uh-oh, the table
is full.  Instead of just failing to learn the new address, I'll 
"age out" the oldest address in the table prematurely to make 
space for the new one.  (If I track their ages so I can age them 
out normally, finding the oldest one shouldn't be any problem.)
  I didn't "detect the flood" or alter the normal aging time.  I
just discarded some old information instead of discarding the new
information just received.  (In essence, this means treating the
MAC table like a FIFO cache.)

David Gillett


---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off 
any course! All of our class sizes are guaranteed to be 10 students or less 
to facilitate one-on-one interaction with one of our expert instructors. 
Attend a course taught by an expert instructor with years of in-the-field 
pen testing experience in our state of the art hacking lab. Master the skills 
of an Ethical Hacker to better assess the security of your organization. 
Visit us at: 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------

Current thread: