diff options
author | Maatuq <mahmoudmatook.mm@gmail.com> | 2023-10-25 14:44:33 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 12:44:33 +0200 |
commit | 4a8e7105b2d69e88b03c49e3f2d308cd2d66e48c (patch) | |
tree | 2a55172cb3c46983c17373a0a581be354f631c01 /utils | |
parent | e70333de8733b3396f6a63481a25e63d12bd9d8e (diff) |
add ethereum protocol dissector. (#2111)
as explained here for bitcoin https://www.ntop.org/guides/nDPI/protocols.html#ndpi-protocol-bitcoin
the same is applicable for ethereum.
ethereum detection was removed from mining protocol and is now handled separately.
Signed-off-by: Mahmoud Maatuq <mahmoudmatook.mm@gmail.com>
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/ethereum_ip_addresses_download.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ethereum_ip_addresses_download.sh b/utils/ethereum_ip_addresses_download.sh index 172c656d7..076b24359 100755 --- a/utils/ethereum_ip_addresses_download.sh +++ b/utils/ethereum_ip_addresses_download.sh @@ -20,9 +20,9 @@ echo "(2) Processing IP addresses..." grep 'enode' $TMP | grep -v '^/' | grep ':' | cut -d '@' -f 2 | cut -d ':' -f 1 > $LIST is_file_empty "${LIST}" -./ipaddr2list.py $LIST NDPI_PROTOCOL_MINING > $DEST +./ipaddr2list.py $LIST NDPI_PROTOCOL_ETHEREUM > $DEST rm -f $TMP $LIST is_file_empty "${DEST}" -echo "(3) Ethereum/Mining IPs are available in $DEST" +echo "(3) Ethereum IPs are available in $DEST" exit 0 |