Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120318 Details for
Bug 179792
net-firewall/firestarter-1.0.3 doesn't work with the new layer 3 independant netfilter (kernel >=2.6.20)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/nf_conntrack.patch
nf_conntrack.patch (text/plain), 2.17 KB, created by
Laurento Frittella (mrfree)
on 2007-05-25 19:30:52 UTC
(
hide
)
Description:
files/nf_conntrack.patch
Filename:
MIME Type:
Creator:
Laurento Frittella (mrfree)
Created:
2007-05-25 19:30:52 UTC
Size:
2.17 KB
patch
obsolete
>diff -Naur firestarter-1.0.3.orig/src/netfilter-script.c firestarter-1.0.3/src/netfilter-script.c >--- firestarter-1.0.3.orig/src/netfilter-script.c 2005-01-29 13:32:08.000000000 +0100 >+++ firestarter-1.0.3/src/netfilter-script.c 2007-05-25 20:30:17.000000000 +0200 >@@ -336,9 +336,9 @@ > > fprintf (script, "\n# --------( Sysctl Tuning - IPTables Specific Parameters )--------\n\n"); > >- fprintf (script, "# Doubling current limit for ip_conntrack\n"); >- fprintf (script, "if [ -e /proc/sys/net/ipv4/ip_conntrack_max ]; then\n" >- " echo 16384 > /proc/sys/net/ipv4/ip_conntrack_max\nfi\n\n"); >+ fprintf (script, "# Doubling current limit for nf_conntrack\n"); >+ fprintf (script, "if [ -e /proc/sys/net/ipv4/nf_conntrack_max ]; then\n" >+ " echo 16384 > /proc/sys/net/ipv4/nf_conntrack_max\nfi\n\n"); > > fclose (script); > } >@@ -389,9 +389,9 @@ > fprintf (script, "$MPB ip_tables 2> /dev/null\n"); > fprintf (script, "$MPB iptable_filter 2> /dev/null\n"); > fprintf (script, "$MPB ipt_state 2> /dev/null\n"); >- fprintf (script, "$MPB ip_conntrack 2> /dev/null\n"); >- fprintf (script, "$MPB ip_conntrack_ftp 2> /dev/null\n"); >- fprintf (script, "$MPB ip_conntrack_irc 2> /dev/null\n"); >+ fprintf (script, "$MPB nf_conntrack 2> /dev/null\n"); >+ fprintf (script, "$MPB nf_conntrack_ftp 2> /dev/null\n"); >+ fprintf (script, "$MPB nf_conntrack_irc 2> /dev/null\n"); > fprintf (script, "$MPB ipt_REJECT 2> /dev/null\n"); > /* fprintf (script, "$MPB ipt_REDIRECT 2> /dev/null\n"); */ > fprintf (script, "$MPB ipt_TOS 2> /dev/null\n"); >diff -Naur firestarter-1.0.3.orig/src/statusview.c firestarter-1.0.3/src/statusview.c >--- firestarter-1.0.3.orig/src/statusview.c 2005-01-29 13:32:08.000000000 +0100 >+++ firestarter-1.0.3/src/statusview.c 2007-05-25 20:30:48.000000000 +0200 >@@ -32,7 +32,7 @@ > > #define DEV_FILE "/proc/net/dev" > #define TCP_FILE "/proc/net/tcp" >-#define CONNTRACK_FILE "/proc/net/ip_conntrack" >+#define CONNTRACK_FILE "/proc/net/nf_conntrack" > #define CONNTRACK_TTL 10 /* Number of refresh cycles a non-established connection is kept in the GUI */ > #define REFRESH_RATE 1 /* Time in seconds between updates */ > #define HISTORY_LENGTH 5 /* Number of samples to use when averaging the traffic rate */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179792
:
120317
| 120318