Guest

IP Application Services

How to Configure SAA to Support HTTP Proxy and Authentication

Document ID: 40304

Updated: Oct 26, 2005

   Print

Introduction

This document describes how to configure Service Assurance Agent (SAA) raw HTTP operations.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on these software and hardware versions:

  • Cisco IOS routers

  • Cisco IOS Software Release 12.0(5)T 12.0(21)S1

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

For more information on document conventions, refer to Cisco Technical Tips Conventions.

How To Configure HTTP Operations

How To Configure HTTP Operation That Requires Authentication

In this example 5.0.0.2 is the target HTTP Server, and the highlighted text is the base64 encoded equivalent of plain text username: password.

(config)#rtr 6
config-rtr)#type http operation raw url http://5.0.0.2:1744/
(config-rtr)#http-raw-request
(config-rtr-http-rr)#GET /cwb-ipm-etc/source/srcfile HTTP/1.0\r\n
(config-rtr-http-rr)#Authorization: Basic aXBtOmNpc2Nv\r\n
(config-rtr-http-rr)#\r\n
(config-rtr-http-rr)#exit
(config-rtr-http)#exit
(config)#rtr schedule 6 start-time now

How To Configure HTTP Operation Through Proxy

In this example 3.0.0.2 is the proxy server and 5.0.0.2 is the target HTTP Server.

(config)#rtr 6
(config-rtr)#type http operation raw url http://3.0.0.2
(config-rtr)#http-raw-request
(config-rtr-http-rr)#GET http://5.0.0.2/index.html HTTP/1.0 \r\n
(config-rtr-http-rr)#\r\n
(config-rtr-http-rr)#exit
(config-rtr-http)#exit
(config)#rtr schedule 6 start-time now

How To Configure HTTP Operation Through Proxy That Requires Authentication

In this example 3.0.0.2 is the proxy server and 5.0.0.2 is the target HTTP Server. The first highlighted text is the base64 encoded string for your proxy authentication as proxyuser: proxypassword, and the second highlighted text is the base64 encoded string for the username/password credential that is required to get to url http://5.0.0.2/index.html.

(config)#rtr 6
(config-rtr)#type http operation raw url http://3.0.0.2
(config-rtr)#http-raw-request
(config-rtr-http-rr)#GET http://5.0.0.2/index.html HTTP/1.0 \r\n
(config-rtr-http-rr)#Proxy-Authorization: Basic dGVzdDp0ZXN0\r\n
(config-rtr-http-rr)#Authorization: Basic dTE1OTY5NjpQaXp6YTNnbw0K\r\n
(config-rtr-http-rr)#\r\n
(config-rtr-http-rr)#exit
(config-rtr-http)#exit
(config)#rtr schedule 6 start-time now

Verify

There is currently no verification procedure available for this configuration.

Troubleshoot

There is currently no specific troubleshooting information available for this configuration.

Related Information

Updated: Oct 26, 2005
Document ID: 40304