Matt/ blog/ My kingdom for a decent packet sniffer

So, I've been writing an HTTP proxy again, for various reasons. I wanted to learn MINA and also I have nefarious purposes for a proxy that can do "stuff".

Anyway, on Windows, the Proxy is pretty reliable. I need to get the build cleaned up (so far it's just a hack project) so I can try it on Linux. So far, I get intermittent TCP issues with the proxy on my Mac. I'm thinking it's the glorious neglect of Java that the Apple camp keeps perpetuating.

Meanwhile, I found this out by using the glorious WireShark. I tried Eavesdrop, my normal sniffing favorite on Mac, but it seems to be strangely blind to anything on the loopback interface, even when captured with tcpdump. Anyway, wireshark can't seem to actually sniff traffic (dunno why), but it will open the tcpdump files so I can see that, hey!, when I get the "weird behavior", the TCP ack/syn process seems to just fall silent. Interesting.

I'll have to screw around with this more tomorrow.