Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42443 - error in ipkungfu firewall script version 0.5.2
Summary: error in ipkungfu firewall script version 0.5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jason Wever (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 20:32 UTC by George L. Emigh
Modified: 2004-02-22 17:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George L. Emigh 2004-02-21 20:32:31 UTC
ip_nat_irc is misstyped

here is the diff to patch it
--- /usr/sbin/ipkungfu  2004-02-09 16:34:37.000000000 -0500
+++ ipkungfu    2003-10-03 13:05:59.000000000 -0400
@@ -138,7 +138,7 @@
    if [ $INIT != 1 ] ; then
     echo "Loading FTP NAT module..."
    fi
-   $MODPROBE ip_nat_ftp
+   $MODPROBE ip_nat_irc
   fi
  fi
 }


Reproducible: Always
Steps to Reproduce:
1. try to use it on a 2.6 kernel
2.
3.

Actual Results:  
module already loaded error 

Expected Results:  
worked 

Either get the update from the author, or add this patch: 
 
--- /usr/sbin/ipkungfu  2004-02-09 16:34:37.000000000 -0500 
+++ ipkungfu    2003-10-03 13:05:59.000000000 -0400 
@@ -138,7 +138,7 @@ 
    if [ $INIT != 1 ] ; then 
     echo "Loading FTP NAT module..." 
    fi 
-   $MODPROBE ip_nat_ftp 
+   $MODPROBE ip_nat_irc 
   fi 
  fi 
 } 
 
that will fix it, or and could someone mark it ~amd64, it's working there 
patched. 
 
Thanks
Comment 1 George L. Emigh 2004-02-21 20:37:05 UTC
I ran the diff backwards, sorry bout that:

this is correct:

--- ipkungfu    2003-10-03 13:05:59.000000000 -0400
+++ /usr/sbin/ipkungfu  2004-02-09 16:34:37.000000000 -0500
@@ -138,7 +138,7 @@
    if [ $INIT != 1 ] ; then
     echo "Loading FTP NAT module..."
    fi
-   $MODPROBE ip_nat_irc
+   $MODPROBE ip_nat_ftp
   fi
  fi
 }
Comment 2 Jason Wever (RETIRED) gentoo-dev 2004-02-22 17:02:38 UTC
Thanks for the bug report.  I've added ipkungfu-0.5.2-r1 to fix this using the following patch;

--- ipkungfu    2003-10-03 13:05:59.000000000 -0400
+++ ipkungfu    2004-02-09 16:34:37.000000000 -0500
@@ -138,7 +138,7 @@
    if [ $INIT != 1 ] ; then
     echo "Loading FTP NAT module..."
    fi
-   $MODPROBE ip_nat_irc
+   $MODPROBE ip_nat_ftp
   fi
  fi
 }