Group : Networking/Daemons
Fichiers :
/usr /usr/sbin /usr/sbin/bftpd /usr/lib /usr/lib/libcrypt.so.1 /etc /etc/bftpd.conf /etc/init.d /etc/init.d/S20bftpd /README
Group : Networking/Daemons
Fichiers :
/var /var/lib /var/lib/dhcp /var/lib/dhcp/dhcpd.leases /etc /etc/dhcpd.conf.example /etc/init.d /etc/init.d/S20dhcpd /README /usr /usr/sbin /usr/sbin/dhcpd
Group : Networking/Daemons Usage: tcpserver -v -RHl localhost -u 1234 -g 1234 0 80 ./httpd Will log to stderr in the form 127.0.0.1 200 23 localhost Links_(0.96;_Unix) none /index.html where 127.0.0.1 is the client IP, 200 is the HTTP exit code, 23 is the size of the content that was served (or 0 for unsuccessful exit codes), localhost is the Host: header (the virtual host), the next token is the user agent with spaces replaced by underscores, the next token (none) is the Referer HTTP header or "none" if none was given, and the rest of each line is the decoded requested URL. fnord-httpd does simple virtual hosting. If the Host: HTTP header is there, fnord will try to chdir to a directory of that name, i.e. if the client asks for "/" on host "www.fefe.de:80", fnord will look for "www.fefe.de:80/index.html". Fnord will also try the directory "default" if no specific directory for the virtual host was there. If the directory is a dangling symlink and fnord was compiled with -DREDIRECT (default), fnord will redirect the whole site. Examples: lrwxrwxrwx 1 leitner users 19 May 5 01:09 www.foo.de:80 -> http://www.baz.de/ lrwxrwxrwx 1 leitner users 20 May 5 01:12 www.bar.de:80 -> =http://www.baz.de/ http://www.foo.de/blub.html will be redirected to http://www.baz.de/blub.html. http://www.bar.de/blub.html will be redirected to http://www.baz.de/. fnord implements el-cheapo HTTP ranges (only byte ranges and only of the form x-y, not multiple ranges). fnord implements content type matching and Accepts: parsing, but the content type table is compiled in, i.e. to change it, you have to change the source code. Shouldn't be a problem because you _have_ the source code ;) fnord implements HTTP redirection. If a file is not found, but a dangling symlink is there under the same name, fnord will issue a redirection to the contents of that symlink. To be RFC compliant, the symlink must point to a full URL, i.e. ln -s ftp://foobar.math.fu-berlin.de/pub/dietlibc/dietlibc-0.11.tar.bz2 dietlibc-0.11.tar.bz2 fnord implements in-place substitution of .gif to .png and of * to *.gz if the file is available and the client supports the mime-type and content-encoding. That means you can save substantial bandwidth by having an index.html.gz for each index.html, as most clients can transparently decode gzipped files. fnord will change dots at the start of file or directory names to colons in the query before trying to answer them. fnord understands and implements keep-alive connections. fnord can use sendfile on Linux to enable zero-copy TCP. If fnord is compiled with CGI support enabled, it will regard files whose names end with ".cgi" as CGI programs and try to execute them. CGI programs starting with "nph-" will be handled as no-parse-header CGIs. Please see http://hoohoo.ncsa.uiuc.edu/cgi/interface.html for the CGI specification. fnord 1.3 introduced a different method of whole-host redirection, which can still be enabled by compiling fnord with with -DOLD_STYLE_REDIRECT. Files that are not found locally will be redirected to $REDIRECT_HOST with the current URI stripped of leading slashes, i.e. if http://your.server/foo/bar.html is requested but not found, and $REDIRECT_HOST is set to http://www.yahoo.com/, a redirect to http://www.yahoo.com/foo/bar.html will be issued. If $REDIRECT_HOST is unset but $REDIRECT_URI is set, the URI part will be discarded and all URLs will be redirected to $REDIRECT_URI. The auth patch was contributed by Nicolas George. Here is the excerpt from his email describing how to use it. Firstly, #define AUTH or add -DAUTH to CFLAGS. Then, I have implemented some basic handling of HTTP authentication. The concept is that if there is a file .http-auth in the root of one site, then it is an executable (most likely a script) that handles authorizations. It is called with first argument the virtual host name, second argument the path to the requested file, and third argument the value of the Authorization header, if present. If it exists successfully, access is granted, else 401. An example of .http-auth that grants the access only to the user Cigaes with password foober is: #!/bin/sh [ x"$3" = x"Basic Q2lnYWVzOmZvb2Jhcg==" ] The format of the Authorization is not very convenient. The mangled string is the base64 encoding of "$username:$password".
Fichiers :
/usr /usr/bin /usr/bin/fnord /usr/bin/fnord-cgi /usr/bin/fnord-conf /usr/bin/fnord-idx /usr/bin/http /usr/bin/httpd /usr/share /usr/share/doc /usr/share/doc/packages /usr/share/doc/packages/fnord /usr/share/doc/packages/fnord/default /usr/share/doc/packages/fnord/default/index.html.gz /usr/share/doc/packages/fnord/default/index.html /usr/share/doc/packages/fnord/default/t.cgi /README
Group : Networking/Daemons
Fichiers :
/etc /etc/ftpusers /etc/ftpwelcome /usr /usr/lib /usr/lib/libcrypt.so.1 /usr/lib/libdl.so.2 /usr/lib/libpam.so.0 /usr/bin /usr/bin/in.ftpd /README
Group : Networking/Daemons A modifier pour que ça marche sur une autre machine : * etc/fstab : remplacer /dev/hda2 et /dev/hda3 par les noms des partitions swap et racine sur la machine exécutant init. * etc/init.d/network : les paramètres du réseau
Fichiers :
/etc /etc/inittab /etc/init.d /etc/init.d/rc.3 /etc/init.d/rc.0 /etc/init.d/rc.sysinit /etc/init.d/rc.1 /etc/init.d/rc.2 /etc/init.d/rc.4 /etc/init.d/rc.5 /etc/init.d/rc.6 /etc/init.d/rc.local /etc/init.d/network /etc/keymap.fr_FR /etc/fstab /usr /usr/sbin /usr/sbin/shutdown /usr/sbin/agetty /usr/sbin/sulogin /usr/sbin/init /usr/sbin/killall5 /usr/sbin/swapoff /usr/sbin/hwclock /usr/sbin/klogd /usr/sbin/halt /usr/sbin/swapon /usr/sbin/fsck /usr/sbin/ifconfig /usr/sbin/route /usr/sbin/syslogd /usr/sbin/depmod /usr/sbin/insmod /usr/sbin/fsck.ext2 /usr/sbin/modprobe /usr/sbin/telinit /usr/lib /usr/lib/libcom_err.so.2 /usr/lib/libext2fs.so.2 /usr/lib/libuuid.so.1 /usr/bin /usr/bin/dd /usr/bin/sync /usr/bin/mount /usr/bin/umount /usr/bin/hostname /init-postcust.sh /README
Group : Networking/Daemons Pour lancer minhttpd : $ httpd.start $ Pour arreter minhttpd : $ httpd.stop $ Par defaut minhttpd ecoute sur le port 8080. Taper dans le navigateur l'adresse http://localhost:8080/. Pour modifier ces parametres, editer httpd.sh et changer la ligne "nc -v -l -p 8080" pour mettre le nouveau numero de port, le fichier w.sh et changer la variable ROOT pour indiquer la nouvelle racine des pages HTML. Les images .gif et .jpeg sont supportees, il faut cliquer sur le bouton "reload" du navigateur pour les afficher. Pour tester sans connexion le serveur http, taper : $ ./w.sh GET / HTTP/1.1 200 OK Content-Length: 960 Date: dim fév 3 08:45:22 CET 2002 Server: minhttpd, v0.1 Connection: close Content-Type: text/html <html> <head> <title>minhttpd - le serveur http minimum en script shell</title> [...] </html> <hr> <font size=-1> <i> <center> Powered by minhttpd v.0.1 -- a rustic WWW server, on <b>tarsier</b>. </center> </i></font> </html> $ Les logs se trouvent dans le fichier httpd.log : $ tail httpd.log User-Agent: Mozilla/4.74 [fr] (X11; U; Linux 2.2.16 i686) Host: localhost:8080 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 listening on [any] 8080 ... dim fév 3 08:45:20 CET 2002 GET /home/mdecore/perso/minhttpd/html//index.html $ les erreurs dans le fichier httpd.err : $ tail httpd.err Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd Error : /usr/local/httpd/htdocs/../../../../etc/passwd 404 /home/mdecore/perso/minhttpd/html/exec.mod $
Fichiers :
/usr /usr/share /usr/share/misc /usr/share/misc/magic /usr/httpd /usr/httpd/htdocs /usr/httpd/htdocs/index.html /usr/httpd/htdocs/lynx_help_main.html /usr/httpd/footer /usr/bin /usr/bin/httpd.sh /usr/bin/httpd.start /usr/bin/httpd.stop /usr/bin/w.sh /usr/bin/nc /usr/bin/error400.html /usr/bin/error404.html /usr/bin/file /usr/bin/commun-httpd /usr/bin/exec-mod.sh /etc /etc/init.d /etc/init.d/S20minhttpd /README /minhttpd-postcust.sh
Group : Networking/Daemons
Fichiers :
/README /etc /etc/init.d /etc/init.d/S20minsmtpd /etc/minsmtpd /etc/minsmtpd/format /etc/minsmtpd/format/domaine-non-valide /etc/minsmtpd/format/utilisateur-non-valide /usr /usr/local /usr/local/minsmtpd /usr/local/minsmtpd/test /usr/local/minsmtpd/test/test-minsmtpd /usr/local/minsmtpd/test/test-sendmail /usr/local/minsmtpd/test/test2-minsmtpd /usr/local/minsmtpd/test/test2-sendmail /usr/bin /usr/bin/minsmtpd-wrapper /usr/bin/minsmtpd.sh /usr/bin/minsmtpd.start /usr/bin/minsmtpd.stop /usr/bin/mqueued.sh /usr/bin/nc /usr/bin/sendmail.sh /usr/bin/commun-smtpd /usr/bin/host /usr/bin/mqueued-daemon.sh /minsmtpd-postcust.sh
Group : Networking/Daemons
Fichiers :
/usr /usr/bin /usr/bin/monkey /usr/local /usr/local/httpd /usr/local/httpd/htdocs /usr/local/httpd/htdocs/docs /usr/local/httpd/htdocs/docs/monkey+php.en.html /usr/local/httpd/htdocs/docs/monkey+php.es.html /usr/local/httpd/htdocs/docs/monkey+php.sv.html /usr/local/httpd/htdocs/imgs /usr/local/httpd/htdocs/imgs/logonooficial.jpg /usr/local/httpd/htdocs/imgs/titulo.jpg /usr/local/httpd/htdocs/index.html /usr/local/httpd/htdocs/php /usr/local/httpd/htdocs/php/index.php /usr/local/httpd/cgi-bin /usr/local/httpd/cgi-bin/test.cgi /lib /lib/libpthread.so.0 /README /etc /etc/init.d /etc/init.d/banana /etc/httpd /etc/httpd/mime.types /etc/httpd/modules.conf /etc/httpd/monkey.conf /etc/httpd/monkey.deny /etc/httpd/vhost.conf
Group : Networking/Daemons
Fichiers :
/usr /usr/bin /usr/bin/muddleftpd /usr/bin/ftpwho /usr/bin/mudpasswd /usr/bin/mudlogd /usr/share /usr/share/doc /usr/share/doc/packages /usr/share/doc/packages/muddleftpd /usr/share/doc/packages/muddleftpd/examples /usr/share/doc/packages/muddleftpd/examples/anon-reigon.conf /usr/share/doc/packages/muddleftpd/examples/README /usr/share/doc/packages/muddleftpd/examples/ratios.conf /usr/share/doc/packages/muddleftpd/examples/vserverbig.conf /usr/share/doc/packages/muddleftpd/examples/vserver-host.conf /usr/share/doc/packages/muddleftpd/examples/standard.conf /usr/share/doc/packages/muddleftpd/examples/anon-only.conf /usr/share/doc/packages/muddleftpd/examples/vserver.conf /usr/share/doc/packages/muddleftpd/examples/mudlogd.conf /lib /lib/libpam.so.0 /lib/libdl.so.2 /lib/libcrypt.so.1 /README
Group : Networking/Daemons
Fichiers :
/usr /usr/etc /usr/etc/ssh_config /usr/etc/ssh_host_dsa_key.pub /usr/etc/ssh_host_key.pub /usr/etc/ssh_host_rsa_key.pub /usr/etc/sshd_config /usr/lib /usr/lib/libutil.so.1 /usr/lib/libz.so.1 /usr/lib/libnsl.so.1 /usr/lib/libcrypt.so.1 /usr/bin /usr/bin/sshd /usr/bin/ssh-keygen /sshd-postcust.sh /README
Group : Networking/Daemons
Fichiers :
/etc /etc/init.d /etc/init.d/S10telnetd /README /usr /usr/sbin /usr/sbin/in.telnetd /usr/sbin/telnetd /usr/lib /usr/lib/libutil.so.1
Group : Networking/Daemons
Fichiers :
/etc /etc/init.d /etc/init.d/S20thttpd /README /usr /usr/sbin /usr/sbin/thttpd /usr/lib /usr/lib/libcrypt.so.1