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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user