Skip to contentSkip to conversation

ip_queue_vwmark for pom-ng

PATCH New Eric Leblond 1 participant 1 message Jun 11, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip_queue_vwmark for pom-ng

Hi everyone,

I've just port my ip_queue_vwmark patch from p-o-m to p-o-m-ng. I join a patch against p-o-m-ng to this mail.

Description of the patch :
ip_queue_vwmark adds a function to libipq (ipq_set_vwmark for ipq_set_verdict_with_mark) that permits to put a mark on the packet when reinjecting it into the kernel.

It is used by the Nufw project (http://www.nufw.org) to mark packet with user identity thus enabling a per-user QOS or any other mark based stuff.

BR,

Signature · 2 lines
Eric Leblond <[email protected]>
INL
ip_queue_vwmark/help +12 -0
diff -uNr patch-o-matic-ng-20040302/ip_queue_vwmark/help patch-o-matic-ng-20040302.new/ip_queue_vwmark/help
@@ -0,0 +1,12 @@
+
+Adds the possibility to change mark of a packet in userspace.
+The ip_queue module is changed and a new function is added to 
+libipq to decide and change the mark of a packet. 
+
+This is used by the NuFW project (http://www.nufw.org).
+
+***** WARNING ***** 
+This patch breaks compatibility with the preceding version of libipq
+and ip_queue module.
+This patch also patch the userspace directory which means that you
+you have to recompile and reinstall the iptables package after that.
ip_queue_vwmark/info +5 -0
diff -uNr patch-o-matic-ng-20040302/ip_queue_vwmark/info patch-o-matic-ng-20040302.new/ip_queue_vwmark/info
@@ -0,0 +1,5 @@
+Title: Add a function to libipq to put a mark on paquet from userspace
+Author: Eric Leblond <[email protected]>
+Status: It Works For Me.
+Repository: extra
+Recompile: netfilter|iptables
ip_queue_vwmark/iptables.patch +76 -0

76 lines not on this page · raw message

ip_queue_vwmark/linux.patch +85 -0

85 lines not on this page · raw message