mirror of
https://github.com/slackhq/nebula.git
synced 2026-02-14 08:44:24 +01:00
16 lines
325 B
Go
16 lines
325 B
Go
package firewall
|
|
|
|
import (
|
|
"net/netip"
|
|
"time"
|
|
)
|
|
|
|
type Event struct {
|
|
Packet Packet `json:"packet,omitempty"`
|
|
At time.Time `json:"at,omitempty"`
|
|
Remote netip.AddrPort `json:"remote,omitempty"`
|
|
//todo cert info?
|
|
//todo connection indexes?
|
|
//todo underlay info would actually be amazing, for inbounds
|
|
}
|