0

I'm using Squid3 for its caching capabilities on a bunch of IPv6 addresses. The only thing is, only 128 of them initialize properly, and any more won't connect.

Can you think of any settings that I can check?

From logs:

WARNING: You have too many 'http_port' lines
The limit is 128
tombull89
  • 2,964
  • 8
  • 41
  • 52
  • 1
    Just curious, why do you need to bind to more than 128 interfaces? I'm curious to know what kind of application such configurations apply to. – sybreon Jun 25 '11 at 07:04

2 Answers2

2

squid/src/defines.h has:

#define MAXHTTPPORTS                    128

change that value. In ubuntu: get the source package, rebuild and install.

Koos van den Hout
  • 1,096
  • 6
  • 10
-1

In Squid 3.3.9 its

File: src/anyp/PortCfg

#define MAXTCPLISTENPORTS 128
Jenny D
  • 27,780
  • 21
  • 75
  • 114