Skip to main content

Listen & services

Services

Start all services matching ls /bin/service/tcp*

aux/listen

Custom listen

aux/listen1 will listen on proto, ip and port and execute command for each incoming connection and forward stdin/out to the connection.

Normally it runs as user none.

Echo on TCP 888
aux/listen1 tcp!*!888 cat
Collect data sent
aux/listen1 -t tcp!*!888 tee -a data

Send data out

aux/listen1 tcp!*!888 echo foobar
CPU server (-t to use current user)
aux/listen1 -t tcp!*!17010 /bin/cpu -R &