Skip to content

fix: use dst ACL for IP addresses in squid config #835

Description

@Mossaka

Tracking issue from closed PR #821.

Squid proxy was blocking traffic to api-proxy service at 172.30.0.30:10000 because IP addresses were incorrectly added to dstdomain ACL type, which only accepts domain names.

Changes needed

  • Add allowedIPs parameter to SquidConfig interface for separate IP address handling
  • Update generateSquidConfig() to generate dst ACL entries for IP addresses instead of treating them as domains
  • Separate IP from hostname in docker-manager.ts when api-proxy is enabled:
    • Hostname 'api-proxy'dstdomain ACL
    • IP 172.30.0.30dst ACL via new allowedIPs parameter

Original PR: #821

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions