Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-932

Option to remove the server-name from HTTP-header response

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None

    Description

      Option to remove the server name which is sent as HTTP-Header in the response

      For example :

      curl -i -k -u <username>:<password> -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'
      HTTP/1.1 200 OK
      Set-Cookie: JSESSIONID=fs2lu9w7jcgt1tshnfs1cqf8v;Path=/gateway/default;Secure;HttpOnly
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control: no-cache
      Expires: Wed, 15 Mar 2017 12:49:24 GMT
      Date: Wed, 15 Mar 2017 12:49:24 GMT
      Pragma: no-cache
      Expires: Wed, 15 Mar 2017 12:49:24 GMT
      Date: Wed, 15 Mar 2017 12:49:24 GMT
      Pragma: no-cache
      Server: Jetty(6.1.26.hwx)
      Content-Type: application/json
      Content-Length: 2593

      Attachments

        1. KNOX-932-001.patch
          6 kB
          Ljmiv

        Issue Links

          Activity

            kpandey Krishna Pandey added a comment -

            It would be nice to have this as configurable property instead of entirely removing it. Removing it will cause more suspicion and push for resort to other fingerprinting techniques.

            kpandey Krishna Pandey added a comment - It would be nice to have this as configurable property instead of entirely removing it. Removing it will cause more suspicion and push for resort to other fingerprinting techniques.
            lmccay Larry McCay added a comment -

            ljmiv - Thank you for your contribution!
            I will review your patch shortly and will hopefully get it into 0.13.0 release.

            lmccay Larry McCay added a comment - ljmiv - Thank you for your contribution! I will review your patch shortly and will hopefully get it into 0.13.0 release.

            Commit f4ccdfd696bca10c73e7a7e336d9e72d4db423b5 in knox's branch refs/heads/master from lmccay
            [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=f4ccdfd ]

            KNOX-932 - Option to remove the server-name from HTTP-header response (Lawrence McCay IV via lmccay)

            jira-bot ASF subversion and git services added a comment - Commit f4ccdfd696bca10c73e7a7e336d9e72d4db423b5 in knox's branch refs/heads/master from lmccay [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=f4ccdfd ] KNOX-932 - Option to remove the server-name from HTTP-header response (Lawrence McCay IV via lmccay)
            lmccay Larry McCay added a comment -

            ljmiv - I've just committed this to master and it will be in the 0.13.0 release.
            Thank you for the contribution!

            lmccay Larry McCay added a comment - ljmiv - I've just committed this to master and it will be in the 0.13.0 release. Thank you for the contribution!

            People

              ljmiv Ljmiv
              rajguru Kunal Rajguru
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: