summaryrefslogtreecommitdiffstats
path: root/authdb.c
Commit message (Collapse)AuthorAgeFilesLines
* squark: reorganize sources to src directoryTimo Teräs2010-11-071-364/+0
|
* authdb, blob: fix a casting error and a byte order issueTimo Teräs2010-10-191-1/+1
|
* authdb: fix memory corruption bugsTimo Teräs2010-09-141-1/+3
| | | | | properly calculate module of the hash bucket, and when cleaning up free the correct entry (instead of the next one).
* authdb: use configuration file to decide blocked categoriesTimo Teräs2010-09-141-4/+118
| | | | and cache the information to authdb properly.
* authdb: use shared 'squark' group for shm areasTimo Teräs2010-09-101-3/+11
| | | | | | this way multiple users can access the shm areas (e.g. www-data for captive portal, and proxy for squid). all system users needing to use squark tools need to belong to this group.
* authdb: separate last access / login timeTimo Teräs2010-09-071-14/+17
| | | | and tweak the authdb a bit.
* auth-ip: implement logoutTimo Teräs2010-09-031-0/+5
| | | | Implement logout function and some minor fixes.
* auth-ip: introduce helper tool for authdb managementTimo Teräs2010-09-011-7/+16
| | | | fix also some authdb bugs, and make it actually usable.
* authdb: implement basicsTimo Teräs2010-08-271-0/+223
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).