From: | Kashani <kashani-list@××××××××.net> | ||
---|---|---|---|
To: | gentoo-server@l.g.o | ||
Subject: | Re: [gentoo-server] open a temp port script daemon | ||
Date: | Wed, 02 Jun 2004 22:14:59 | ||
Message-Id: | Pine.LNX.4.56L0.0406021510040.12785@bandwidth.zanti.com | ||
In Reply to: | Re: [gentoo-server] open a temp port script daemon by Sven Wegener |
1 | On Thu, 3 Jun 2004, Sven Wegener wrote: |
2 | |
3 | > On the server emerge net-analyzer/netcat and then your tempport should |
4 | > be a script like this: |
5 | > |
6 | > #!/bin/bash |
7 | > while true ; do echo "It worked" | nc -q 0 -l -p $1 |
8 | > ; done |
9 | > |
10 | > On the server start "tempport <port>" and you're set. |
11 | > |
12 | |
13 | Didn't realize netcat could also listen for connections as well. |
14 | Now it becomes apparent why people swear by netcat. Thanks much for |
15 | response. |
16 | |
17 | kashani |
Subject | Author |
---|---|
Re: [gentoo-server] open a temp port script daemon | Martin Hajduch <martin.hajduch@×××××××××××.com> |