Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JarryShaw/TreeViewer
Project Assignment of Python 101 & Computer Networking (SJTU)
https://github.com/JarryShaw/TreeViewer
Last synced: 3 months ago
JSON representation
Project Assignment of Python 101 & Computer Networking (SJTU)
- Host: GitHub
- URL: https://github.com/JarryShaw/TreeViewer
- Owner: JarryShaw
- License: other
- Archived: true
- Created: 2018-03-05T15:10:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T02:55:56.000Z (almost 6 years ago)
- Last Synced: 2024-05-22T19:31:07.992Z (6 months ago)
- Language: Python
- Homepage:
- Size: 3.38 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS.md
Awesome Lists containing this project
- awesome-scs - 2017 - TreeViewer
README
# TreeViewer
> This program is the assignment of Python 101 (SJTU).
`TreeViewer` is a `Tkinter` based pcap extractor application.
In the field of computer network administration, pcap (packet capture) consists of an application programming interface (API) for capturing network traffic. Unix-like systems implement pcap in the `libpcap` library; Windows uses a port of `libpcap` known as `WinPcap`.
Monitoring software may use `libpcap` and/or `WinPcap` to capture packets travelling over a network and, in newer versions, to transmit packets on a network at the link layer, as well as to get a list of network interfaces for possible use with `libpcap` or `WinPcap`.
> In the core of the `JSPCAP` project, it works with the support of [`jspcap`](https://github.com/JarryShaw/jspcap/) and [`jsformat`](https://github.com/JarryShaw/jsformat).
As for `jspcap` and `jsformat`, they are two open-source library written in Python (version 3.6), with generally no requirements or third-party dependencies.
The `jspcap` library provides (by now) basic extractor for pcap files, including its global header, frame header and voluminous networking protocol headers, such as `IP` (both version 4 and 6), `ICMP`, `TCP`, `UDP`, `SCTP`, et al. Memo has logged that an analyser of application layer protocols, which are fragmented when transmission, will be complemented soon.
The `jsformat` library works as an implementation of the **Python standard library**, with support of streaming output of `plist` and `json` file. The library also provides a tree view output format, which was inspired from `macOS` plist display on `Xcode` editor and `JavaSript` framework `Vue.js`. Plus, it should provide output format as `XML` with different `DTD`s, like `pdml` and `psml`.
And one more thing to say about, that a `macOS` platform original UI using `PyObjc` library and `xib` is under construction. But no idea if it can be finished before the deadline.
> Note that the whole project only supports Python versions __since 3.6__