source: hybrid/branches/releng-11/nanobsd/files/usr/local/sbin/preauth@ 14266

Last change on this file since 14266 was 13742, checked in by rick, 8 years ago

Try to beat captive portal requests for already autorized devices.

Dummy framework for tool which reads arp requests and based on the response
checks if the MAC is already whitelisted and hence adds it's IP to the
whitelist table.

This will avoid issues with captive portal checkers at phone, which assume a
captive portal, yet their request in and on itself will already activate the
known lease again.

Secondly this framework is also required to allow 'roaming' from users between
accesspoints without the need of re-authentication (or IoT devices for
example).

  • Property svn:executable set to *
File size: 84 bytes
Line 
1#!/bin/sh
2tcpdump -l -i vr1 -p arp | grep --line-buffered 'ARP, Reply' | xargs -L1
3
Note: See TracBrowser for help on using the repository browser.