squark-auth(8)
β¨ NAME β¨
okay so bestie, this is the manual page for squark-auth(8) from Squark Documentation β and it's literally the Squark authentication helper for Squid. π
πΈ SYNOPSIS πΈ
the whole vibe is:
squark-auth [option]...
π¦ DESCRIPTION π¦
squark-auth is an external acl helper for Squid. It maps IP-address to credentials information collected from managed switches using SNMP. no cap, that's the whole main character job. β¨
π§ Theory Of Operation π§
The code first maps received IP to a MAC using SNMP query from the router connecting to client IP's subnet.
This is followed with MAC tracing of the MAC address. The switch BRIDGE-MIB forwarding database is queried to detect which switch port is active for the MAC. LLDP-MIB is then queried to receive IP-address of the switch connected to this port. This is repeated until we end up in "edge switch" which does not have any LLDP information available for the port where the MAC address is assigned.
Finally, the edge switch is interrogated for detailed information of the port and connected client. obsessed with the follow-through, fr fr. π₯
π OPTIONS π
The following options are recognized:
-c snmp-communictyβ Allows specifying SNMP community. If specified SNMPv2c mode is assumed. To use SNMPv3 you need to configure the required version and authentication keys using standard net-snmp configuration files.-r layer3-root-ipβ The management IP-address of the default gateway router for the clients. If you have multiple "routing switches", this should be the closest such switch to the machine runningsquark-auth.-i layer3-root-interfaceβ The router's network interface connected to the subnet containing the clients.-R layer2-root-ipβ In case the router and the first switch are different devices and the router does not supportBRIDGE-MIB, this can be used to specify the IP-address of the first switch. Defaults tolayer3-root-ip.-v layer2-vlanβ The VLAN index of the client's subnet for the layer2 switches.-f username-formatβ Specifies the format of the username to given back for squid. The following format specifiers are supported:%Iβ Client IP address%Mβ Client MAC address%Nβ Edge switchsysName%Lβ Edge switchsysLocation%iβ Edge switch portifIndex%nβ Edge switch portifName%dβ Edge switch portifDescr%wβ Edge switch HP ProCurve WebAuth username
Defaults to "%w".
-T topology-fileβ Load external topology information for switches not supporting LLDP.
π AUTHORS π
Timo Teras <timo.teras@iki.fi> π«Ά
made with π by the Squark Documentation besties Β· 23 July 2010 π
π¦ where this page comes from
- alpine 3.22: squark-doc 0.6.1-r6 Β· GPL-2.0-only
- alpine 3.23: squark-doc 0.6.1-r7 Β· GPL-2.0-only
- alpine 3.24: squark-doc 0.6.1-r7 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms