Linux Netfilter discussions
 help / color / mirror / Atom feed
* REJECT target not as policy
@ 2007-08-20 13:52 Bertram Scharpf
  2007-08-20 14:08 ` Ruben Laban
  0 siblings, 1 reply; 8+ messages in thread
From: Bertram Scharpf @ 2007-08-20 13:52 UTC (permalink / raw)
  To: netfilter

Hi,


on one of my machines the REJECT target doesn't behave as I
expect. It is inserted into a chain but it is not accepted
as a policy.

myhost ~ # iptables -L
Chain INPUT (policy DROP 2 packets, 116 bytes)
 pkts bytes target     prot opt in     out     source               destination 
...
    0     0 REJECT     tcp  --  any    any     anywhere             anywhere    ...
...

But:

myhost ~ # iptables -v -t filter -P INPUT REJECT
iptables: Bad policy name


How comes this? I guess it is a kernel option I have to
change. But which?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-08-21  5:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 13:52 REJECT target not as policy Bertram Scharpf
2007-08-20 14:08 ` Ruben Laban
2007-08-20 15:52   ` Pascal Hambourg
2007-08-20 17:46     ` Bertram Scharpf
2007-08-20 18:43       ` Pascal Hambourg
2007-08-20 19:11         ` Rob Sterenborg
2007-08-20 20:27           ` Pascal Hambourg
2007-08-21  5:26             ` Rob Sterenborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox