April 16, 2024, 02:28:02 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: can i restrict Msn & Yahoo chating on squid to per clien  (Read 8455 times)

Offline jawed

  • Linux Noob !
  • *
  • Posts: 7
can i restrict Msn & Yahoo chating on squid to per clien
« on: June 16, 2004, 07:12:00 AM »
Hi,
 
    i know that Msn & Yahoo as well particular application can be block in squid, but still i don't know what process to block these Msn/Yahoo application. plzz help

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can i restrict Msn & Yahoo chating on squid to per clien
« Reply #1 on: June 16, 2004, 09:09:01 AM »
It is simple.. you have to block the ports which they use. .. like yahoo use port 5050 . See few earlier post and u will find detailed answer ;)

Offline jawed

  • Linux Noob !
  • *
  • Posts: 7
can i restrict Msn & Yahoo chating on squid to per clien
« Reply #2 on: June 17, 2004, 12:55:08 PM »
Hi Ricky,
 
           yes it is possible but where i implement this Msn and yahoo blockage so plzz give me  file name where it will implement and give me exact command to blokc msn and yahoo.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can i restrict Msn & Yahoo chating on squid to per clien
« Reply #3 on: June 17, 2004, 01:08:31 PM »
oh.. well i had told u that look the forum and few my previous posts. Actaully there is no command like "block yahoo and block msn" lol. Well you have to block the ports which they use. So what ports they use is to find by you. So you have to edit squid.conf and have to remove the ports from safe port lists which are used by these applications. see Squid Proxy tutorial and you can also block them on the basis of word they use in their URL. see my post at Restricting application using squid
And lastly you need little experimentations ;)

Offline jawed

  • Linux Noob !
  • *
  • Posts: 7
how i can restrict this port
« Reply #4 on: July 03, 2004, 01:05:14 PM »
hi Ricky,
                i have block the all ports like 80 1080 8080 5000 5001 5010 5050 5100 in my acl and deny this acl and don't replace http port to 8080 it is still 3128. both messenger msn and yahoo block by these ports but if any client use port 3128 as a proxy in yahoo messenger then yahoo messenger is activate. so how i can restrict this port, because port 3128 is also use in browser (Lan Proxy setting ) to web access.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can i restrict Msn & Yahoo chating on squid to per clien
« Reply #5 on: July 03, 2004, 01:47:30 PM »
can you show me that part of your squid.conf where u have made those acl ?

Offline jawed

  • Linux Noob !
  • *
  • Posts: 7
How can i restrict yahoo in squid acl as applilcation
« Reply #6 on: July 03, 2004, 07:12:45 PM »
Hi Ricky,
 
        Jawed here, actually this is my acl

http_port 3128

acl our_networks src 192.168.0.0/192.168.0.15
http_access allow our_networks

acl problem_port port 80 8080 1080 1863 5000 5001 5010 5050 5100
http_access dey problem_port


acl badURL url_regex -i          
http_access deny badURL


acl badURL1 url_regex -i <urls insider.msg.yahoo.com>
http_access deny badURL1

acl badURL2 url_regex -i msn-messenger application/x-msn-messenger
http_access deny badURL2

acl site_block dstdomail insider.msg.yahoo.com
http_access deny site_block


And all URL write that is in this forum topic which is make sepetate

acl and deny them which is yahoo use
http://www.linuxsolved.com/forums/ftopic501.html

and bydefault all Safe Ports same there is no changes

http_access deny all

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can i restrict Msn & Yahoo chating on squid to per clien
« Reply #7 on: July 04, 2004, 06:06:54 AM »
well.you have to edit safe ports section b'coz in there you are describing all these ports as safe ports and then later you are blocking those. edit those safe port, create more range and exclude the port you want from safe port.

Also if this is your copy and paste of your squid.conf then it has few errors which should also considered.

Offline jawed

  • Linux Noob !
  • *
  • Posts: 7
need alternate option to block yahoo messenger
« Reply #8 on: July 05, 2004, 06:36:59 PM »
Hi Ricky,

            This is Jawed Iqbal here and i have still not solve my problem b'cuz if i block the default Safe Ports like port 80 then client could not surfing the web so therefore i open this port in Safe port and block this type like

acl prob_port port 8080 80 ........ etc ports
http_access deny prob_port

and how i can exclue safe port can u give full syntax
and plzz can u give alternative option to block yahoo messenger like word/URL blocking that is exact yahoo messenger use with syntax.
    Thanks