* Trouble setting QUEUE in mangle table
@ 2004-12-22 20:29 joel williams
0 siblings, 0 replies; only message in thread
From: joel williams @ 2004-12-22 20:29 UTC (permalink / raw)
To: netfilter
Could use some advice.
I have a user space program and want process all packets coming into the
box (PREROUTING) and going out of the box (POSTROUTING).
POSTROUTING works as advertised, but I can not get PREROUTING,
INPUT or OUTPUT hooks to send the packets the user program.
I am adding a QUEUE rule to the mangle table. (Seems to behave the same
on filter table also.)
No other rules are defined.
Any ideas what might be wrong?
--------------
This is an out of the box Fedora-3 dirstro
uname -a
Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004
i686 i686 i386 GNU/Linux
--------------
This works, sends packets to userspace program:
# Generated by iptables-save v1.2.11 on Wed Dec 22 12:12:01 2004
*mangle
:PREROUTING ACCEPT [139:11833]
:INPUT ACCEPT [8385:713319]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [8366:708686]
:POSTROUTING ACCEPT [7643:652716]
-A POSTROUTING -j QUEUE <-------------------
COMMIT
# Completed on Wed Dec 22 12:12:01 2004
---------------
This does no work, processes packets normally, ignores rule
# Generated by iptables-save v1.2.11 on Wed Dec 22 12:09:03 2004
*mangle
:PREROUTING ACCEPT [76:6541]
:INPUT ACCEPT [8206:697972]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [8186:693255]
:POSTROUTING ACCEPT [7476:638066]
-A PREROUTING -j QUEUE <---------------
COMMIT
# Completed on Wed Dec 22 12:09:03 2004
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-22 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 20:29 Trouble setting QUEUE in mangle table joel williams
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.