aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* New and fixed version of sbearssl_runLaurent Bercot2023-11-117-148/+148
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.7.0.0. Better s6-tlsc-io interface.Laurent Bercot2023-11-1012-96/+96
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-tcpserver-access: don't use errno in deny messagesLaurent Bercot2023-11-061-5/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix tls_error invocationLaurent Bercot2023-11-051-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix missing null terminatorLaurent Bercot2023-10-161-8/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better iteration when sending signals in s6-tcpserverdLaurent Bercot2023-10-011-28/+33
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Avoid stupid buffer overflows tyvmLaurent Bercot2023-10-011-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor s6-tcpserverd loggingLaurent Bercot2023-10-011-51/+43
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-tlsserver bugfix, doc updatesLaurent Bercot2023-09-301-17/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Great Tcpserver Unification. Prepare for 2.6.0.0.Laurent Bercot2023-09-3014-826/+121
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove extra warning when s6-tcpserver-access has no rulesetLaurent Bercot2023-09-202-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove s6-tcpserver?d dependency on libs6Laurent Bercot2023-09-114-8/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix s6-tlsd fd fuxLaurent Bercot2023-09-093-5/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* 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