Just a quickie so I don't have to go dig it up again...
insert a new file under /etc/xinetd.d/ (under Ubuntu, anyway):
# default: on
# description: xinetd service to emulate Flash Remoting banner
#
service dummy
{
disable = no
type = UNLISTED
id = dummy
socket_type = stream
protocol = tcp
user = root
server = /usr/local/bin/dumbdumbdumbdumbdumb
wait = no
port = 843
}
contents of /usr/local/bin/dumbdumbdumbdumbdumb:
#!/bin/bash
echo "Oh, fiddlesticks..."
exit 0
Make sure /usr/local/bin/dumbdumbdumbdumbdumb is +x
Thursday, May 6, 2010
Subscribe to:
Post Comments (Atom)
Sweet! *copy/paste*
ReplyDelete