Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-339

mod_session_crypto causes HTTPD to crash on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • httpd 2.4.23 SP3 ER1
    • httpd 2.4.23 SP1 DR2
    • httpd
    • None
    • Release Notes
    • Hide

      Append to httpd.conf

      Session On
      SessionEnv On
      SessionCookieName session path=/

      SessionHeader X-Replace-Session
      SessionCryptoPassphrase PavelIsTheVeryBest
      LoadModule session_module modules/mod_session.so
      LoadModule session_crypto_module modules/mod_session_crypto.so
      LoadModule session_cookie_module modules/mod_session_cookie.so

      Place oracle.bat to cgi-bin directory
      'cat oracle.bat'
      @echo off
      set ORIG_COOKIE=motto=This is the end, beautiful friend. This is the end, my only friend, the end.
      echo Content-type: text/plain
      echo X-Replace-Session: ["%ORIG_COOKIE%"]
      echo.

      echo hello %ORIG_COOKIE%

      call 'curl localhost/cgi-bin/oracle.bat -i'

      Show
      Append to httpd.conf Session On SessionEnv On SessionCookieName session path=/ SessionHeader X-Replace-Session SessionCryptoPassphrase PavelIsTheVeryBest LoadModule session_module modules/mod_session.so LoadModule session_crypto_module modules/mod_session_crypto.so LoadModule session_cookie_module modules/mod_session_cookie.so Place oracle.bat to cgi-bin directory 'cat oracle.bat' @echo off set ORIG_COOKIE=motto=This is the end, beautiful friend. This is the end, my only friend, the end. echo Content-type: text/plain echo X-Replace-Session: ["%ORIG_COOKIE%"] echo. echo hello %ORIG_COOKIE% call 'curl localhost/cgi-bin/oracle.bat -i'

      httpd 2.4.23-SP1-DR2 crashes when mod_session_crypto is used. However, when apache from http://www.apachehaus.com is used no crashes are observed.

      Also when line SessionCryptoPassphrase PavelIsTheVeryBest from conf. file is commented no crashes are observed.

      I didn't notice anything relevant in logs, it just seems to me that servers restarts itself.

              gzaronik@redhat.com George Zaronikas
              preichl@redhat.com Pavel Reichl
              Pavel Reichl Pavel Reichl
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: