RE: FW: injecting new packets into the netfilter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Jun 2004, Mayank Kumar wrote:

> I want to know how can u send new packets in the kernel the 
> same way libnet does. The idea is that after i have returned
> NF_STOLEN from inside my hook functions in the kernel modules,
> i want to queue them toa kernel thread.

See for example the REJECT target. This creates ICMP or even TCP packets
in response to the traffic to reject.

Regards
Henrik



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux