Skip to contentSkip to conversation

iptables NFQUEUE target

PATCH In review Eric Leblond 2 participants 2 messages Aug 4, 2005 – Aug 5, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iptables NFQUEUE target

Hi,

This patch contains a trivial bugfix : --queue-num can now really be used with NFQUEUE target.
I've also updated the man page.

BR,

Signature · 2 lines
Eric Leblond <[email protected]>
INL
libipt_NFQUEUE.c +1 -0
Index: extensions/libipt_NFQUEUE.c
===================================================================
@@ -59,6 +59,7 @@
 			exit_error(PARAMETER_PROBLEM, "NFQUEUE target: "
 				   "Only use --queue-num ONCE!");
 		parse_num(optarg, tinfo);
+		break;
 	default:
 		return 0;
 	}
libipt_NFQUEUE.man +4 -1
Index: extensions/libipt_NFQUEUE.man
===================================================================
@@ -1,7 +1,10 @@
 This target is an extension of the QUEUE target. As opposed to QUEUE, it allows
 you to put a packet into any specific queue, identified by its 16-bit queue
-number.  
+number.  It takes one option:
 .TP
+.BR "--queue-num " "\fIvalue"
+This specifies the QUEUE number to use. Valid queue numbers are 0-65535. 
+.TP
 It can only be used with Kernel versions 2.6.14 or later, since it requires
 the
 .B
#1 lore raw
Quoted 4 lines · Eric Leblond

Hi,

This patch contains a trivial bugfix : --queue-num can now really be used with NFQUEUE target.

*doh*. I'm stupid ;)

Thanks for the patch, it's applied now.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie