Re: Is there a way to DROP on OUTPUT without returning EPERM?

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

 



Hi there,

On Thu, 10 Jan 2008, Mike Kasick wrote:

> iptables -A OUTPUT -o eth1 -m statistic --mode random --probability 0.5 -j DROP
>
> has the side effect of returning EPERM ... I'd really like to drop
> packets silently without the user application being notified.
>
> Is there a way I can achieve a truly silent DROP on the OUTPUT chain?  Is
> there an extension target that does this that I've missed?

Instead of DROPping it, why not just send it somewhere else?

--

73,
Ged.
-
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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