[Techtalk] Security Issue:disallowing external access to X windows

Jeff Dike jdike at karaya.com
Fri Sep 14 23:41:58 EST 2001


jockgrrl at austin.rr.com said:
> At the moment I have only one port open to anyone who shows up --
> httpd -- and it doesn't go to a real HTTPD server.

Where does it go?  Something like:

#!/bin/sh
cat << EOF
HTTP/1.1 200 Get Lost
Date: `date`
Connection: close
Content-Type: text/html

<HTML>
<BODY>
<H1>
<FONT COLOR="red">
<CENTER>
<BLINK>
BUGGER OFF
</BLINK>
</CENTER>
</FONT>
</H1>
</BODY>
</HTML>
EOF

?

BTW, 'while true; do bugger.sh | nc -l -p 80; done' makes a fine (and probably
very secure) webserver...

				Jeff





More information about the Techtalk mailing list