Fri, 04 May 2012 10:25:25 -0700 Update the Makefile to play nice with platform specific wackiness. 0.1.1
Mahlon E. Smith <mahlon@martini.nu> [Fri, 04 May 2012 10:25:25 -0700] rev 24
Update the Makefile to play nice with platform specific wackiness.
Fri, 04 May 2012 08:35:40 -0700 Added tag 0.1.0 for changeset 822094314703
Mahlon E. Smith <mahlon@martini.nu> [Fri, 04 May 2012 08:35:40 -0700] rev 23
Added tag 0.1.0 for changeset 822094314703
Fri, 04 May 2012 08:33:21 -0700 Add the ability to optionally script rewrite logic using Lua. 0.1.0
Mahlon E. Smith <mahlon@martini.nu> [Fri, 04 May 2012 08:33:21 -0700] rev 22
Add the ability to optionally script rewrite logic using Lua.
Wed, 09 Nov 2011 16:07:25 -0800 Tag for initial release (semver)
Mahlon E. Smith <mahlon@laika.com> [Wed, 09 Nov 2011 16:07:25 -0800] rev 21
Tag for initial release (semver)
Wed, 09 Nov 2011 16:06:49 -0800 Removed tag 0.1 0.0.1
Mahlon E. Smith <mahlon@laika.com> [Wed, 09 Nov 2011 16:06:49 -0800] rev 20
Removed tag 0.1
Wed, 09 Nov 2011 16:02:57 -0800 Added tag 0.1 for changeset d4ce82194b64
Mahlon E. Smith <mahlon@laika.com> [Wed, 09 Nov 2011 16:02:57 -0800] rev 19
Added tag 0.1 for changeset d4ce82194b64
Wed, 09 Nov 2011 15:54:37 -0800 - 1st pass at documentation with the README.
Mahlon E. Smith <mahlon@laika.com> [Wed, 09 Nov 2011 15:54:37 -0800] rev 18
- 1st pass at documentation with the README. - Attempt to detect trivial redirect loops. - Loosen the request parser enough to just accept URLs, so you can easily test rewrite behavior by just running volta and pasting URLs. - Alter the whitelist "negative" rule syntax to more closely match normal rules. Rename references to negative rules from "whitelist" rules, to avoid confusion.
Mon, 07 Nov 2011 10:43:09 -0800 Retain the CDB struct between lookups, only freeing when reopening the
Mahlon E. Smith <mahlon@martini.nu> [Mon, 07 Nov 2011 10:43:09 -0800] rev 17
Retain the CDB struct between lookups, only freeing when reopening the db. Big, big speed boost.
Mon, 07 Nov 2011 10:43:06 -0800 Ensure that all output is flushed immediately.
Mahlon E. Smith <mahlon@martini.nu> [Mon, 07 Nov 2011 10:43:06 -0800] rev 16
Ensure that all output is flushed immediately. Fix free() bug for non-matching rules. When creating the rules cdb, make the tmpfile in the cwd instead of /tmp. Make regular expression matches case insensitive.
Sat, 05 Nov 2011 12:52:29 -0700 Add whitelisting rules, to negate other matches if they come first in
Mahlon E. Smith <mahlon@martini.nu> [Sat, 05 Nov 2011 12:52:29 -0700] rev 15
Add whitelisting rules, to negate other matches if they come first in the ruleset. Remove the results set array completely, it's faster and requires less memory to do the comparisons inline.
Fri, 04 Nov 2011 20:34:28 -0700 There isn't a fast way to look up ( value exists or null ) for every
Mahlon E. Smith <mahlon@martini.nu> [Fri, 04 Nov 2011 20:34:28 -0700] rev 14
There isn't a fast way to look up ( value exists or null ) for every piece of data that we're handed from squid -- a full table scan must be performed for each request, regardless of any indexing in place. With a decent number of rules, it's much, much slower than I anticipated, making it fairly pointless to even do parsing in ragel for speed. Trading some matching features (IPs, for now) for speed, and aiming at just doing good host/path matching at the moment, using CDB for fast host keying. Ripped out all the SQLite work, replacing it with a first round of CDB lookups. Added a ascii rulefile to cdb converter flag. Churning through the requests again! Also, fixed an off-by-one error with line extending.
Mon, 31 Oct 2011 17:17:07 -0700 1st iteration of volta actually doing something. Process the request,
Mahlon E. Smith <mahlon@laika.com> [Mon, 31 Oct 2011 17:17:07 -0700] rev 13
1st iteration of volta actually doing something. Process the request, find the best matching rule, and rewrite the request. Without the DB queries, volta was parsing over 750k requests a second. Currently, it's down to 129.5 with 1161 rules in place. Yikes. I may need to re-evaluate some design choices here.
Sun, 23 Oct 2011 22:59:59 -0700 Clean up redundant parser actions via preprocessor macros, add a
Mahlon E. Smith <mahlon@martini.nu> [Sun, 23 Oct 2011 22:59:59 -0700] rev 12
Clean up redundant parser actions via preprocessor macros, add a hostname->tld extractor for doing tld "wildcard" queries. Stop tracking 'parser.c' completely.
Mon, 17 Oct 2011 09:12:00 -0700 Carry the amalgamated sqlite3 around with volta, rather than requiring
Mahlon E. Smith <mahlon@martini.nu> [Mon, 17 Oct 2011 09:12:00 -0700] rev 11
Carry the amalgamated sqlite3 around with volta, rather than requiring it to be installed on the system -- making volta a zero dependency compile. Add some more Makefile hacks to get things consistently building across OSX, FreeBSD, and Ubuntu. (There may be more later, but I'll deal with those then.)
Mon, 17 Oct 2011 09:12:00 -0700 Get the ragel line parser properly tokenizing the input lines. Add a
Mahlon E. Smith <mahlon@martini.nu> [Mon, 17 Oct 2011 09:12:00 -0700] rev 10
Get the ragel line parser properly tokenizing the input lines. Add a "lines per second" timer. General cleanup and memory management.
Wed, 28 Sep 2011 09:04:16 -0700 Ansi-fy getopt function and variable declarations.
Mahlon E. Smith <mahlon@martini.nu> [Wed, 28 Sep 2011 09:04:16 -0700] rev 9
Ansi-fy getopt function and variable declarations.
Wed, 28 Sep 2011 09:04:16 -0700 Add common archive files (LICENCE, README, etc) and a 'release' Makefile
Mahlon E. Smith <mahlon@martini.nu> [Wed, 28 Sep 2011 09:04:16 -0700] rev 8
Add common archive files (LICENCE, README, etc) and a 'release' Makefile target.
Wed, 28 Sep 2011 09:04:16 -0700 Fine tuning for database initialization/upgrades.
Mahlon E. Smith <mahlon@martini.nu> [Wed, 28 Sep 2011 09:04:16 -0700] rev 7
Fine tuning for database initialization/upgrades.
Thu, 22 Sep 2011 21:43:50 -0700 Use pkg-config to find dependency locations, add gdb debug flags.
Mahlon E. Smith <mahlon@martini.nu> [Thu, 22 Sep 2011 21:43:50 -0700] rev 6
Use pkg-config to find dependency locations, add gdb debug flags.
Thu, 22 Sep 2011 21:43:25 -0700 Check the return value of fread() when loading SQL migration files.
Mahlon E. Smith <mahlon@martini.nu> [Thu, 22 Sep 2011 21:43:25 -0700] rev 5
Check the return value of fread() when loading SQL migration files.
Wed, 14 Sep 2011 16:49:28 -0700 Groundwork for automatic database initialization and schema upgrades.
Mahlon E. Smith <mahlon@laika.com> [Wed, 14 Sep 2011 16:49:28 -0700] rev 4
Groundwork for automatic database initialization and schema upgrades.
Tue, 13 Sep 2011 22:16:11 -0700 Whoops, lets not commit .o files. Fix .hgignore.
Mahlon E. Smith <mahlon@martini.nu> [Tue, 13 Sep 2011 22:16:11 -0700] rev 3
Whoops, lets not commit .o files. Fix .hgignore.
Tue, 13 Sep 2011 22:13:02 -0700 Ensure that parsing can't be subverted by requests larger than the
Mahlon E. Smith <mahlon@martini.nu> [Tue, 13 Sep 2011 22:13:02 -0700] rev 2
Ensure that parsing can't be subverted by requests larger than the default line buffer maximum size. If a line fits in the stack, great. If not, allocate additional memory for it instead of truncating. Add google-proftools to debug builds. Don't clean parser.c by default, so distributions don't require ragel to build. Add BSD licensing. Move helper functions out to util.c. Rename files to match function names. Start playing with sqlite API.
Sat, 03 Sep 2011 14:12:06 -0700 Dial in the Makefile and command line option parsing. Better debug
Mahlon E. Smith <mahlon@laika.com> [Sat, 03 Sep 2011 14:12:06 -0700] rev 1
Dial in the Makefile and command line option parsing. Better debug output.
Fri, 26 Aug 2011 14:40:51 -0700 Initial commit of an experimental little Squid redirector.
Mahlon E. Smith <mahlon@martini.nu> [Fri, 26 Aug 2011 14:40:51 -0700] rev 0
Initial commit of an experimental little Squid redirector.
(0) tip