| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Debug session. Now works. | Laurent Bercot | 2021-06-02 | 7 | -46/+54 |
| | | | | | | The environment given to the application still needs to be cleaned up of SNI variables. | ||||
| * | Merge branch 'dev' | Laurent Bercot | 2021-06-01 | 24 | -62/+657 |
| |\ | | | | | | | | | This add full client certificate support, as well as tentative SNI functionality | ||||
| | * | Add servername to storagedev | Laurent Bercot | 2021-06-01 | 5 | -18/+15 |
| | | | |||||
| | * | Make stuff build | Laurent Bercot | 2021-06-01 | 3 | -54/+76 |
| | | | | | | | | | Still not working: we need to add servername to the storage | ||||
| | * | Add all the missing pieces for sni_policy | Laurent Bercot | 2021-06-01 | 19 | -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 sni | Laurent Bercot | 2021-05-30 | 10 | -0/+372 |
| | | | |||||
| * | | bugfix: -l option in s6-tlsserver takes an arg | Laurent Bercot | 2021-05-30 | 1 | -1/+1 |
| |/ | |||||
| * | Server-side SNI, libtls version | Laurent Bercot | 2021-05-28 | 7 | -32/+84 |
| | | | | | Implementation for bearssl coming soon. | ||||
| * | All good, remove debug instructions | Laurent Bercot | 2021-05-27 | 3 | -20/+1 |
| | | |||||
| * | Remove backtraces; add verification impls to server engines | Laurent Bercot | 2021-05-27 | 2 | -9/+2 |
| | | |||||
| * | Add backtrace invocation to debug spurious get_pkey call | Laurent Bercot | 2021-05-27 | 1 | -1/+10 |
| | | |||||
| * | More debug commands | Laurent Bercot | 2021-05-25 | 2 | -4/+11 |
| | | |||||
| * | bugfix: tcpserver should unignore SIGPIPE | Laurent Bercot | 2021-05-22 | 2 | -2/+4 |
| | | |||||
| * | Trivial syscall number optimization | Laurent Bercot | 2021-05-21 | 2 | -2/+2 |
| | | |||||
| * | Debugging iteration | Laurent Bercot | 2021-05-20 | 2 | -2/+1 |
| | | |||||
| * | Add an x509 engine wrapping minimal. NOT FUNCTIONAL, FOR TESTING. | Laurent Bercot | 2021-05-20 | 12 | -66/+310 |
| | | |||||
| * | Prepare for 2.4.2.0; implement client certificates with bearssl | Laurent Bercot | 2021-05-18 | 9 | -83/+199 |
| | | | | | Also send a bit more environment with libtls | ||||
| * | sbearssl cosmetic fixes | Laurent Bercot | 2021-05-08 | 2 | -3/+5 |
| | | |||||
| * | Remove SSL_TLS_SNI_SERVERNAME (instead of defined but empty) if no SNI | Laurent Bercot | 2021-01-28 | 2 | -8/+20 |
| | | |||||
| * | Prepare for 2.4.1.0; add SSL_TLS_SNI_SERVERNAME | Laurent Bercot | 2021-01-28 | 2 | -2/+9 |
| | | |||||
| * | Tiny code and doc fixes | Laurent Bercot | 2021-01-18 | 2 | -0/+2 |
| | | |||||
| * | Implement handshake timeout for libtls backend | Laurent Bercot | 2021-01-13 | 9 | -14/+53 |
| | | |||||
| * | Get rid of webipc.h | Laurent Bercot | 2020-12-09 | 4 | -10/+10 |
| | | |||||
| * | Change -K semantics: timeout *during handshake*, not afterwards | Laurent Bercot | 2020-12-07 | 5 | -13/+14 |
| | | | | | | | | | | | | | | | - the TLS tunnel itself should be transparent so it has no business shutting down the connection no matter how long the app takes - there's still an undetectable situation on some kernels where EOF doesn't get transmitted from the network, and the engine is in the handshake, and it can't do anything but wait forever. A timeout is useful here: dawg, your peer is never going to send any more data, you should just give up. - if the situation happens after the handshake, the *app* should have a timeout and die. The tunnel will follow suit. - libtls has a blocking tls_handshake() blackbox, we cannot give it a timeout. Too bad, use bearssl. | ||||
| * | Fix build with skalibs 2.10.0.0; document dependencies | Laurent Bercot | 2020-11-30 | 1 | -1/+1 |
| | | |||||
| * | Convert to new exec.h syntax | Laurent Bercot | 2020-11-26 | 16 | -83/+106 |
| | | |||||
| * | That exit condition is really hard to get right >.> | Laurent Bercot | 2020-11-26 | 1 | -1/+1 |
| | | |||||
| * | Fix engine exit condition for sbearssl | Laurent Bercot | 2020-11-26 | 1 | -4/+5 |
| | | |||||
| * | minidentd QoL fix | Laurent Bercot | 2020-11-23 | 1 | -1/+3 |
| | | |||||
| * | stls client: prefer CAFILE, warn on CADIR use, because libtls is broken | Laurent Bercot | 2020-11-23 | 1 | -6/+7 |
| | | |||||
| * | Fix more bugs; disable renegociation in bearssl client | Laurent Bercot | 2020-11-23 | 4 | -44/+44 |
| | | |||||
| * | Fix a few bugs. sbearssl appears to be working. | Laurent Bercot | 2020-11-22 | 7 | -24/+26 |
| | | |||||
| * | Add SSL_PROTOCOL and SSL_CIPHER support, fix some bugs | Laurent Bercot | 2020-11-22 | 13 | -45/+376 |
| | | |||||
| * | Add documentation, fix tiny privdrop bug | Laurent Bercot | 2020-11-22 | 2 | -4/+4 |
| | | |||||
| * | Move all tls stuff into its own subdir | Laurent Bercot | 2020-11-21 | 22 | -0/+0 |
| | | |||||
| * | Add s6-ucspitlsc | Laurent Bercot | 2020-11-21 | 9 | -78/+201 |
| | | |||||
| * | Prepare for 2.4.0.0 | Laurent Bercot | 2020-11-21 | 1 | -1/+12 |
| | | |||||
| * | Privs can only be dropped after reading key files. | Laurent Bercot | 2020-11-21 | 15 | -11/+38 |
| | | |||||
| * | Refactor tls code to support ucspi-tls | Laurent Bercot | 2020-11-20 | 29 | -432/+804 |
| | | | | | | | | | | | | | | | | | | | That includes: - new architecture: the tls binary is now a child of the app instead of the other way around - the sbearssl_run engine now takes a post-handshake callback. This allows s6-tlsc and s6-tlsd to only exec into the app when the handshake succeeds (which was already the case with libressl). - new binaries s6-tlsc-io and s6-tlsd-io encapsulate the crypto code; they init and run the engine, connecting to 4 already open fds (stdin/stdout = network, argv[1] and argv[2] = local) - s6-tlsc is now a simple wrapper around s6-tlsc-io - s6-tlsd is now a simple wrapper around s6-tlsd-io - new binary: s6-ucspitlsd, which is also a wrapper around s6-tlsd-io, but differently: the parent execs the app which should be ucspi-tls-aware, the child waits for a command from the parent and execs into s6-tlsd-io if it receives it. | ||||
| * | Add -e option to s6-tlsserver | Laurent Bercot | 2020-05-06 | 1 | -4/+12 |
| | | |||||
| * | Remove tainnow.lib dependency | Laurent Bercot | 2019-09-21 | 8 | -8/+8 |
| | | |||||
| * | Adapt to new stopwatch API | Laurent Bercot | 2019-09-06 | 6 | -10/+6 |
| | | |||||
| * | Use stopwatches and wallclocks where appropriate | Laurent Bercot | 2019-09-04 | 7 | -1/+7 |
| | | |||||
| * | Different code style for the maxconn spurious warning avoidance | Laurent Bercot | 2019-05-14 | 2 | -9/+6 |
| | | |||||
| * | Adapt to skalibs/posixishard.h | Laurent Bercot | 2019-02-20 | 6 | -7/+18 |
| | | |||||
| * | bugfix: have s6-tcpserver?d write localport to stdout on notif | Laurent Bercot | 2018-10-06 | 2 | -2/+24 |
| | | | | | and not just a newline. | ||||
| * | Add nsss support | Laurent Bercot | 2018-08-01 | 1 | -0/+2 |
| | | |||||
| * | Adapt to skalibs-2.7.0.0, prepare for 2.3.0.3 | Laurent Bercot | 2018-07-21 | 2 | -11/+8 |
| | | |||||
| * | change localip is6 flag based on destination ip | John Regan | 2018-04-11 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | By default, the localip flag is initialized with the is6 flag set to 0. The only time the flag is changed to 1 is when a user specifies a local IPv6 address to use. Because of this, socket_tcp46 always creates an IPv4 socket. This patch corrects that - if the user hasn't specified a local address, then the local 'is6' flag is updated to match the destination 'is6' flag. Signed-off-by: Laurent Bercot <ska-skaware@skarnet.org> | ||||
| * | Add -B (blocking) option to s6-tcpserver?-socketbinder | Laurent Bercot | 2018-04-11 | 2 | -6/+12 |
| | | |||||
