If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:thttpd

From BoxMatrix


BoxMatrix >> Shell-Commands >> thttpd @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Linux-Command

Goto:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

thttpd is a tiny / turbo / throttling HTTP server. It is started in rc.S:

/usr/sbin/thttpd -d /usr/www -u root -p 80 -c '/cgi-bin/*'

thttpd supports CGI which is used to run webcm and firmwarecfg: Supported CGI variables are:

AUTH_TYPE=Basic
CGI_PATTERN
CONTENT_LENGTH
CONTENT_TYPE
GATEWAY_INTERFACE=CGI/1.1
HTTP_ACCEPT_ENCODING
HTTP_ACCEPT_LANGUAGE
HTTP_ACCEPT
HTTP_COOKIE
HTTP_HOST
HTTP_REFERER
HTTP_USER_AGENT
PATH_INFO
PATH_TRANSLATED
PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin
QUERY_STRING
REMOTE_ADDR
REMOTE_USER
REQUEST_METHOD
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SOFTWARE
TZ

Note that fw 1.63 (2004-05-03) is the oldest known firmware, which maybe never was used in the wild.
It is compeletly based on the AR7RD 2MB Flash / 8MB RAM reference design and its SDK from TI, with some adaption by AVM.
It already contained our well known CGI programs webcm and firmwarecfg and it already handled configuration in UI-Modules.
The beginning of FRITZ!OS could be considered the birth of ctlmgr, dsld and igdd in the second oldest fw 1.120 (2004-07-26).
The next important milestone was the birth of multid in fw 1.133 (2004-09-21). 4 important months in the history of FRITZ!OS.

See also the thttpd(8) man page.

Fw 1.63 help:

usage: thttpd [-C configfile] [-p port] [-d dir] [-r  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-17 07:59 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib libc.so 2 1.63 - 2.76 Standard C library Linux
Depends on lib libcrypt.so 2 1.63 - 2.76 Encoding and decoding handling routines. Linux
2 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-17 06:06 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 2.76 /sbin 107k
FRITZ!Box SL 1.63 /usr/sbin 110k
2 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-17 07:59 GMT.

Firmware Symbol
1.63 - 2.76 fdwatch
1.63 - 2.76 fdwatch_add_fd
1.63 - 2.76 fdwatch_check_fd
1.63 - 2.76 fdwatch_del_fd
1.63 fdwatch_get_client_data
2.76 fdwatch_get_next_client_data
1.63 - 2.76 fdwatch_get_nfiles
1.63 - 2.76 fdwatch_logstats
2.76 httpd_clear_ndelay
1.63 - 2.76 httpd_close_conn
1.63 - 2.76 httpd_destroy_conn
1.63 - 2.76 httpd_get_conn
1.63 - 2.76 httpd_got_request
1.63 - 2.76 httpd_initialize
1.63 - 2.76 httpd_logstats
2.76 httpd_method_str
1.63 - 2.76 httpd_ntoa
1.63 - 2.76 httpd_parse_request
1.63 - 2.76 httpd_read_fully
1.63 - 2.76 httpd_realloc_str
1.63 - 2.76 httpd_send_err
1.63 - 2.76 httpd_set_logfp
1.63 - 2.76 httpd_set_ndelay
1.63 - 2.76 httpd_start_request
1.63 - 2.76 httpd_terminate
2.76 httpd_unlisten
2.76 httpd_write_fully
1.63 - 2.76 httpd_write_response
1.63 - 2.76 main
1.63 - 2.76 match
1.63 - 2.76 mmc_cleanup
1.63 - 2.76 mmc_destroy
1.63 - 2.76 mmc_logstats
1.63 - 2.76 mmc_map
1.63 - 2.76 mmc_unmap
1.63 - 2.76 tdate_parse
1.63 - 2.76 tmr_cancel
1.63 - 2.76 tmr_cleanup
1.63 - 2.76 tmr_create
1.63 - 2.76 tmr_destroy
1.63 - 2.76 tmr_init
1.63 - 2.76 tmr_logstats
1.63 - 2.76 tmr_mstimeout
1.63 tmr_reset
1.63 - 2.76 tmr_run
45 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

t