April 19, 2024, 09:38:04 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid ports  (Read 5472 times)

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
squid ports
« on: January 30, 2004, 03:43:01 PM »
Hello !!!!


In Squid is it possible to block the ports.... some of the ports are infected by virus/trojan like......

port 1434 - sql worm..  :oops:

port 21 - Back Construction, Blade Runner, Doly Trojan, Fore, Invisible FTP, Juggernaut 42 , Larva, MotIv FTP, Net Administrator, Senna Spy FTP server, Traitor 21, WebEx, WinCrash

port-22 - Shaft.

port 2989 - (UDP) - Remote Administration Tool - RAT

still there are many ports which are infected by virus/trojans.... etc.............

Is it possible to block this kind of ports.......... in Squid.. plz let me know how to do...

Thank you,
Sathish

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid ports
« Reply #1 on: January 30, 2004, 04:03:45 PM »
Yes they can be blocked..  say u want to block the ports you have given then
Code: [Select]
acl problem_ports port 1432 21 22 2989
http_access deny problem_ports
But beware, after blocking the ports you have suggested may result in improper browsing experience. Simply may cause problem .. :)