Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184164 - net-firewall/iptables-1.3.8 update for net-misc/l7-filter-2.13
Summary: net-firewall/iptables-1.3.8 update for net-misc/l7-filter-2.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 02:26 UTC by cilly
Modified: 2007-08-09 12:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patchsofar (patch,2.11 KB, patch)
2007-07-04 14:12 UTC, Daniel Black (RETIRED)
Details | Diff
iptables-1.3.8-r1.ebuild (iptables-1.3.8-r1.ebuild,5.65 KB, text/plain)
2007-07-05 13:30 UTC, cilly
Details
ebuild for iptables including l7-filter-2.13 (iptables-1.3.8-r2.ebuild,6.09 KB, text/plain)
2007-08-08 11:44 UTC, cilly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2007-07-04 02:26:55 UTC
To make it consistent with the latest l7-filter version which was released for kernel 20+ and avoid extra downloading, the line of the ebuild:

L7_PV="2.9"

should be changed to:

L7_PV="2.10"
Comment 1 cilly 2007-07-04 10:47:05 UTC
Additional Info:

   if use l7filter && \
       [ ! -f "${KERNEL_DIR}/net/ipv4/netfilter/ipt_layer7.c" ]; then
       die "For layer 7 support emerge net-misc/l7-filter-${L7_PV} before this"
   fi

The above lines block iptables to be emerged if l7-filter-2.10 is used. With kernel 20+ the location of that file is obsolete.
Comment 2 cilly 2007-07-04 11:34:46 UTC
(In reply to comment #1)
> Additional Info:
> 
>    if use l7filter && \
>        [ ! -f "${KERNEL_DIR}/net/ipv4/netfilter/ipt_layer7.c" ]; then
>        die "For layer 7 support emerge net-misc/l7-filter-${L7_PV} before this"
>    fi
> 
> The above lines block iptables to be emerged if l7-filter-2.10 is used. With
> kernel 20+ the location of that file is obsolete.

-if l7-filter-2.10 is used
+if l7-filter-2.10+ is used
> 

Comment 3 Daniel Black (RETIRED) gentoo-dev 2007-07-04 12:00:49 UTC
k I'll take care of it. i'll update the imq patch too
Comment 4 cilly 2007-07-04 12:23:15 UTC
L7_PV="2.9"

should be changed to:

L7_PV="2.11"
Comment 5 cilly 2007-07-04 12:52:01 UTC
fine, very nice you did not complain about me, being too keen ;)

I just like moving fast :D

Keep up the good work!
Comment 6 Daniel Black (RETIRED) gentoo-dev 2007-07-04 14:12:42 UTC
Created attachment 123875 [details, diff]
patchsofar

work in progress - upstream compile bugs http://sourceforge.net/tracker/index.php?func=detail&aid=1747807&group_id=80085&atid=558668
Comment 7 cilly 2007-07-04 15:27:28 UTC
meanwhile first of all, thanks to Daniel!

For all of you who can't wait to get l7-filter going, here is the deal:

Compile iptables against 2.6.19.7 source with useflag l7filter enabled.

iptables will work with l7-filter.

Of course, it's a really dirty hack so use at your own risk.
Comment 8 SpanKY gentoo-dev 2007-07-04 18:16:53 UTC
i'd just as soon scrub l7-filter from the iptables ebuild ... problem solved
Comment 9 Daniel Black (RETIRED) gentoo-dev 2007-07-04 21:50:30 UTC
(In reply to comment #8)
> i'd just as soon scrub l7-filter from the iptables ebuild ... problem solved
> 

me too and soon. upstream is moving to using userspace filters.
Comment 10 cilly 2007-07-04 22:53:13 UTC
well, userspace version is far from being stable
Comment 11 cilly 2007-07-05 08:24:15 UTC
Okay, upstream released iptables patch:

http://sourceforge.net/project/shownotes.php?group_id=80085&release_id=520909

@SpanKY:

The l7-filter-team is doing a great job. At the moment, the only possibility to shape traffic on layer7 basis is l7-filter. The current userspace version is far from being stable. If, and there might be a long way to go, the userspace version is ready to go, then I agree with scrubbing l7-filter. (my2cents)
Comment 12 cilly 2007-07-05 13:30:27 UTC
Created attachment 123955 [details]
iptables-1.3.8-r1.ebuild

The patch is now chosen be dependency of header files in the kernel.
Comment 13 Daniel Black (RETIRED) gentoo-dev 2007-07-07 02:47:06 UTC
(In reply to comment #12)
> Created an attachment (id=123955) [edit]
> iptables-1.3.8-r1.ebuild
> 
> The patch is now chosen be dependency of header files in the kernel.
> 
Yes. Didn't like the imq version bump in my previous patch?
Oh well. Hope it works for you and tell me if it doesn't.

ref "The current userspace version is far from being stable" I know upstream doesn't classify it as stable however there are no bugs listed in the upstream. If you know of some add them.

this isn't the best forum for discussion so lets leave it there. I'll maintain l7-filter and associated patches to the level of my ability and interest which won't last forever. Once upstream says userspace is stable I'll drop these with extreme prejudice.
Comment 14 cilly 2007-07-09 12:17:38 UTC
uhm, haven't seen the imq-version bump. Nice move!

Thanks a lot!
Comment 15 cilly 2007-08-08 11:42:40 UTC
This is an ebuild which will use l7-filter-2.13, l7-filter-2.13 is a bugfix and should be prefered over 2.12.x.

See:

http://sourceforge.net/project/shownotes.php?group_id=80085&release_id=528562
Comment 16 cilly 2007-08-08 11:44:28 UTC
Created attachment 127271 [details]
ebuild for iptables including l7-filter-2.13
Comment 17 cilly 2007-08-08 11:45:02 UTC
reopen
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 07:35:55 UTC
(In reply to comment #17)
> reopen

Errr; can we please stop recycling this bug after it's been resolved? 

Comment 19 Daniel Black (RETIRED) gentoo-dev 2007-08-09 08:49:53 UTC
reclose. BTW patches are good for ebuild changes.
Comment 20 cilly 2007-08-09 12:43:13 UTC
@Jakub
@Daniel

okay next time then :)