summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-11-22 19:56:27 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-22 19:56:27 +0100
commita7696163d034ae029c2647a796b81fe1c5187972 (patch)
tree4936dba6a32f87eec2d39f81b3dae232843492c6 /net-misc/htbinit/files/htb_0.8.5_ipv6.patch
parentnet-misc/htbinit: EAPI8 bump, ebuild improvements (diff)
downloadgentoo-a7696163d034ae029c2647a796b81fe1c5187972.tar.gz
gentoo-a7696163d034ae029c2647a796b81fe1c5187972.tar.bz2
gentoo-a7696163d034ae029c2647a796b81fe1c5187972.zip
net-misc/htbinit/files: Update patches
Some of them applied only with a fuzz factor. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-misc/htbinit/files/htb_0.8.5_ipv6.patch')
-rw-r--r--net-misc/htbinit/files/htb_0.8.5_ipv6.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/net-misc/htbinit/files/htb_0.8.5_ipv6.patch b/net-misc/htbinit/files/htb_0.8.5_ipv6.patch
index 6e99319f2c62..526e7fcb85c5 100644
--- a/net-misc/htbinit/files/htb_0.8.5_ipv6.patch
+++ b/net-misc/htbinit/files/htb_0.8.5_ipv6.patch
@@ -1,6 +1,6 @@
--- a/htb.init
+++ b/htb.init
-@@ -275,6 +284,7 @@
+@@ -279,6 +279,7 @@
### Filtering parameters
#
# RULE=[[saddr[/prefix]][:port[/mask]],][daddr[/prefix]][:port[/mask]]
@@ -8,7 +8,7 @@
#
# These parameters make up "u32" filter rules that select traffic for
# each of the classes. You can use multiple RULE fields per config.
-@@ -300,9 +310,13 @@
+@@ -304,9 +305,13 @@
# RULE=10.5.5.5:80,
# selects traffic going from port 80 of single host 10.5.5.5
#
@@ -22,7 +22,7 @@
#
# These parameters make up "route" filter rules that classify traffic
# according to packet source/destination realms. For information about
-@@ -327,6 +341,7 @@
+@@ -331,6 +336,7 @@
#
#
# MARK=<mark>
@@ -30,7 +30,7 @@
#
# These parameters make up "fw" filter rules that select traffic for
# each of the classes accoring to firewall "mark". Mark is a decimal
-@@ -414,6 +429,9 @@
+@@ -418,6 +424,9 @@
PRIO_RULE_DEFAULT=${PRIO_RULE:-100}
PRIO_MARK_DEFAULT=${PRIO_MARK:-200}
PRIO_REALM_DEFAULT=${PRIO_REALM:-300}
@@ -40,7 +40,7 @@
### Default HTB_PATH & HTB_CACHE settings
HTB_PATH=${HTB_PATH:-/etc/sysconfig/htb}
-@@ -818,6 +838,13 @@
+@@ -823,6 +832,13 @@
prio $PRIO_MARK handle $mark fw classid 1:$CLASS
done ### mark
@@ -54,7 +54,7 @@
### Create route filter for REALM fields
for realm in `htb_cfile_rules REALM`; do
### Split realm into source & destination realms
-@@ -833,6 +860,21 @@
+@@ -838,6 +854,21 @@
${DREALM:+to $DREALM} classid 1:$CLASS
done ### realm
@@ -76,8 +76,8 @@
### Create u32 filter for RULE fields
for rule in `htb_cfile_rules RULE`; do
### Split rule into source & destination
-@@ -876,6 +918,49 @@
- prio $PRIO_RULE u32 $u32_s $u32_d classid 1:$CLASS
+@@ -888,6 +919,49 @@
+ prio $PRIO_RULE u32 $u32_s $u32_d $u32_tos classid 1:$CLASS
done ### rule
+ ### Create u32 filter for RULEIPv6 fields