[GTER] SQUID squid-3.1.0.14 + TPROXY

Hitch Cock net.hitch.adm at gmail.com
Sun Nov 22 09:01:54 -02 2009


* [http://wiki.squid-cache.org/Features/Tproxy4]
* commBind: cannot bind socket FD X to X.X.X.X: (99) cannot assign requested
address

This error has many reasons for occurring.

It might be seen repeatedly when Squid is running with TPROXY configured:

   -

   If the squid port receives traffic by other means than TPROXY
   interception.
   Ports using the *tproxy* flag [image: /!\] MUST NOT [image: /!\] receive
   traffic for any other mode Squid can run in.
   -

   If Squid is receiving TPROXY traffic on a port without the *tproxy* flag.

   - If the kernel is missing the capability to bind to any random IP.

It may also be seen only at startup due to unrelated issues:

   -

   Another program already using the
port<http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-97c3ff164d9706d3782ea3b242b6e409ce8395f6>
   -

   Address not assigned to any
interface<http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-19aa8aba19772e32d6e3f783a20b0d2be0edc6a2>


On Sat, Nov 7, 2009 at 2:58 AM, Luzivan <luzivan at gmail.com> wrote:

> Após 1 minuto acontecer este erro... já pesquisei e seguir vários
> procedimentos encontrados na internet mas nenhum deles resolveu.
>
> commBind: Cannot bind socket FD 987 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 987 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 987 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 987 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1059 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1059 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1059 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1059 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1094 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1094 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1094 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1094 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1109 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1109 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
> commBind: Cannot bind socket FD 1109 to xxx.xxx.xxx.xxx: (22) Invalid
> argument
> WARNING: Reset of FD 1109 for xxx.xxx.xxx.xxx failed to bind: (22) Invalid
> argument
>
>
> Parametros de configução para compilacao do squid
> ./configure --prefix=/usr/local/squid --enable-linux-netfilter
> --with-default-user=squid --build=x86_64-linux-gnu --with-pthreads
> --enable-storeio=ufs,aufs,diskd --with-filedescriptors=65536
>
> http_port 3129 tproxy
> --
> gter list    https://eng.registro.br/mailman/listinfo/gter
>



More information about the gter mailing list