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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

can I block a port with a Bat file

Reply to Message Icon

Name: kenny2001
Date: November 6, 2007 at 06:18:22 Pacific
OS: multi
CPU/Ram: multi
Product: 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




Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: November 6, 2007 at 07:45:36 Pacific
Reply:

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


0

Response Number 2
Name: kenny2001
Date: November 6, 2007 at 09:36:38 Pacific
Reply:

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.



0

Response Number 3
Name: StuartS
Date: November 6, 2007 at 10:16:40 Pacific
Reply:

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


0

Response Number 4
Name: kenny2001
Date: November 7, 2007 at 00:38:56 Pacific
Reply:

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


0

Response Number 5
Name: StuartS
Date: November 7, 2007 at 05:22:11 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: kenny2001
Date: November 8, 2007 at 02:43:46 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: can I block a port with a Bat file

Block TCP ports with VB www.computing.net/answers/programming/block-tcp-ports-with-vb/5457.html

How can I make a misc bootable cd? www.computing.net/answers/programming/how-can-i-make-a-misc-bootable-cd/13516.html

I need a .bat file! www.computing.net/answers/programming/i-need-a-bat-file/16333.html