How to block a port, such as 21?
Hi threre,
I wan to write a program that can block a port, such as 21. But I don't konw how to do it. Thanks a lot:) |
Silly question, but why not just stop the services,
or use iptables? Cheers, Tink |
Thanks, Tinkster.
What I mean is that: after I block the specified ports, all subsequent processes can not use these ports, but I don't want to kill these process. BTW, how to write a program with Iptables? thanks again. |
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php http://www.linuxquestions.org/questi...hreadid=275989 |
All times are GMT -5. The time now is 07:57 PM. |