Header rewrite on ACE

Unanswered Question
Jan 21st, 2008

I have a situation that I need the ACE to re-write a portion of the client header. I can configure the class-map to identify the traffic, but am unsure how to configure the policy map. The client header contains an sid value and we want the header to delete that value before forwarding to the server. From a packet capture, the http request contains the following:

Get /testpage?sid=123456789 HTTP/1.1\r\n

Host: http://www.example.com\r\n

Need to change to:

Get /testpage HTTP/1.1\r\n

Host: http://www.example.com\r\n

Note that the /testpage portion of the Get will vary by page.

I also notice the sid value in the Referer header value and may need to change that as well.

Referer: http://www.example.com/otherpage?sid=123456789

TIA for your help.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Gilles Dufour Wed, 01/23/2008 - 02:48

all we can do with the url is to create a redirect pointing to a different one.

So you could catch with a class-map any url with sid= and create a redirect to a page without the sid.

In a future release, you'll also be able to filter host header but currently this is not possible.

Gilles.

Actions

This Discussion