mirror of
https://github.com/D-Modem/WebOne-go.git
synced 2026-11-28 12:38:05 -08:00
Port WebOne 0.19.0 to Go
A Go translation of WebOne (github.com/atauenis/webone, commit e940b43), the HTTP 1.x proxy that lets old browsers use today's web: config loader with sets of edits and .NET regular expressions, the HTTP/1.0-1.1 server with keep-alive, HTTPS fetching and patching, code pages, the CONNECT proxy (MITM, pass-through, non-HTTP tunnels), the CA and site certificates (MD5/SHA-1 signing included), internal and error pages, Web Archive fallback, converters, web FTP client and online video. WebOne's licence, configuration files and html pages are kept. Go-only options: SslCaDirectory signs with the D-Modem BBS's proxy sub-CA (or its root), SslTrustOwnCA, and DnsServer. README lists the differences: no SSL 2.0/3.0 in Go's TLS, and the upstream bugs fixed on purpose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3
This commit is contained in:
271 files changed
+11967
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=WebOne HTTP Proxy Server (Go port)
|
||||
Documentation=https://github.com/D-Modem/webone-go https://github.com/atauenis/webone/wiki/
|
||||
Requires=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
DynamicUser=yes
|
||||
Environment="HOME=/tmp/"
|
||||
ExecStart=/usr/local/bin/webone --daemon
|
||||
ReadWriteDirectories=-/var/log/
|
||||
ReadWriteDirectories=-/etc/webone.conf.d/
|
||||
TimeoutStopSec=10
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StartLimitInterval=5s
|
||||
StartLimitBurst=3
|
||||
# To sign with the D-Modem BBS's CA (SslCaDirectory=), run as the BBS's
|
||||
# user instead of DynamicUser, so the proxy can read ca/proxy-ca.key:
|
||||
#DynamicUser=no
|
||||
#User=bbs
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in new issue
Block a user