Hi Eliezer,
SQUID started listening only after I run "ip6tables -P INPUT ACCEPT". I
had searched everywhere on the internet regarding this issue and no one
mentioned that IPV6 iptables rules could stop squid from listening on
TCP ports. And Squid just started without any complaint. To my limited
knowledge, it seems no other software behaves like this?
At first I was indeed suspecting that the issue is related to IPV6.
I had tried recompiling SQUID without IPV6 and disabed IPV6 using
sysctl.conf, nothing worked. It never occured to me that my IPV6 INPUT
POLICY could be the culprit.
Again, many thanks for your help
Hey Ben,
The next step in this situation is to try and connect with netcat from a
remote host and also locally.
From what I understood the issue was a firewall issue so Squid was
listening.
I can also assume that squid was listening.
Just For future reference:
Try to run the next commands:
sudo netstat -ntlp
sudo ss -ntlp
and send their output to us.
In ubuntu you will not see any "squid" when running plain netstat or ss.
All The Bests,
Eliezer
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@xxxxxxxxx
-----Original Message-----
From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of
ben
Sent: Sunday, March 13, 2022 12:24
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: SQUID refuses to listen on any TCP Port
Hello,
It looks like that if I start installing it right after OS installation,
it works. But not if I install any packages, for example, make,
gcc,strongswan and so on. once it stop working, it will not work anymore
even if I remove all aforementioned packages. reboot also doesn't help.
I also tried it on Debian 11. no luck either! it only works in old ubuntu 16
I can be 100% sure that squid is not listening on any TCP ports. running
these commands looks fine
Thanks for your being patient and kind
root@host8d66c97880:~# netcat -v -l -4 34568
Listening on 0.0.0.0 34568
^C
root@host8d66c97880:~# netcat -v -l -6 34568
Listening on :: 34568
I configured it to listen on 34568
netcat -v -l -6 4444
netcat -v -l -4 4444
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users