May 27, 2022, 06:30:53 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How I can restrict applications with squid?  (Read 6178 times)

Offline spawnpy

  • Linux Noob !
  • *
  • Posts: 5
    • http://www.telesurf.com.py
How I can restrict applications with squid?
« on: June 03, 2004, 07:31:34 PM »
Hello to all, i need your help, i want to know, if it is possible to restrict the use of applications, for example to a user or group that only have MSN, Yahoo, ICQ or only WEB, of being possible, could you give some example to me?, from already thank you very much

Offline tryhard69

  • Linux Noob !
  • *
  • Posts: 6
How I can restrict applications with squid?
« Reply #1 on: June 04, 2004, 01:12:18 AM »
i used ipfw on freebsd router to block icq via port 5190 this seems to be working.

also add them to your badlist. and then get squid.conf to use badlist there are a few different ips these chat providders use and its not easy to totally restrict them

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How I can restrict applications with squid?
« Reply #2 on: June 04, 2004, 05:27:16 AM »
Now iptable is preferred to block or do filtering. squid do filtering based on word..
better see previous posts.. all has been answered ,if u don't find.. tell us.. then I will give u lil more details..

Offline spawnpy

  • Linux Noob !
  • *
  • Posts: 5
    • http://www.telesurf.com.py
How I can restrict applications with squid?
« Reply #3 on: June 08, 2004, 12:33:02 PM »
Sorry Ricky, I did not find more details on the matter, can you give the links of post related this subject, please? thanks

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How I can restrict applications with squid?
« Reply #4 on: June 08, 2004, 01:08:31 PM »
ok forget that.  just find out wht ports yahoo etc. use and then block that ports using acl
like put all required and one acl and then disallow all other ports.. see Squid proxy tutorial for example.

Offline spawnpy

  • Linux Noob !
  • *
  • Posts: 5
    • http://www.telesurf.com.py
How I can restrict applications with squid?
« Reply #5 on: June 08, 2004, 01:11:26 PM »
Ok, TKs

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How I can restrict applications with squid?
« Reply #6 on: June 08, 2004, 01:27:53 PM »
you can also do blocking using word. like
Code: [Select]
acl badURL url_regex -i <urls xxxx xxxx xxxx xxxx xxxx>
http_access deny badUrl
http_access allow myNet
http_access deny all

Below are url used by yahoo messenger.. so insider.msg.yahoo.com is the url to block..
Below are the whole URLs..
YOu can try out urself..
insider.msg.yahoo.com:80/ycontent/?&filter=1084803473&imv=1086683746&system=1081493948&sms=1086498455&chatcat=1078829707&ab2=1081690948&intl=us&os=win

insider.msg.yahoo.com:80/?p=11&c=&t=1081805867

insider.msg.yahoo.com:80/ycontent/?chatroom_1600004725=0&intl=us