Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / June 2007

Tip: Looking for answers? Try searching our database.

Open source proxy server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
colin - 18 Jun 2007 03:17 GMT
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 =^.^=
Sachin - 18 Jun 2007 14:21 GMT
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/safesquid-4.1.1-com20-free.tar.gz
after registering on the forum at http://www.safesquid.com/forum.

Regards
colin - 18 Jun 2007 18:54 GMT
> Try SafeSquid - Content Filtering Internet Proxy -
> http://www.safesquid.com/
[quoted text clipped - 5 lines]
>
> 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 =^.^=
Sachin - 19 Jun 2007 08:10 GMT
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.cfg/template/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!
colin - 19 Jun 2007 12:46 GMT
> 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
[quoted text clipped - 19 lines]
> 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 =^.^=
Sachin - 20 Jun 2007 10:29 GMT
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/windows/safesquid.win32.free.2.0.1.zip

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.