Date: Fri, 18 Aug 2006 11:49:38 +0530 From: "Rajkumar S" <rajkumars@gmail.com> To: freebsd-net@freebsd.org Subject: netgraph to userspace? Message-ID: <64de5c8b0608172319q63497574ue416409bb8b7fa42@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, Is it possible to take a packet from netgraph to userspace and drop it there? ie, can I insert some netgraph node between say lower and upper of a ng_ether push the packets to userspace [snort] for some processing and possibly either drop it there? I know that NgSendData and NgRecvData can be used to sent and receive data using ng_socket, but what I want to confirm is that does these work like a man in the middle, receiving from one end and sent it to next? And if I receive a packet and forgets to sent, it's effectievly dropped? With warm regards, raj
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64de5c8b0608172319q63497574ue416409bb8b7fa42>