diff options
author | Linux User <jordan@winter.local> | 2023-06-24 00:13:26 +0000 |
---|---|---|
committer | Linux User <jordan@winter.local> | 2023-06-24 00:13:26 +0000 |
commit | 8cb2c53d2d01c13761627231e3d182002e3742d5 (patch) | |
tree | 3395c50eb6aabdeea20bcd07264c91b551af3de0 /0x7c0.com | |
parent | 38c02e531cefaf218655fc3b51bf4a409416a96a (diff) | |
download | www-8cb2c53d2d01c13761627231e3d182002e3742d5.tar.gz www-8cb2c53d2d01c13761627231e3d182002e3742d5.zip |
Diffstat (limited to '0x7c0.com')
-rw-r--r-- | 0x7c0.com/Makefile | 14 | ||||
-rw-r--r-- | 0x7c0.com/index.7 | 42 | ||||
-rw-r--r-- | 0x7c0.com/index.html | 75 | ||||
-rw-r--r-- | 0x7c0.com/old.txt | 1 | ||||
-rw-r--r-- | 0x7c0.com/style.css | 22 | ||||
-rwxr-xr-x | 0x7c0.com/update-stats.py | 55 |
6 files changed, 209 insertions, 0 deletions
diff --git a/0x7c0.com/Makefile b/0x7c0.com/Makefile new file mode 100644 index 0000000..e5f0645 --- /dev/null +++ b/0x7c0.com/Makefile @@ -0,0 +1,14 @@ +WEBROOT = /var/www/0x7c0.com + +FILES = index.html style.css + +all: ${FILES} + +index.html: index.7 + mandoc -T html -O style=style.css index.7 > index.html + +install: ${FILES} + install -c -m 644 ${FILES} ${WEBROOT} + +clean: + rm -f index.html diff --git a/0x7c0.com/index.7 b/0x7c0.com/index.7 new file mode 100644 index 0000000..e5bf59f --- /dev/null +++ b/0x7c0.com/index.7 @@ -0,0 +1,42 @@ +.Dd May 1, 2023 +.Dt "0x7c0 Labs" 7 +.Os "Alpine Linux" +. +.Sh NAME +.Nm 0x7c0 Labs +.Nd encrypted dual-stack communications infrastructure. +. +.Sh SYNOPSIS +.Nm mail +.Mt noc@0x7c0.com +. +PO Box 8112 Cave Creek, AZ 85327 +. +.Sh DESCRIPTION +.Pp +0x7c0 Labs is a non-profit ISP which provides connectivity for traffic +analysis-resistant communication networks and operates various value-aligned +services which promote user autonomy, privacy, and freedom on the Internet. +. +.Sh SERVICES +.Bl -tag -width Ds +.It Lk https://relays.0x7c0.com/as/AS400861/ transit +Internet connectivity via encrypted, randomized circuits +.It Lk https://ipfs.0x7c0.com/ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/wiki/ ipfs +Distributed file system gateway; access resources hosted on IPFS +.It Lk https://iv.0x7c0.com/ invidious +Front-end browsing proxy for YouTube, removing JS and trackers +.It Lk https://ahimsa.chat/ matrix +Decentralized encrypted communications network +.It Lk https://tracker.0x7c0.com/ opentracker +Public UDP tracker with synced IPv4 and IPv6 daemons +.It Lk https://search.0x7c0.com/ searx +Privacy-respecting search results aggregation from Google, Bing, Qwant +.It Lk https://relays.0x7c0.com/ relays list +Relay metrics and statistics rendered statically from consensus +.El +. +.Sh NETWORK +.Pp +We operate our own network at AS400861 with direct connectivity to Amazon, +Apple, Cloudflare, Fastly, Microsoft, and Netflix via KCIX and DE-CIX. diff --git a/0x7c0.com/index.html b/0x7c0.com/index.html new file mode 100644 index 0000000..c85672f --- /dev/null +++ b/0x7c0.com/index.html @@ -0,0 +1,75 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="style.css" type="text/css" media="all"/> + <title>0x7c0 Labs(7)</title> +</head> +<body> +<table class="head"> + <tr> + <td class="head-ltitle">0x7c0 Labs(7)</td> + <td class="head-vol">Miscellaneous Information Manual</td> + <td class="head-rtitle">0x7c0 Labs(7)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">0x7c0 Labs</code> — + <span class="Nd">encrypted dual-stack communications + infrastructure.</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<table class="Nm"> + <tr> + <td><code class="Nm">mail</code></td> + <td><a class="Mt" href="mailto:noc@0x7c0.com">noc@0x7c0.com</a> PO Box 8112 + Cave Creek, AZ 85327</td> + </tr> +</table> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">0x7c0 Labs is a non-profit ISP which provides connectivity for + traffic analysis-resistant communication networks and operates various + value-aligned services which promote user autonomy, privacy, and freedom on + the Internet.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SERVICES"><a class="permalink" href="#SERVICES">SERVICES</a></h1> +<dl class="Bl-tag"> + <dt><a class="Lk" href="https://relays.0x7c0.com/as/AS400861/">transit</a></dt> + <dd>Internet connectivity via encrypted, randomized circuits</dd> + <dt><a class="Lk" href="https://ipfs.0x7c0.com/ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/wiki/">ipfs</a></dt> + <dd>Distributed file system gateway; access resources hosted on IPFS</dd> + <dt><a class="Lk" href="https://iv.0x7c0.com/">invidious</a></dt> + <dd>Front-end browsing proxy for YouTube, removing JS and trackers</dd> + <dt><a class="Lk" href="https://ahimsa.chat/">matrix</a></dt> + <dd>Decentralized encrypted communications network</dd> + <dt><a class="Lk" href="https://tracker.0x7c0.com/">opentracker</a></dt> + <dd>Public UDP tracker with synced IPv4 and IPv6 daemons</dd> + <dt><a class="Lk" href="https://search.0x7c0.com/">searx</a></dt> + <dd>Privacy-respecting search results aggregation from Google, Bing, + Qwant</dd> + <dt><a class="Lk" href="https://relays.0x7c0.com/">relays list</a></dt> + <dd>Relay metrics and statistics rendered statically from consensus</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="NETWORK"><a class="permalink" href="#NETWORK">NETWORK</a></h1> +<p class="Pp">We operate our own network at AS400861 with direct connectivity to + Amazon, Apple, Cloudflare, Fastly, Microsoft, and Netflix via KCIX and + DE-CIX.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">May 1, 2023</td> + <td class="foot-os">Alpine Linux</td> + </tr> +</table> +</body> +</html> diff --git a/0x7c0.com/old.txt b/0x7c0.com/old.txt new file mode 100644 index 0000000..b3072a9 --- /dev/null +++ b/0x7c0.com/old.txt @@ -0,0 +1 @@ +We do not log network traffic or store sensitive information which could uniquely identify our users, except ephemerally when required by the protocol (e.g. peer-to-peer networks). In contexts where users opt-in to storing minimal account data on our systems, services are anonymized and configured to support account export and deletion. diff --git a/0x7c0.com/style.css b/0x7c0.com/style.css new file mode 100644 index 0000000..cf3c99e --- /dev/null +++ b/0x7c0.com/style.css @@ -0,0 +1,22 @@ +table.head, table.foot { width: 100%; } +td.head-rtitle, td.foot-os { text-align: right; } +td.head-vol { text-align: center; } +div.Pp { margin: 1ex 0ex; } +div.Nd, div.Bf, div.Op { display: inline; } +span.Pa, span.Ad { font-style: italic; } +span.Ms { font-weight: bold; } +dl.Bl-diag > dt { font-weight: bold; } +code.Nm, code.Fl, code.Cm, code.Ic, code.In, code.Fd, code.Fn, +code.Cd { font-weight: bold; font-family: inherit; } + +html { font-family: monospace; line-height: 1.25em; font-size: 14px; } +body { max-width: 80ch; margin: 1em auto; padding: 0 1ch; } +table { border-collapse: collapse; } +table.Nm code.Nm { padding-right: 1ch; } +table.foot { margin-top: 1em; } + +html { background-color: var(--ansi16); color: var(--ansi17); } +a { color: var(--ansi4); } +a:visited { color: var(--ansi5); } +a.permalink { color: var(--ansi3); text-decoration: none; } + diff --git a/0x7c0.com/update-stats.py b/0x7c0.com/update-stats.py new file mode 100755 index 0000000..f0a1ec7 --- /dev/null +++ b/0x7c0.com/update-stats.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 + +import fileinput +import os +import shutil +import sys +import urllib.request + +WWW = '/var/www/html/tracker.jordan.im' + +stats = dict.fromkeys(['torrents', 'connections', 'uptime']) + +conn = urllib.request.Request( + 'http://127.0.0.1:6969/stats?format=txt&mode=conn', +) +r = urllib.request.urlopen(conn).read().decode('utf-8').split('\n') + +stats['uptime'] = int(int(r[2].split()[0]) / 3600) +stats['connections'] = r[3].split()[2] + +conn = urllib.request.Request( + 'http://127.0.0.1:6969/stats?format=txt' +) + +r = urllib.request.urlopen(conn).read().decode('utf-8').split('\n') + +stats['torrents'] = r[2].split()[2] + +s = ( + f'The tracker has been online for {stats["uptime"]} hrs, ' + f'serving {stats["torrents"]} torrents ' + f'with {stats["connections"]} connections per second.\n' +) + +for line in fileinput.input([os.path.join(WWW, 'index.html')], inplace=True): + if line.strip().startswith('The tracker has been'): + line = s + sys.stdout.write(line) + +cpu = 'https://service.greenhost.net/cloud/Instance/graph?id=7615&template=cpu&timeframe=24' +conn = urllib.request.Request(cpu) +conn.add_header('Cookie', 'PHPSESSID=XXXXXXXXXXXXXXXXXXXXXXXXXX') + +with urllib.request.urlopen(conn) as r, open(os.path.join(WWW, 'cpu.png'), 'wb') as out: + out.write(r.read()) + +net = 'https://service.greenhost.net/cloud/Instance/graph?id=7615&template=net1&timeframe=24' +conn = urllib.request.Request(net) +conn.add_header('Cookie', 'PHPSESSID=XXXXXXXXXXXXXXXXXXXXXXXXXX') + +with urllib.request.urlopen(conn) as r, open(os.path.join(WWW, 'net.png'), 'wb') as out: + out.write(r.read()) + +#import code +#code.interact(local=locals()) |