diff options
33 files changed, 63 insertions, 0 deletions
diff --git a/db/as/975/owner b/db/as/975/owner new file mode 100644 index 0000000..70df60c --- /dev/null +++ b/db/as/975/owner @@ -0,0 +1 @@ +Name diff --git a/db/dom/ano/name/ns/1.22.22.1 b/db/dom/ano/name/ns/1.22.22.1 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/db/dom/ano/name/ns/1.22.22.1 @@ -0,0 +1 @@ + diff --git a/db/dom/ano/name/owner b/db/dom/ano/name/owner new file mode 100644 index 0000000..70df60c --- /dev/null +++ b/db/dom/ano/name/owner @@ -0,0 +1 @@ +Name diff --git a/db/ip/01/16/16/cidr b/db/ip/01/16/16/cidr new file mode 100644 index 0000000..0b65e0e --- /dev/null +++ b/db/ip/01/16/16/cidr @@ -0,0 +1 @@ +1.22.22.0/24 diff --git a/db/ip/01/16/16/owner b/db/ip/01/16/16/owner new file mode 100644 index 0000000..70df60c --- /dev/null +++ b/db/ip/01/16/16/owner @@ -0,0 +1 @@ +Name diff --git a/db/udpmsg4/FFF/@/.gitignore b/db/udpmsg4/FFF/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/FFF/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/FFF/@/default.key b/db/udpmsg4/FFF/@/default.key new file mode 100644 index 0000000..35c33c2 --- /dev/null +++ b/db/udpmsg4/FFF/@/default.key @@ -0,0 +1 @@ +e514dbf335addab8f95e14084f9948e549b73078befbbf61328bf63c5dcfca27 diff --git a/db/udpmsg4/FFF/@/owner b/db/udpmsg4/FFF/@/owner new file mode 100644 index 0000000..951382c --- /dev/null +++ b/db/udpmsg4/FFF/@/owner @@ -0,0 +1 @@ +keiko diff --git a/db/udpmsg4/FFF/@/path b/db/udpmsg4/FFF/@/path new file mode 100644 index 0000000..6adb96f --- /dev/null +++ b/db/udpmsg4/FFF/@/path @@ -0,0 +1 @@ +/FFF diff --git a/db/udpmsg4/IcannNet/@/.gitignore b/db/udpmsg4/IcannNet/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/IcannNet/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/IcannNet/@/default.key b/db/udpmsg4/IcannNet/@/default.key new file mode 100644 index 0000000..0f741ab --- /dev/null +++ b/db/udpmsg4/IcannNet/@/default.key @@ -0,0 +1 @@ +042e1a6f24b0847ceee261a9f213ffe1fa17dfd4e62348604cb2e2156ce20d3a diff --git a/db/udpmsg4/IcannNet/@/owner b/db/udpmsg4/IcannNet/@/owner new file mode 100644 index 0000000..c6bbba7 --- /dev/null +++ b/db/udpmsg4/IcannNet/@/owner @@ -0,0 +1 @@ +icann diff --git a/db/udpmsg4/IcannNet/@/path b/db/udpmsg4/IcannNet/@/path new file mode 100644 index 0000000..41260ab --- /dev/null +++ b/db/udpmsg4/IcannNet/@/path @@ -0,0 +1 @@ +/IcannNet diff --git a/db/udpmsg4/IcannNet/Clandestine/@/.gitignore b/db/udpmsg4/IcannNet/Clandestine/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/IcannNet/Clandestine/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/IcannNet/Clandestine/@/default.key b/db/udpmsg4/IcannNet/Clandestine/@/default.key new file mode 100644 index 0000000..3b68482 --- /dev/null +++ b/db/udpmsg4/IcannNet/Clandestine/@/default.key @@ -0,0 +1 @@ +3de75a1b61212b15838ebb57cc29dd5731d240cb83816894e761ccd0e1ef6d42 diff --git a/db/udpmsg4/IcannNet/Clandestine/@/owner b/db/udpmsg4/IcannNet/Clandestine/@/owner new file mode 100644 index 0000000..ca4bab5 --- /dev/null +++ b/db/udpmsg4/IcannNet/Clandestine/@/owner @@ -0,0 +1 @@ +d3v11 diff --git a/db/udpmsg4/IcannNet/Clandestine/@/path b/db/udpmsg4/IcannNet/Clandestine/@/path new file mode 100644 index 0000000..7c3a1e0 --- /dev/null +++ b/db/udpmsg4/IcannNet/Clandestine/@/path @@ -0,0 +1 @@ +/IcannNet/Clandestine diff --git a/db/udpmsg4/NeXuS/@/.gitignore b/db/udpmsg4/NeXuS/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/NeXuS/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/NeXuS/@/default.key b/db/udpmsg4/NeXuS/@/default.key new file mode 100644 index 0000000..83087d2 --- /dev/null +++ b/db/udpmsg4/NeXuS/@/default.key @@ -0,0 +1 @@ +ab6f47bcfd1a50ae62762bd94c4a8ec5e2b5bf60cb97aae2d4f52fa519fd447f diff --git a/db/udpmsg4/NeXuS/@/owner b/db/udpmsg4/NeXuS/@/owner new file mode 100644 index 0000000..e1e396d --- /dev/null +++ b/db/udpmsg4/NeXuS/@/owner @@ -0,0 +1 @@ +mama diff --git a/db/udpmsg4/NeXuS/@/path b/db/udpmsg4/NeXuS/@/path new file mode 100644 index 0000000..cbe2f9a --- /dev/null +++ b/db/udpmsg4/NeXuS/@/path @@ -0,0 +1 @@ +/NeXus diff --git a/db/udpmsg4/relayhell/WeeD/@/.gitignore b/db/udpmsg4/relayhell/WeeD/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/relayhell/WeeD/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/relayhell/WeeD/@/default.key b/db/udpmsg4/relayhell/WeeD/@/default.key new file mode 100644 index 0000000..31802a3 --- /dev/null +++ b/db/udpmsg4/relayhell/WeeD/@/default.key @@ -0,0 +1 @@ +c26b04eaeadb83e256b915e911e4c3c3f52ba9dbd71cd226fc0ef3db08cb006c diff --git a/db/udpmsg4/relayhell/WeeD/@/owner b/db/udpmsg4/relayhell/WeeD/@/owner new file mode 100644 index 0000000..46f3c04 --- /dev/null +++ b/db/udpmsg4/relayhell/WeeD/@/owner @@ -0,0 +1 @@ +weed diff --git a/db/udpmsg4/relayhell/WeeD/@/path b/db/udpmsg4/relayhell/WeeD/@/path new file mode 100644 index 0000000..370bf9b --- /dev/null +++ b/db/udpmsg4/relayhell/WeeD/@/path @@ -0,0 +1 @@ +/relayhell/WeeD diff --git a/db/udpmsg4/relayhell/nyx/@/.gitignore b/db/udpmsg4/relayhell/nyx/@/.gitignore new file mode 100644 index 0000000..b19a917 --- /dev/null +++ b/db/udpmsg4/relayhell/nyx/@/.gitignore @@ -0,0 +1 @@ +temp.keys diff --git a/db/udpmsg4/relayhell/nyx/@/default.key b/db/udpmsg4/relayhell/nyx/@/default.key new file mode 100644 index 0000000..6c1c3dc --- /dev/null +++ b/db/udpmsg4/relayhell/nyx/@/default.key @@ -0,0 +1 @@ +89b2093e7579c5568cc2301ad08efea743059ecb4e0b15b28fca9b1abdc41267 diff --git a/db/udpmsg4/relayhell/nyx/@/owner b/db/udpmsg4/relayhell/nyx/@/owner new file mode 100644 index 0000000..8d51a09 --- /dev/null +++ b/db/udpmsg4/relayhell/nyx/@/owner @@ -0,0 +1 @@ +nyx diff --git a/db/udpmsg4/relayhell/nyx/@/path b/db/udpmsg4/relayhell/nyx/@/path new file mode 100644 index 0000000..02269e3 --- /dev/null +++ b/db/udpmsg4/relayhell/nyx/@/path @@ -0,0 +1 @@ +/relayhell/nyx diff --git a/db/udpmsg4_chat/anonet/@/owner b/db/udpmsg4_chat/anonet/@/owner new file mode 100644 index 0000000..d6d8c78 --- /dev/null +++ b/db/udpmsg4_chat/anonet/@/owner @@ -0,0 +1 @@ +legion
\ No newline at end of file diff --git a/db/udpmsg4_chat/anonet/@/pubkey b/db/udpmsg4_chat/anonet/@/pubkey new file mode 100644 index 0000000..da16ce5 --- /dev/null +++ b/db/udpmsg4_chat/anonet/@/pubkey @@ -0,0 +1 @@ +f5fc06fc146eb7ebabe2dbfa7711346703e976ba021062b4e976f9007f0dda4f
\ No newline at end of file diff --git a/db/udpmsg4_chat/anonet/@/seckey b/db/udpmsg4_chat/anonet/@/seckey new file mode 100644 index 0000000..d96d72f --- /dev/null +++ b/db/udpmsg4_chat/anonet/@/seckey @@ -0,0 +1 @@ +f0b05bc6e944a3e9f5315df5a8b57706b25d8c02e4d86f8558664d015fb3f784
\ No newline at end of file diff --git a/scripts/add_udpmsg4_chat b/scripts/add_udpmsg4_chat new file mode 100755 index 0000000..6600fad --- /dev/null +++ b/scripts/add_udpmsg4_chat @@ -0,0 +1,31 @@ +#!/bin/sh +if [ -z $3 ]; then + echo "Usage: $0 <chat> <owner> <pubkey> <seckey>" >&2; exit 255 +fi +chat="$1" +owner="$2" +pubkey="$3" +seckey="$4" + +if [ "$(echo -n "${chat/chat\//}" | tr -d 'A-Za-z0-9_-' | wc -c | tr -d ' \t')" != 0 ]; then + echo "udpmsg4 chats do not allow funny chars." >&2; exit 255 +fi +if ((`echo -n "${chat/chat\//}" | wc -c` > 32)); then + echo "udpmsg4 chats cannot be greater than 32 chars." >&2; exit 255 +fi +if [ "$(echo "$chat" | head -c5)" != chat/ ]; then + echo "udpmsg4 chats start with chat/." >&2; exit 255 +fi +if ((`echo -n "$pubkey$seckey" | tr -d 'a-fA-F0-9' | wc -c | tr -d ' \t'` != 0)); then + echo "nacl keys are hex chars." >&2; exit 255 +fi +if ((`echo -n "$pubkey$seckey" | wc -c` != 128)); then + echo "nacl keys are 64 chars." >&2; exit 255 +fi + +fullchat=db/udpmsg4_chat/${chat/chat\//} +mkdir -p $fullchat || exit 1 +mkdir -p $fullchat/@ || exit 1 +echo -n "$owner" >"$fullchat/@/owner" +echo -n "$pubkey" >"$fullchat/@/pubkey" +echo -n "$seckey" >"$fullchat/@/seckey" |