Body & Soul11 mins ago
Block an IP
I've Googled this and got nowhere. If I want to stop a connection being made to my pc from a specific IP how do you do that? I don't want to change zone alarm for another firewall as I'm happy with it's performance in every other respect. A free solution would be preferable as I'm very cheap! Running XP sp2 (if that's needed). I typed netstat -an and noticed 217.239.40.62 had established a connection, this is spyware being trialled by Virgin Media right now.
TIA
TIA
Answers
Best Answer
No best answer has yet been selected by dogbutter. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.I don't believe this is beyond the scope of resident answerbank techs?
Installed Netdiag.exe from XP CD
Run the Netdiag /test: ispec
No problems,
Installed IPSeccmd.exe
The next instruction is:
To add a dynamic BLOCK filter that blocks all packets from any IP address to your system's IP address and targeted port, type the following at a command prompt.
Note In the following command, Protocol and PortNumber are variables.
IPSeccmd.exe -f [*=0:PortNumber:Protocol]
A working example demonstrating syntax here would be appreciated as I've lost it at this point. Please help
Finally got it sorted...all on my lonesome...
Even worked out how to contain the script in a batch file and pin it to the start menu to reapply the rule every time!
Google IS your friend.....
figure,
On XP, start>programs>accessories>command prompt
(or, start>run>type " cmd ")
Type netstat
All connections with host names are listed.
Type netstat ?
For a list of netstat commands.
Even worked out how to contain the script in a batch file and pin it to the start menu to reapply the rule every time!
Google IS your friend.....
figure,
On XP, start>programs>accessories>command prompt
(or, start>run>type " cmd ")
Type netstat
All connections with host names are listed.
Type netstat ?
For a list of netstat commands.