Package: ipmasq
Version: 4.0.2
Severity: important
Tags: patch
ipmasq-kmod cannot load important modules (like ip_conntrack_ftp)
because it looks only for "*.o" files under /lib/modules while 2.6
kernels use "*.ko".
Being unable to work with 2.6 is enough to deserve an "important"
severity.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages ipmasq depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii ipchains 1.3.10-15 Network firewalling for Linux 2.2.
ii iptables 1.2.11-10 Linux kernel 2.4+ iptables adminis
-- debconf information:
* ipmasq/start: true
ipmasq/external-rules-moved: true
* ipmasq/start-location: After network interfaces are brought up
ipmasq/dpkg-conffiles:
* ipmasq/ppp-turn-off:
ipmasq/ppp-turn-on:
ipmasq/move-ipmasq.rules: true
* ipmasq/ppp-recompute: true
ipmasq/old-ipmasq.conf: true
ipmasq/old-rc.boot-file: true
--- ipmasq-kmod.ORIG 2005-09-03 23:33:23.131062584 +0200
+++ ipmasq-kmod 2005-09-03 23:34:43.131206124 +0200
@@ -12,6 +12,7 @@
# modules here. (/etc/ipmasq/modules is valid
# only for 2.0 and 2.2 kernel)
# v3.5.28 2004-01-08T20:29:10 CET Osamu
+# 2005-09-03: ported on kernel 2.6 S. Bortzmeyer
# This is here as an easy helper for the ipmasq introduction.
#
@@ -101,7 +102,7 @@
if [ -z "$($LSMOD|grep -e "^$1 " )" ]; then
# Even if modules do not exist, exit OK
- if [ -e $MOD_DIR/kernel/net/ipv4/netfilter/$1.o ]; then
+ if [ -e $MOD_DIR/kernel/net/ipv4/netfilter/$1.$MODEXT ]; then
$MODPROBE $1 2>/dev/null || true
fi
else
@@ -143,6 +144,12 @@
fi
##########
+if [ "$KL_VER" = "2.6" ]; then
+ MODEXT="ko"
+else
+ MODEXT="o"
+fi
+
if [ "$KL_VER" = "2.0" -o "$KL_VER" = "2.2" ]; then
# Do the modules for 2.0 and 2.2 using Brian's code