unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.95k stars 419 forks source link

leave a record in syslog of clients that authenticate to the hotspot #612

Closed maravento closed 5 months ago

maravento commented 5 months ago

I have a Linux server as a gateway (iptables, squid, dhcp, apache2, unifi network server) that is behind my unifi infrastructure (usw-24 pro and u6-pro). Clients authenticate to the hotspot and go through my gateway. I would like to record the syslog of my Linux server, of the clients that authenticate with a voucher in the hotspot, the rest do not. Is there any marking that these packets have that I can capture via iptables --string or another method to record their entry? Thk

maravento commented 5 months ago

I have solved it, capturing the welcome logo string, or the post message