Fix for broken AppCombined; both logic error and bad enum doh

This commit is contained in:
KimLS 2024-10-17 20:12:33 -07:00
parent dc1509e768
commit d3cd037fa7
3 changed files with 4 additions and 3 deletions

View File

@ -261,6 +261,7 @@ namespace StreamParser.Common.Daybreak
var subpacket = data.Slice(current, subpacket_length); var subpacket = data.Slice(current, subpacket_length);
ProcessDecodedPacket(srcAddr, srcPort, packetTime, subpacket); ProcessDecodedPacket(srcAddr, srcPort, packetTime, subpacket);
current += subpacket_length;
} }
} }
break; break;

View File

@ -32,7 +32,7 @@ namespace StreamParser.Common.Daybreak
public const byte Ack2 = 22; public const byte Ack2 = 22;
public const byte Ack3 = 23; public const byte Ack3 = 23;
public const byte Ack4 = 22; public const byte Ack4 = 22;
public const byte AppCombined = 23; public const byte AppCombined = 25;
public const byte OutboundPing = 28; public const byte OutboundPing = 28;
public const byte OutOfSession = 29; public const byte OutOfSession = 29;
} }

View File

@ -2,8 +2,8 @@
"profiles": { "profiles": {
"stream_parser": { "stream_parser": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "--input input/test.pcap --csv --text --decrypt", "commandLineArgs": "--input input/cap_login_to_zone_10_16_2024.pcap --output output_test/ --text --decrypt",
"workingDirectory": "E:\\Projects\\stream_parser\\stream_parser\\bin\\Debug\\net5.0" "workingDirectory": "E:\\Projects\\stream_parser\\stream_parser\\bin\\Debug\\net6.0\\"
} }
} }
} }