~dr|z3d
@RN
@RN_
@StormyCloud
@eyedeekay
@orignal
@postman
@zzz
%Liorar
+FreefallHeavens
+Xeha
+bak83_
+cumlord
+hk
+poriori
+profetikla
+uop23ip
Arch
DeltaOreo
FreeRider
Irc2PGuest10850
Irc2PGuest19353
Irc2PGuest23854
Irc2PGuest46029
Irc2PGuest48064
Meow
Nausicaa
Onn4l7h
Onn4|7h
Over
T3s|4__
acetone_
anon4
anu
boonst
enoxa
mareki2pb
mittwerk
plap
shiver_
simprelay
solidx66
u5657_1
weko_
tennis2
dr|z3d> "if you don't like ips, add them to your blocklist." Thanks that's another idea, I was thinking about the firewall of the generally Is there any visible difference between blocking with a firewall versus banning ip address ranges in i2p?
tennis2
s/of the generally/of the os generally/
dr|z3d
there's no "visible" difference, but blocking at the firewall level is global, blocking in the i2p blocklist is local to i2p.
tennis2
I should be clear when I say "visible difference in i2p" I meant discernible difference by other routers running i2p.
tennis2
if that's what you were thinking when responding then thanks :)
dr|z3d
well, if someone's running a fleet of akamai servers and you're the only guy blocking all of them, then you'll stand out.
tennis2
yeah that's an issue i guess, dr|z3d. but not as big an issue between being able to identify how one is blocking, I think an in i2p approach is okay, but some might have an aversion to big tech generally, so a systems wide approch might be good. It would need to tell the user when its blocking though so they can understand why maybe an application might not work.
tennis2
s/an in i2p approach/an 'in-i2p' approach/
tennis2
s/a systems wide approach might be good/a systems wide approach might be more efficient/
tennis2
Depends on the overal firewall setup I guess, as to whether they are able to tell the difference.
dr|z3d
there is no they. there is you. do what makes you feel good :)
tennis2
In fact it doesn't really matter how one blocks, really.
tennis2
Yes.
tennis2
I'm at the point where I need to check, if a person really removed torrents, it happens when torrent data gets wiped and the computer resets before a person has an opportunity to fix the situation
tennis2
imagine that the terminal is in the i2p folder and you run this ...
tennis2
# First you have a backup of your i2psnark
tennis2
rsync -avr i2psnark.config.d/ "i2psnark.config_(BAK-$(date "+%4Y%m%d-%H%M%S")).d/"
tennis2
## This will restore that folder from the backup...
tennis2
rsync -avr $(ls -t | grep -e '^i2psnark\.config_(BAK-' | head -n1)'/' 'i2psnark.config.d/'
tennis2
Blinded message
tennis2
## With that out of the way you can stop i2psnark here localhost:7657/configwebapps, and then try deleting some NOT ALL folders in 'i2psnark.config.d/' . Eg. s4,sf,sG,sJ etc
tennis2
## You could delete them all actually that's fine.
tennis2
## Just remember to use the restore command above before starting i2psnark again...
tennis2
## Now here's the issue I have ...
tennis2
# Given that ...
tennis2
BAK_FOLDER_REGEX="i2psnark\.config_(BAK-"
tennis2
latestBAK=$(ls -t | grep -e "^$BAK_FOLDER_REGEX" | head -n1)
snex
you are way overcomplicating this
snex
do what i told you to and control your snark via a systemd file that requires your mounts
tennis2
## When I try to extract the names of the torrents that have gone like so grep complains that some files don't exist but they do.
tennis2
diff -r "$latestBAK" "i2psnark.config.d/" | grep -e "Only in $BAK_FOLDER_REGEX" | sed "s/.*: //" \
tennis2
| while read thing ; do \
tennis2
thingee="$latestBAK/$thing"; \
tennis2
if [ -d "$thingee" ]; then \
tennis2
echo -e "$(ls -1 "$thingee")\x00" | sed -e "s/^/$latestBAK\/$thing\//"; \
tennis2
else \
tennis2
echo -e "$(find "$latestBAK" -name "$thing")\x00"; \
tennis2
fi; \
tennis2
done | xargs --null grep --no-filename --max-count=1 -e "^base="
tennis2
## Any ideas???
tennis2
Blinded message
tennis2
No snex, that doesn't account for mid-usage removal
snex
because thats not a thing..
tennis2
It is for normies.
tennis2
Oh I've worked it out, lol, the null I'm adding to stuff is only being applied to the last file in the folder lol
tennis2
I don't need the null at all cos the file paths are sane, and don't have spaces in them. :P
tennis2
Sorry for the daft
tennis2
s/the/my/