- Connects to RIPE RIS Live stream to receive real-time BGP updates - Stores BGP data in SQLite database: - ASNs with first/last seen timestamps - Prefixes with IPv4/IPv6 classification - BGP announcements and withdrawals - AS-to-AS peering relationships from AS paths - Live routing table tracking active routes - HTTP server with statistics endpoints - Metrics tracking with go-metrics - Custom JSON unmarshaling to handle nested AS sets in paths - Dependency injection with uber/fx - Pure Go implementation (no CGO) - Includes streamdumper utility for debugging raw messages
11 lines
185 B
Go
11 lines
185 B
Go
// Package main provides the entry point for the routewatch daemon.
|
|
package main
|
|
|
|
import (
|
|
"git.eeqj.de/sneak/routewatch/internal/routewatch"
|
|
)
|
|
|
|
func main() {
|
|
routewatch.CLIEntry()
|
|
}
|