Package: netbase
Version: 4.21
Severity: wishlist
Tags: patch

Hi,

I created a patch for /etc/init.d/networking, so that it accepts the
option "ip_dynaddr" in /etc/network/options. For my setup here
(Dial-On-Demand ISDN connection) I need the ip_dynaddr so that the first
DNS-query (which triggers the dial) does not vanish in nirvana (which it
did before). The change is based on the ip_forward-Option and is nearly
the same, except of course for the path in /proc.

Thanks,
Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.4-cherry+radeon
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages netbase depends on:
ii  debconf                       1.4.58     Debian configuration management sy
ii  ifupdown                      0.6.7      high level tools to configure netw
ii  netkit-inetd                  0.10-10.2  The Internet Superserver
ii  netkit-ping [ping]            0.10-10.2  The ping utility from netkit
ii  tcpd                          7.6.dbs-8  Wietse Venema's TCP wrapper utilit

netbase recommends no packages.

-- debconf information:
  netbase/upgrade-note/etc-network-interfaces-pre-3.17-1:
  netbase/upgrade-note/init.d-split-pre-3.16-1:
  netbase/upgrade-note/radius-ports-pre-3.05:
  netbase/upgrade-note/portmap-restart-pre-3.11-2:
--- networking.new      2005-09-15 17:05:23.763988768 +0200
+++ networking.old      2005-09-15 17:05:42.705109280 +0200
@@ -39,14 +39,6 @@
     fi
 }
 
-ip_dynaddr() {
-    if [ -e /proc/sys/net/ipv4/ip_dynaddr ] ; then
-        echo -n "Enabling dynamic address hack..."
-       echo 1 > /proc/sys/net/ipv4/ip_dynaddr
-       echo "done."
-    fi
-}
-
 syncookies () {
     if [ -e /proc/sys/net/ipv4/tcp_syncookies ]; then
         echo -n "Enabling TCP/IP SYN cookies..."
@@ -73,7 +65,6 @@
        doopt spoofprotect yes
         doopt syncookies no
         doopt ip_forward no
-       doopt ip_dynaddr no
 
         echo -n "Configuring network interfaces..."
         ifup -a

Reply via email to