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

+16
View File
@@ -0,0 +1,16 @@
<html>
<title>WebOne: connection error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>The connection was refused</h1>
<p><big>%ErrorMessage%.</big></p>
<ul><li>The site could be temporarily unavailable or too busy. Try again in a few moments.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
<li>If your proxy server or network is protected by a firewall, make sure that WebOne is permitted to access the Web.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+16
View File
@@ -0,0 +1,16 @@
<html>
<title>WebOne: connection error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>The connection has been reset</h1>
<p><big>%ErrorMessage%.</big></p>
<ul><li>The site could be temporarily unavailable or too busy. Try again in a few moments.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
<li>If your proxy server or network is protected by a firewall, make sure that WebOne is permitted to access the Web.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+16
View File
@@ -0,0 +1,16 @@
<html>
<title>WebOne: connection error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>Cannot find the server</h1>
<p><big>%ErrorMessage%.</big></p>
<ul><li>Check the address for typing errors such as <strong>ww</strong>.example.com instead of <strong>www</strong>.example.com.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
<li>If your proxy server or network is protected by a firewall, make sure that WebOne is permitted to access the Web.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+16
View File
@@ -0,0 +1,16 @@
<html>
<title>WebOne: Decompression failed</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>Invalid data has been recieved</h1>
<p><big>Cannot decode HTTP data.</big></p>+
<ul>Remote server may use unsupported HTTP compression algorithm.
<li>Try to set AllowHttpCompression=false option in configuration file to skip HTTP decompression, which may cause this error due to .NET bug.</li>
<li>Installing a newer version of .NET Runtime also <i>may</i> solve the problem.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+33
View File
@@ -0,0 +1,33 @@
<html>
<title>Non-whitelisted client</title>
<meta charset="utf-8"/>
<style type='text/css'>
h1, h2, h3, h4 {
font-family: sans-serif;
}
html {
font-family: Cambria, sans-serif;
}
body {
margin: 4em auto;
max-width: 52em;
min-width: 13em;
padding: 3em;
}
li {
margin: 0px;
}
ul {
list-style: square;
}
</style>
<body>
<h1>Goodbye, %IP%</h1>
<p><big>You are not in the list of allowed clients. Contact proxy server's administrator to add your IP address in it.</big></p>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>Loop requests are probhited</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<P><BIG>Seems that you have looped connection.</BIG></P>
<P>This may be caused by incorrect WebOne or operating system configuration.</P>
<P>Set <B>UpperProxy</B> to <B>no</B> in configuration file to enable WebOne direct connection to the Internet.</P>
<P>Make sure that only the client browser is accessing Internet via proxy, and the proxy server have a true direct connection. Note that WebOne is using system settings to access Internet. Some browsers (Internet Explorer, Safari, all Chromium-based) are using same settings as the OS where they are started.</P>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+11
View File
@@ -0,0 +1,11 @@
<html>
<title>HTTPS Is Not Supported</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<P><BIG>Sorry, Secure traffic transfer is disabled on proxy server.</BIG></P>
<P>Set <B>SslEnable</B> to <B>yes</B> in configuration file to allow work with HTTPS &amp; SSL. Also make sure that CA files are accessible.</P>
<P>Or set the proxy usage only for HTTP protocol in your Web-browser settings. Any HTTPS websites can be accessed via plain HTTP protocol via the proxy.</P>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
<html>
<title>WebOne: Operation timeout</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>The connection has timed out</h1>
<p><big>The request was canceled due to Timeout of 100 seconds elapsing.</big></p>
<ul><li>The site could be temporarily unavailable or too busy. Try again in a few moments.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>Internet Archive sometimes became busy. Be patient, wait a some time.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
<li>If your proxy server or network is protected by a firewall, make sure that WebOne is permitted to access the Web.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+16
View File
@@ -0,0 +1,16 @@
<html>
<title>WebOne: connection error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>The connection has timed out</h1>
<p><big>%ErrorMessage%.</big></p>
<ul><li>The site could be temporarily unavailable or too busy. Try again in a few moments.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>If you are unable to load any pages, check your proxy server's network connection.</li>
<li>If your proxy server or network is protected by a firewall, make sure that WebOne is permitted to access the Web.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+18
View File
@@ -0,0 +1,18 @@
<html>
<title>WebOne: connection error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>Secure connection could not be established</h1>
<p><big>%ErrorMessage%.</big></p>
<ul><li>The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.</li>
<li>Make sure that the OS on the proxy server have all updates installed.</li>
<li>Check date and time on the proxy server.</li>
<li>Verify that the proxy server operating system have proper support for TLS/SSL version and chiphers used on the site.</li>
<li>Try to use an <a href="http://web.archive.org/web/2/%URL%">archived copy</a> of the web site.</li>
<li>To disable this security check, set <q><b>ValidateCertificates=no</b></q> in proxy configuration file. But this will make the proxy less secure, do this at your own risk.</li>
</ul>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>%Scheme% Is Not Supported</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>Unsupported protocol</h1>
<p>You're attempted to request content from <i>%URL%</i>. The protocol specified in the URL is not supported by this proxy server.</p>
<p>Consider connect directly to the server, bypassing the proxy. This error message may appear if your Web browser settings have enabled <b>&quot;Use proxy for all protocols&quot;</b> option. Uncheck it and set only for protocols supported by WebOne. List of them can be found in project's Wiki.</p>
<p>This message also may appear if you have not installed an appication that designed to handle %Scheme% addresses.</p>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+9
View File
@@ -0,0 +1,9 @@
<html>
<title>Blacklisted URL</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><big>Access to this web page is disallowed by proxy settings.</big></p>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
<html>
<title>URL out of white list</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><big>Proxy server administrator has been limited this proxy server to work with several web sites only.</big></p>
</ul>
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>Web Archive Error: 403</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><b>This URL has been excluded from the Wayback Machine.</b></p>
<p>This page is not present in Web Archive.</p>
<small><i>You see this message because ShortenArchiveErrors option is enabled.</i></small>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>Web Archive Error: 404</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><b>The Wayback Machine has not archived that URL.</b></p>
<p>Try to slightly change the URL.</p>
<small><i>You see this message because <code>ShortenArchiveErrors</code> option is enabled.</i></small>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>Web Archive Error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><b>The Wayback Machine cannot give this page.</b></p>
<p>This is reason: %ErrorMessage%.</p>
<small><i>You see this message because ShortenArchiveErrors option is enabled.</i></small>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>Web Archive - bad gateway</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><h1>&quot;Bad gateway&quot;</h1></p>
<p>There are problems in Internet Archive Wayback Machine (it returned a HTTP 502 status code) or the link is broken.</p>
<small><i>You see this message because ShortenArchiveErrors option is enabled.</i></small>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
<html>
<title>Web Archive is unavailable</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><h1>Internet Archive services are temporarily offline.</h1></p>
<p>The Wayback Machine is not currently available. Please check <a href="http://twitter.com/internetarchive/">Twitter feed</a> for the latest information.</p>
<p>We apologize for the inconvenience.</p>
<small><i>You see this message because ShortenArchiveErrors option is enabled.</i></small>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>WebOne: Web Archive error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><b>Cannot load this page</b></p>
<p>The requested server or page is not found and a Web Archive error occured.</b></p>
<p>%ErrorMessage%.</p>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<html>
<title>WebOne: Web Archive retrieve error</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<p><b>Cannot load this page from Web Archive</b></p>
<p>The requested page is found only at Web Archive, but cannot be delivered from it.</b></p>
<p>%ErrorMessage%.</p>
<br>URL: %URL%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
<html>
<title>%Title%</title>
<meta charset="utf-8"/>
<link href="http://%ServerName%/webone.css" rel="stylesheet" />
<body>
<h1>%Header%</h1>
%Content%
<hr>WebOne Proxy Server %WOVer% <br>on %WOSystem%
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Loaded 100 of 271 files, more files were not shown because too many files have changed in this diff. Show more