From a1b545a2f7b2ac48d66e7fd846ca5093286525c7 Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Thu, 7 Nov 2024 00:34:59 -0600 Subject: p2p: allow comments in banlist files In-line comments explicitly explaining banned hosts/subnets might help assuage fears of some good banlists' arbitaryiness. --- tests/data/node/banlist_1.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/data/node/banlist_1.txt (limited to 'tests/data/node') diff --git a/tests/data/node/banlist_1.txt b/tests/data/node/banlist_1.txt new file mode 100644 index 000000000..7cc94ca62 --- /dev/null +++ b/tests/data/node/banlist_1.txt @@ -0,0 +1,17 @@ +# magicfolk +255.255.255.0 # Saruman the White +128.128.128.0 # Gandalf the Gray +150.75.0.0 # Radagast the Brown +99.98.0.0/16 # All of Misty Mountain + +# personal enemies +1.2.3.4 # this woman used to give me swirlies +6.7.8.9 # I just don't like the cut of his jib +1.0.0.7#Literally James Bond, he wrecked my aston martin +100.98.1.13 # Earl from HOA +100.98.1.0/24 #The rest of the HOA for good measure +# + +#7.7.7.7 +#^^^We're chill now, she's truly an angel + -- cgit v1.2.3