Hi,

next time you wanna test a firewall rule and there is no service running on the destination port jet…

Here is a litte perl-script that accepts incoming connections on a configurable TCP port.

After you start the script on the destination host you can simply telnet it for testing.

I tested this on:

  • RedHat Enterprise Linux 5.5
  • Windows Server 2008 (ActivePerl 5.12)
    Hope it helps,
    visit