Re: bpf packet capture and SOCK_STREAM socket redirects...
- From: Vadim Goncharov <vadim_nuclight@xxxxxxx>
- Date: Thu, 20 Mar 2008 11:13:08 +0000 (UTC)
Hi Alireza Torabi!
On Thu, 20 Mar 2008 10:57:39 +0000; Alireza Torabi wrote about 'Re: bpf packet capture and SOCK_STREAM socket redirects...':
That's sort of the problem. I've got a data link capture of the packet
(bpf) and let say I redirect this packet to a SOCK_STREAM on another
machine and the whole thing will work fine (OK after rewritting some
mac and ip and checksums...).
I just need to do this on the SOCK_STREAM of the same machine. If I
try to put it in another way:
Is it possible to do a bpf write of a packet that can be seen by the
interface the bpf is bound to?
AFAIK, no.
This means that the interface does it's normal work and the packet
will be deliverd to SOCK_STREAM bound to it.
What exactly is your task? May be it is worth consider some other ways if
additional details are known.
--
WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@xxxxxxx
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: bpf packet capture and SOCK_STREAM socket redirects...
- From: Alireza Torabi
- Re: bpf packet capture and SOCK_STREAM socket redirects...
- References:
- bpf packet capture and SOCK_STREAM socket redirects...
- From: Alireza Torabi
- Re: bpf packet capture and SOCK_STREAM socket redirects...
- From: Vadim Goncharov
- Re: bpf packet capture and SOCK_STREAM socket redirects...
- From: Alireza Torabi
- bpf packet capture and SOCK_STREAM socket redirects...
- Prev by Date: Re: bpf packet capture and SOCK_STREAM socket redirects...
- Next by Date: Re: bpf packet capture and SOCK_STREAM socket redirects...
- Previous by thread: Re: bpf packet capture and SOCK_STREAM socket redirects...
- Next by thread: Re: bpf packet capture and SOCK_STREAM socket redirects...
- Index(es):
Relevant Pages
|