Open jmwample opened 4 years ago
I will update this issue, I have added (though not yet merged) filtering for liveness probes from other stations also as they were getting logged too. See: b3fe2cadc2c30a97576998ac7c6c3f53232b6861
Note: this will prevent other stations from 1. registering with another station, or 2. tunneling a conjure connection over another conjure connection.
When handling packets the detector attempts to log connections that it sees for registered IP addresses. However it needs to filter out packets to registered IPs that are being sent by the application for liveness testing. To do this the detector ignores packets from the stations IP address when logging this in
process_tls_packet
inprocess_packet.rs
at line 188-194.This IP address is hard coded for now and needs to be changed (v4 and v6) by hand for each new station stood up.
Note: (we have to use these same addresses for on-reboot standup anyways so it should exist in a config somewhere.)
original submission: 12/17/2019