[cups-devel] [UNKN] STR #4618: Using host name in /etc/cups/cupsd.conf Listen directive could make cupsd listen on the wrong IP

Michael Sweet noreply at cups.org
Mon Apr 13 04:09:14 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Unresolved]

OK, "Listen hostname" is entirely dependent on DNS to return the right
values. Since there are a lot of variables (besides the order which cupsd
is started) for when network facilities are available, you really need to
have the hostname and any addresses listed in /etc/hosts to make that work
reliably.

Moreover, if you have a dynamic address you should not be using "Listen
hostname" at all. Instead, stick to "Listen *:631" or just "Port 631" - the
default ACL will limit access to the local subnet(s), and you can tweak
those to prevent access from outside addresses.

Link: https://www.cups.org/str.php?L4618
Version: -feature
Fix Version: None
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVK6PaAAoJENujp6sI12IjGF8QAIRQN1s+cR2I8QPV7Yl55bLl
tc5EMPzk2WM2dJIwvS1tVoMdfs/943RAGshTCNlKGUSMvuom713EOzEXUXCtC6rq
3DgcSTqPcINDjJwPfhlVXGJaqKAJG+GalANzCWbkx4/6XfDj93cAK5XUer7zvhWx
Sa3miOOXOKTtMYfaA9PWdgxvy5D6vCH1bN2aS2KRFZ4nAni7Ucoh8999e6pGJflU
1NH3Z7yeNrOWcX+GiULVYEI5PriRxxvT7haUcPmjPChvC3JKcR0dqU/n9nMC734J
EmC5AG+segPw1TMa0u3F9rMlbospxGm7ay5otejgWXiT9bQmXU0apu6PAk9kTURU
Vjc0vJSeQvaLs4QV/CUkMEATSjIG4lRl/+c8x0QROMQTmmT5mdQxBvCAKfYLqQBR
duEc6iuTyKa1+7d8U7gXXJD/QAF2tbHdAGHQLtqafQdIE4x71ZKOH3tQIAomSpdI
lNDo3HsgJnPwiYnOEaP7TgSqKMBz3yBn9wyasmLdGD6JmD8ssGYwlTch4wYzllH8
GCgK6CL5lynGO+eOfLhHuE1IXA4sI2KJnYPYRMKJOPodjEB99ZN/LrstpCm3byrP
2pSd+QeDzJWLoB6/d/sItfb+TOp0e9LpuE9gE7v6BXDi6mnyMWCzxLcOoqISa2am
WcednKogTIpdUbb0dXOl
=MD/A
-----END PGP SIGNATURE-----




More information about the cups mailing list