Computing.Net > Forums > Programming > can I block a port with a Bat file

can I block a port with a Bat file

Reply to Message Icon

Original Message
Name: kenny2001
Date: November 6, 2007 at 06:18:22 Pacific
Subject: can I block a port with a Bat file
OS: multi
CPU/Ram: multi
Model/Manufacturer: multi
Comment:

Im trying to block Windows Live Messenger ports 80, 443, 1863 as part of a log in script
can this be done with a bat file.
thanks



Report Offensive Message For Removal

Response Number 1
Name: StuartS
Date: November 6, 2007 at 07:45:36 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

I wouldn't block port 80. Block that and your browser will stop working altogether as port 80 is the default HTTP port.

If you want to stop Windows Live Messenger from popping up disable. It can't respond if its not running. Blocking ports is using a sledgehammer to crack a nut.

Stuart


Report Offensive Follow Up For Removal

Response Number 2
Name: kenny2001
Date: November 6, 2007 at 09:36:38 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

I don't want to go to 600 pc's one at a time and disable Live Messenger so 5 minuets later a student will just reinstall it.
so i think the sledgehammer is a better approach.



Report Offensive Follow Up For Removal

Response Number 3
Name: StuartS
Date: November 6, 2007 at 10:16:40 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

In that case if you have 600 pcs, somewhere along the line you will have a router, or failing that, a domain server. Thats where you do the blocking. Not on individual PCs. You can bet your life someone will work out how to unblock them and once one knows, everyone knows.

I still wouldn't block port 80 though. Students are going to get a bit pissed of if they cant get on the WWW.

Stuart


Report Offensive Follow Up For Removal

Response Number 4
Name: kenny2001
Date: November 7, 2007 at 00:38:56 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

The problem is we dont want to block the whole domain as some of the staff use a moddified Messenger program to talk to each other.
Thanks


Report Offensive Follow Up For Removal

Response Number 5
Name: StuartS
Date: November 7, 2007 at 05:22:11 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

Use an application like this.

http://www.lanmessenger.net/?gclid=...

This is designed for the purpose and will only communicate within the LAN. In fact if you know any decent programmers they will be able to knock one up for you in a few hours, it is surprisingly easy.

Using Messenger Live just for internal communications only is wasting bandwidth.

Blocking ports at individual PCs requires that each PC has a firewall running. It wont take people long to figure out how to work round that restriction.

Stuart


Report Offensive Follow Up For Removal


Response Number 6
Name: kenny2001
Date: November 8, 2007 at 02:43:46 Pacific
Subject: can I block a port with a Bat file
Reply: (edit)

Thanks for the link I showed it to my manager and he said "Site License $755.00 ? Messenger Live is free!"
so now im back to blocking ports.
our internet connection is not handled by us its a local goverment thing and its like having one hand tied tbh.


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: can I block a port with a Bat file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software