summaryrefslogtreecommitdiff
path: root/files/sbin/splash_sync
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-02-26 18:05:06 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-02-26 18:05:06 (GMT)
commitfafd8155f71487e19484f500f22a9a52254910f9 (patch)
treef5eafe93b804f9e3b56b5a2897991d36fd5bc649 /files/sbin/splash_sync
parent2cc88d7612732d237251e06d76a719a80d46d2c5 (diff)
debug output deleted
old comments deleted
Diffstat (limited to 'files/sbin/splash_sync')
-rwxr-xr-xfiles/sbin/splash_sync5
1 files changed, 0 insertions, 5 deletions
diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync
index a188426..a114297 100755
--- a/files/sbin/splash_sync
+++ b/files/sbin/splash_sync
@@ -10,11 +10,9 @@ splash_check() {
config_get ip "$1" ip
config_get time "$1" time
local config="$1"
- echo Vergleich Jetzt `date +%s` gespeichert $time
let time_check=$time+$timeout
if [ $time_check -gt $current_time ]; then
# User ist noch gesplashed
- echo User ist noch gesplashed
iptables -t nat -D ffj_splash -s $ip -j ACCEPT
iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT
else
@@ -35,10 +33,7 @@ iptables -t nat -X ffj_splash
iptables -t nat -N ffj_splash
iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash
config_foreach splash_check user
-#iptables -t nat -D ffj_splash -p tcp -j DNAT --to 10.17.200.1:80
iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80
-#iptables -t nat -D ffj_splash -j DROP
-#iptables -t nat -A ffj_splash -j DROP
contact: Jan Huwald // Impressum