By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,224 Members | 1,414 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,224 IT Pros & Developers. It's quick & easy.

Open source proxy server

P: n/a
Hi, Im looking for an open source http/web proxy server hopefully in c#
there seems to be quite a few in python or java,
but not come acros one in c# yet.

is there anything around ?
I wouldnt want to start from scratch,
and most dont seem to do what I want.
mainly to have more and easier control over what gets blocked etc.

Colin =^.^=
Jun 18 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Try SafeSquid - Content Filtering Internet Proxy - http://www.safesquid.com/
Although it is not open-source, it has a free version, and a lot of
features. Maybe it has what you are looking for. The free version can
be downloaded from http://downloads.safesquid.net/free/...20-free.tar.gz
after registering on the forum at http://www.safesquid.com/forum.

Regards

Jun 18 '07 #2

P: n/a
"Sachin" <sa***********@gmail.comwrote in message
news:11**********************@n15g2000prd.googlegr oups.com...
Try SafeSquid - Content Filtering Internet Proxy -
http://www.safesquid.com/
Although it is not open-source, it has a free version, and a lot of
features. Maybe it has what you are looking for. The free version can
be downloaded from
http://downloads.safesquid.net/free/...20-free.tar.gz
after registering on the forum at http://www.safesquid.com/forum.

Regards
hmm that doesnt seem to be for windows.
it didnt seem to state what operating system its for though i gues its unix.
although it looks like the sort of thing im looking for.

the best one ive used so far was naviscope,
however its not been updated for so many years it doesnt cope with new
things,
it does however set up IE to use it as a proxy,
is very fast, no noticable lag, blocks adverts by expresion matching etc,
also it allows you to see the advert by hovering the mouse over the advert
wich it then displays. it also lets you see what references each page has
made.
although this does take quite a lot of clicking

shame the source code isnt available it does just about what I want, with no
fancy extras I dont need wich just get in the way.

I also tried webcleaner, its open source for python, however it seems very
slow, and it stops some of the sites from working, seems to have so many
avenues of options to explore will probably take me ages to find out how to
tailor it so individual sites stil work.

Ive found the hosts list from mvps to be quite good, but again some pages
dont work, unless I take out a lot of them, but then that leaves other pages
open to them.

allowing sites to bypass the proxy is too much of an all or nothing option.

I want to make it so you can tailor it to any site and or page as necessary,
from as close to the page as possible, ie blocking images just by pointing
to them, vet scripts with enough details to identify what theyr doing, and
remember for next time, and al the other annoying things.

As it is with IE I have scripts on ask except for trusted zone, but I get so
iritated with this. it doesnt tell you anything about whats going on,
if a site is in the trusted zone I stil get bombarded with prompts for
things wich it refers to on other sites and no way of knowing which site so
it can be added to the trusted zone.

ive seen one or more to try, takes quite a while to go through each one
though.
is it that difficult to write one from scratch or is there some basic
framework examples ?

Colin =^.^=
Jun 18 '07 #3

P: n/a
SafeSquid (Linux) is quite a power-house when it comes to above. But
yes, it does involve a little initial-learning curve. The trick lies
in using Profiles. You can create an unlimited set of profiles, to
emulate various zones, and then instruct the various filtering
sections about the action to take for one or more profiles. So you
should be able to very precisely define the group of web-sites and
users that constitute acceptable cookies, ads/banners, activex,
javascripts & more.

Besides, you can also use the feature of custom templates to set-up a
customised proxy.pac, to over-ride the built-in proxy.pac, so you can
completely bypass the use of proxy server for certain web-sites. But
then you must set your browsers to use automatic proxy configuration
script at http://proxy_ip:proxy_port/safesquid...late/proxy.pac

The possibilities are unlimited, so you can even serve "a different
proxy.pac" depending upon the requester's username and/or network
address.

And the best part is that you can give your list of "desired results"
to SafeSquid's tech-support guys & they will be more than happy to
construct an appropriate configuration file (xml format) so you can
very quickly go production!

Jun 19 '07 #4

P: n/a
"Sachin" <sa***********@gmail.comwrote in message
news:11**********************@a26g2000pre.googlegr oups.com...
SafeSquid (Linux) is quite a power-house when it comes to above. But
yes, it does involve a little initial-learning curve. The trick lies
in using Profiles. You can create an unlimited set of profiles, to
emulate various zones, and then instruct the various filtering
sections about the action to take for one or more profiles. So you
should be able to very precisely define the group of web-sites and
users that constitute acceptable cookies, ads/banners, activex,
javascripts & more.

Besides, you can also use the feature of custom templates to set-up a
customised proxy.pac, to over-ride the built-in proxy.pac, so you can
completely bypass the use of proxy server for certain web-sites. But
then you must set your browsers to use automatic proxy configuration
script at http://proxy_ip:proxy_port/safesquid...late/proxy.pac

The possibilities are unlimited, so you can even serve "a different
proxy.pac" depending upon the requester's username and/or network
address.

And the best part is that you can give your list of "desired results"
to SafeSquid's tech-support guys & they will be more than happy to
construct an appropriate configuration file (xml format) so you can
very quickly go production!
cool thanks a lot, that sounds realy good, shame they dont do a windows
version.

If only I could get the traffic to flow through a simple c# program im sure
I could write some c# functions to filter what I want quite easily based on
site etc. at least I know c# already, as you say these things can be quite a
learning curve.

I wonder if i give windows version as my desired results to their tech guys
.... im realy surprised theres not something out there for windows, Ive asked
a few people I know and they said they wish they knew of something too,
maybe there is but its not wanting to be found so easily.

I had thought of having a seperate unix box, but not to just be a filter.

Colin =^.^=
Jun 19 '07 #5

P: n/a
They do have a cygwin windows version, which was, I am made to
understand, accidentally released. It was supposed to be just a POC.
But there is not much of a development happening on it, and seems to
have problems with XP and later version. If you would like to try it,
you can download it from http://www.safesquid.com/download/wi...free.2.0.1.zip

Jun 20 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.