ananich opened a new pull request, #60117:
URL: https://github.com/apache/airflow/pull/60117

   # Problem
   
   Currently, the Airflow worker log server (serve_logs.py) is hardcoded to 
bind to all available interfaces (0.0.0.0 or [::]) via 
socket.has_dualstack_ipv6(). This exposes port 8793 to the entire network by 
default, creating a potential security risk where task logs could be 
intercepted or scanned by unauthorized entities.
   
   # Proposed Change
   
   This PR modifies the log server initialization to respect the 
WORKER_LOG_SERVER_HOST configuration variable. If this variable is set (e.g., 
to 127.0.0.1), the server will bind specifically to that address. If not set, 
it falls back to the existing dual-stack wildcard logic to maintain backward 
compatibility.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to