Guest User!

You are not Sophos Staff.

[7.950][BUG][CLOSED] undefined symbol: proxy_html_register_sign_url_hook

Hi *,

when I reconfigured my WAF the reverseproxy wouldn't come up.
Error when running the /var/mdw/scripts/reverseproxy restart manually the following error comes up:

httpd: Syntax error on line 7 of /usr/apache/conf/httpd.conf: Syntax error on line 28 of /usr/apache/conf/modules.conf: Cannot load /usr/apache/modules/mod_url_hardening.so into server: /usr/apache/modules/mod_url_hardening.so: undefined symbol: proxy_html_register_sign_url_hook


Is this just me and my f**ked up installation / configuration with some leftovers from the pre-"we took away all the WAF options" days or maybe a bad 7.920 installation or is this an issue to anybody else?

Christian
  • Astaro Beta Report
    --------------------------------
    Version: 7.950
    Type: BUG
    State: CLOSED
    Reporter: christianlouis
    Contributor: 
    MantisID: 
    Target version: 
    Fixed in version: 
    --------------------------------

  • This doesn't happen on my fresh installation of 7.950, but i cannot test it on an upgraded machine currently. Can you post the httpd.conf lines from that error message?

    Does this happen if you disable the url hardening feature in the profiles?
  • Hi Kai,

    URL Hardening is disabled, it seems like it's a problem when the module gets loaded.


    LoadModule auth_basic_module /usr/apache/modules/mod_auth_basic.so
    LoadModule authn_aua_module /usr/apache/modules/mod_authnz_aua.so
    LoadModule authn_file_module /usr/apache/modules/mod_authn_file.so
    LoadModule authz_default_module /usr/apache/modules/mod_authz_default.so
    LoadModule authz_groupfile_module /usr/apache/modules/mod_authz_groupfile.so
    LoadModule authz_host_module /usr/apache/modules/mod_authz_host.so
    LoadModule authz_user_module /usr/apache/modules/mod_authz_user.so
    LoadModule avscan_module /usr/apache/modules/mod_avscan.so
    LoadModule deflate_module /usr/apache/modules/mod_deflate.so
    LoadModule env_module /usr/apache/modules/mod_env.so
    LoadModule headers_module /usr/apache/modules/mod_headers.so
    LoadModule log_config_module /usr/apache/modules/mod_log_config.so
    LoadModule mime_module /usr/apache/modules/mod_mime.so
    LoadModule negotiation_module /usr/apache/modules/mod_negotiation.so
    LoadModule proxy_module /usr/apache/modules/mod_proxy.so
    LoadModule proxy_balancer_module /usr/apache/modules/mod_proxy_balancer.so
    LoadModule proxy_html_module /usr/apache/modules/mod_proxy_html.so
    LoadModule proxy_http_module /usr/apache/modules/mod_proxy_http.so
    LoadModule rewrite_module /usr/apache/modules/mod_rewrite.so
    LoadModule setenvif_module /usr/apache/modules/mod_setenvif.so
    LoadModule ssl_module /usr/apache/modules/mod_ssl.so
    LoadModule status_module /usr/apache/modules/mod_status.so
    LoadModule unique_id_module /usr/apache/modules/mod_unique_id.so
    LoadModule envbyip_module /usr/apache/modules/mod_envbyip.so
    LoadModule waf_exceptions_module /usr/apache/modules/mod_waf_exceptions.so
    LoadModule xml2enc_module /usr/apache/modules/mod_xml2enc.so
    LoadModule cookie_module /usr/apache/modules/mod_cookie.so
    LoadModule url_hardening_module /usr/apache/modules/mod_url_hardening.so

    LoadFile /usr/lib/libxml2.so.2
    LoadModule security2_module /usr/apache/modules/mod_security2.so
     is my modules.conf. Once the mod_url_hardening line is commented out, it seems to work.

    C.
  • Just to make sure that it's not an up2date-related problem:
    can you please compare the filesize and md5 checksum of the offending .so file?

    mine are:

    [FONT="Courier New"]cd /var/sec/chroot-reverseproxy/usr/apache/modules && ls -l mod_url_hardening.so && md5sum mod_url_hardening.so 
    -rwxr-xr-x 1 root root 38273 2010-06-09 18:07 mod_url_hardening.so
    d22430ba74aa3fb36db2df9dd9260515  mod_url_hardening.so[/FONT]

  • Hi Kai,

    same here... well, I'll try a new installation next week and import my old config.
    In case the problem is still there, its worth looking at, otherwise it's my personal glitch in time and space.


    asgv8:/root # cd /var/sec/chroot-reverseproxy/usr/apache/modules && ls -l mod_url_hardening.so && md5sum mod_url_hardening.so
    -rwxr-xr-x 1 root root 38273 2010-06-09 18:07 mod_url_hardening.so
    d22430ba74aa3fb36db2df9dd9260515  mod_url_hardening.so
    asgv8:/var/sec/chroot-reverseproxy/usr/apache/modules #
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?