Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

INFO: Understanding Client/Server modes of URL rewrite feature

Expand / Collapse



This article applies to:

  • SWG v10.0
  • SWG v10.1

Question:

Starting from v10.0 release Trustwave Secure Web Gateway introduces URL Rewriting feature that allows the proxy to direct URLs to a specified alternate location. 

Caching functionality is required to use URL Rewriting functionality and it could be deployed in two modes: Server mode and Client mode.

This article describes the differences taking place in the background when the system is set to use URL Rewriting in Server mode vs Client mode.

Information:

Below setting will redirect any request for http://www.m86security.com to go to http://www.iconfactory.com .
This configuration is used for demo purposes only and gains no performance benefits at all.


As the browser sends a request to the proxy (frame 252 below) the requested URL would be automatically rewritten to go to alternate location, 
as shown in frame 262 in details:



In this case, the browser is not aware of this change and redirection is being performed on the proxy (Server) side.

Now, the configuration is set to perform same URL Rewriting in Client mode:


Frame 78 - Trustwave caching component responds with HTTP 302 Moved Temporarily code, with location details as shown below.
Frame 80 - Trustwave proxy component returns same HTTP 302 code to the client.
Frame 81 - consequent request from the client to go to alternate location as specified by proxy.



HTTP 302 code is the major difference in this case meaning that the browser is aware of this change.
It should issue another request for URL as specified in location field of HTTP 302 response and the redirection is performed on the client side.

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.