All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables-save saves invalid negative --uid-owner expressions.
@ 2003-01-06  1:31 Costa Tsaousis
  2003-01-06  2:02 ` Hervé Eychenne
  0 siblings, 1 reply; 11+ messages in thread
From: Costa Tsaousis @ 2003-01-06  1:31 UTC (permalink / raw)
  To: netfilter-devel

Hi all,

I believe I have faced another, not-mentioned-in-2002, bug:

If you setup negative owner expressions like this:

# a transparent cache for the machine running the cache
iptables -t nat -A OUTPUT \
    -m owner ! --uid-owner squid \
    -p tcp --dport 80 ! -d 127.0.0.1 \
    -j DNAT --to 127.0.0.1:3128

then iptables-save gives this:

-A OUTPUT -d ! 127.0.0.1 -p tcp -m owner --uid-owner !squid -m tcp --dport
80 -j DNAT --to-destination 127.0.0.1:3128

which produces a "user '!squid' not found" error when restored.

Kernel  : 2.4.18-19.8.0smp
iptables: 1.2.6a
Distro  : RedHat 8.0

Regards.

-- 
Costa Tsaousis

Author of
FireHOL (http://firehol.sf.net)
-------------------------------
An iptables stateful firewall generator,
that allows you to configure your firewall...
...the way you think of it!

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

end of thread, other threads:[~2003-01-08 18:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-06  1:31 iptables-save saves invalid negative --uid-owner expressions Costa Tsaousis
2003-01-06  2:02 ` Hervé Eychenne
2003-01-06  8:07   ` Bart De Schuymer
2003-01-06  8:15   ` [PATCH]: fix all iptables problems with "!" (hopefully) Patrick McHardy
2003-01-06 12:29     ` [PATCH]: fix all iptables problems with '!' (hopefully) Costa Tsaousis
2003-01-06 15:33       ` Patrick McHardy
2003-01-07 17:15         ` Harald Welte
2003-01-07 18:53           ` Patrick McHardy
2003-01-07 20:16             ` Harald Welte
2003-01-08 18:37               ` Patrick McHardy
2003-01-06 12:34   ` iptables-save saves invalid negative --uid-owner expressions Harald Welte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.