Skip to content

sunmy2019/npan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An network packact analyzer (May 29 2021)

It reads packets (in hex-stream form) from files, then does the analysis. Linux and fmtlib(8.0.0) is needed.

Currently I only implemented the following protocals:

Broken TCP connection now supportted. It means you don't have to start a TCP connection with handshakes.

include/npan.h is user interface. There are two demos in demos/ demostrating how the library should be used. Linking to npan should do.

Physical Layer

  • Ethernet v2

Internet Layer

  • IPv4
  • IPv6
  • ARP

Transport Layer

  • TCP
  • UDP
  • ICMPv6 (Partial)

Application Layer

Since we can only guess about the protocal unless we are notified in some ways. One feasible plan is to try match a pattern.

I developed it using 2 days. Now the development is put until someday I am available. At that time, I will develop in the order:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published