Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: stefan_gk on May 22, 2006, 04:42:34 PM

Title: l7-filter kernel patch
Post by: stefan_gk on May 22, 2006, 04:42:34 PM
Hi all,
Last days I'm trying to apply L7-Filter patch to play with traffic shapping.

The kernel after yum update is version 2.6.9-34.EL.

I have the kernel source and SME7rc2 development environment but unfortunately I never applyed a kernel patch.   :-(

I try the patch with:

Code: [Select]
patch -p1 < /root/netfilter-layer7-v2.2/kernel-2.6.13-2.6.16-layer7-2.2.patch

and got:

Code: [Select]
patching file include/linux/netfilter_ipv4/ip_conntrack.h
Hunk #1 succeeded at 215 with fuzz 1 (offset 93 lines).
patching file include/linux/netfilter_ipv4/ipt_layer7.h
patching file net/ipv4/netfilter/Kconfig
Hunk #1 succeeded at 160 (offset -41 lines).
patching file net/ipv4/netfilter/Makefile
Hunk #1 succeeded at 68 with fuzz 2 (offset 9 lines).
patching file net/ipv4/netfilter/ip_conntrack_core.c
Hunk #1 FAILED at 339.
1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/netfilter/ip_conntrack_core.c.rej
patching file net/ipv4/netfilter/ip_conntrack_standalone.c
Hunk #1 succeeded at 146 with fuzz 2 (offset -43 lines).
patching file net/ipv4/netfilter/ipt_layer7.c
patching file net/ipv4/netfilter/regexp/regexp.c
patching file net/ipv4/netfilter/regexp/regexp.h
patching file net/ipv4/netfilter/regexp/regmagic.h
patching file net/ipv4/netfilter/regexp/regsub.c


Can someone to help me?

Stefan

L7-Filter Site: http://l7-filter.sourceforge.net/HOWTO
Title: I do some research on centos.org
Post by: stefan_gk on May 22, 2006, 06:29:04 PM
there i found some postings:

http://centos.org/modules/newbb/viewtopic.php?topic_id=1154&forum=30&post_id=4361#forumpost4361

http://centos.org/modules/newbb/viewtopic.php?topic_id=1247&forum=27&post_id=3652#forumpost3652

Hope someone is interesting on that issue ...

Stefan
Title: Re: l7-filter kernel patch
Post by: gdbs on October 30, 2008, 02:40:12 PM
hi,

have you been able to do anything with layer7 on SME?
Title: Re: l7-filter kernel patch
Post by: gdbs on November 05, 2008, 11:39:21 AM
maybe this topic should be moved to contribs section...