Re: blocking websites



i have blocked myspace. here's how to do it.

echo "127.0.0.1 www.myspace.com" | sudo tee -a /etc/hosts

i dont believe the person is smart enough to use instant message from a
website, but if i need to, ill start blocking all those websites. how can i
use block the instant messengers with iptables? be more specific on how to
do it please. what's the command? yahoo uses port 5050 for logging in with
the server for IM, so how can I block that? There should be one command to
do it instead of installing squid and a bunch of other software. I just
blocked websites without installing squid, so please don't suggest it.

On 9/1/06, Gabriel M Dragffy <dragffy@xxxxxxxxx> wrote:

On Thu, 2006-08-31 at 23:09 -0500, Chris Lemire wrote:
> Is there any better way to block websites than using iptables? I would
> like to block all website's on the myspace server. I'd also like to
> block all instant messaging chatting from this computer. This computer
> is also running windows in VMware server, so I'd like to block myspace
> from being used from it too. If I use iptables to block myspace, it
> will block it from any web browser even if the web browser is IE6
> running in VMware Server right? I got this ip using ping. How can I
> block all of it sending and coming to this computer?
>
> ubuntu@ubuntu:~$ ping www.myspace.com
> PING www.myspace.com (216.178.32.51) 56(84) bytes of data.
> 64 bytes from 216.178.32.51: icmp_seq=1 ttl=244 time=115 ms
> 64 bytes from 216.178.32.51: icmp_seq=2 ttl=244 time=156 ms
>
> --- www.myspace.com ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1005ms
> rtt min/avg/max/mdev = 115.457/136.140/156.823/20.683 ms
> ubuntu@ubuntu:~$

You're right about IP tables, and if you don't have too many IPs that
you'd like to filter it's probably easiest, certainly much easier than
configuring your own proxy server. To make configuring IPTABLES easier
I'd recommend you take a look at firehol in my opinion it's the best
thing sinced sliced bread for taking care of firewall rules, it can even
accept normal IP tables commands but it has it's own blacklist too.
Blocking IM from the computer may be more difficult. You could configure
the firewall to only allow certain outgoing services such as https/http,
but then most IM clients can use and outbound connection with that if
you configure them right. You may have to also blacklist the various
destination IPs for the chat clients.


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: publishing multiple websites in ISA 2004
    ... hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... INSIDE OF SBS NETWORK, IS SAFER THAN JUST ON THE SBS/ISA BOX, CORRECT? ... 816576 How to create a new virtual server or Web site in Internet ...
    (microsoft.public.windows.server.sbs)
  • Re: publishing multiple websites in ISA 2004
    ... Les Connor [SBS Community Member - SBS MVP] ... > hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... > 816576 How to create a new virtual server or Web site in Internet ...
    (microsoft.public.windows.server.sbs)
  • Re: publishing multiple websites in ISA 2004
    ... Les Connor [SBS Community Member - SBS MVP] ... > hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... > 816576 How to create a new virtual server or Web site in Internet ...
    (microsoft.public.windows.server.sbs)
  • Dementia Top 20 Show (Mar 9-11, 2007)
    ... Listen to this week's "Dementia Top 20" radio show with host David Tanny, who plays the hits people care about. ... Websites: Organ Failure on Myspace ... Tom Smith, Tom Smith on The Fump, Tom Smith on Myspace ...
    (rec.music.dementia)
  • Re: ISA2004 SP2: EventID 14148
    ... In SBS the external accessible websites are configured to listen on "(All ... Unassigned)" IP addresses and TCP port 80. ... to use a second server (with the costs of an additional Windows 2003 Server ... resolve this issue, ...
    (microsoft.public.isa.configuration)