Re: Iptable rule required to block youtube

2012-10-05 Thread vivek chalotra
*Sent:* Thursday, October 4, 2012 3:10 PM *Subject:* Re: Iptable rule required to block youtube On Thu, Oct 04, 2012 at 12:57:00PM +0530, vivek chalotra wrote: And now i want to block youtube on my network. kindly suggest iptable rules to do that. block youtube on my network

Re: Iptable rule required to block youtube

2012-10-05 Thread jdow
...@fnal.gov *Sent:* Thursday, October 4, 2012 3:10 PM *Subject:* Re: Iptable rule required to block youtube On Thu, Oct 04, 2012 at 12:57:00PM +0530, vivek chalotra wrote: And now i want to block youtube on my network. kindly suggest iptable rules to do

Re: Iptable rule required to block youtube

2012-10-05 Thread David Sommerseth
- Original Message - From: vivek chalotra vivekat...@gmail.com To: Henrique Junior henrique...@gmail.com Cc: Konstantin Olchanski olcha...@triumf.ca, scientific-linux-us...@fnal.gov Sent: Friday, 5 October, 2012 9:10:24 AM Subject: Re: Iptable rule required to block youtube I have

Re: Iptable rule required to block youtube

2012-10-04 Thread Rich
You don't - not easily, at least. iptables allows you to configure rules by IP. Blocking e.g. *.youtube.com/* [to say nothing of aliases thereof] is hostname-based, not IP-based. And I would imagine, at a glance, that Youtube has a lot of IPs. Your easiest answer would be to do HTTP proxying

Re: Iptable rule required to block youtube

2012-10-04 Thread Michael Tiernan
On 10/4/12 3:27 AM, vivek chalotra wrote: And now i want to block youtube on my network. It can be done with iptables however it's not for the faint of heart. I did some reading about it on a dd-wrt website and it wasn't something I found as an easy solution to a single problem such as this.

Re: Iptable rule required to block youtube

2012-10-04 Thread Trenton Ray
Have you looked into setting up a Squid proxy/filter? Much less of a headache than doing it at the iptables level. On 10/04/2012 08:26 AM, Michael Tiernan wrote: On 10/4/12 3:27 AM, vivek chalotra wrote: And now i want to block youtube on my network. It can be done with iptables however it's

RE: Iptable rule required to block youtube

2012-10-04 Thread Novick, Jeffrey L CTR (US)
4:29 AM To: vivekat...@gmail.com Cc: scientific-linux-us...@fnal.gov Subject: Re: Iptable rule required to block youtube Have you looked into setting up a Squid proxy/filter? Much less of a headache than doing it at the iptables level. On 10/04/2012 08:26 AM, Michael Tiernan wrote: On 10/4/12 3

Re: Iptable rule required to block youtube

2012-10-04 Thread Steven Miano
it at the DNS level. From: owner-scientific-linux-us...@listserv.fnal.gov [mailto: owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Trenton Ray Sent: Thursday, October 04, 2012 4:29 AM To: vivekat...@gmail.com Cc: scientific-linux-us...@fnal.gov Subject: Re: Iptable rule required to block

Re: Iptable rule required to block youtube

2012-10-04 Thread Chris Schanzle
On 10/04/2012 09:58 AM, Steven Miano wrote: dig youtube.com http://youtube.com | egrep youtube.com http://youtube.com | awk '{ print $5 }' | grep . | grep -v '' yt.dig You'd block google's DNS servers with that, which might not be a problem on the client, but may I suggest a new and

Re: Iptable rule required to block youtube

2012-10-04 Thread Steven Miano
I'm confused as to why it would block the Google DNS servers (which I believe are 8.8.8.8 and 8.8.4.4 unless they have more? resolve to): 8.8.8.8.in-addr.arpa. 43194 IN PTR google-public-dns-a.google.com. My results to both of our suggestions seem to be identical. Very interesting that

Re: Iptable rule required to block youtube

2012-10-04 Thread Steven Miano
Disregard this. You can not stop youtube at Layer 3. Or you will lose Google pretty much. Sorry. On Thu, Oct 4, 2012 at 1:12 PM, Steven Miano mian...@gmail.com wrote: I'm confused as to why it would block the Google DNS servers (which I believe are 8.8.8.8 and 8.8.4.4 unless they have more?

Re: Iptable rule required to block youtube

2012-10-04 Thread Konstantin Olchanski
On Thu, Oct 04, 2012 at 12:57:00PM +0530, vivek chalotra wrote: And now i want to block youtube on my network. kindly suggest iptable rules to do that. block youtube on my network is not a very well defined wish. If you want to merely block the well known youtube IP and DNS addresses, you

Re: Iptable rule required to block youtube

2012-10-04 Thread Henrique Junior
Subject: Re: Iptable rule required to block youtube On Thu, Oct 04, 2012 at 12:57:00PM +0530, vivek chalotra wrote: And now i want to block youtube on my network. kindly suggest iptable rules to do that. block youtube on my network is not a very well defined wish. If you want to merely block