aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use cspawn (skalibs-2.14)Laurent Bercot2023-09-091-95/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fully defork s6-tlsc and s6-tlsdLaurent Bercot2023-09-0810-85/+153
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor s6-tls[cd] so they're ready to port to posix_spawnLaurent Bercot2023-09-0810-122/+134
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New versions of s6-tcpserver4d and s6-tcpserver6dLaurent Bercot2023-09-084-153/+163
| | | | | | | | | | | - both now use posix_spawn when available - s6-tcpserver4d uses avltree for logarithmic lookups - s6-tcpserver6d still has the linear lookup - the point was to benchmark linear vs logarithmic, but the fork() overhead overshadowed everything - now with fork() out of the way, I'm going back to benchmarks Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix s6-tcpserver verbosity invocationLaurent Bercot2023-08-091-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix s6-tlsserver tcpaccess invocation conditionLaurent Bercot2023-08-092-26/+35
| | | | | | Also fix s6-tlsclient storage reservation Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.1.4; fix s6-tlsserver -Y|-yLaurent Bercot2023-08-081-2/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Autoset INTERNAL_LIBSLaurent Bercot2023-02-152-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: s6net_ident_reply_get uninitialized variableLaurent Bercot2023-01-231-1/+1
| | | | | | Thanks hurufu. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* QoL: more client warnings / earlier exit when taiclock or ntp exchange failsLaurent Bercot2023-01-182-0/+37
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.1.2Laurent Bercot2022-11-2936-36/+36
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Bring libsbearssl doc up to date.Laurent Bercot2022-10-141-1/+1
| | | | | | Also fix a typo in sbearssl.h Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: sbearssl_run adapted to new allread() APILaurent Bercot2022-10-071-2/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add workaround to bearssl regression with BR_FEATURE_X509_TIME_CALLBACKLaurent Bercot2022-10-077-8/+65
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-tls[cd]: don't leak useless fd to the appLaurent Bercot2022-08-301-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* sbearssl_sni_policy_vtable: use the COPY macro for ec as wellLaurent Bercot2022-08-121-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix allread errno managementLaurent Bercot2022-07-183-0/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.1.1; adapt to skalibs-2.12.0.0Laurent Bercot2022-04-095-12/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sbearssl_*_set_tain(n)_g convenience macrosLaurent Bercot2021-11-193-2/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Allow SNI wildcarding for *.example.comLaurent Bercot2021-11-181-5/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* SNI matches are case-insensitiveLaurent Bercot2021-11-181-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error path in add_keypair_file for sbearssl SNI policyLaurent Bercot2021-11-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error message in sbearssl server initLaurent Bercot2021-11-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* No need for twice the workaround ^^'Laurent Bercot2021-11-081-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Workaround for a bearssl bug in do_signLaurent Bercot2021-10-191-0/+1
| | | | | | Credit to Erico Nogueira for reporting and helping find the bug. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error case in readbigpemLaurent Bercot2021-10-181-5/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix sbearssl send_environment protocolLaurent Bercot2021-09-242-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Log client decision on s6-ucspitls[cd] -v2Laurent Bercot2021-09-242-8/+42
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.11.0.0Laurent Bercot2021-08-1036-125/+112
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.0.0; remove minidentdLaurent Bercot2021-07-235-493/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* CosmeticsLaurent Bercot2021-06-032-3/+2
|
* Inline functionsLaurent Bercot2021-06-031-2/+2
|
* Don't hardcode ecdsa signature implementation in sni_policyLaurent Bercot2021-06-031-1/+1
|
* Work around incredible libtls stupidityLaurent Bercot2021-06-021-0/+8
|
* Correctly clean up the environment for -zLaurent Bercot2021-06-025-29/+54
|
* Debug session. Now works.Laurent Bercot2021-06-027-46/+54
| | | | | The environment given to the application still needs to be cleaned up of SNI variables.
* Merge branch 'dev'Laurent Bercot2021-06-0124-62/+657
|\ | | | | | | | | This add full client certificate support, as well as tentative SNI functionality
| * Add servername to storagedevLaurent Bercot2021-06-015-18/+15
| |
| * Make stuff buildLaurent Bercot2021-06-013-54/+76
| | | | | | | | Still not working: we need to add servername to the storage
| * Add all the missing pieces for sni_policyLaurent Bercot2021-06-0119-122/+326
| | | | | | | | | | sbearssl_server_init_and_run is yet unchanged, the next step is to rewrite it using the new primitives.
| * Start work on bearssl server-side sniLaurent Bercot2021-05-3010-0/+372
| |
* | bugfix: -l option in s6-tlsserver takes an argLaurent Bercot2021-05-301-1/+1
|/
* Server-side SNI, libtls versionLaurent Bercot2021-05-287-32/+84
| | | | Implementation for bearssl coming soon.
* All good, remove debug instructionsLaurent Bercot2021-05-273-20/+1
|
* Remove backtraces; add verification impls to server enginesLaurent Bercot2021-05-272-9/+2
|
* Add backtrace invocation to debug spurious get_pkey callLaurent Bercot2021-05-271-1/+10
|
* More debug commandsLaurent Bercot2021-05-252-4/+11
|
* bugfix: tcpserver should unignore SIGPIPELaurent Bercot2021-05-222-2/+4
|
* Trivial syscall number optimizationLaurent Bercot2021-05-212-2/+2
|
* Debugging iterationLaurent Bercot2021-05-202-2/+1
|