From 0049af047600693f1f9b5a500cdda69668872464 Mon Sep 17 00:00:00 2001 From: feyris-tan <4116042+feyris-tan@users.noreply.github.com> Date: Thu, 7 Aug 2025 20:20:53 +0200 Subject: [PATCH] Handled some more EtherType edge cases in ULE. --- .../Skyscraper/Scraper/SkyscraperContext.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/skyscraper8/Skyscraper/Scraper/SkyscraperContext.cs b/skyscraper8/Skyscraper/Scraper/SkyscraperContext.cs index b512bab..e6da9be 100644 --- a/skyscraper8/Skyscraper/Scraper/SkyscraperContext.cs +++ b/skyscraper8/Skyscraper/Scraper/SkyscraperContext.cs @@ -2774,6 +2774,15 @@ namespace skyscraper5.Skyscraper.Scraper OnEthernetFrame(pid, destination, source, newEtherType, newPacket); } return; + case 0x94ad: + //Something proprietary. No idea. + return; + case 0x4957: + //Something proprietary. No idea. + return; + case 0x3e30: + //Something proprietary. No idea. + return; default: throw new NotImplementedException(String.Format("EtherType: 0x{0:X4}", etherType)); } @@ -2846,10 +2855,15 @@ namespace skyscraper5.Skyscraper.Scraper //TEST or XID PDU, likely unneeded. return; } - else + else if (llcLength == 40) { - throw new NotImplementedException("LLC/SNAP (2)"); + //TEST or XID PDU, likely unneeded. + return; } + else + { + throw new NotImplementedException("LLC/SNAP (2)"); + } } throw new NotImplementedException("LLC/SNAP"); }