NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bozohttpd



On Wed, Feb 28, 2018 at 07:11:56PM +0000, maya%netbsd.org@localhost wrote:
> On Wed, Feb 28, 2018 at 04:41:57PM +0000, Patrick Welche wrote:
> > /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -s /var/www
> 
> works for me.

What do you see?

quark$ uname -srp
NetBSD 8.99.12 x86_64
quark# /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -s /var/www
quark# ftp http://127.0.0.1/index.html
Requesting http://127.0.0.1/index.html
100% |***********************************|    78        1.14 MiB/s    00:00 ETA
78 bytes retrieved in 00:00 (482.09 KiB/s)
quark# 

All the output there is from ftp - I don't see anything from httpd?
(I was hoping that "EXPLOSIVE" would be quite a lot of debug output.)

> easier to debug:
>  /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -f /var/www

(I'm trying to debug the attached script, so not very interactive - the
puzzle is that /usr/tests/net/net do something very similar and pass.)


Cheers,

Patrick

Attachment: web.sh
Description: Bourne shell script



Home | Main Index | Thread Index | Old Index