Re: Reading raw ethernet
From: Julian Elischer (julian_at_elischer.org)
Date: 08/19/05
- Previous message: Brooks Davis: "Re: multiple interfaces"
- In reply to: Paul Khavkine: "Reading raw ethernet"
- Next in thread: Paul Khavkine: "Re: Reading raw ethernet"
- Reply: Paul Khavkine: "Re: Reading raw ethernet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Aug 2005 13:50:50 -0700 To: Paul Khavkine <paul@distributel.net>
Paul Khavkine wrote:
> Hi guys.
>
>
> I'm writing a small program to read raw ethernet frames out of netgraph
> to capture Spannign Tree packets from the switch.
>
> Is it possible to pick up STP frames without putting the interface in
> promiscuous mode ?
If you don't put it in promiscuous mode, then you will only see broadcast
packets and packets aimed at you specifically.
If that's enough then there is nothing in netgraph that insists that
you turn on promiscuous mode.
You should probably look at the ng_etf node too BTW.
>
> Thanx
> Paul
>
> ************************************************
> Paul Khavkine
> Networks/Systems Planning and Engineering
> DISTRIBUTEL Communications.
> 740 Notre Dame West, Suite 1135
> Montreal, Quebec, Canada, H3C 3X6
> +1-514-877-5505 x 263
> http://www.distributel.net
> ************************************************
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Brooks Davis: "Re: multiple interfaces"
- In reply to: Paul Khavkine: "Reading raw ethernet"
- Next in thread: Paul Khavkine: "Re: Reading raw ethernet"
- Reply: Paul Khavkine: "Re: Reading raw ethernet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|