FS#254 - Add a uzbl-proxy tool
Attached to Project:
Uzbl
Opened by Ben Boeckel (mathstuf) - 2011-04-14 03:19:46 AM
Last edited by Ben Boeckel (mathstuf) - 2011-04-14 11:37:06 PM
Opened by Ben Boeckel (mathstuf) - 2011-04-14 03:19:46 AM
Last edited by Ben Boeckel (mathstuf) - 2011-04-14 11:37:06 PM
|
DetailsWhat it should do:
* Block connections to websites based on a whitelist/blacklist of URI regexes (AdBlock) * URL rewriting (SSL Everywhere) * Add/remove/modify HTML headers (Do Not Track) * IPv6 (It will happen at some point) * SSL What it should NOT do: * Caching: Others do it better. Much better. Use varnish and squid (see http://ingvar.blog.redpill-linpro.com/2010/05/26/accelerating-the-internet-or-actually-squid-with-varnish/). * Auditing: Not our problem. Per-user == no write access to trustworthy logs. * Content filtering: Per-user == no security for this. * Mime filter: uzbl-core does text/html (or others if the webserver is misconfigured to not trigger a download); your download handler should reject crap you don't want. Configuration: * Flat file * Plain text * Easy to parse (grep, awk, etc.) Rationale: * Other proxies do more than is necessary * It is purely a construct to implement features for uzbl that other browsers do in a UNIX philosophy way (other tools can use it, etc.) * Meant to be per-user, not a system daemon Implementation: I have an old assignment (ANSI C89 + long long) which can trivially be ported to glib and header support. SSL and Connect support are less trivial, but it's something to start with. If we want to start from scratch, that is possible as well. Thoughts? |
sounds good for a u-e-m style modular world and also very unix-y