diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-24 06:44:21 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-24 06:44:21 +0300 |
commit | 22788c17d992b711a63067b324dd993aeafc07d0 (patch) | |
tree | 90065968be69087afa8cd7d6ae10b9911fec5574 /lib | |
parent | e1dfbd2389c47e110d0e979e203d3404fe90e856 (diff) | |
download | arching-kaos-tools-22788c17d992b711a63067b324dd993aeafc07d0.tar.gz arching-kaos-tools-22788c17d992b711a63067b324dd993aeafc07d0.tar.bz2 arching-kaos-tools-22788c17d992b711a63067b324dd993aeafc07d0.zip |
Exclude our address from being scanned
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_network b/lib/_ak_network index 76af4c0..aa8105e5 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -152,11 +152,11 @@ _ak_network_scan_cjdns(){ counter=0 printf '[' > walk.aknet dumpLinks \ - | grep -v '0000\.0000\.0000\.0001 ' \ | cut -d ' ' -f 2,4 \ | sed 's/ /\n/g' \ | sort \ | uniq \ + | grep -v `dumpLinks | grep '0000\.0000\.0000\.0001' | cut -d ' ' -f 2` \ | while read -r ip || [ -n "$ip" ] do _ak_log_debug "Scanning $(publictoip6 $ip)..." |