-
Notifications
You must be signed in to change notification settings - Fork 42
Metrics
syncookied supports sending metrics to influxdb over udp. You can use grafana for visualization.
Add this section to influxdb.conf:
[[udp]]
enabled = true
bind-address = ":8089"
database = "syncookied"
retention-policy = ""
batch-size = 5000
batch-pending = 10
read-buffer = 0
batch-timeout = "1s"
precision = ""
Add influxdb as a data source
rx_pps - packets received per second (total)
tx_pps - packets sent per second (total)
rx_syn - SYN packets
rx_forwarded - forwarded packets
rx_drop - dropped packets (total)
rx_drop_bad_cookie - invalid cookie received
rx_drop_bad_ether - invalid ethernet packet received
rx_drop_bad_ip - invalid IPv4 packet received
rx_drop_bad_tcp - invalid TCP packet received
rx_drop_filtered - packet matched Drop filtering rule
rx_drop_bad_state - packet didn't match any state
rx_drop_noip - destination address doesn't match any in hosts.yml
rx_drop_mac - destination MAC address doesn't match input interface MAC address
...