Hacker News new | ask | show | jobs
by geoka9 3846 days ago
Interestingly enough, tsocks (+ssh -D) works with firefox but not chromium.
1 comments

That's interesting. IIRC tsocks doesn't emulate the select-style system call interface that chromium likely uses for its networking.

I'm a bit surprised to find that it works with Firefox; I generally prefer to configure proxies where possible as tsocks is a horrible (albeit very useful) hack.

Looks like it does hook select: https://github.com/pc/tsocks/blob/master/tsocks.c#L343. However, it doesn't hook epoll, which is The Right Way to do operations on any number of sockets nowadays.
Ah yeah, thanks, that makes a bit more sense.