summaryrefslogtreecommitdiffstats
path: root/blob.c
Commit message (Collapse)AuthorAgeFilesLines
* blob: definite null blob inlineTimo Teräs2010-08-181-1/+0
| | | | | Should be faster in most cases to write two null words than to copy them around.
* filter: squid interfacing code, basic minimum configurationTimo Teräs2010-08-141-0/+16
| | | | | | | | | | Implement squid redirect protocol. It implements the "concurrent" version even though the algorithm is non-blocking. Doing this can reduce the amount of read system calls on busy system. Minimum command line based configuration for banning specific categories and specifying the redirect site. Will probably have to add some sort of config file system later.
* filter: fix db building issues and implement path component matchingTimo Teräs2010-08-131-1/+65
| | | | | | | | Fixes has sub domains/paths hints to be correct. www<number> as first domain entry matching now checks it won't remove second level domain names. And the filter code now looksup path components from the db.
* filter: implement basic analysis of urlsTimo Teräs2010-08-111-0/+20
| | | | | Analysing of the url host part, some simple tests. Not usable as squid filter yet.
* blob: use uppercase for macroes, add some functionalityTimo Teräs2010-08-101-7/+62
| | | | Normalizing macro names to upper case and extending functionality.
* squark: split generic blob code to it's own fileTimo Teräs2010-08-101-0/+127
it's useful in other binaries than squark-auth too.