summaryrefslogtreecommitdiffstats
path: root/blob.h
Commit message (Collapse)AuthorAgeFilesLines
* auth-ip: print information in shell compatible formatTimo Teräs2010-09-141-0/+1
| | | | so we can dump information from http cgi-bin scripts.
* filter: do not modify deniedurl cgi parameterTimo Teräs2010-08-191-0/+1
| | | | | | | Keep the modifications (which are needed for key lookup) inside the lookup routine. This includes e.g. lower casing the URL. This way can pass the exact original request string to our block page script. This also changes the way 'www123.' is stripped from the request.
* filter: url encoding of block script parametersTimo Teräs2010-08-191-0/+2
| | | | and pass the denied url too.
* filter: properly filter ipv4 address form urlsTimo Teräs2010-08-191-0/+2
| | | | properly match them against db data.
* blob: definite null blob inlineTimo Teräs2010-08-181-2/+1
| | | | | 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-1/+4
| | | | | | | | | | 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-0/+3
| | | | | | | | 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-1/+3
| | | | | 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-6/+22
| | | | Normalizing macro names to upper case and extending functionality.
* squark: split generic blob code to it's own fileTimo Teräs2010-08-101-0/+34
it's useful in other binaries than squark-auth too.