[8.920][MYTH] Extra http logging causes ipv6 error messages in HTTP Proxy

In the thread https://community.sophos.com/products/unified-threat-management/astaroorg/f/75/t/63938 Ulmi mentioned that the logging has been improved for http proxy with failed ipv6 cases. However I get error messages if I make any changes to the proxy via webadmin. I don't have ipv6 enabled.

2012:03:29-16:15:27 gatekeeper httpproxy[5857]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="parse_address" file="util.c" line="548" message="getaddrinfo: passthrough6.fw-notify.net: Name or service not known"
2012:03:29-16:15:27 gatekeeper httpproxy[5857]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="confd_config_filter" file="confd-client.c" line="2633" message="failed to resolve passthrough6.fw-notify.net, using 2a01:198:200:680::8080"


Regards
Bill

  • I can confirm this


    2012:03:29-21:10:45 ***** httpproxy[4389]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="confd_config_filter" file="confd-client.c" line="2629" message="failed to resolve passthrough.fw-notify.net, using 213.144.15.19"
    2012:03:29-21:10:46 ***** httpproxy[4389]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="parse_address" file="util.c" line="548" message="getaddrinfo: passthrough6.fw-notify.net: Name or service not known"
    2012:03:29-21:10:46 ***** httpproxy[4389]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="confd_config_filter" file="confd-client.c" line="2633" message="failed to resolve passthrough6.fw-notify.net, using 2a01:198:200:680::8080"
  • Hi,

    The name resolution failure message for passthrough(6).fw-notify.net was already there before and should not affect the operation of the HTTP proxy. So, this is rather a cosmetic issue.

    Regards,
    mlenk
  • If you take a closer look, you'll see that the severity of those log messages is "info". So, these are informational messages, not error messages. The proxy just tells you what it will use for the "content blocked" and downloader pages. I don't see that as a bug, and i feel this information should remain in the logs. What do you think?

    Cheers,
    Kai
  • I agree that it doesn't break the operation of the proxy but an error message even with the info prefix creates extra clutter in the logs. Besides I always grep terms like fail, error etc to make sure everything is working smoothly on my system.
    It is not a big deal but will confuse people because it seems to be pointing at DNS failure. Specially the passthrough6.fw-notify.net message is rather confusing when ipv6 is disabled system wide.
    Regards
    Bill