Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 eBPF Network Monitor
Copyright (c) 2025 Simone Rodigari

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ make kind-deploy # Deploy to kind cluster
make kind-integration-test # Run comprehensive tests
```

To get detailed API documentation for the aggregator, available only in Kubernetes mode [see API Aggregator Documentation](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/srodi/ebpf-server/main/docs/swagger-aggregator/swagger.json)

### VM Deployment (Traditional)

For single-server deployments:
Expand Down
Binary file removed bpf/connection.o
Binary file not shown.
Binary file removed bpf/packet_drop.o
Binary file not shown.
7 changes: 7 additions & 0 deletions cmd/aggregator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ func main() {
mux.HandleFunc("/api/events", agg.HandleEvents)
mux.HandleFunc("/api/events/ingest", agg.HandleIngest)
mux.HandleFunc("/api/stats", agg.HandleStats)
mux.HandleFunc("/api/programs", agg.HandlePrograms)

// Connection and packet drop API endpoints (aggregator-specific)
mux.HandleFunc("/api/list-connections", agg.HandleListConnections)
mux.HandleFunc("/api/list-packet-drops", agg.HandleListPacketDrops)
mux.HandleFunc("/api/connection-summary", agg.HandleConnectionSummary)
mux.HandleFunc("/api/packet-drop-summary", agg.HandlePacketDropSummary)

// Swagger documentation
mux.HandleFunc("/swagger/", httpSwagger.WrapHandler)
Expand Down
Loading
Loading