[WLANware] freifunk dhcpsplash
lorenz schori
lorenz.schori at gmx.ch
Wed Mar 5 21:29:41 CET 2008
Hallo,
DHCP-Splash braucht in der neusten Version den unten angehängten Fix.
Alternativ reicht es auch icmp and dns in die public services
einzutragen.
LG
Lorenz
revision 1.9
date: 2008/03/05 20:26:02; author: lschori; state: Exp; lines: +4 -0
fixed little glitch in dhcpsplash: allow forwarding of icmp and dns by
default again.
Index: work/cgi-bin/dhcpsplash/functions.sh
===================================================================
RCS file: /cvsroot/ff-firmware/ff-devel/freifunk-dhcpsplash/work/cgi-
bin/dhcpsplash/functions.sh,v
retrieving revision 1.8
diff -u -r1.8 functions.sh
--- work/cgi-bin/dhcpsplash/functions.sh 19 Jan 2008 19:19:08
-0000 1.8
+++ work/cgi-bin/dhcpsplash/functions.sh 5 Mar 2008 20:19:56
-0000
@@ -98,6 +98,10 @@
return 0
fi
+ # be nice and allow DNS and icmp for everyone to anywhere
+ $IPTABLES -t filter -A splash_public_services -p udp --dport
53 -j RETURN
+ $IPTABLES -t filter -A splash_public_services -p icmp
+
# allow ag/hp uris
test "$(splash_getvar ff_dhcpsplash_ag)" = "url" && \
aghost=$(splash_getvar ff_dhcpsplash_agurl | sed -n
"s#^\(https\{0,1\}\)://\([\.0-9a-zA-Z-]*\).*#\2#p")
More information about the WLANware
mailing list