https://github.com/applicativesystem/tcp-analyzer
golang tcp-analyzer container network proxies
https://github.com/applicativesystem/tcp-analyzer
devops devops-platform golang golang-package network-programming tcp-client tcp-ip tcpdump
Last synced: 3 months ago
JSON representation
golang tcp-analyzer container network proxies
- Host: GitHub
- URL: https://github.com/applicativesystem/tcp-analyzer
- Owner: applicativesystem
- License: mit
- Created: 2024-10-02T13:44:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-02T18:09:57.000Z (9 months ago)
- Last Synced: 2024-12-16T02:12:06.533Z (7 months ago)
- Topics: devops, devops-platform, golang, golang-package, network-programming, tcp-client, tcp-ip, tcpdump
- Language: Go
- Homepage:
- Size: 2.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tcp-analyzer
- a golang tcp analyzer
- tcp,udp, 4tcp, 6tcp network analyzer using golang and awk.
- it prepares the files for network struct that i will code tomorrow prior to the binary release.
- The worst part of the network file is that the file is not being well written using the linux file.io utils and instead of writing and modifying the kernel approach, i implemented the awk for faster code write.```
gauravsablok@gaurav-sablok ~/Desktop/codecreatede/golang/go-network-struct »
go run main.go -i tcp6file.txt2024-10-01\ 22:01:16.000454544\ +0200\ CEST\ m=+0.156402181
COMMAND
kdeconnec
gitkraken
gitkraken
trunk
trunk
trunk
thunderbi
cursor
trunk
firefox
2024-10-02 15:39:09.797671689 +0200 CEST m=+0.000426027
PID
2349
3188
3188
5890
5890
5890
90451
95185
96642
102998
2024-10-02 15:39:09.797671689 +0200 CEST m=+0.000426027
```
- binary verion
```
gauravsablok@gaurav-sablok ~/Desktop/codecreatede/golang/tcp-analyzer ±main⚡ » ./tcp-analyzer -h
Creating the network structsUsage:
flags [flags]Flags:
-h, --help help for flags
-i, --input string network (default "path to the networkfile")
gauravsablok@gaurav-sablok ~/Desktop/codecreatede/golang/tcp-analyzer ±main⚡ » \
./tcp-analyzer -i tcp6file.txt2024-10-01\ 22:01:16.000454544\ +0200\ CEST\ m=+0.156402181
```Gaurav Sablok