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:
Claude committed 2026-11-11 12:34:29 +00:00
1 parent 681598475f
commit 81bb843396
271 files changed
+11967 -1

No files matched your search

+114
View File
@@ -0,0 +1,114 @@
; Automatic output encoding select
; You may edit this file if experience problems with non-English content:
; https://github.com/atauenis/webone/wiki/Troubleshooting-language-support
; Mosaic, Netscape 0-3, IE 1-3, Arachne - Windows ANSI
[Edit]
OnHeader=User-Agent: NCSA_Mosaic
OnHeader=User-Agent: Mozilla/[0123].*Win
OnHeader=User-Agent: xChaos_Arachne/
AddOutputEncoding=Windows
; Netscape 0-3 - OS/2 (prefers DOS code pages)
[Edit]
OnHeader=User-Agent: Mozilla/[0123].*OS/2
AddOutputEncoding=DOS
; IBM WebExplorer - OS/2 (prefers ISO code pages)
[Edit]
OnHeader=User-Agent: IBM WebExplorer
AddOutputEncoding=ISO-8859
; Netscape 0-3, IE 1-3 - classic Apple MacOS
[Edit]
OnHeader=User-Agent: Mozilla/[0123].*Mac
AddOutputEncoding=Apple
; DosLynx - DOS OEM
[Edit]
OnHeader=User-Agent: .*DOS
OnHeader=User-Agent: .*Dos
AddOutputEncoding=DOS
; uncomment line below to enable alphabet transliteration
;AddTranslit=yes
; Alphabet transliteration table
; The following example is from Russian to Latin (English letters).
; Any other alphabet can be used here too. Just write it in same syntax.
; Works only if there is an "AddTranslit=yes" in any active edit set.
[Translit]
а=a
б=b
в=v
г=g
ґ=gg
д=d
е=e
ё=yo
є=ye
ж=zh
з=z
и=i
й=j
ї=yi
к=k
л=l
м=m
н=n
о=o
п=p
р=r
с=s
т=t
у=u
ў=w
ф=f
х=h
ц=c
ч=ch
ш=sh
щ=sch
ъ=_
ь='
ы=y
э=e
ю=yu
я=ya
А=A
Б=B
В=V
Г=G
Ґ=GG
Д=D
Е=E
Ё=YO
Є=YE
Ж=ZH
З=Z
И=I
Й=J
Ї=YI
К=K
Л=L
М=M
Н=N
О=O
П=P
Р=R
С=S
Т=T
У=U
Ў=W
Ф=F
Х=H
Ц=C
Ч=CH
Ш=SH
Щ=SCH
Ъ=~
Ь='
Ы=Y
Э=E
Ю=YU
Я=YA