Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: spawnpy 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
-
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
-
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..
-
Sorry Ricky, I did not find more details on the matter, can you give the links of post related this subject, please? thanks
-
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 (http://www.linuxsolved.com/forums/ftopic116.html) for example.
-
Ok, TKs
-
you can also do blocking using word. like
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