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>
This commit is contained in:
Maatuq
2023-10-25 12:44:33 +02:00
committed by GitHub
parent e70333de87
commit 4a8e7105b2
156 changed files with 433 additions and 333 deletions
+2 -2
View File
@@ -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