diff --git a/gamutrf/worker.py b/gamutrf/worker.py index 2ba996f8..a6ab9b46 100644 --- a/gamutrf/worker.py +++ b/gamutrf/worker.py @@ -326,6 +326,7 @@ def process_rssi(self, record_args, sock): def proxy_rssi(self, rssi_addr, record_args): with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock: + # codeql[py/bind-socket-all-network-interfaces] sock.bind((rssi_addr, RSSI_UDP_PORT)) # nosec self.process_rssi(record_args, sock) @@ -334,6 +335,7 @@ def serve_rssi(self): logging.info(f"got request {record_args}") if self.arguments.rssi_external: logging.info("proxying external RSSI") + # codeql[py/bind-socket-all-network-interfaces] self.proxy_rssi("0.0.0.0", record_args) # nosec else: center_freq = int(record_args["center_freq"])