Category: Post

  • Gussied Up

    This site is updated a bit to fit with the fashions of the year. I was pretty happy with the general layout, but cleaned up the drop shadows, and got rid of a bunch of plugins. I’ve found myself using google+ for a lot of general content, and this blog will repost public content from that stream.

    Otherwise, this site is now serving dual purpose as both a stream-of-consciousness dump, and as my primary identity hub.

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

  • The story continues

    I have begun working toward a phd in Computer Science at the University of Washington. I’m having a blast so far, and have more than enough to keep me busy.

    As I begin to focus on specific projects I’ll keep this blog updated. At present I’m looking at network overlay schemes which retain anonymity while providing speed and censorship resistance.

  • pastat (another pulse audio utility)

    I got around to writing another utility for pulse audio that I’ve been wanting. I’m calling it pastat, since it essentially works like ifstat, and prints the amplitude of the streams to each of your audio devices at regular intervals.

    I’ve made github the home for these utilities. Feel free to try it out, or submit improvements.

  • Littlecosm

    I connected twitter up with littlecosm recently. It’s sort of interesting, although what I’m really waiting for is the story mode which appears to be forthcoming.

  • Gmail Contacts

    I’ve successfully shepherded some interface features through launch, and it is now available in the public Gmail!

    Check out the my ‘official’ blog post!
    http://gmailblog.blogspot.com/2011/02/two-improvements-to-contact-groups.html

  • Privacy for Chrome

    An idea I’ve been toying with for the last couple days is how to mitigate some of the privacy implications of web browsing. The modern browser gives up much more of your information than it really needs to, and the game seems weighted in favor of the advertisers. Especially with the impending ‘ping’ attribute and other modifications which make your online identity transparent to advertisers, it’s time for users to regain some of the control over the sites they visit.

    I think a reasonable baseline is to provide an additional level of granularity for which resources should be loaded on a page. Right now, you get either the full experience, or you can disable all javascript & images to limit your exposure to tracking. From the users perspective, a reasonable equilibrium is to evaluate resources with the same policy as cookies — only make requests to the same origin as the main page.

    It’s a simple concept. As a user, I asked for this page, not for ads.doubleclick or facebook – and that’s the content I want. There’s only minimal value lost by not requesting this content (one example would be google maps mashups.) but a either a whitelist or a click-to-load model would easily rectify that problem.

    I hacked my local version of chrome to follow this security policy, and the web is surprisingly entirely usable. I haven’t hooked in the whitelist yet, and this is still entirely experimental but I hope it puts a bit of pressure on the notion that users don’t see the value of their private information.

    I’ve attached the diff of my change – all 10 lines of it – and will do my best to shape it into something that is usable enough to actually submit to the chromium project.

    diff

  • Links!

    This website is currently not capturing the full extent of my online activity, but these links should at least partially remedy that problem.

    Cool Things
    Wishlist
    Github Projects
    Google Account

  • Fruits of Labor

    Most of the work I’ve been doing at Google has been been on my specific project ( http://mail.google.com/mail/#contacts ).
    Now that I’m getting more comfortable with the environment, I’ve been able to branch out a little bit, and one of the results is that I made my first change to google’s open-source javascript library recently: http://code.google.com/p/closure-library/source/detail?r=167

  • shorewall & policy based routing

    The linux kernel claims to support basic packet inspection in order to detect p2p traffic. One interesting application is that you can split your traffic signature, so that this traffic, which US providers commonly use as a signal for traffic shaping can be encapsulated to a data center, or other intermediary destination. Sadly, while the detection is possible, the routing setup is non trivial.

    In my attempt to set this up, I used an ubuntu linux box running shorewall and openvpn sitting just behind a cable modem. (this computer also provides dhcp for the rest of my network.)  Since it took several hours to get the shorewall configuration working properly, I figured it wouldn’t hurt to make a record of it.

    Zones

    fw firewall
    loc ipv4
    net ipv4

    Interfaces

    loc eth0 detect dhcp,sourceroute
    net eth1 detect dhcp
    net tun0 - dhcp,optional

    Policy

    loc all ACCEPT
    fw all ACCEPT
    net all DROP info
    all all REJECT info

    Rules

    ACCEPT net $FW udp 1194
    ACCEPT $FW net: udp 1194
    ACCEPT $FW net all

    Providers

    isp 1 1 main eth1 detect balance=1 eth0
    vpn 2 2 main tun0 detect balance=2,loose eth0
    

    TC Rules

    1:P 0.0.0.0/0 0.0.0.0/0 all
    2:P 0.0.0.0/0 - ipp2p:all
    # specific domains or other desired encapsulation is specified here as well.
    1 $FW 0.0.0.0/0 all
    

    Route Rules

    lo - isp 1000
    

    Masq

    tun0 eth0 detect - - - 2
    eth1 eth0 detect