wie soll ich den patch denn einspielen?
[...] ----------------------------------------------------------------------
applying patch file ./patches/7270/400_remove_ftpd.patch
patching file etc/hotplug/storage
Hunk #2 succeeded at 208 (offset -20 lines).
----------------------------------------------------------------------
applying patch file ./patches/7270/remove_potrforwading-restriction.patch
patching file usr/www/all/html/de/internet/portrule.js
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file usr/www/all/html/de/internet/portrule.js.rej
----------------------------------------------------------------------
ERROR: modpatch: Error in patch-file ./patches/7270/remove_potrforwading-restriction.patch
make: *** [firmware-nocompile] Fehler 2
xxx@xxx-laptop:~/freetz-trunk$
// IP-Adresse 0.0.0.0 verbieten
if ((Number(digits[0]) == 0) && (Number(digits[1]) == 0) && (Number(digits[2]) == 0) && (Number(digits[3]) == 0)) return g_mldIpAdr0000;
// IP-Adresse *.*.*.0 verbieten
if (Number(digits[3]) == 0) return g_mldIpAdr0;
// IP-Adresse 0.0.0.0 verbieten
if ((Number(digits[0]) == 0) && (Number(digits[1]) == 0) && (Number(digits[2]) == 0) && (Number(digits[3]) == 0)) return g_mldIpAdr0000;
// IP-Adresse *.*.*.0 verbieten
if (Number(digits[3]) == 0) return g_mldIpAdr0;
diff -Nur <original-Datei> <geänderte Datei> > meinpatch
--- usr/www/all/html/de/internet/portrule.js.old 2008-03-13 14:40:12.000000000 +0100
+++ usr/www/all/html/de/internet/portrule.js 2008-03-21 03:48:07.000000000 +0100
@@ -35,10 +35,8 @@
for (i=0; i < 4; i++) {
if ((Number(digits[i]) > 255 ) || (Number(digits[i]) < 0 )) return g_mldIpAdr;
}
-// IP-Adresse 0.0.0.0 verbieten
-if ((Number(digits[0]) == 0) && (Number(digits[1]) == 0) && (Number(digits[2]) == 0) && (Number(digits[3]) == 0)) return g_mldIpAdr0000;
-// IP-Adresse *.*.*.0 verbieten
-if (Number(digits[3]) == 0) return g_mldIpAdr0;
+// IP-Adresse *.*.*.0 verbieten ... aber 0.0.0.0 erlauben ;-)
+if (Number(digits[3]) == 0 && address[0] != "0.0.0.0") return g_mldIpAdr0;
// IP-Adresse *.*.*.255 verbieten
if (Number(digits[3]) == 255) return g_mldIpAdr255;
var error=null;
Mar 21 18:03:27 fritz user.err dsld[946]: internet: 172.30.1.253 not an intern host, forwardrule "tcp 0.0.0.0:2641 172.30.1.253:2641 0 # HTTP-Server" ignored
Virtual IP geht natürlich immer noch. Aber angeblich sollen die Portweiterleitungen nicht funktionieren.