summaryrefslogtreecommitdiffstats
path: root/squarkdb.c
Commit message (Collapse)AuthorAgeFilesLines
* filter: implement basic analysis of urlsTimo Teräs2010-08-111-6/+25
| | | | | Analysing of the url host part, some simple tests. Not usable as squid filter yet.
* squarkdb: use stdint.h defined typedefsTimo Teräs2010-08-101-2/+2
| | | | u_int32_t is not standard, use uint32_t from stdint.h instead.
* squarkdb: cmph based url database for squark filteringTimo Teräs2010-08-091-0/+121
Implement basics of squarkdb which will be used by squark-filter to categorize URIs. Implementation is based on libcmph and uses file format suitable to be mmap:ed from squark-filter. Lua code is used to create the squark database from standard domain / url blacklists.