Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsavola/snide
Local TLS connection router
https://github.com/tsavola/snide
go tls
Last synced: about 22 hours ago
JSON representation
Local TLS connection router
- Host: GitHub
- URL: https://github.com/tsavola/snide
- Owner: tsavola
- License: bsd-3-clause
- Created: 2020-10-21T19:52:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T11:33:11.000Z (about 2 years ago)
- Last Synced: 2024-06-20T03:54:36.212Z (5 months ago)
- Topics: go, tls
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SNI Demultiplexer
**Snide** proxies TLS connections by passing file descriptors over unix
sockets. Target backend is chosen by eavesdropping the plaintext Server Name
Indication included in the TLS handshake. The handshake is not actually
completed; no certificates or private keys are used. Instead, the buffered
input is sent to the backend which can use it to do the handshake for real.
Remaining I/O bypasses Snide, as the ownership of the socket file descriptor
has been passed to the backend.Get the proxy server:
```
go install github.com/tsavola/snide/cmd/snide@latest
```Go API for backends: https://pkg.go.dev/github.com/tsavola/snide