Question Locked

Blocking Myspace to a subnet at a High School

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok i know this is a touching subject but need to block myspace, linewire and all the other p2p on my site as they are hogging tons of traffic.

I have a PIX firewall in place but not to sure how to use it. It was already here when i got hired.

Any suggestions? Also i do not have a budget for any of this to work on. So this need to be an open source system solution package.

Regards

Andy

6 replies

by deity_chooch

Well, I'm not sure how exactly to do it on a Cisco PIX firewall, as I've never really used it. I use iptables primarily, but have also blackholed IPs on a Cisco router, so hopefully this will help. First of all, it looks like MySpace has 3 IPs (according to an A record lookup from DNSstuff.com). I'd add all of these to the firewall. In the Cisco router I'm used to, you enter the "configure terminal" prompt and issue the following command:

route ip 192.168.1.254 255.255.255.255 Null0

This stops traffic going to 192.168.1.254 by sending it to Null0 (trash, garbage, nowehere, etc.). Hopefully that will stop your MySpace traffic. As far as Limewire, that's a bit trickier. You could probably firewall all traffic on a certain port range, but the ports can be changed in the Limewire program to get around this.

I've looked into Linux programs that will help this issue. l7-filter and ipp2p are used to classify traffic which is then stopped by the iptables firewall. I'm not sure if there's a way to do it with the PIX, but this might be a viable option for you, as the programs are offered for no cost. Here's a link that might help illustrate this solution: http://gentoo-wiki.com/HOWTO_Packet_Shaping

by clarence.mills

You can try opendns.com it a totally free service that offers the ability to block well known sites bases on categories plus you can add your own sites by either name or IP.

by seanferd

You can't use OpenDNS to block on selected devices or subnets inside a private network. DNS just doesn't work that way.

Now, if you routed everything for which you wanted a certain differential level of filtering through a separate public IP address, that would work.

by robo_dev

Digging into content management in a PIX is like building an automobile from scratch starting with some raw steel and some cowhides for the leather seats.

Three proxy solutions, in order of cost:

1) WebSense Express or WebSense Enterprise
www.websense.com

2) RhinoSoft AllegroSurf
www.allegrosurf.com

3) Squid, SafeSquid, DansGuardian
http://wiki.squid-cache.org/WhySquid
http://dansguardian.org/?page=news

In concept, using a router to block sites is easy, in practice it is difficult. With a proxy there are lots of things you get, in addition to blocking the nasty stuff:

1) audit trail (who is trying to get to what, when, etc)
2) caching/acceleration
3) blocking of malicious code
4) blocking of banner ads, popups, etc.
5) the ability to whitelist some sites, blacklist other sites.
6) The ability to block/allow/log some protocols, such as p2p, IM, FTP, etc.
7) The ability to allow some users to have access and some to be blocked.

This discussion is closed to new replies.