Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SQUID3 - Amount Allowed Subnets (limited?)

    Cache/Proxy
    2
    2
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fellipecamara
      last edited by

      Hi, everyone,

      i've been facing a wierd issue with squid3 and i've not found any clue about it on internet.
      I have squid3 + squidguard installed and running well in the Co i work for, but when i add all the subnets we have (92) in "allowed subnets", squid just stops.

      Looking the logs, the message before the stop is:

      php-fpm[93120]: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/09/26 10:39:10| /usr/pbi/squid-amd64/local/etc/squid/squid.conf:75 unrecognized: '192.168.224.0/24''

      This address (224.0/24) is at the 60th line. I've figured out if I let 59 lines, the squid works well, but more than this, it just stops.

      Do you guys know if the squid's allowed subnets has a limit or maybe this just a bug?

      My pfSense is 2.2.2-RELEASE (amd64) and the squid version is 3.4.10.

      thanks u all and cya!

      1 Reply Last reply Reply Quote 0
      • C
        cesargdmi
        last edited by

        Hello

        same problem here.

        2016/10/31 21:40:33| Processing: acl allowed_subnets src 172.28.1.0/24 172.28.2.0/24 172.28.3.0/24 172.28.4.0/24 172.28.5.0/24 172.28.6.0/24 172.28.7.0/24 172.28.8.0/24 172.28.9.0/24 172.28.10.0/24 172.28.12.0/24 172.28.13.0/24 172.28.14.0/24 172.28.15.0/24 172.28.16.0/24 172.28.17.0/24 172.28.18.0/24 172.28.19.0/24 172.28.20.0/24 172.28.21.0/24 172.28.22.0/24 172.28.23.0/24 172.28.24.0/24 172.28.25.0/24 172.28.26.0/24 172.28.27.0/24 172.28.28.0/24 172.28.29.0/24 172.28.30.0/24 172.28.31.0/24 172.28.32.0/24 172.28.33.0/24 172.28.34.0/24 172.28.35.0/24 172.28.36.0/24 172.28.37.0/24 172.28.38.0/24 172.28.39.0/24 172.28.40.0/24 172.28.41.0/24 172.28.42.0/24 172.28.43.0/24 172.28.44.0/24 172.28.45.0/24 172.28.46.0/24 172.28.47.0/24 172.28.48.0/24 172.28.49.0/24 172.28.50.0/24 172.28.51.0/24 172.28.52.0/24 172.28.53.0/24 172.28.54.0/24 172.28.55.0/24 172.28.56.0/24 172.28.57.0/24 172.28.58.0/24 172.28.59.0/24 172.28.60.0/24 172.28.61.0/24 172.28.62.0/24 172.28.63.0/24 172.28.64.0/24 172.28.65.0/24 172.28.66.0/24 172.28.67.0/24 172.28.68.0/24 172
        2016/10/31 21:40:33| Processing: .28.69.0/24
        2016/10/31 21:40:33| /usr/local/etc/squid/squid.conf:73 unrecognized: '.28.69.0/24'

        I requiere this to exclude 172.28.11.0/24, for me is no use to 172.28.0.0/16

        Any suggerest??

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.