Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.26 KB

go-network-monitor

Go Report Card

A server that receives pcap events via go-network-monitor-client. Client events are sent to the server for processing and collection:

  • ip_event is the pcap detail which includes OSI layers; 3, 4 and 7.
  • ip_data contains lookup information of the layer 3 source IP, lookup consumes ipapi service.

These events are stored in MongoDB, the primary database used by this service.

IP lookup only occurs with new IP's that haven't been recorded yet, the service uses Redis to cache new IP addresses as the service processes them. Since this service uses the free version of ipapi, caching new IP's is required when the lookup service is rate limited.

Diagram showing the process for go-network-monitor, version 1.

Usage

Future work

  • Add support for client api keys
  • Create seperate gRPC streams for clients and groups of clients
  • Create decisions for ip events
  • Enable decision making for group of clients
  • Add Tests and benchmarks