Squid Web Proxy

About the Device

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.

Squid provides the best possible web access by optimizing the data flow between client and server to improve performance and by caching frequently-used content to save bandwidth. Squid can also route content requests to servers in a wide variety of ways to build cache server hierarchies which optimizes network throughput. Squid helps in building content clusters to route and load balance requests via a variety of web servers.

Device Information

 Entity

Particulars

 Entity

Particulars

Vendor Name

Squid

Product Name

Web Proxy

Type of Device

Hosted

Collection Method

Log Type

 Ingestion label

Preferred Logging Protocol - Format

Log collection method

Log Type

 Ingestion label

Preferred Logging Protocol - Format

Log collection method

Squid Web Proxy

SQUID_WEBPROXY

Syslog

CyberHub

Port Requirements

Source

Destination

Port

Source

Destination

Port

Squid Web Proxy

CyberHub

601 (TCP)

To facilitate secure communication and align with our best practice, we strongly encourage the use of Transport Layer Security (TLS) between your security devices and our Adaptive MxDR platform for event forwarding.

While we understand that TLS support may not be available on all devices, if your devices do support TLS communication, we recommend utilizing port 6514 for seamless integration.

In some cases, the upgraded version of the device might incorporate TLS support without prior notice. If you come across such a scenario or for further assistance in configuring TLS, we kindly ask you to reach out to your dedicated Adaptive MxDR Service Delivery Lead.

Device Configuration

The procedures in this document have been tested on - Squid Proxy v5.7 installed on Ubuntu 22.04.4 LTS. As a prerequisite, we assume that Squid Server has been deployed and running properly on the host machine.

Follow the below steps to configure Squid Proxy Server and RSyslog service to forward Squid Access Logs to CyberHub.

  1. Access Host machine with root or Similar Privileges.

  2. Ensure taking backup of your existing squid configuration file (squid.conf).

  3. Modify Squid configuration file /etc/squid/squid.conf by carefully adding following lines under Log File options to specify Log Format along with Syslog settings for Access Log and save the edits.

Adaptive MxDR support two formats: The Default Format (squid) and a Custom Format (AMxDRSquid). For more detailed logging data, we recommend using the Custom Format.

a. To use Custom format, add following lines in the squid configuration file.

logformat AMxDRSquid %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt %>p %<p "%{Referer}>h" "%{User-Agent}>h" %>st %<st access_log syslog:<Syslog_Facility>.<Syslog_Severity> AMxDRSquid

Specify any chosen Linux Syslog_Facility and Syslog_Severity.

Here we have used Syslog_Facility as local6 and Syslog_Severity as info. Kindly follow the below snapshot.

image-20240715-074456.png

b. To use Default Squid format, add the following line in the squid configuration file.

access_log syslog:<Syslog_Facility>.<Syslog_Severity> squid

 Specify any chosen Linux Syslog_Facility and Syslog_Severity

Here we have used Syslog_Facility as local6 and Syslog_Severity as info. Kindly follow the below snapshot.

image-20240715-074703.png
  1. Modify or create the /etc/rsyslog.d/50-default.conf file and add the following line at the end of the file and save the edits.

$template AMxDRSquidPattern,"<%pri%>%timegenerated% %HOSTNAME% squid-access%msg%\n" local6.info @@<CyberHub-IP>:601;AMxDRSquidPattern

 Specify <CyberHub-IP>in the IP placeholder.

Ensure specifying correct Syslog_Facility and Syslog_Severity here as we have used local6.info in an example.

  1. Restart Squid and rsyslog services.

Integration Parameters

Parameters required from customer for Integration.

Property

Default Value

Description

Property

Default Value

Description

IP Address

Squid Web Proxy interface IP address

Hostname or IP address of the device which forwards logs to the CyberHub

About Accenture:
Accenture is a leading global professional services company that helps the world’s leading businesses, governments and other organizations build their digital core, optimize their operations, accelerate revenue growth and enhance citizen services—creating tangible value at speed and scale. We are a talent and innovation led company with 738,000 people serving clients in more than 120 countries. Technology is at the core of change today, and we are one of the world’s leaders in helping drive that change, with strong ecosystem relationships. We combine our strength in technology with unmatched industry experience, functional expertise and global delivery capability. We are uniquely able to deliver tangible outcomes because of our broad range of services, solutions and assets across Strategy & Consulting, Technology, Operations, Industry X and Accenture Song. These capabilities, together with our culture of shared success and commitment to creating 360° value, enable us to help our clients succeed and build trusted, lasting relationships. We measure our success by the 360° value we create for our clients, each other, our shareholders, partners and communities. Visit us at www.accenture.com.

About Accenture Security
Accenture Security is a leading provider of end-to-end cybersecurity services, including advanced cyber defense, applied cybersecurity solutions and managed security operations. We bring security innovation, coupled with global scale and a worldwide delivery capability through our network of Advanced Technology and Intelligent Operations centers. Helped by our team of highly skilled professionals, we enable clients to innovate safely, build cyber resilience and grow with confidence. Follow us @AccentureSecure on Twitter or visit us at www.accenture.com/security.

Legal notice: Accenture, the Accenture logo, and other trademarks, service marks, and designs are registered or unregistered trademarks of Accenture and its subsidiaries in the United States and in foreign countries. All trademarks are properties of their respective owners. This document is intended for general informational purposes only and does not take into account the reader’s specific circumstances, and may not reflect the most current developments. Accenture disclaims, to the fullest extent permitted by applicable law, any and all liability for the accuracy and completeness of the information in this presentation and for any acts or omissions made based on such information. Accenture does not provide legal, regulatory, audit, or tax advice. Readers are responsible for obtaining such advice from their own legal counsel or other licensed professionals.