DNS Redirector
 Return to FAQ List


FAQ 90: Log only authorizations

Category: Action functions | Updated: 02/17/2009 1:16 AM


Create a log of clients who successfully authorize. Useful for a quick count or to see how popular your hotspot is.

Resolution

Update your dnsredir.ini so...

ActionNumber=1
JoinType=Auth
JoinAction=authlog.bat

Create authlog.bat in the DNS Redirector working directory...

- - - - - START authlog.bat - - - - -
@ECHO OFF
ECHO Client with IP %1 joined the network at %time% on %date% >> authlog.txt
EXIT
- - - - - END authlog.bat - - - - -



Related articles
FAQ 62  Get the IP or MAC of the client who just joined

 
DNS Redirector | Legal Information | 2003-2017