-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I recently install Squid Windows on Window Server 2019 Standard.
With initial installation Squid working fine no problem. However, my requirement is the system needed to have basic authentication install. Which I have follow though multiple setup and suggestion from various source and able to solved most of it.
- Install Cygwin for cygcrypt-2.dll also add cygcrypt-2.dll to two more places which are
C:\Squid\binandC:\Squid\lib\squid - Update configuration to support basic_auth_ncsa via config as follow
auth_param basic program c:/Squid/lib/squid/basic_ncsa_auth.exe c:/Squid/etc/squid.htpasswd
auth_param basic children 5
auth_param basic realm Squid Basic Authentication
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
- Locally test basic_ncsa_auth.exe using username and password via terminal
- Allow in-bound and out-bound access through firewall
After all that's done I facing another issue which show as below;
2025/08/26 21:27:31| Accepting HTTP Socket connections at conn3 local=[::]:3128 remote=[::] FD 11 flags=9
listening port: 3128
2025/08/26 21:27:32| storeLateRelease: released 0 objects
2025/08/26 21:37:56| helperOpenServers: Starting 1/5 'basic_ncsa_auth.exe' processes
current master transaction: master53
2025/08/26 21:37:56| ipcCreate: fork: (11) Resource temporarily unavailable
current master transaction: master53
2025/08/26 21:37:56| WARNING: Cannot run 'c:/Squid/lib/squid/basic_ncsa_auth.exe' process.
current master transaction: master53
2025/08/26 21:37:56| Too few basicauthenticator processes are running (need 1/5)
active processes: 0
processes configured to start at (re)configuration: 0
current master transaction: master53
2025/08/26 21:37:56| ERROR: Dropping 1 basicauthenticator helper requests due to lack of helper processes
current master transaction: master53
At first I thought that my config could be wrong in path config, so I already try multiple pathing with quote, without quote, forward slash, escape string but it seem it wasn't an issue. My current config should work as intended.
So I went further to check whether it have any other configuration related to enabling child process to get terminated or unable to spawn somehow but I found nothing.
Anyone have facing this issue before, or am I missing something in the configuration?
Thanks in advance