From e716464baf5a736c8c5a071043d26f63b8abfc06 Mon Sep 17 00:00:00 2001 From: Dustrain Date: Thu, 3 Jun 2021 19:33:02 +0800 Subject: [PATCH 01/28] Complete information (#170) * Complete information --- entity/magicneko.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entity/magicneko.toml b/entity/magicneko.toml index 8cb3d33..bd26c41 100644 --- a/entity/magicneko.toml +++ b/entity/magicneko.toml @@ -1,4 +1,6 @@ name = "MagicNeko" [contact] +telegram = "Mirs322" +github = "Myer921" email = "noc@koishi.moe" From ce5997f4f03a108efe2dcdaf4cf7f44aff25c1db Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 3 Jun 2021 19:38:17 +0800 Subject: [PATCH 02/28] jerry: change gpg key * Signed with 186242204A2EC70438E9CE3B9D9CE43650FF2BAA --- entity/JerryXiao.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/JerryXiao.toml b/entity/JerryXiao.toml index e926f0c..269f5be 100644 --- a/entity/JerryXiao.toml +++ b/entity/JerryXiao.toml @@ -7,4 +7,4 @@ irc = "JerryXiao@hackint" github = "isjerryxiao" [persona] -pgp = "186242204A2EC70438E9CE3B9D9CE43650FF2BAA" +pgp = "5FC9AD5B960AD6F626E218DD22618F758B5BE2E5" From c243e88f50f0bb8043a7d6872ed4cac4ab28414d Mon Sep 17 00:00:00 2001 From: Licson Date: Sat, 5 Jun 2021 23:24:06 +0800 Subject: [PATCH 03/28] Changed GitHub username --- entity/licson.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/licson.toml b/entity/licson.toml index e0953cf..af31f26 100644 --- a/entity/licson.toml +++ b/entity/licson.toml @@ -3,4 +3,4 @@ name = "licson" [contact] email = "admin@licson.net" telegram = "licson" -github = "licson0729" +github = "licson" From 3e9024f36b90e9d71a8cdd806a52199204ab2501 Mon Sep 17 00:00:00 2001 From: Licson Date: Sat, 5 Jun 2021 23:35:50 +0800 Subject: [PATCH 04/28] Changed reverse DNS records --- dns/db.10.127 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dns/db.10.127 b/dns/db.10.127 index 005b171..721ba69 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -34,7 +34,12 @@ $TTL 3600 10.14 IN PTR neochen.gr-0-1-0-2.cr2.hkg1.licson.neo. 13.14 IN PTR gr-0-1-0-3.cr2.hkg1.licson.neo. 14.14 IN PTR jerry.gr-0-1-0-3.cr2.hkg1.licson.neo. +17.14 IN PTR gr-0-1-0-4.cr2.hkg1.licson.neo. +18.14 IN PTR yuetan.gr-0-1-0-4.cr2.hkg1.licson.neo. +21.14 IN PTR gr-0-1-0-5.cr2.hkg1.licson.neo. +22.14 IN PTR moecast.gr-0-1-0-5.cr2.hkg1.licson.neo. 1.15 IN PTR ae-0-1.cr2.hkg1.licson.neo. +58.15 IN PTR live.licson.neo. 1.8 IN PTR librehs.neo. 2.8 IN PTR blog.librehs.neo. From 2957878b8792f63daae4b0d6eccabddd147a71e0 Mon Sep 17 00:00:00 2001 From: Licson Date: Sat, 5 Jun 2021 23:55:57 +0800 Subject: [PATCH 05/28] Added record for tv.neo, a live streaming server (#171) --- dns/neonetwork | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns/neonetwork b/dns/neonetwork index 224a7c5..be5e9a3 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -35,6 +35,8 @@ acme IN AAAA fd10:127:53:223::1 edwardp IN A 10.127.8.130 edwardp IN AAAA fd10:127:2f2f:: +tv IN A 10.127.15.58 + ; DELEGATED ZONES jerry IN NS ns1.jerry jerry IN NS ns2.jerry From 23ee50e86c5aedc5fbf4fbbc628d6fb3d30cba34 Mon Sep 17 00:00:00 2001 From: Jerry Date: Sun, 6 Jun 2021 20:18:41 +0800 Subject: [PATCH 06/28] roa.py: sort entities and asns --- scripts/roa.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/roa.py b/scripts/roa.py index 69b6e92..65abd0e 100755 --- a/scripts/roa.py +++ b/scripts/roa.py @@ -9,6 +9,7 @@ from io import StringIO from ipaddress import IPv4Network, IPv6Network, ip_network from itertools import combinations from pathlib import Path +from functools import wraps import netaddr import toml @@ -62,11 +63,21 @@ def iter_toml_file(path: str): yield item, toml.loads(item.read_text()) +def _sort_as_iterator(func): + @wraps(func) + def wrapped(*args, **kwargs): + for item in sorted(list(func(*args, **kwargs)), key=lambda x: x[0], reverse=False): + yield item + return wrapped + + +@_sort_as_iterator def load_entities(): for item, entity in iter_toml_file("entity"): yield item.stem, entity +@_sort_as_iterator def load_asn(entities: dict): for item, entity in iter_toml_file("asn"): asn = int(item.stem.lstrip("AS")) From 6463530312ae95100048fd9902dcb004b0c44c9e Mon Sep 17 00:00:00 2001 From: Koala Date: Sun, 6 Jun 2021 21:00:49 +0800 Subject: [PATCH 07/28] New registration AS4201271488 --- asn/AS4201271488.toml | 2 ++ dns/db.fd10.127 | 2 ++ dns/neonetwork | 4 ++++ entity/SyllaBear.toml | 8 ++++++++ route/AS4201271488.toml | 4 ++++ 5 files changed, 20 insertions(+) create mode 100644 asn/AS4201271488.toml create mode 100644 entity/SyllaBear.toml create mode 100644 route/AS4201271488.toml diff --git a/asn/AS4201271488.toml b/asn/AS4201271488.toml new file mode 100644 index 0000000..33d550f --- /dev/null +++ b/asn/AS4201271488.toml @@ -0,0 +1,2 @@ +name = "Polar Bear" +owner = "SyllaBear" diff --git a/dns/db.fd10.127 b/dns/db.fd10.127 index 490e83e..f83d415 100644 --- a/dns/db.fd10.127 +++ b/dns/db.fd10.127 @@ -44,4 +44,6 @@ $TTL 3600 6.6.a.a IN NS ns2.fixmix.neo. 6.6.a.a IN NS ns3.fixmix.neo. +8.8.4.1 IN NS ns1.bear.neo. + c.c.0.0 IN NS ns1.an.dn42. diff --git a/dns/neonetwork b/dns/neonetwork index be5e9a3..eb9c95e 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -121,4 +121,8 @@ ns1.fixmix IN AAAA fd10:127:aa66:11:: ns2.fixmix IN AAAA fd10:127:aa66:21:: ns3.fixmix IN AAAA fd10:127:aa66:31:: +bear IN NS ns1.bear +koala IN NS ns1.bear +ns1.bear IN AAAA fd10:127:1488:: + an IN NS ns1.an.dn42. diff --git a/entity/SyllaBear.toml b/entity/SyllaBear.toml new file mode 100644 index 0000000..9e62424 --- /dev/null +++ b/entity/SyllaBear.toml @@ -0,0 +1,8 @@ +name = "SyllaBear" + +[contact] +email = "bear@koala.gq" +github = "bearsylla" + +[persona] +pgp = "F5EC83B433A35C8CDF5B66568FBCE429B9AB90F4" diff --git a/route/AS4201271488.toml b/route/AS4201271488.toml new file mode 100644 index 0000000..bb09753 --- /dev/null +++ b/route/AS4201271488.toml @@ -0,0 +1,4 @@ +["fd10:127:1488::/48"] +type = "subnet" +name = "Bear" +description = "Bear Neo Network" From 4680d227282f6b9eba5513ba3340b55ba4d68a03 Mon Sep 17 00:00:00 2001 From: Koala Date: Sun, 6 Jun 2021 21:03:32 +0800 Subject: [PATCH 08/28] mend --- route/AS4201271488.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/route/AS4201271488.toml b/route/AS4201271488.toml index bb09753..1c7ece5 100644 --- a/route/AS4201271488.toml +++ b/route/AS4201271488.toml @@ -1,4 +1,4 @@ ["fd10:127:1488::/48"] -type = "subnet" -name = "Bear" -description = "Bear Neo Network" +type = "subnet" +name = "Bear" +description = "Bear Neo Network" From 54c02595eabd3136ac3a38ee42ac214f0c567edf Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Tue, 8 Jun 2021 01:20:31 +0800 Subject: [PATCH 09/28] Register AS4201270030 --- asn/AS4201270030.toml | 4 ++++ dns/db.10.127 | 2 ++ dns/db.fd10.127 | 2 ++ dns/neonetwork | 7 +++++++ entity/Yux.toml | 11 +++++++++++ node/IWarp.toml | 2 ++ route/AS4201270030.toml | 10 ++++++++++ 7 files changed, 38 insertions(+) create mode 100644 asn/AS4201270030.toml create mode 100644 entity/Yux.toml create mode 100644 node/IWarp.toml create mode 100644 route/AS4201270030.toml diff --git a/asn/AS4201270030.toml b/asn/AS4201270030.toml new file mode 100644 index 0000000..432339f --- /dev/null +++ b/asn/AS4201270030.toml @@ -0,0 +1,4 @@ +name = "IWARP-NEO" +owner = "Yux" +desc = "IWARP Global Experimental NeoNetwork" + diff --git a/dns/db.10.127 b/dns/db.10.127 index 721ba69..46b0daa 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -85,6 +85,8 @@ $TTL 3600 21 IN NS ns.iedon.neo. +30 IN NS ns1.iwarp.neo. + 127 IN NS ns1.yura.dn42. 127 IN NS ns2.yura.dn42. diff --git a/dns/db.fd10.127 b/dns/db.fd10.127 index f83d415..854579d 100644 --- a/dns/db.fd10.127 +++ b/dns/db.fd10.127 @@ -33,6 +33,8 @@ $TTL 3600 0.1.0.0 IN DS 11807 13 2 BBADC27B4EBFC90CBA79F4E69E4F167B9FFAF664B071F4CC46196902054B0910 0.1.0.0 IN DS 11807 13 4 CB48D8BABA0E44B9D363D3142463014EBDE6D28E15997EA8FB5FDBD42FDCF1CF3846E63925A5910DDD6A192571AEBD93 +0.3.0.0 IN NS ns1.iwarp.neo. + 7.0.0.0 IN NS ns1.staph.neo. 7.2.1.0 IN NS ns1.yura.dn42. diff --git a/dns/neonetwork b/dns/neonetwork index eb9c95e..284c9d5 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -125,4 +125,11 @@ bear IN NS ns1.bear koala IN NS ns1.bear ns1.bear IN AAAA fd10:127:1488:: +iwarp IN NS ns1.iwarp +go IN NS ns1.iwarp +yux IN NS ns1.iwarp +ns1.iwarp IN A 10.127.30.53 +ns1.iwarp IN AAAA fd10:127:30:53::1 + an IN NS ns1.an.dn42. + diff --git a/entity/Yux.toml b/entity/Yux.toml new file mode 100644 index 0000000..e6fb2fd --- /dev/null +++ b/entity/Yux.toml @@ -0,0 +1,11 @@ +name = "Yux Zhu" + +[contact] +email = "me@yux.im" +telegram = "im_yux" +github = "vfreex" +irc = "yux@hackint" + +[persona] +pgp = "C1907229F1A6887550AD90A51ECBCCF8B5D891FD" + diff --git a/node/IWarp.toml b/node/IWarp.toml new file mode 100644 index 0000000..ec7fa17 --- /dev/null +++ b/node/IWarp.toml @@ -0,0 +1,2 @@ +[IWarp] +asn = 4201270030 diff --git a/route/AS4201270030.toml b/route/AS4201270030.toml new file mode 100644 index 0000000..85ce7b0 --- /dev/null +++ b/route/AS4201270030.toml @@ -0,0 +1,10 @@ +["10.127.30.0/24"] +type = "subnet" +name = "IWARP-NEO-IP4-NETWORK" +description = "IWarp Global Experimental NeoNetwork - IPv4" + +["fd10:127:30::/48"] +type = "subnet" +name = "IWARP-NEO-IP6-NETWORK" +description = "IWarp Global Experimental NeoNetwork - IPv6" + From fb8fece6f21c2979c3610fcf46c7799decc7f126 Mon Sep 17 00:00:00 2001 From: Septs Date: Tue, 8 Jun 2021 08:26:26 +0800 Subject: [PATCH 10/28] format code (#174) --- scripts/dns-generator.py | 11 +++-- scripts/named-formatzone.py | 9 ++-- scripts/rfc2317.py | 21 ++++++-- scripts/roa.py | 90 +++++++++++++++++++++++++++-------- scripts/update-zone-serial.py | 20 ++++---- 5 files changed, 113 insertions(+), 38 deletions(-) diff --git a/scripts/dns-generator.py b/scripts/dns-generator.py index 444fc4e..62ae0dd 100755 --- a/scripts/dns-generator.py +++ b/scripts/dns-generator.py @@ -3,18 +3,21 @@ import sys from pathlib import Path import toml + from rfc2317 import gen_reverse_pointers RESOLVE_FILE = Path("dns", "db.10.127") RFC2317_FILE = Path("dns", "rfc2317.toml") + def iter_rfc2317_entry(): entries = toml.loads(RFC2317_FILE.read_text()) for (route, attributes) in entries.items(): - ns = attributes.get('NS') - ds = attributes.get('DS', list()) - ttl = attributes.get('TTL', -1) - yield(route, ns, ds, ttl) + ns = attributes.get("NS") + ds = attributes.get("DS", list()) + ttl = attributes.get("TTL", -1) + yield (route, ns, ds, ttl) + def main(): orignal = RESOLVE_FILE.read_text() diff --git a/scripts/named-formatzone.py b/scripts/named-formatzone.py index a4ec807..2aa2afc 100644 --- a/scripts/named-formatzone.py +++ b/scripts/named-formatzone.py @@ -6,11 +6,11 @@ import argparse from pathlib import Path if __name__ == "__main__": - parser = argparse.ArgumentParser('named-formatzone') + parser = argparse.ArgumentParser("named-formatzone") parser.add_argument("file") args = parser.parse_args() zonefile = Path(args.file) - zonelines = zonefile.read_text().split('\n') + zonelines = zonefile.read_text().split("\n") formatted = list() max_length = [0, 0, 0, 0, 0] in_soa = False @@ -18,7 +18,7 @@ if __name__ == "__main__": def iter_lines(scan_only=True): soafound = None for rline in zonelines: - line, *comments = rline.split(';') + line, *comments = rline.split(";") comments = ";".join(comments) line = line.strip() if "SOA" in line and soafound is None: @@ -41,7 +41,7 @@ if __name__ == "__main__": else: fmtlline = list() for i, entry in enumerate(cols): - entry += " "*(max_length[i]-len(entry)+3) + entry += " " * (max_length[i] - len(entry) + 3) if entry: fmtlline.append(entry) fmtline = " ".join(fmtlline) @@ -50,6 +50,7 @@ if __name__ == "__main__": else: if not scan_only: formatted.append(rline) + iter_lines() iter_lines(False) diff --git a/scripts/rfc2317.py b/scripts/rfc2317.py index d9badff..1d56694 100755 --- a/scripts/rfc2317.py +++ b/scripts/rfc2317.py @@ -2,12 +2,15 @@ import ipaddress -ZONE = '.127.10.in-addr.arpa' +ZONE = ".127.10.in-addr.arpa" + + def truncate(rev: str) -> str: assert rev.endswith(ZONE) - rev = rev[:-len(ZONE)] + rev = rev[: -len(ZONE)] return rev + def gen_reverse_pointers(network: str, ns: list, ds: list = [], ttl: int = -1) -> list: ttl = f"{ttl} " if 900 <= ttl <= 86400 else "" buf = list() @@ -25,5 +28,17 @@ def gen_reverse_pointers(network: str, ns: list, ds: list = [], ttl: int = -1) - buf.append(f"{cnamefr} {ttl}IN CNAME {cnameto}") return buf + if __name__ == "__main__": - print("\n".join(gen_reverse_pointers('10.127.8.64/26', ['ns1.jerry.neo.'], ['18792 13 2 2F335456EEE70FC4833886E5EEDC28E7195E90E2A337860B3E805D5EB9F3A804'], ttl=1500))) + print( + "\n".join( + gen_reverse_pointers( + "10.127.8.64/26", + ["ns1.jerry.neo."], + [ + "18792 13 2 2F335456EEE70FC4833886E5EEDC28E7195E90E2A337860B3E805D5EB9F3A804" + ], + ttl=1500, + ) + ) + ) diff --git a/scripts/roa.py b/scripts/roa.py index 65abd0e..d3f2be7 100755 --- a/scripts/roa.py +++ b/scripts/roa.py @@ -3,22 +3,22 @@ import argparse import json import re import time + +# dnssec +from base64 import b64decode from collections import defaultdict from contextlib import redirect_stdout +from functools import wraps from io import StringIO from ipaddress import IPv4Network, IPv6Network, ip_network from itertools import combinations from pathlib import Path -from functools import wraps import netaddr import toml -from tabulate import tabulate -# dnssec -from base64 import b64decode from dns.dnssec import make_ds from dns.rdtypes.ANY.DNSKEY import DNSKEY - +from tabulate import tabulate NEO_NETWORK_POOL = [ip_network("10.127.0.0/16"), ip_network("fd10:127::/32")] @@ -66,8 +66,11 @@ def iter_toml_file(path: str): def _sort_as_iterator(func): @wraps(func) def wrapped(*args, **kwargs): - for item in sorted(list(func(*args, **kwargs)), key=lambda x: x[0], reverse=False): + for item in sorted( + list(func(*args, **kwargs)), key=lambda x: x[0], reverse=False + ): yield item + return wrapped @@ -144,7 +147,9 @@ def route_to_roa(asn_table: dict): try: assert net1["prefix"] != net2["prefix"] except AssertionError: - assert net1['asn'] != net2['asn'] and entity_from_net(net1) == entity_from_net(net2) + assert net1["asn"] != net2["asn"] and entity_from_net( + net1 + ) == entity_from_net(net2) continue assert net1["prefix"].supernet_of(net2["prefix"]) s1net, s2net = (net1["supernet"], net2["supernet"]) @@ -181,10 +186,19 @@ def prehandle_roa(asn_table: dict, args): r["prefix"] = r["prefix"].with_prefixlen return roa4, roa6 + def export_dnssec_dnskey(): def ds_from_dnskey(zone, flags, protocol, algorithm, *key): - dnspy_dnskey = DNSKEY("IN", "DNSKEY", int(flags), int(protocol), int(algorithm), b64decode(" ".join(key))) + dnspy_dnskey = DNSKEY( + "IN", + "DNSKEY", + int(flags), + int(protocol), + int(algorithm), + b64decode(" ".join(key)), + ) return make_ds(zone, dnspy_dnskey, "SHA256").to_text() + dnskey_path = Path("dns") / "dnssec" dnskeys = list() for f in dnskey_path.iterdir(): @@ -199,14 +213,17 @@ def export_dnssec_dnskey(): zonekey["zone"] = zone else: assert zonekey["zone"] == zone - zonekey["records"].append({ - "dnskey": " ".join(dnskey), - "ds": ds_from_dnskey(zone, *dnskey), - }) + zonekey["records"].append( + { + "dnskey": " ".join(dnskey), + "ds": ds_from_dnskey(zone, *dnskey), + } + ) if zonekey["zone"]: dnskeys.append(zonekey) return dnskeys + def make_export(roa4, roa6): def modify_entity(entity): entity["nic_hdl"] = name_to_nic_hdl(entity["name"]) @@ -245,7 +262,7 @@ def make_export(roa4, roa6): } for owner, entity in entities.items() }, - "dnssec": export_dnssec_dnskey() + "dnssec": export_dnssec_dnskey(), } return json.dumps(output, indent=2) @@ -274,7 +291,10 @@ def make_rfc8416(roa4, roa6): "bgpsecAssertions": [], "prefixAssertions": [ pick( - roa, ["asn", "prefix"], maxLength="maxPrefixLength", name="comment", + roa, + ["asn", "prefix"], + maxLength="maxPrefixLength", + name="comment", ) for roa in (*roa4, *roa6) ], @@ -382,19 +402,51 @@ def make_summary(): print(prefix) print("```") IP_VRSIONS = {4, 6} - total_ip_count = {ver: sum([prefix.num_addresses for prefix in NEO_NETWORK_POOL if prefix.version == ver]) for ver in IP_VRSIONS} - used_ip_count = {ver: sum([ip_network(str(prefix)).num_addresses for prefix in prefixes if prefix.version == ver]) for ver in IP_VRSIONS} + total_ip_count = { + ver: sum( + [ + prefix.num_addresses + for prefix in NEO_NETWORK_POOL + if prefix.version == ver + ] + ) + for ver in IP_VRSIONS + } + used_ip_count = { + ver: sum( + [ + ip_network(str(prefix)).num_addresses + for prefix in prefixes + if prefix.version == ver + ] + ) + for ver in IP_VRSIONS + } print() print("## Address Space Usage") print() address_space_usage_table = tabulate( ( - (f"IPv{ver}", f"{(t:=total_ip_count.get(ver)):.5g}", f"{(u:=used_ip_count.get(ver)):.5g}", f"{t-u:.5g}", f"{u/t*100:.2f}%", f"{(t-u)/t*100:.2f}%") + ( + f"IPv{ver}", + f"{(t:=total_ip_count.get(ver)):.5g}", + f"{(u:=used_ip_count.get(ver)):.5g}", + f"{t-u:.5g}", + f"{u/t*100:.2f}%", + f"{(t-u)/t*100:.2f}%", + ) for ver in IP_VRSIONS ), - headers=["IP Version", "Total", "Used", "Free", "Percent Used", "Percent Free"], + headers=[ + "IP Version", + "Total", + "Used", + "Free", + "Percent Used", + "Percent Free", + ], tablefmt="github", - disable_numparse=True + disable_numparse=True, ) print(address_space_usage_table) return stream.getvalue() diff --git a/scripts/update-zone-serial.py b/scripts/update-zone-serial.py index 7ee4aa9..8394e6a 100755 --- a/scripts/update-zone-serial.py +++ b/scripts/update-zone-serial.py @@ -1,23 +1,24 @@ #!/usr/bin/env python3 -from pathlib import Path import subprocess -from time import time -from re import match from os import chdir +from pathlib import Path +from re import match +from time import time zone_files = [ - 'neonetwork', - 'db.10.127', - 'db.fd10.127', + "neonetwork", + "db.10.127", + "db.fd10.127", ] serial_base = 1586876035 new_serial = int(time()) - serial_base + def update_serial_to(zone: Path, serial: int = 0) -> int: lines = zone.read_text().split("\n") processed = list() - assert 0 <= serial <= 2**32 + assert 0 <= serial <= 2 ** 32 found = False old_serial = None for line in lines: @@ -34,6 +35,7 @@ def update_serial_to(zone: Path, serial: int = 0) -> int: zone.write_text("\n".join(processed)) return old_serial + for zone in zone_files: gen_zone = Path("generated") / "dns" / zone repo_zone = Path("dns") / zone @@ -42,7 +44,9 @@ for zone in zone_files: old_serial = update_serial_to(gen_zone) update_serial_to(repo_zone, old_serial) gen_zone.write_text(repo_zone.read_text()) - p = subprocess.run(['git', 'diff', '--exit-code', gen_zone.name], cwd=gen_zone.parent) + p = subprocess.run( + ["git", "diff", "--exit-code", gen_zone.name], cwd=gen_zone.parent + ) if p.returncode == 0: print(f"skip {repo_zone.name}") else: From 226855c5f26de67e3fd52cdb49b72e26d529bf23 Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 8 Jun 2021 08:53:11 +0800 Subject: [PATCH 11/28] dns: add DNSKEY to db --- scripts/dns-generator.py | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/scripts/dns-generator.py b/scripts/dns-generator.py index 62ae0dd..95e41c9 100755 --- a/scripts/dns-generator.py +++ b/scripts/dns-generator.py @@ -4,9 +4,14 @@ from pathlib import Path import toml -from rfc2317 import gen_reverse_pointers +from rfc2317 import gen_reverse_pointers, ZONE as RFC2317_ZONE +from roa import export_dnssec_dnskey -RESOLVE_FILE = Path("dns", "db.10.127") +ZONE_FILE_MAP = { + 'neo.': Path("dns", "neonetwork"), + '127.10.in-addr.arpa.': Path("dns", "db.10.127"), + '7.2.1.0.0.1.d.f.ip6.arpa.': Path("dns", "db.fd10.127") +} RFC2317_FILE = Path("dns", "rfc2317.toml") @@ -20,14 +25,20 @@ def iter_rfc2317_entry(): def main(): - orignal = RESOLVE_FILE.read_text() - records = [orignal, "; AUTOGENERATED"] - records.extend(("", "; rfc2317")) - for route, ns, ds, ttl in iter_rfc2317_entry(): - records.extend(gen_reverse_pointers(route, ns, ds, ttl)) + DNSKEYS = {entry['zone']: entry['records'] for entry in export_dnssec_dnskey()} + for zone, zone_file in ZONE_FILE_MAP.items(): + orignal = zone_file.read_text() + records = [orignal, "; AUTOGENERATED"] + if zone.strip('.') == RFC2317_ZONE.strip('.'): + records.extend(("", "; rfc2317")) + for route, ns, ds, ttl in iter_rfc2317_entry(): + records.extend(gen_reverse_pointers(route, ns, ds, ttl)) + records.append("") + records.extend(("", "; dnskey")) + for key_ds in DNSKEYS[zone]: + records.append(f"@ IN DNSKEY {key_ds['dnskey']}") records.append("") - - RESOLVE_FILE.write_text("\n".join(records)) + zone_file.write_text("\n".join(records)) if __name__ == "__main__": From fd8ba5ad90fd301fdb4ba91b91fce8137280754b Mon Sep 17 00:00:00 2001 From: KusakabeSi Date: Thu, 10 Jun 2021 20:06:02 +0800 Subject: [PATCH 12/28] register neonetwork --- asn/AS4201271111.toml | 3 +++ entity/kskb.toml | 19 +++++++++++++++++++ node/kskb.toml | 2 ++ route/AS4201271111.toml | 9 +++++++++ 4 files changed, 33 insertions(+) create mode 100644 asn/AS4201271111.toml create mode 100644 entity/kskb.toml create mode 100644 node/kskb.toml create mode 100644 route/AS4201271111.toml diff --git a/asn/AS4201271111.toml b/asn/AS4201271111.toml new file mode 100644 index 0000000..201908c --- /dev/null +++ b/asn/AS4201271111.toml @@ -0,0 +1,3 @@ +name = "kskb" +owner = "kskb" +desc = "kskb's network" diff --git a/entity/kskb.toml b/entity/kskb.toml new file mode 100644 index 0000000..5bb5daf --- /dev/null +++ b/entity/kskb.toml @@ -0,0 +1,19 @@ +name = "kskb" +babel = [ + "zh", + "en-3", +] + +[contact] +email = "dn42@kskb.eu.org" +irc = "kskb" +telegram = "KusakabeSi" +mastodon = "" +github = "KusakabeSi" + +# Details on identifying the entity online (optional). Usually, a PGP key +# fingerprint can be put here to help others communicate with the entity more +# securely. +[persona] +pgp = "716846E71E56F088BDF42E695A6761FECF4CAA65" + diff --git a/node/kskb.toml b/node/kskb.toml new file mode 100644 index 0000000..b96e996 --- /dev/null +++ b/node/kskb.toml @@ -0,0 +1,2 @@ +[KSKB-HK1] +asn = 4201271111 diff --git a/route/AS4201271111.toml b/route/AS4201271111.toml new file mode 100644 index 0000000..d8577dc --- /dev/null +++ b/route/AS4201271111.toml @@ -0,0 +1,9 @@ +["10.127.111.0/24"] +type = "subnet" +name = "kskb" +description = "kskb" + +["fd10:127:e00f::/48"] +type = "subnet" +name = "kskb" +description = "kskb" From f07d2b3d3c1c0a5e6aa53728abda890ef3ea28df Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Sat, 12 Jun 2021 18:32:01 +0800 Subject: [PATCH 13/28] AS4201270030: Allow DN42 AS4242420288 origin --- asn/AS4242420288.toml | 3 +++ route/AS4242420288.toml | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 asn/AS4242420288.toml create mode 100644 route/AS4242420288.toml diff --git a/asn/AS4242420288.toml b/asn/AS4242420288.toml new file mode 100644 index 0000000..535e9de --- /dev/null +++ b/asn/AS4242420288.toml @@ -0,0 +1,3 @@ +name = "IWARP-DN42" +owner = "Yux" +desc = "IWARP DN42 Network" diff --git a/route/AS4242420288.toml b/route/AS4242420288.toml new file mode 100644 index 0000000..74088bf --- /dev/null +++ b/route/AS4242420288.toml @@ -0,0 +1,9 @@ +["10.127.30.0/24"] +type = "subnet" +name = "IWARP-NEO-IP4-NETWORK" +description = "IWarp Global Experimental NeoNetwork - IPv4" + +["fd10:127:30::/48"] +type = "subnet" +name = "IWARP-NEO-IP6-NETWORK" +description = "IWarp Global Experimental NeoNetwork - IPv6" From 00dfa32db9f6668f81d52df737e0b15632606478 Mon Sep 17 00:00:00 2001 From: Junde Yhi Date: Sun, 20 Jun 2021 16:25:27 +0100 Subject: [PATCH 14/28] AS4201270012: batch update - change "Yhi Interconnect" to "Yhi Interconnection". - change contact email. - allocate a new /28 subnet yhi-s, following /28 yhi-h. - register a new node, yhi-s. --- asn/AS4201270012.toml | 2 +- entity/Junde Yhi.toml | 2 +- node/yhi-h.toml | 2 -- node/yhi.toml | 9 +++++++++ route/AS4201270012.toml | 7 ++++++- 5 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 node/yhi-h.toml create mode 100644 node/yhi.toml diff --git a/asn/AS4201270012.toml b/asn/AS4201270012.toml index 08eda8f..943cbc5 100644 --- a/asn/AS4201270012.toml +++ b/asn/AS4201270012.toml @@ -1,2 +1,2 @@ -name = "Yhi Interconnect" +name = "Yhi Interconnection" owner = "Junde Yhi" diff --git a/entity/Junde Yhi.toml b/entity/Junde Yhi.toml index ec221d3..c9f6250 100644 --- a/entity/Junde Yhi.toml +++ b/entity/Junde Yhi.toml @@ -11,7 +11,7 @@ babel = [ ] [contact] -email = "lmy441900@live.com" +email = "neonetwork@yhi.moe" telegram = "lmy441900" mastodon = "@lmy441900@sn.angry.im" github = "lmy441900" diff --git a/node/yhi-h.toml b/node/yhi-h.toml deleted file mode 100644 index 77c68bd..0000000 --- a/node/yhi-h.toml +++ /dev/null @@ -1,2 +0,0 @@ -[yhi-h] -asn = 4201270012 diff --git a/node/yhi.toml b/node/yhi.toml new file mode 100644 index 0000000..b4d01f3 --- /dev/null +++ b/node/yhi.toml @@ -0,0 +1,9 @@ +[yhi-h] +asn = 4201270012 +description = "Yhi Interconnection Region H Edge Router" +cidr = ["10.127.5.1/28"] + +[yhi-s] +asn = 4201270012 +description = "Yhi Interconnection Region S Edge Router" +cidr = ["10.127.5.17/28"] diff --git a/route/AS4201270012.toml b/route/AS4201270012.toml index 48f4f77..23223a0 100644 --- a/route/AS4201270012.toml +++ b/route/AS4201270012.toml @@ -1,4 +1,9 @@ ["10.127.5.0/28"] type = "subnet" name = "yhi-h" -description = "Yhi Interconnect H" +description = "Yhi Interconnection Region H" + +["10.127.5.16/28"] +type = "subnet" +name = "yhi-s" +description = "Yhi Interconnection Region S" From 463805f2a14eefd8a6bd22c0c475a95c86912e85 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 30 Jun 2021 14:03:59 +0800 Subject: [PATCH 15/28] Add new asn from DN42 and allocate new prefixes. --- asn/AS4242421331.toml | 3 +++ asn/AS4242421332.toml | 3 +++ entity/Yukari.toml | 7 +++++-- node/Yukari.toml | 6 ++++++ route/AS4242421332.toml | 9 +++++++++ 5 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 asn/AS4242421331.toml create mode 100644 asn/AS4242421332.toml create mode 100644 route/AS4242421332.toml diff --git a/asn/AS4242421331.toml b/asn/AS4242421331.toml new file mode 100644 index 0000000..cdf3050 --- /dev/null +++ b/asn/AS4242421331.toml @@ -0,0 +1,3 @@ +name = "Niantic Network" +owner = "Yukari" +description = "Niantic Network Backbone" diff --git a/asn/AS4242421332.toml b/asn/AS4242421332.toml new file mode 100644 index 0000000..97f9e5b --- /dev/null +++ b/asn/AS4242421332.toml @@ -0,0 +1,3 @@ +name = "Niantic Network CN" +owner = "Yukari" +description = "Niantic Network China" diff --git a/entity/Yukari.toml b/entity/Yukari.toml index 2305386..9d43e73 100644 --- a/entity/Yukari.toml +++ b/entity/Yukari.toml @@ -2,5 +2,8 @@ name = "Yukari" [contact] telegram = "CharlesYang" -github = "SteveCharlesYang" -email = "charles@0x7f.cc" +github = "YukariChiba" +email = "i@0x7f.cc" + +[persona] +pgp = "9DC663829861B7FDFB5DA8B39277CB21961D6DD5" diff --git a/node/Yukari.toml b/node/Yukari.toml index 14ac120..3cf0405 100644 --- a/node/Yukari.toml +++ b/node/Yukari.toml @@ -1,3 +1,9 @@ [IX42-LAS] asn = 207268 cidr = ["10.127.131.0/24", "fd10:127:1300::/48"] + +[NIA-NET] +asn = 4242421331 + +[NIACN-NET] +asn = 4242421332 diff --git a/route/AS4242421332.toml b/route/AS4242421332.toml new file mode 100644 index 0000000..43c7df0 --- /dev/null +++ b/route/AS4242421332.toml @@ -0,0 +1,9 @@ +["10.127.132.0/24"] +type = "subnet" +name = "NetUnion-IPv4" +description = "NetUnion access. (IPv4)" + +["fd10:127:1332::/48"] +type = "subnet" +name = "NetUnion-IPv6" +description = "NetUnion access. (IPv6)" From a0d719909133e37e57cbc5779151e90c30432e75 Mon Sep 17 00:00:00 2001 From: Anillc Date: Sat, 3 Jul 2021 16:20:25 +0800 Subject: [PATCH 16/28] change the gpg public key --- entity/Anillc.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/Anillc.toml b/entity/Anillc.toml index 46ff946..662b683 100644 --- a/entity/Anillc.toml +++ b/entity/Anillc.toml @@ -5,4 +5,4 @@ email = "noc@anillc.cn" github = "Anillc" [persona] -pgp = "DCD75832819A6CAB61C8F7D337F54FEE22679910" +pgp = "BB47FA42A55975F74AE19EF8918F98A096F9533C" From 2d8d4c73d6c811eb4b708ea971ddd04585e34e23 Mon Sep 17 00:00:00 2001 From: Koala Date: Mon, 5 Jul 2021 20:28:19 +0800 Subject: [PATCH 17/28] update dns --- dns/neonetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/neonetwork b/dns/neonetwork index 284c9d5..948fa41 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -123,7 +123,7 @@ ns3.fixmix IN AAAA fd10:127:aa66:31:: bear IN NS ns1.bear koala IN NS ns1.bear -ns1.bear IN AAAA fd10:127:1488:: +ns1.bear IN AAAA fd42:e621::53 iwarp IN NS ns1.iwarp go IN NS ns1.iwarp From a471d17021145ca94bf09e056564759abdcb15ac Mon Sep 17 00:00:00 2001 From: root Date: Mon, 26 Jul 2021 17:54:10 +0800 Subject: [PATCH 18/28] Register AS4201270099 --- asn/AS4201270099.toml | 3 +++ dns/db.10.127 | 3 +++ dns/db.fd10.127 | 3 +++ dns/neonetwork | 6 ++++++ entity/TsingYao.toml | 10 ++++++++++ node/TsingYao.toml | 3 +++ route/AS4201270099.toml | 9 +++++++++ 7 files changed, 37 insertions(+) create mode 100644 asn/AS4201270099.toml create mode 100644 entity/TsingYao.toml create mode 100644 node/TsingYao.toml create mode 100644 route/AS4201270099.toml diff --git a/asn/AS4201270099.toml b/asn/AS4201270099.toml new file mode 100644 index 0000000..1e1bfff --- /dev/null +++ b/asn/AS4201270099.toml @@ -0,0 +1,3 @@ +name = "TsingYao" +owner = "TsingYao" +description = "TsingYao NeoNetwork Network" diff --git a/dns/db.10.127 b/dns/db.10.127 index 46b0daa..0c71c9c 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -93,3 +93,6 @@ $TTL 3600 66 IN NS ns1.fixmix.neo. 66 IN NS ns2.fixmix.neo. 66 IN NS ns3.fixmix.neo. + +99 IN NS ns1.tsingyao.neo. +99 IN NS ns2.tsingyao.neo. diff --git a/dns/db.fd10.127 b/dns/db.fd10.127 index 854579d..341426b 100644 --- a/dns/db.fd10.127 +++ b/dns/db.fd10.127 @@ -49,3 +49,6 @@ $TTL 3600 8.8.4.1 IN NS ns1.bear.neo. c.c.0.0 IN NS ns1.an.dn42. + +9.9.0.0 IN NS ns1.tsingyao.neo. +9.9.0.0 IN NS ns2.tsingyao.neo. diff --git a/dns/neonetwork b/dns/neonetwork index 948fa41..172ab38 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -133,3 +133,9 @@ ns1.iwarp IN AAAA fd10:127:30:53::1 an IN NS ns1.an.dn42. +tsingyao IN NS ns1.tsingyao +tsingyao IN NS ns2.tsingyao +ns1.tsingyao IN A 10.127.99.1 +ns1.tsingyao IN AAAA fd10:127:99:1::1 +ns2.tsingyao IN A 10.127.99.2 +ns2.tsingyao IN AAAA fd10:127:99:2::1 diff --git a/entity/TsingYao.toml b/entity/TsingYao.toml new file mode 100644 index 0000000..4a76544 --- /dev/null +++ b/entity/TsingYao.toml @@ -0,0 +1,10 @@ +name = "TsingYao" + +[contact] +email = "yujintong@126.com" +telegram = "@yujintong" +irc = "yujintong" +github = "yujintong" + +[persona] +pgp = "DD515D58188FBD2F9AF484F8AD04D02E24AC52C9" diff --git a/node/TsingYao.toml b/node/TsingYao.toml new file mode 100644 index 0000000..a4a45f5 --- /dev/null +++ b/node/TsingYao.toml @@ -0,0 +1,3 @@ +[TsingYao] +asn = 4201270099 +description = "TsingYao Interconnection Region Edge Router" diff --git a/route/AS4201270099.toml b/route/AS4201270099.toml new file mode 100644 index 0000000..46e4080 --- /dev/null +++ b/route/AS4201270099.toml @@ -0,0 +1,9 @@ +["10.127.99.0/24"] +type = "subnet" +name = "TSINTYAO-NET4-NEOA" +description = "TsingYao Technologies NeoNetwork IPv4 Block" + +["fd10:127:99::/48"] +type = "subnet" +name = "TSINGYAO-NET6-NEOA" +description = "TsingYao Technologies NeoNetwork IPv6 Block" From 8023715e9b13da756aeb76526d40d60872eff31d Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 30 Jul 2021 22:57:14 +0800 Subject: [PATCH 19/28] add lily.neo Signed-off-by: lilydjwg --- dns/db.10.127 | 2 ++ dns/db.fd10.127 | 2 ++ dns/neonetwork | 3 +++ 3 files changed, 7 insertions(+) diff --git a/dns/db.10.127 b/dns/db.10.127 index 0c71c9c..21b0282 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -46,6 +46,8 @@ $TTL 3600 130.8 IN PTR edwardp.neo. +137.8 IN PTR lily.neo + ; Loopback Addresses 1.255 IN PTR NeoPDP-11.neo. diff --git a/dns/db.fd10.127 b/dns/db.fd10.127 index 341426b..d070010 100644 --- a/dns/db.fd10.127 +++ b/dns/db.fd10.127 @@ -13,6 +13,8 @@ $TTL 3600 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.3.c.1.3.3.2.0 IN PTR liqingge.router.br-koishi.lo.she.as141706.koishi.moe. 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.2.f.2 IN PTR edwardp.neo. +7.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.e.7.a.b IN PTR lily.neo. + ; Loopback Addresses 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.5.0.0.f.f.f.f IN PTR root-dns.neo. diff --git a/dns/neonetwork b/dns/neonetwork index 172ab38..2982862 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -37,6 +37,9 @@ edwardp IN AAAA fd10:127:2f2f:: tv IN A 10.127.15.58 +lily IN A 10.127.8.137 +lily IN AAAA fd10:127:ba7e::137 + ; DELEGATED ZONES jerry IN NS ns1.jerry jerry IN NS ns2.jerry From 59fcc762b339cc243f3678a1bf1ca4df0b1f583b Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 30 Jul 2021 23:25:18 +0800 Subject: [PATCH 20/28] fix lily.neo. PTR Signed-off-by: lilydjwg --- dns/db.10.127 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/db.10.127 b/dns/db.10.127 index 21b0282..6a59598 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -46,7 +46,7 @@ $TTL 3600 130.8 IN PTR edwardp.neo. -137.8 IN PTR lily.neo +137.8 IN PTR lily.neo. ; Loopback Addresses From 496ab28b85d3f58935a7d772ab6307bab78744fe Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Sun, 8 Aug 2021 13:58:47 +0800 Subject: [PATCH 21/28] Update Baoshuo Neo Network --- asn/AS4201270017.toml | 2 +- route/AS141776.toml | 4 ++-- route/AS4201270017.toml | 4 ++-- route/AS4242420247.toml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/asn/AS4201270017.toml b/asn/AS4201270017.toml index aac9f4c..495017d 100644 --- a/asn/AS4201270017.toml +++ b/asn/AS4201270017.toml @@ -1,3 +1,3 @@ name = "BAOSHUO-AS-NEO" owner = "Ren Baoshuo" -description = "Baoshuo Network" \ No newline at end of file +description = "Baoshuo Neo Network" diff --git a/route/AS141776.toml b/route/AS141776.toml index fb1b8ca..055c4ac 100644 --- a/route/AS141776.toml +++ b/route/AS141776.toml @@ -1,9 +1,9 @@ -["10.127.60.0/24"] +["10.127.17.0/24"] type = "subnet" name = "BAOSHUO-NEO-V4-1" description = "Baoshuo Neo Network" -["fd10:127:9898::/48"] +["fd10:127:17::/48"] type = "subnet" name = "BAOSHUO-NEO-V6-1" description = "Baoshuo Neo Network" diff --git a/route/AS4201270017.toml b/route/AS4201270017.toml index fb1b8ca..055c4ac 100644 --- a/route/AS4201270017.toml +++ b/route/AS4201270017.toml @@ -1,9 +1,9 @@ -["10.127.60.0/24"] +["10.127.17.0/24"] type = "subnet" name = "BAOSHUO-NEO-V4-1" description = "Baoshuo Neo Network" -["fd10:127:9898::/48"] +["fd10:127:17::/48"] type = "subnet" name = "BAOSHUO-NEO-V6-1" description = "Baoshuo Neo Network" diff --git a/route/AS4242420247.toml b/route/AS4242420247.toml index fb1b8ca..055c4ac 100644 --- a/route/AS4242420247.toml +++ b/route/AS4242420247.toml @@ -1,9 +1,9 @@ -["10.127.60.0/24"] +["10.127.17.0/24"] type = "subnet" name = "BAOSHUO-NEO-V4-1" description = "Baoshuo Neo Network" -["fd10:127:9898::/48"] +["fd10:127:17::/48"] type = "subnet" name = "BAOSHUO-NEO-V6-1" description = "Baoshuo Neo Network" From c554e676b6feddc365cc4cf5c7b5c30365209887 Mon Sep 17 00:00:00 2001 From: Gu JunQing Date: Mon, 9 Aug 2021 14:51:19 +0800 Subject: [PATCH 22/28] Update TsingYao Neo Network information Signed-off-by: Gu JunQing --- asn/AS4201270099.toml | 4 ++-- asn/AS4242423699.toml | 3 +++ dns/neonetwork | 18 ++++++++++++------ entity/TsingYao.toml | 4 ++-- route/AS4201270099.toml | 8 ++++---- route/AS4242423699.toml | 9 +++++++++ 6 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 asn/AS4242423699.toml create mode 100644 route/AS4242423699.toml diff --git a/asn/AS4201270099.toml b/asn/AS4201270099.toml index 1e1bfff..c7696e5 100644 --- a/asn/AS4201270099.toml +++ b/asn/AS4201270099.toml @@ -1,3 +1,3 @@ -name = "TsingYao" +name = "AS-NEO-TSINGYAO" owner = "TsingYao" -description = "TsingYao NeoNetwork Network" +description = "TsingYao Neo Network" diff --git a/asn/AS4242423699.toml b/asn/AS4242423699.toml new file mode 100644 index 0000000..c7696e5 --- /dev/null +++ b/asn/AS4242423699.toml @@ -0,0 +1,3 @@ +name = "AS-NEO-TSINGYAO" +owner = "TsingYao" +description = "TsingYao Neo Network" diff --git a/dns/neonetwork b/dns/neonetwork index 2982862..0f9c8c0 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -136,9 +136,15 @@ ns1.iwarp IN AAAA fd10:127:30:53::1 an IN NS ns1.an.dn42. -tsingyao IN NS ns1.tsingyao -tsingyao IN NS ns2.tsingyao -ns1.tsingyao IN A 10.127.99.1 -ns1.tsingyao IN AAAA fd10:127:99:1::1 -ns2.tsingyao IN A 10.127.99.2 -ns2.tsingyao IN AAAA fd10:127:99:2::1 +dnswol IN NS ns1.dnswol +dnswol IN NS ns2.dnswol +dnswol IN DS 53285 14 1 88971c954d18aa1224a1b01e54c81dc6cd71a86e +dnswol IN DS 53285 14 2 d782d7d9afec4e20082913fe2f23fd9e2c0e0ad7206fa389cadc4050d11b7e80 +dnswol IN DS 53285 14 4 1c0fcf050b4000de0648a8e25a8e809e35b7501c846ad785f07e2c4296610c305d217cb5113c34f937f62780e82b5e98 +ns1.dnswol IN A 10.127.99.50 +ns1.dnswol IN AAAA fd10:127:99::32:1 +ns2.dnswol IN A 10.127.99.51 +ns2.dnswol IN AAAA fd10:127:99::33:1 + +tsingyao IN NS ns1.dnswol +tsingyao IN NS ns2.dnswol diff --git a/entity/TsingYao.toml b/entity/TsingYao.toml index 4a76544..3101203 100644 --- a/entity/TsingYao.toml +++ b/entity/TsingYao.toml @@ -1,9 +1,9 @@ name = "TsingYao" +babel = ["zh-N", "en"] [contact] email = "yujintong@126.com" -telegram = "@yujintong" -irc = "yujintong" +telegram = "yujintong" github = "yujintong" [persona] diff --git a/route/AS4201270099.toml b/route/AS4201270099.toml index 46e4080..dc46e7e 100644 --- a/route/AS4201270099.toml +++ b/route/AS4201270099.toml @@ -1,9 +1,9 @@ ["10.127.99.0/24"] type = "subnet" -name = "TSINTYAO-NET4-NEOA" -description = "TsingYao Technologies NeoNetwork IPv4 Block" +name = "TSINTYAO-NEO-NET4" +description = "TsingYao Neo Network IPv4 Block" ["fd10:127:99::/48"] type = "subnet" -name = "TSINGYAO-NET6-NEOA" -description = "TsingYao Technologies NeoNetwork IPv6 Block" +name = "TSINGYAO-NEO-NET6" +description = "TsingYao Neo Network IPv6 Block" diff --git a/route/AS4242423699.toml b/route/AS4242423699.toml new file mode 100644 index 0000000..dc46e7e --- /dev/null +++ b/route/AS4242423699.toml @@ -0,0 +1,9 @@ +["10.127.99.0/24"] +type = "subnet" +name = "TSINTYAO-NEO-NET4" +description = "TsingYao Neo Network IPv4 Block" + +["fd10:127:99::/48"] +type = "subnet" +name = "TSINGYAO-NEO-NET6" +description = "TsingYao Neo Network IPv6 Block" From 03d236fe77089c8d1f6755eb05bb5d2f68f2d6aa Mon Sep 17 00:00:00 2001 From: Neo_Chen Date: Wed, 18 Aug 2021 21:47:10 +0800 Subject: [PATCH 23/28] AS4201270000: tidy-up --- route/AS4201270000.toml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/route/AS4201270000.toml b/route/AS4201270000.toml index 47c8f1c..c2af31c 100644 --- a/route/AS4201270000.toml +++ b/route/AS4201270000.toml @@ -5,33 +5,23 @@ description = "Reserved" ["10.127.1.0/24"] type = "subnet" -name = "CROOM" -description = "LAN at school" +name = "MAIN" +description = "LAN 1" ["10.127.2.0/24"] type = "subnet" -name = "NeoSystem" +name = "Messed-up Network" ["10.127.16.0/24"] type = "subnet" name = "Neo_Chen ZeroTier-One Hub" description = "" -["10.127.255.1/32"] -type = "loopback" -name = "NeoPDP-11" -description = "FreeBSD/frr" - ["10.127.255.4/32"] type = "loopback" name = "fsnvax" description = "Debian/frr" -["10.127.255.80/32"] -type = "loopback" -name = "NeoSystem" -description = "Arch Linux/frr" - ["fd10:127:5f37:59df::/64"] type = "subnet" name = "NeoNetwork Origin" From 12d98362df506518568580432c59ea4476499e17 Mon Sep 17 00:00:00 2001 From: Anillc Date: Wed, 18 Aug 2021 22:23:52 +0800 Subject: [PATCH 24/28] register a new asn Signed-off-by: Anillc --- asn/AS4201272526.toml | 3 +++ route/AS4201272526.toml | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 asn/AS4201272526.toml create mode 100644 route/AS4201272526.toml diff --git a/asn/AS4201272526.toml b/asn/AS4201272526.toml new file mode 100644 index 0000000..542a8cf --- /dev/null +++ b/asn/AS4201272526.toml @@ -0,0 +1,3 @@ +name = "ANILLC-AS-NEO" +owner = "Anillc" +description = "Anillc NEO Network" diff --git a/route/AS4201272526.toml b/route/AS4201272526.toml new file mode 100644 index 0000000..eab3460 --- /dev/null +++ b/route/AS4201272526.toml @@ -0,0 +1,7 @@ +["10.127.3.0/24"] +type = "subnet" +name = "Anillc NEO Network v4" + +["fd10:127:ee::/48"] +type = "subnet" +name = "Anillc NEO Network v6" \ No newline at end of file From f21703b8ddeba4f92b3318c49a4c109d3a756b33 Mon Sep 17 00:00:00 2001 From: Anillc Date: Wed, 18 Aug 2021 22:38:41 +0800 Subject: [PATCH 25/28] add break line Signed-off-by: Anillc --- route/AS4201272526.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/AS4201272526.toml b/route/AS4201272526.toml index eab3460..a28a041 100644 --- a/route/AS4201272526.toml +++ b/route/AS4201272526.toml @@ -4,4 +4,4 @@ name = "Anillc NEO Network v4" ["fd10:127:ee::/48"] type = "subnet" -name = "Anillc NEO Network v6" \ No newline at end of file +name = "Anillc NEO Network v6" From ac74a90ffd8f14ce2c97942e6dea9e4f957fa3be Mon Sep 17 00:00:00 2001 From: masnn Date: Thu, 19 Aug 2021 19:02:35 +0000 Subject: [PATCH 26/28] register a new asn Signed-off-by: masnn --- asn/AS4201279999.toml | 2 ++ entity/undefined.toml | 7 +++++++ route/AS4201279999.toml | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 asn/AS4201279999.toml create mode 100644 entity/undefined.toml create mode 100644 route/AS4201279999.toml diff --git a/asn/AS4201279999.toml b/asn/AS4201279999.toml new file mode 100644 index 0000000..ff55cbe --- /dev/null +++ b/asn/AS4201279999.toml @@ -0,0 +1,2 @@ +name = "Hydro-Neo-Network" +owner = "undefined" diff --git a/entity/undefined.toml b/entity/undefined.toml new file mode 100644 index 0000000..42b29cc --- /dev/null +++ b/entity/undefined.toml @@ -0,0 +1,7 @@ +name = "undefined" +babel = ["zh", "en-3"] + +[contact] +email = "i@undefined.moe" +telegram = "webpack_exports_undefined" +github = "undefined-moe" diff --git a/route/AS4201279999.toml b/route/AS4201279999.toml new file mode 100644 index 0000000..c6e2ad7 --- /dev/null +++ b/route/AS4201279999.toml @@ -0,0 +1,3 @@ +["10.127.88.0/24"] +type = "subnet" +name = "Hydro-Neo-Network" From dbd2a934b105e872dbb71ccc27569837bb244ed0 Mon Sep 17 00:00:00 2001 From: masnn Date: Thu, 19 Aug 2021 19:14:43 +0000 Subject: [PATCH 27/28] add dns & ipv6 Signed-off-by: masnn --- dns/neonetwork | 5 +++++ route/AS4201279999.toml | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dns/neonetwork b/dns/neonetwork index 0f9c8c0..1dd6e8c 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -148,3 +148,8 @@ ns2.dnswol IN AAAA fd10:127:99::33:1 tsingyao IN NS ns1.dnswol tsingyao IN NS ns2.dnswol + +undefiend IN A 10.127.88.1 +*.undefined IN A 10.127.88.1 +undefiend IN AAAA fd10:127:88::1 +*.undefined IN AAAA fd10:127:88::1 diff --git a/route/AS4201279999.toml b/route/AS4201279999.toml index c6e2ad7..1ad18a8 100644 --- a/route/AS4201279999.toml +++ b/route/AS4201279999.toml @@ -1,3 +1,8 @@ ["10.127.88.0/24"] type = "subnet" -name = "Hydro-Neo-Network" +name = "Hydro-Neo-Network-4" + +["fd10:127:88::/48"] +type = "subnet" +name = "Hydro-Neo-Network-6" + From 89065b6a938331529a8a38bdfe68649314689795 Mon Sep 17 00:00:00 2001 From: masnn Date: Thu, 19 Aug 2021 19:31:20 +0000 Subject: [PATCH 28/28] update name Signed-off-by: undefined Signed-off-by: masnn --- asn/AS4201279999.toml | 2 +- dns/neonetwork | 8 ++++---- entity/{undefined.toml => undefined-moe.toml} | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename entity/{undefined.toml => undefined-moe.toml} (84%) diff --git a/asn/AS4201279999.toml b/asn/AS4201279999.toml index ff55cbe..ff58c11 100644 --- a/asn/AS4201279999.toml +++ b/asn/AS4201279999.toml @@ -1,2 +1,2 @@ name = "Hydro-Neo-Network" -owner = "undefined" +owner = "undefined-moe" diff --git a/dns/neonetwork b/dns/neonetwork index 1dd6e8c..c800aeb 100644 --- a/dns/neonetwork +++ b/dns/neonetwork @@ -149,7 +149,7 @@ ns2.dnswol IN AAAA fd10:127:99::33:1 tsingyao IN NS ns1.dnswol tsingyao IN NS ns2.dnswol -undefiend IN A 10.127.88.1 -*.undefined IN A 10.127.88.1 -undefiend IN AAAA fd10:127:88::1 -*.undefined IN AAAA fd10:127:88::1 +undefiend.moe IN A 10.127.88.1 +*.undefined.moe IN A 10.127.88.1 +undefiend.moe IN AAAA fd10:127:88::1 +*.undefined.moe IN AAAA fd10:127:88::1 diff --git a/entity/undefined.toml b/entity/undefined-moe.toml similarity index 84% rename from entity/undefined.toml rename to entity/undefined-moe.toml index 42b29cc..12f9ea1 100644 --- a/entity/undefined.toml +++ b/entity/undefined-moe.toml @@ -1,4 +1,4 @@ -name = "undefined" +name = "undefined-moe" babel = ["zh", "en-3"] [contact]