webman Posted July 14, 2008 Posted July 14, 2008 (edited) Hi everyone Recently noticed a lot of attempts by students on the old web-based proxy scripts. Worked out a couple of regexes to match a some common URL formats. They work fine on our IPCop + URLFilter box. Exmaples: \.(cgi|pl)/([01]+)([A-Z]{1})/) Example: http://judahjohnson.com/index.pl/010110A/687474702s732r6265626s2r636s6q2s696q672s6r6s (index|browse|index2)\.php\?(q|u)= Example: http://whackyourlecturer.com/browse.php?u=Oi8vd3d3LnlvdXR1YmUuY29t Full list Updated 22/07/2008 \?(q|u)=(.*)&hl=([A-Za-z0-9]{3,}) \.php/(.*)/b([0-9]{2,})/ \.php\?rob=(.*)&hl=([A-Za-z0-9]{3}) \.(cgi|pl)/([01]+)([A-Z]{1})/) \.php/([01A-Z]+)/([A-Za-z0-9]+) \.php/(.*)/0/go.php$ (index|browse|index2)\.php\?(q|u)= Edited July 22, 2008 by webman
tom_newton Posted July 14, 2008 Posted July 14, 2008 you might find that those rules overblock slightly - certainly for CGI proxy you can be a bit less aggressive in your blocking and still be effective.
bossman Posted July 14, 2008 Posted July 14, 2008 Would rather overblock than underblock we can always add to white list any site that needs unfiltering. It works and damn well the little bu**ers can't bypass the proxy now. Our ISP have still not managed to sort it out yet!!! BTW Tom how would you have done it?
Sylv3r Posted July 14, 2008 Posted July 14, 2008 Our ISP have still not managed to sort it out yet!!! Give them time
webman Posted July 14, 2008 Author Posted July 14, 2008 Give them time How long should we give them... decades or millennia?
Sylv3r Posted July 14, 2008 Posted July 14, 2008 How long should we give them... decades or millennia? We wanted some ports open last week, when we rang up today to chase them the person had closed the job ticket. Ports are still not open, but unfortunately now he is now on his holidays so we have to wait for him coming back before the job will get done! It could only happen to us that the "Port Opener" is unavailable as he is on his sun lounger in Spain! So something as "difficult" as web filtering.....
webman Posted July 14, 2008 Author Posted July 14, 2008 We wanted some ports open last week, when we rang up today to chase them the person had closed the job ticket. Ports are still not open, but unfortunately now he is now on his holidays so we have to wait for him coming back before the job will get done! It could only happen to us that the "Port Opener" is unavailable as he is on his sun lounger in Spain! So something as "difficult" as web filtering..... Same thing happened to us! A little over 2 weeks by the time it was finally open. Surely somebody else there can open a port? It's not rocket science. Even better would be to give us basic access to the boxes but that seems to be asking too much Good luck with your ports
tom_newton Posted July 15, 2008 Posted July 15, 2008 bossman: I would have just asked for "more" 0101 etc. - it is pretty much always the same length, i'd definitely look for 3 consecutive [01] PHProxy is hard to do via URL only - we do much more in-page on that one. I remember one specific occasion finding a rule accidentally blocked nhs.net which was targetted at phproxy. I suppose overblocking is far more of a concern for me - if we overblock, it happens to hundreds of thousands of users and I can't guarantee whats in the whitelist!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now