From 4a8e7105b2d69e88b03c49e3f2d308cd2d66e48c Mon Sep 17 00:00:00 2001 From: Maatuq Date: Wed, 25 Oct 2023 14:44:33 +0400 Subject: 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 --- src/lib/inc_generated/ndpi_ethereum_match.c.inc | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/lib/inc_generated/ndpi_ethereum_match.c.inc') diff --git a/src/lib/inc_generated/ndpi_ethereum_match.c.inc b/src/lib/inc_generated/ndpi_ethereum_match.c.inc index eba1f4ef2..d16e1cbe5 100644 --- a/src/lib/inc_generated/ndpi_ethereum_match.c.inc +++ b/src/lib/inc_generated/ndpi_ethereum_match.c.inc @@ -20,25 +20,25 @@ /* ****************************************************** */ -static ndpi_network ndpi_protocol_mining_protocol_list[] = { - { 0x128A6C43 /* 18.138.108.67/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x03D12D4F /* 3.209.45.79/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x416C4665 /* 65.108.70.101/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x9D5A23A6 /* 157.90.35.166/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x92BE0D80 /* 146.190.13.128/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0xB28088E9 /* 178.128.136.233/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x8AC533B5 /* 138.197.51.181/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x92BE0167 /* 146.190.1.103/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0xAA40FA58 /* 170.64.250.88/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x8B3B31CE /* 139.59.49.206/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x8A447B98 /* 138.68.123.152/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x338D4E35 /* 51.141.78.53/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x0D5D3689 /* 13.93.54.137/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x5EED3672 /* 94.237.54.114/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x12DAFA42 /* 18.218.250.66/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x030B9343 /* 3.11.147.67/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x2E04637A /* 46.4.99.122/32 */, 32, NDPI_PROTOCOL_MINING }, - { 0x586346B6 /* 88.99.70.182/32 */, 32, NDPI_PROTOCOL_MINING }, +static ndpi_network ndpi_protocol_ethereum_protocol_list[] = { + { 0x128A6C43 /* 18.138.108.67/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x03D12D4F /* 3.209.45.79/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x416C4665 /* 65.108.70.101/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x9D5A23A6 /* 157.90.35.166/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x92BE0D80 /* 146.190.13.128/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0xB28088E9 /* 178.128.136.233/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x8AC533B5 /* 138.197.51.181/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x92BE0167 /* 146.190.1.103/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0xAA40FA58 /* 170.64.250.88/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x8B3B31CE /* 139.59.49.206/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x8A447B98 /* 138.68.123.152/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x338D4E35 /* 51.141.78.53/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x0D5D3689 /* 13.93.54.137/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x5EED3672 /* 94.237.54.114/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x12DAFA42 /* 18.218.250.66/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x030B9343 /* 3.11.147.67/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x2E04637A /* 46.4.99.122/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, + { 0x586346B6 /* 88.99.70.182/32 */, 32, NDPI_PROTOCOL_ETHEREUM }, /* End */ { 0x0, 0, 0 } }; -- cgit v1.2.3