summaryrefslogtreecommitdiffstats
path: root/squark-auth-snmp.c
Commit message (Collapse)AuthorAgeFilesLines
* authdb: use configuration file to decide blocked categoriesTimo Teräs2010-09-141-2/+8
| | | | and cache the information to authdb properly.
* auth-snmp: record logins to authdbTimo Teräs2010-09-101-1/+22
| | | | with additional info.
* auth-snmp: improve line parserTimo Teräs2010-09-061-18/+41
| | | | get rid of sscanf and use the blob api.
* auth-ip: introduce helper tool for authdb managementTimo Teräs2010-09-011-1/+1
| | | | fix also some authdb bugs, and make it actually usable.
* authdb: implement basicsTimo Teräs2010-08-271-63/+6
| | | | | | | | | Implement a shared memory based authentication cache. It's a simple local cache indexed by IP-address, and keeps track of that IP's auth info such as username, allowed categories and timeouts. This provides basis for captive portal, per-user definable category restrictions and implementation of soft blocks (block which can be overridden by user by clicking a button on the blocked page).
* auth: rename to squark-auth-snmpTimo Teräs2010-08-221-0/+1151
Will implement 'captive portal' style authentication with separate DB later.