[807] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Router filtering not enough! (Was: Re: CERT advisory )

daemon@ATHENA.MIT.EDU (Pete Shipley)
Fri Jan 27 07:12:56 1995

To: Darren Reed <avalon@coombs.anu.edu.au>
Cc: bugtraq@fc.net
In-Reply-To: Your message of Fri, 27 Jan 1995 10:55:46 +1100.
             <199501270002.SAA03889@freeside.fc.net> 
Date: Thu, 26 Jan 1995 23:12:02 -0800
From: Pete Shipley <shipley@merde.dis.org>

-----BEGIN PGP SIGNED MESSAGE-----


}g =

>> MAC address on a connection and to be worried if it came from a list of=
 =

>> routers but the address was the local net?
>
>I think you'll find that the MAC addresses are unavailable once the packe=
t
>has passed through the ethernet code.  I went digging yesterday, looking
>for _any_ way to get at the MAC header from the IP routines and found, no=
t
>surprisingly, that the MAC header is kept separately to the rest of the
>packet, which is passed upto the IP stuff as an mbuf.


look at the ioctl SIOCGARP, for a source code referance look at the
program getethers by Dave Curry.


		-Pete


-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQBVAwUBLyict3ynuL1gkffFAQGMSwH7Be8hrXe4jw5MOyilvDr4PU72aZnYvHF3
k/nOGxU23Cb+V7443cUn5lePZZnLRXj3kkDgQJUVvOh77GCWHyJuBw=3D=3D
=3DE3nx
-----END PGP SIGNATURE-----

home help back first fref pref prev next nref lref last post