Changeset 11018 in hybrid for branches/releng-9.0/nanobsd/files
- Timestamp:
- May 28, 2012, 10:31:25 AM (13 years ago)
- Location:
- branches/releng-9.0/nanobsd/files/usr/local
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/usr/local/etc/wlportal/login.tmpl
r10472 r11018 53 53 <p> 54 54 <small>N.B. Haal na gebruik de instellingen weer weg</small> 55 <h4>Contact</h4> 56 Vragen en opmerkingen kunt u kwijt op onze <a href="http://lijst.wirelessleiden.nl/mailman/listinfo/gebruikers">gebruikers mailing lijst</a>. 55 57 <hr> 56 58 <a name="english"></a> -
branches/releng-9.0/nanobsd/files/usr/local/www/wlportal/index.cgi
r10827 r11018 85 85 'tmpl_autologin': '/usr/local/etc/wlportal/autologin.tmpl', 86 86 'tmpl_login' : '/usr/local/etc/wlportal/login.tmpl', 87 'warnlist' : [], 87 88 'whitelist' : [], 89 'blacklist' : [], 88 90 'config_files' : ['/usr/local/etc/wlportal/config.yaml','/usr/local/etc/wleiden.yaml'], 89 91 'expire_time' : None, … … 294 296 qs_post = { 'action' : 'login' } 295 297 298 if remote_mac in cfg['warnlist']: 299 connect['status_msg'] = "U veroorzaakt overlast op het WL netwerk || You are causing WL network abuse" 300 296 301 try: 297 302 fw = PacketFilterControl() … … 311 316 elif qs_post and qs_post.has_key('action'): 312 317 if 'login' in qs_post['action']: 313 if fw.add(remote_host): 318 if remote_mac in cfg['blacklist']: 319 content['status_msg'] = "Toegang ontzegt ipv misbruik WL netwerk || Access denied due to WL network abuse" 320 elif fw.add(remote_host): 314 321 content['extra_header'] = "Refresh: %(refresh_delay)s; url=%(portal_url)s\r" % content 315 322 content['status_msg'] = "Sucessfully Logged In! || " +\
Note:
See TracChangeset
for help on using the changeset viewer.