On Tue, 2011-05-17, jprudent wrote:
> Hi!
>
> I'm teaching firewalls on Linux.
>
> I'm looking for a program that can take two arguments:
> --port portnumber[listening port number]
> --tcp or --udp [choose the protocol]
>
> Several instances can be running on different port.
> Clients can connect through telnet and the server is echoing telnet
> input.
>
> This program is aimed for students. They can add some iptables rules
> on machine and test if they still can access their servers from
> outside world.
>
> Yes, I'm too lazy to write one myself.
- netcat, aka 'nc'
- the tcp 'echo' service provided by inetd; you can probably
configure it to listen on any number of ports and not just
the standard echo port (port 7, IIRC)
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
|