Hacker News new | ask | show | jobs
by madhurjain 4185 days ago
Minimal, Web proxy written in Go.

Can be self-hosted on Heroku, Red Hat OpenShift or any VPS / Cloud provider.

more details here http://madhurjain.github.io/gopee

1 comments

Great start. Your two known deficiencies are pretty big right now:

* Doesn't support anything which requires sessions / cookies / logging in, yet

* Most AJAX requests don't work since the URLs are not rewritten

Don't stop working on it! This is a pretty great project.

Other issues:

* It's leaking a lot of information (Google Analytics and a few other domains are being connected to directly instead of going through proxy). This is probably the biggest thing to fix. Offering a "strip all scripts" option may help.

* Useragent is set to Go's default. Forwarding the user's user-agent or better yet, a stock browser useragent (Firefox or something) may be better

That first issue isn't really generally fixable, is it? At least, not for a web-based proxy like this.

SOME effort could be made to rewrite URLs found inside of Javascript but that might be a terrible idea in practice.

If you're allowing Javascript then it'd be tough but if scripting is stripped it should be doable.

For anonymizing, stripping Javascript, Flash/plugin content would be essential I think.

@nacs Thanks for your inputs. Will fix asap !
The default Tor useragent would be perfect for this.
@deftnerd Thanks for the appreciation!

I understand the deficiencies are major ones, but I am gonna continue working on it.

good start, nothing is ever perfect, kudos to you for being open to the deficiencies and being happy fixing them