Skip to contentSkip to conversation

u32 patch

PATCH Applied Piotr Chytla 2 participants 2 messages Aug 2, 2006 – Aug 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi

Here are some small patch for u32 match, to work on 2.6.17 kernels . Matchsize in ipt_match struct was missing.

/pch

Signature · 2 lines
Dyslexia bug unpatched since 1977 ...
exploit has been leaked to the underground.
usr/src/linux-2.6.17.6/net/ipv4/netfilter/ipt_u32.c renamed from ipt_u32.c +1 -0
@@ -217,6 +217,7 @@
 static struct ipt_match u32_match = { 
 	.name 		= "u32",
 	.match		= &match,
+	.matchsize	= sizeof(struct ipt_u32),
 	.checkentry	= &checkentry,
 	.me		= THIS_MODULE
 };
#1 lore raw
Quoted 2 lines · Piotr Chytla

Here are some small patch for u32 match, to work on 2.6.17 kernels . Matchsize in ipt_match struct was missing.

Thanks, applied.