DNS Redirector
 Return to FAQ List


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

Category: Action functions


Download: JoinAction-variables.zip and extract to the C:\DNSREDIR working directory.

In this example, every join action triggers the client's MAC and IP address to be logged in C:\DNSREDIR\joinlog.txt

The IP is passed as variable %1 when JoinAction or LeaveAction is run
The MAC is obtained from the arp command and set in the variable %MAC%

Retaining the MAC address and IP may be useful to law enforcement, to determine abuse or violation of network policies.

One customer developed a script so after a client joined multiple access points where polled via SNMP, determining which AP the client associated with gave an idea of where they were in the building.



Related articles
FAQ 90  Log only authorizations

 
DNS Redirector | Legal Information | 2003-2017