[WLANware] Bug in dhcpsplash

mickey mickey at netfreaks.org
Thu Jan 10 22:21:15 CET 2008


Hallo,

lorenz schori schrieb:
 >> Hallo,

meine Mail war wohl mal wieder etwas konfus - i'm sorry. Ich versuch's 
noch mal.

> Am 23. Oktober hab ich die Änderungen gemacht damit "Notwendige 
> Verbindungen" funktionieren. Ab da sind die Public Services nicht mehr 
> nötig (da automatisch konfiguriert).
> ...
> Standardmässig werden jetzt HTTP, HTTPS, DHCP und DNS eingeschaltet 
Genau das ist - soweit ich das herrausfinden konnte - defekt.

> Falls public_mode=on ist, dann wird 
> nur noch Port 80 redirected und der Rest läuft durch. Das ist vor allem 
> nützlich für WLAN-Phones ohne Browser.
Ok, dann habe ich das jetzt auch richtig verstanden. Klingt auch sehr 
sinnvoll, ist aber nicht Teil meines Problems.

 > Wo hast du
 > deinen Splash her?
openwrt freifunk kit 1.6.25 + freifunk-dhcpsplash-de 1.6.25 + ...

> Zum Debuggen hilft meist der Output von "iptables -t nat -nvL" mehr als 
> viele Worte...
Chain PREROUTING (policy ACCEPT 249 packets, 23617 bytes)
  pkts bytes target     prot opt in     out     source 
destination
   414 68343 dhcpsplash  all  --  *      *       0.0.0.0/0 
0.0.0.0/0

Chain POSTROUTING (policy ACCEPT 37 packets, 3988 bytes)
  pkts bytes target     prot opt in     out     source 
destination
     0     0 MASQUERADE  all  --  *      *       10.2.18.32/27 
0.0.0.0/0
     0     0 MASQUERADE  all  --  *      eth1    192.168.2.0/24 
0.0.0.0/0
   454 18274 MASQUERADE  all  --  *      vlan1   0.0.0.0/0 
0.0.0.0/0

Chain OUTPUT (policy ACCEPT 491 packets, 22262 bytes)
  pkts bytes target     prot opt in     out     source 
destination

Chain auth_users (1 references)
  pkts bytes target     prot opt in     out     source 
destination

Chain dhcpsplash (1 references)
  pkts bytes target     prot opt in     out     source 
destination
   168 45466 dhcpsplash_filter  all  --  eth1   *       10.2.18.32/27 
      0.0.0.0/0

Chain dhcpsplash_filter (1 references)
  pkts bytes target     prot opt in     out     source 
destination
   168 45466 public_services  all  --  *      *       0.0.0.0/0 
    0.0.0.0/0
   168 45466 auth_users  all  --  *      *       0.0.0.0/0 
0.0.0.0/0
     0     0 DNAT       tcp  --  *      *       0.0.0.0/0 
0.0.0.0/0           tcp dpt:80 to:10.2.18.1:80
   168 45466 DROP       all  --  *      *       0.0.0.0/0 
0.0.0.0/0

Chain public_services (1 references)
  pkts bytes target     prot opt in     out     source 
destination


Wie ich schon Anfangs zu vermitteln versuchte, die Chain public_services 
bleibt leer.

Viele Grüße,


-- 
mickey at netfreaks.org
gpg key 0xE1B31D88


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.freifunk.net/pipermail/wlanware-freifunk.net/attachments/20080110/4b30c6f3/attachment.pgp>


More information about the WLANware mailing list