Commit Graph
100 Commits
Author SHA1 Message Date
Steven Barth f242ed5aba HTTPd: No keep-alive after POST request, because we do not check state
of incoming data
2009-06-07 13:51:18 +00:00
Steven Barth d0a25be29e Moar Makefile fixes 2009-06-07 13:25:25 +00:00
Steven Barth c4313711b2 Rename private cyassl build 2009-06-07 13:09:56 +00:00
Steven Barth f4c6554f4c Revert "adjust axtls level"
This reverts commit b123c99304822a1f1502d00df4915e2707940df3.
2009-06-07 12:38:37 +00:00
Steven Barth eb5a7b36ab adjust axtls level 2009-06-07 12:24:30 +00:00
Steven Barth b97eae4b69 better warnings 2009-06-07 12:09:14 +00:00
Steven Barth dc850f5f96 Enable key generation 2009-06-07 11:38:34 +00:00
Steven Barth 82729b60f5 PX5G: no autogeneration 2009-06-07 11:38:30 +00:00
Steven Barth a261caf40b LuCId: PX5G integration 2009-06-07 11:38:23 +00:00
Steven Barth c766f9750f LuCId: DER certificate / key support 2009-06-07 11:38:20 +00:00
Steven Barth 0ebce1d608 nixio: Add support for DER certificates, PX5G fix Certmaster 2009-06-07 10:15:12 +00:00
Steven Barth 4934c97978 GCC: serious business, srsly 2009-06-06 20:50:43 +00:00
Steven Barth 0bf57f6245 Add PX5G Keymaster 2009-06-06 20:34:47 +00:00
Steven Barth 4d4f8f4d79 nixio: Fix axTLS configuration, prepare px5g integration 2009-06-06 20:34:33 +00:00
Steven Barth 0d20041419 nixio: Add support for DER keyfiles 2009-06-06 13:03:31 +00:00
Steven Barth c07ab17d59 nixio: Use correct datatypes for base64 encode 2009-06-06 10:09:52 +00:00
Steven Barth 8a3f3e860a Fix query string detection 2009-06-01 18:30:41 +00:00
Steven Barth d294f13444 sync lucid 2009-05-28 13:50:05 +00:00
Steven Barth 20d2e99010 nixio: Rework TLS support, added support for CyaSSL 2009-05-28 13:50:00 +00:00
Steven Barth f4ccae2f4d Disable checkkey for now: Something is wrong with dropbearkey 2009-05-28 08:48:14 +00:00
Steven Barth 658b3db2da Würg around some nasty axTLS keying bugs 2009-05-28 07:21:22 +00:00
Steven Barth ec396f3907 Revert "axtls: change cipher profile" 2009-05-27 20:16:43 +00:00
Steven Barth 1301d50f62 axtls: change cipher spec again 2009-05-27 20:13:26 +00:00
Steven Barth 2edb0fd9a8 axtls: change cipher profile 2009-05-27 20:08:41 +00:00
Steven Barth 494fbd16b0 Disable old SSL handshake 2009-05-27 19:13:19 +00:00
Steven Barth af3748a9e5 disable keep-alive for now 2009-05-27 19:13:10 +00:00
Steven Barth 693366bdd8 http/1.1 detection 2009-05-27 19:12:58 +00:00
Steven Barth fa25902656 HTTP-Timeout to 5 seconds 2009-05-27 18:26:07 +00:00
Steven Barth e00ca14463 Fix webroot 2009-05-27 18:21:29 +00:00
Steven Barth 06a3956a2f LuCId fixes 2009-05-27 13:20:35 +00:00
Steven Barth e79a2f7216 whitespace 2009-05-26 18:33:38 +00:00
Steven Barth 9fd4e54cbb temporary fixup 2009-05-26 17:50:26 +00:00
Steven Barth 9cd14dbc50 lucid init 2009-05-26 17:44:38 +00:00
Steven Barth 73eae62580 Fix redirector 2009-05-26 17:44:27 +00:00
Steven Barth f7deae100d LuCId 2009-05-26 17:44:02 +00:00
Steven Barth d2ce28a71e Fix non-HEAD HTTP-Responses 2009-05-25 10:31:16 +00:00
Steven Barth 4209a47b6e Extend CBI Delegators, fix some CBI issue 2009-05-25 10:31:12 +00:00
Steven Barth e9e22aca73 Fix: Mountpoints cannot be disabled 2009-05-25 10:31:08 +00:00
Steven Barth 282e08a0c7 Fix LuCI-Frickel-Splashd 2009-05-25 10:31:02 +00:00
Steven Barth ee690abb0f CBI Delegators (Wizards)
Example CBI-Map:

d = Delegator()
d.allow_back = true	-- Back-button
d:add("step1", load("mywizard/form1")) -- model/cbi/mywizard/form1
d:add("step2", load("mywizard/form2"))

return d
2009-05-24 17:17:53 +00:00
Steven Barth 8c4f847ea5 GSoC Commit #1: LuCId + HTTP-Server 2009-05-23 17:21:36 +00:00
Steven Barth 67fbe1b33c Remove Luasocket - obsoleted by nixio
Remove old luasocket based LuCI Httpd - obsoleted by lucittpd
Remove lpeg - not in use
Rewrite luci-splashd using nixio
2009-05-01 11:28:34 +00:00
Steven Barth cd4fa227cc httpclient: Send the correct Host-Header if we are following a redirect 2009-04-30 12:58:04 +00:00
Steven Barth d81b3548a9 nixio:
Added binding for getifaddrs(): List network interfaces, their flags,
addresses and statistics
Cleanups
2009-04-26 19:10:36 +00:00
Steven Barth a2b916ab73 Merge nixio 0.2 2009-04-21 16:26:45 +00:00
Steven Barth 0acedfff3e Fix some fallout 2009-04-09 13:59:50 +00:00
Steven Barth d3cb7ea5fd Freufunk: I CAN HAZ ZEROES PLZKTHX 2009-04-09 13:56:04 +00:00
Steven Barth f3deef9ec5 Backport Skip-Button support 2009-04-03 18:08:25 +00:00
Steven Barth 0ef46dc967 Import luanet library
Relicensed with author's permission
Thanks John
2009-03-30 11:27:43 +00:00
Steven Barth 8fdb12c4d1 Introduce noheader and nofooter CBI-Dispatcher config 2009-03-27 00:10:17 +00:00
Steven Barth 8368432a63 Fix last commit 2009-03-26 12:39:43 +00:00
Steven Barth b9fbed39ca Correctly set status FORM_PROCEED instead of FORM_CHANGED if user
creates / deletes a field or section
2009-03-26 12:37:26 +00:00
Steven Barth 6e11559793 Fix WPA2-EAP support 2009-03-23 13:41:04 +00:00
Steven Barth 5de4878257 nixio: solaris does not recognize LOG_PERROR 2009-03-16 13:40:22 +00:00
Steven Barth 13767f5d1a Fix a possible stack corruption 2009-03-16 13:34:46 +00:00
Steven Barth e5a34b512c Added missing file 2009-03-16 13:29:06 +00:00
Steven Barth 452442d1d0 nixio: added syslog support 2009-03-16 13:28:47 +00:00
Steven Barth ee4852a5ad Sync nixio 2009-03-13 18:29:23 +00:00
Steven Barth edda19be9a nixio: More sockopts 2009-03-13 12:10:33 +00:00
Steven Barth 5fa29b1c5a nixio: +socket options SO_DONTROUTE, SO_BINDTODEVICE 2009-03-13 11:53:12 +00:00
Steven Barth 9bf88087f4 nixio: chdir() 2009-03-12 21:44:11 +00:00
Steven Barth 82858a8e8f nixio: add setsid() 2009-03-12 21:31:57 +00:00
Steven Barth 2c7a30708d httpclient: handle redirects more graceful 2009-03-12 20:14:55 +00:00
Steven Barth 6aa6fb88ab FreeBSD compatibility #3 2009-03-12 15:09:12 +00:00
Steven Barth 04eb9de74e nixio: FreeBSD compatibility #2 2009-03-12 14:53:52 +00:00
Steven Barth 35f40376c3 nixio: FreeBSD compatibility #1 2009-03-12 13:06:19 +00:00
Steven Barth 8eadc262d0 Drop XML i18n files 2009-03-11 15:21:59 +00:00
Steven Barth a125a64a15 Be nice() 2009-03-10 20:59:56 +00:00
Steven Barth 68a95e6806 nixio: Implement protable behaviour of signal(), export more error
constants
2009-03-09 22:19:47 +00:00
Steven Barth 2e79c969c0 httpclient: Added missing import
nixio: waitpid() returns 0 with WNOHANG and no terminated childs
2009-03-09 20:06:36 +00:00
Steven Barth 7b5d67305e Allow SimpleForm handler to set CBI status 2009-03-09 14:28:55 +00:00
Steven Barth 73607dbd7d Improved httpclient 2009-03-09 14:02:34 +00:00
Steven Barth 6129d031b0 nixio: reenable splice() for linux 2009-03-09 13:17:44 +00:00
Steven Barth 4aa848533e Cicrumvent possible segfaults in axTLS
More compatibility
2009-03-09 11:38:29 +00:00
Steven Barth 589e680970 Make nixio compile on OpenSolaris 2009-03-09 09:37:08 +00:00
Steven Barth 30b7bc7c62 Fixed last commit 2009-03-07 16:28:27 +00:00
Steven Barth 25da62f8ff Don't compare cstate if there is none 2009-03-07 16:24:05 +00:00
Steven Barth 1ed9be270b Fix debugging output 2009-03-07 13:21:27 +00:00
Steven Barth ad57125f41 Allow combination of SimpleForms as Forms into pages with Maps
Allow subsequent changes of Table data
2009-03-07 11:30:41 +00:00
Steven Barth eb6f9c6192 Fixed last commit 2009-03-06 17:20:42 +00:00
Steven Barth 22a9815e3e Fixed last commit 2009-03-06 17:20:38 +00:00
Steven Barth ec29107ede bla 2009-03-06 17:18:45 +00:00
Steven Barth 96d988abb0 httpclient: Improved callback support 2009-03-06 17:17:44 +00:00
Steven Barth 09a18c2c31 nixio util:
Don't shutdown TLS connection on close()
This could lead to problems when calling close on a forked socket
sink() also shutdown connection if close is requested and possible
2009-03-06 16:34:26 +00:00
Steven Barth 0b8a61a536 httpclient: callback can abort download 2009-03-05 23:52:54 +00:00
Steven Barth f151bb804f nixio: Export more constants, introduce {g,s}et{g,u}id, getpid, getppid 2009-03-05 19:20:40 +00:00
Steven Barth f1b667fc6f nixio: Fix generation of private key for axtls 2009-03-04 18:30:56 +00:00
Steven Barth fc45514531 Still not working... 2009-03-04 17:53:25 +00:00
Steven Barth f94538dda3 Fix nixio postinst 2009-03-04 17:41:55 +00:00
Steven Barth b92e6532a0 nixio: Autogenerate private key on installation if we have axtls
support, make the TLS provider configurable in the build menu
2009-03-04 17:17:30 +00:00
Steven Barth a5ae3959b5 Set /etc/private.rsa as default key for axTLS contexts
More openssl - axTLS fixes
2009-03-04 13:09:32 +00:00
Steven Barth e38c438771 nixio:
Use POSIX file functions
introduce dup()
introduce fork() wait() kill()
more signal interrupt wrappers
more POSIX / UNIX standard compliance
2009-03-03 22:44:26 +00:00
Steven Barth a3079828b4 Fix header generator 2009-03-02 20:18:29 +00:00
Steven Barth eb64affa39 Set method to POST if we have postdata and no other method is set 2009-03-02 19:45:07 +00:00
Steven Barth 62a914555e httpclient: default content-type for post data is
"application/x-www-form-urlencoded"
2009-03-02 19:41:32 +00:00
Steven Barth 33fe5b57d7 More splicing stuff 2009-02-28 21:21:52 +00:00
Steven Barth 0a224c5ca8 Add Makefile definitions for http-client 2009-02-27 14:58:56 +00:00
Steven Barth 7196b2cd84 nixio: Fixes, use POSIX calls for file i/o
httpclient: resume support, splice() support, cookie support
2009-02-27 14:51:37 +00:00
Steven Barth 30421d38dd Introduce luci.dispatcher.get(...) which works like node(...) but does
not disable the autocreated flag and does not overwrite the target
controller so that call()-targets won't loose their binding to their
controller
2009-02-26 17:08:41 +00:00
Steven Barth 3b7bb9c82f Enable stack tracebacks for 500 errors 2009-02-26 16:45:01 +00:00