Do you have a question? Post it now! No Registration Necessary
- Emmanuel.Viollet
November 28, 2008, 10:05 am

Hi.
I'm looking for a lightweight HTTP server for an embedded Linux.
The requirements are the following :
* secure HTTP : manages several client certificates (SSL3/TLS1.0),
with several public keys, at least 5 keys per certificate
* way to remotely update the certificates
* capable of managing a certification authority
* capable of managing several ports or virtual servers
* activity logging
* PHP interpretor if possible
Does anyone know of an HTTP server that could answer these
requirements?
In advance, thanks.
I'm looking for a lightweight HTTP server for an embedded Linux.
The requirements are the following :
* secure HTTP : manages several client certificates (SSL3/TLS1.0),
with several public keys, at least 5 keys per certificate
* way to remotely update the certificates
* capable of managing a certification authority
* capable of managing several ports or virtual servers
* activity logging
* PHP interpretor if possible
Does anyone know of an HTTP server that could answer these
requirements?
In advance, thanks.

Re: Embedded linux httpd

Hi Emmanuel
Look at:
Alekto; DIN RAIL mountable:
http://www.visionsystems.de/produkte/6801.html
Quote: "...The embedded computer runs full-featured Debian GNU/Linux
[should include openssl?] on ARM operating system Kernel 2.6. With
Debian's repository database it is easy to install and update the free
software on the OpenRISC. The OpenRISC is capable to act directly as
software development host, WEB, Mail, Print and Database server or as a
desktop computer with X11 windows manager and many more..."
-
This ARM platform might be interesting - also has GSM, wi-fi, GPRS (can
of course be turned off), USB-port and UPS (Li-ion battery!). There is
no ethernet port, so the network connection has to be made over wi-fi or
USB. Openmoko uses the Linux kernel 2.6 but the distribution is not debian:
http://www.openmoko.com/products-index.html
http://www.openmoko.org /
http://wiki.openmoko.org/wiki/Main_Page
It is also possible to buy a auxiliary debug-board.
More about Openmoko Neo Freerunner:
Schematics:
http://downloads.openmoko.org/schematics/GTA02 /
http://wiki.openmoko.org/wiki/Neo_FreeRunner
Quote: "...
* Very high resolution touch screen (1.7" x 2.27" - 43mm x 58mm)
480x640 pixels
* 128MB SDRAM memory
* 256 MB integrated flash memory (expandable with microSD or
microSDHC card)
* uSD slot supporting up to 8GB SDHC (Secure Digital High Capacity)
cards (Supported microSD cards; installation)
* Internal GPS module
* Bluetooth
* 802.11 b/g WiFi
* 400Mhz ARM processor
* 2 3D accelerometers that orient the phone's screen -- for
example, switching to landscape mode automatically
* 2 LEDs illuminating the two buttons on the rim of the case (one
bicolor [blue|orange] behind the power button, 1 unicolor [red] behind
the aux button)
* Tri-band GSM and GPRS
* USB Host function with 500mA power, allowing you to power USB
devices for short periods (will drain the FreeRunner battery faster)
..."
GTA02 Hardware Component Selection:
http://wiki.openmoko.org/wiki/Neo_FreeRunner_GTA02_Hardware#GTA02_Hardware_Component_Selection
http://downloads.openmoko.org/CAD /
CAD program (stp-format):
http://en.wikipedia.org/wiki/Pro/ENGINEER
regards,
Glenn

Re: Embedded linux httpd

Hi Glen.
Thanks for you help.
Unfortunately the target platform will most certainly be more
lightweight than the one you are proposing. I won't be having 1Gb of
disk space available for the OS. I'd say 10-20 megabytes would be the
maximum.
Do you know about lighttpd? (http://www.lighttpd.net /)
Does this HTTP server work well?
Regards,

Re: Embedded linux httpd

Hi Emmanuel
The former proposed hardware does not require 1GB of memory - or disks,
SD-cards. They run on a flashed image.
-
I have not heard about lighttpd, but I have read about this very small
OS (with webserver) for many platforms:
http://www.sics.se/contiki /
Sourcecode for Contiki with IPv6 support, can now be downloaded:
http://www.sics.se/contiki/current-events/contiki-2.2.2-released.html
http://sourceforge.net/projects/contiki
-
Then this hardware?:
From somewhere in a pdf or from the site: "Encryption for secure
communications - 256-bit AES US Government approved Rijndael. 300 bps to
921,600 bps."
http://www.lantronix.com/device-networking/utilities-tools/com-port-redirector.html
Digi Connect ME:
NetSilicon NS7520 32-bit ARM Microprocessor.
10/100Base-T Ethernet with power pass-thru for network powered devices.
(IEEE 802.3af)
# Two high speed 230Kbps TTL Level Async Serial Ports.
# 9Mbps SPI Interface.
Royalty-free NET+Works development platform.
Strong SSL/TLS encryption.
http://www.digi.com/products/embeddedsolutions/digiconnectem.jsp
regards,
Glenn

Re: Embedded linux httpd
Am Fri, 28 Nov 2008 05:15:21 -0800 schrieb snipped-for-privacy@webdyn.com:

...
Hi Emmanuel,
I do run lighttpd on my NSLU2 since 2 years. It serves some static pages
for myself and a dokuwiki for a local group (php via fastCGI). Rocksolid
First install was on an unmodified NSLU2, 32 MB RAM, runnig OpenSlug
3.10. And now it's lighttpd 1.4.18 on a NSLU2 with 128 MB RAM and
angstrom 2007.12. 32 MB is a little tight but did work well enough.
I have no experience with SSL and lighttpd.
Vitus

...
Hi Emmanuel,
I do run lighttpd on my NSLU2 since 2 years. It serves some static pages
for myself and a dokuwiki for a local group (php via fastCGI). Rocksolid
First install was on an unmodified NSLU2, 32 MB RAM, runnig OpenSlug
3.10. And now it's lighttpd 1.4.18 on a NSLU2 with 128 MB RAM and
angstrom 2007.12. 32 MB is a little tight but did work well enough.
I have no experience with SSL and lighttpd.
Vitus
--
You're throwing it all out the Windows!
Vitus Jensen, Hannover, Germany, Earth, Milky Way, Universe (current)
You're throwing it all out the Windows!
Vitus Jensen, Hannover, Germany, Earth, Milky Way, Universe (current)

Re: Embedded linux httpd
Hi Emmanuel
I have found some more:
Comparison of lightweight web servers:
http://en.wikipedia.org/wiki/Tiny_web_servers
-
Web Servers:
http://www.iterating.com/productclasses/Web-Servers/compareProducts
http://gentoo-portage.com/www-servers
Tiny web servers:
http://www.nationmaster.com/encyclopedia/Tiny-web-servers
https support hint:
http://www.nationmaster.com/encyclopedia/Comparison-of-web-servers
Web Servers Survey (Total Domains) - by Netcraft.com:
http://www.unix-world.org/index.php?page=srv_www
October 31, 2006 Lightweight fnord serves HTTP admirably:
http://www.linux.com/feature/58039
SHTTPD (Simple HTTP Daemon):
http://shttpd.sourceforge.net/
The Fastest free Web Server out there!:
http://www.cherokee-project.com /
fnord - yet another small httpd:
http://www.fefe.de/fnord /
Comparing fnord to other web servers:
http://www.fefe.de/fnord/others.html
thttpd - tiny/turbo/throttling HTTP server
http://www.acme.com/software/thttpd /
regards,
Glenn
I have found some more:
Comparison of lightweight web servers:
http://en.wikipedia.org/wiki/Tiny_web_servers
-
Web Servers:
http://www.iterating.com/productclasses/Web-Servers/compareProducts
http://gentoo-portage.com/www-servers
Tiny web servers:
http://www.nationmaster.com/encyclopedia/Tiny-web-servers
https support hint:
http://www.nationmaster.com/encyclopedia/Comparison-of-web-servers
Web Servers Survey (Total Domains) - by Netcraft.com:
http://www.unix-world.org/index.php?page=srv_www
October 31, 2006 Lightweight fnord serves HTTP admirably:
http://www.linux.com/feature/58039
SHTTPD (Simple HTTP Daemon):
http://shttpd.sourceforge.net/
The Fastest free Web Server out there!:
http://www.cherokee-project.com /
fnord - yet another small httpd:
http://www.fefe.de/fnord /
Comparing fnord to other web servers:
http://www.fefe.de/fnord/others.html
thttpd - tiny/turbo/throttling HTTP server
http://www.acme.com/software/thttpd /
regards,
Glenn

Re: Embedded linux httpd

Been using lighttpd in our embedded linux system for 3 years. It works
well, very robust and we do use for ssl connections. It seems pretty thrifty
and does not spawn multiple threads.
We also use the embedded lighttpd server as a proxy to connect (transparently
to the end user) to a second web server (also lighttpd) on a different system.
We have been unable to use lighttpd to connect via the proxy using ssl. We are
still using 1.4.13 and this may have been fixed in a later release
(currently 1.4.20).
There is a new lighttpd 1.6.0 release coming soon, a complete rewrite.
We are currently evaluating nginx (nginx.net) which includes a mail proxy
server.
--regards mikeb
Site Timeline
- » The linux ported to arm about the red-black tree
- — Next thread in » Embedded Linux
-
- » USB mouse on microwindow
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Co wetknÄ…c w dziury o rastrze 1.27?
- — The site's Newest Thread. Posted in » Electronics (Polish)
-