RE: Question on SOCK_RAW, implement a bpf->other host tee
From: Don Bowman (don_at_sandvine.com)
Date: 07/17/04
- Previous message: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"
- Maybe in reply to: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"
- Next in thread: Chuck Swiger: "Re: Question on SOCK_RAW, implement a bpf->other host tee"
- Reply: Chuck Swiger: "Re: Question on SOCK_RAW, implement a bpf->other host tee"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Don Bowman <don@sandvine.com>, "'net@freebsd.org'" <net@freebsd.org> Date: Sat, 17 Jul 2004 15:00:25 -0400
From: Don Bowman [mailto:don@sandvine.com]
> I'm trying to implement a 'tee' which reads
> from bpf, and sends matching packets to
> another layer-2 adjacent host.
>
Sorry to follow up my own post, but...
More specifically, it appears the packet does
try and transmit, but the destination MAC is
(uninitialised?) somewhat random, different
on each packet, not legal.
I can capture it on the correct output interface
with tcpdump. The interface type is xl.
Shouldn't the stack ARP for the destination
in my 'sendto', and fill in the ether header?
The ether-source is filled in, presumably by
the driver.
_______________________________________________
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: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"
- Maybe in reply to: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"
- Next in thread: Chuck Swiger: "Re: Question on SOCK_RAW, implement a bpf->other host tee"
- Reply: Chuck Swiger: "Re: Question on SOCK_RAW, implement a bpf->other host tee"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|