Blocking profiles/sites based on port numbers

The General / global section gives access to configuration options, that affect the overall operation of the proxy server.

(Only registered users can post queries, upload and download files here)

Blocking profiles/sites based on port numbers

Postby Ritesh.Bhakuni » Fri Jan 06, 2006 12:55 am

Can u help me blocking specific port numbers thru SafeSquid...?juz liek i block ip's...
I mean, If i wanna block some port numbers then how can i do tht...?
Take it like this way...for instance 80 port is assigned to http protocol..
so forget the http stuff..what if i wanna block sites based on the port number then..for instance how can i block sites assigned to port number 80..
Lemme know soon...
Waiting..
Thanx..

Whoever follows a crowd, will never b followed by a crowd... :P
Ritesh.Bhakuni
 
Posts: 74
Joined: Mon Jan 17, 2005 8:12 pm
Location: Mumbai

Re: Blocking profiles/sites based on port numbers

Postby Tech Support One » Fri Jan 06, 2006 10:05 am

For blocking sites based on por numbers you would create a profile based on port number

For example If I wanted to block all requests on port 21 for FTP
Then I would create a profile called "ftpsite" for port 21 like
Profiles section------------
Enabled true
Port range list 21
Time match mode absolutetime
Added profiles ftpsite

URL Filter section--------------
deny add entry
Enabled true
Profiles ftpsite

Thus creating profiles based on Port Range List you can block requests made on specifc ports
Tech Support One
 
Posts: 1458
Joined: Sat Aug 21, 2004 4:43 pm
Location: India

Re: Blocking profiles/sites based on port numbers

Postby Ritesh.Bhakuni » Fri Jan 06, 2006 4:10 pm

Thanx I got it done...
Actually was trying to block https requests...
C i got it done now but cant make it redirect to another sites juz what urki wanted to do...
Help me out with tht tooo...

Waiting...
Thank yoooo...
Whoever follows a crowd, will never b followed by a crowd... :P
Ritesh.Bhakuni
 
Posts: 74
Joined: Mon Jan 17, 2005 8:12 pm
Location: Mumbai

Re: Blocking profiles/sites based on port numbers

Postby ramkee » Tue Mar 10, 2015 1:52 pm

Dear Ritesh.Bhakuni,

You can redirect these websites by using "URL REDIRECT" section.
ramkee
Site Admin
 
Posts: 86
Joined: Fri Jan 02, 2015 5:23 pm


Return to Basic Behaviour

Who is online

Users browsing this forum: No registered users and 1 guest

cron