Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-25-2006, 08:59 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
blocking and unblocking ports on linux

I needed to know if it is possible to block a port for some time (say 5 minutes ) and then unblock , in such a way that the connection doesnt get affected.

For eg. suppose i block port 23 for say 2 minutes , then the telnet that i have opened shoould remain unaffacted and i should be able to establish contact with the telneted machine after 2 minutes ??

Sorry if the question sounds hazy, please let me know if u need more information.
Old 07-25-2006, 10:16 AM   #2
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
the iptables recent patch

one example is here:

or try DEnyhosts:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is linux blocking ports? kryptobs2000 Linux - Networking 1 12-16-2005 03:17 PM
blocking and allowing ports drumlix18 Linux - Networking 4 11-30-2004 07:36 PM
blocking ports rocketgo Linux - Software 3 11-11-2003 07:50 PM
Firewall not blocking ports... bfloeagle Linux - Security 9 05-20-2003 03:53 PM
Blocking ports for a specific IP Shrimpy Linux - Networking 1 12-23-2002 12:48 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration