Big Things Added ->
+ TCP Stream Reassembly
this was huge pain T_T
i made a TCPStream class which handles single streams to reassemble, it includes .ingest() function which takes in a sequence number and data and processes them according to 3 cases, check TCPStream.ts file if you want to i have wrote a comment about those cases
and a StreamTracker class, which will be on global class be store all reassembled streams and parsed application layer packets, i have made the output of stream tracker be a part of the base PCAP parsing along with GlobalHeaders and Packets
had a lot of problems in this and so many mistakes because of the way sequence number works T__T
but it works now :3
+ Application Layer
while half-way through writing StreamTracker i realised i cant complete it without application layer dispatcher lol, so i started working application layer dissectors/parsers
Made HTTP/1.1 Parser
this was easy ngl, cuz it text parsing not binary, i am not doing much in this for now just basic stuff.
but had a hard time figuring out how to handle multiple packets in one stream which is common in HTTP/1.1 which uses keep-alive
at the end i stiched everything together and it works :))))
attached a screenshot of one processed HTTP packet from reassembled TCP stream, didnt do any UI work lol