mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-01 00:19:42 +00:00
* Improved ASN update script * Ran `utils/update_every_lists.sh' * `tests/do.sh.in' prints the amount of failed pcap(s) * `utils/asn_update.sh' prints the amount of failed download(s) Signed-off-by: lns <matzeton@googlemail.com>
10 lines
303 B
Bash
Executable file
10 lines
303 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# List all the current bittorrent nodes
|
|
#
|
|
|
|
set -e
|
|
|
|
# NOTE: JQ can be found at https://stedolan.github.io/jq/
|
|
|
|
curl -s -H "Accept: application/json; indent=4" https://bitnodes.io/api/v1/snapshots/latest/ | jq -r '.nodes|keys[] as $k | "\($k)"' | grep -v onion | grep -v ']' | cut -d ':' -f 1
|