Re: How to drop ping silently??

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

 



On Thu, January 27, 2005 7:14 am, Guilherme Cesar Soares Ruppert said:
>
> [...]
> Is there any whay to drop these packet silently, without let the ping know
> that he was blocked. I am programamming an application and I need this
> behavior. I want that ping believes that his packets were sent, but in
> fact, they were dropped.

Use -j REJECT instead of -j DROP. You cannot act like if ping was received
on the other side tho.

`iptables -j REJECT -h' for a list of icmp reject type.

>
> Is it necessary to write a netfilter module to do that? Or is that
> impossible to do in the netfilter architecture?

Depends what you want the user to see.
Maybe some more info would help ?

>
> Tks
>
> Guilherme Ruppert
>
>
>
HTH,

Samuel




[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