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...

FAQ: What is the syntax for the ipprofile.conf file?

Expand / Collapse


This article applies to:

  • R3000

Question:

What is the syntax for the ipprofile.conf file?

Reply

You can manage your IP Groups using the Java GUI, or by uploading a text file that you create yourself. Generally, you should manage your IP Groups using only one method: the GUI, or a text file.

Currently, the disadvantage to using a text file to manage your IP Groups is that you won't be able to use Exception URLs and Time Profiles. Filtering profiles can be customized to allow/deny users access to library categories, redirect users to the Athentication Request Form or another URL instead of having the standard block page display, and enable any of the following filter options: X Strikes Blocking feature, Google/Yahoo! Safe Search Enforcement, Search Engin Keyword Filter Control, and/or URL Keyword Filter Control with/without the Extend URL Keyword Filter Control option.

Each filtering profile included in the file should be entered on a separate line. Filter options should be incuded at the end of the profile string.

Filter Option Codes

0x1 = Exception URL Query (this feature is always enabled for IP profiles)
0x2 = X Strikes Blocking
0x4 = Google/Yahoo! Safe Search Enforcement
0x100 = Search Engine Keyword
0x200 = URL Keyword
0x1000 = Extend URL Keyword Filter Control

NOTE: To enable multiple filter codes, add the codes together. For example, to enable all features for an IP profile, add 1 + 2 + 4 + 100 + 200 + 1000 = 1307, which means that 0x1307 should be added at the end of the proile string. To disable all filter codes for an IP profile, enter 0x1 at the end of the profile string.

Category Command Codes
I = Positioned after Category Codes designated as “blocked,” indicates that all other categories should be “open.”
J = Open the defined category/categories
J J = White list the defined category/categories
Q = Block all categories
R = Block the defined category/categories

NOTE: To white list one or more categories, "J" must be placed before the category codes. An entry of a second "J" character indicates that the categories are allowed to pass.

For example, the port and category filtering portion of the profile string might be set up as follows: A,J R IRADIO I or A,J J LEGAL AUTO Q Global IP

Profile Format

The syntax of the file uploaded to the Global Profile should be as follows: , {, , } , , {, , } Mobile Client Profile Format (for Mobile R3000 servers only)

The syntax of the file uploaded to the Global Profile on an R3000 Mobile server should be as follows: , , , {, , }

Master IP Profile Format The syntax of the file uploaded to the master IP group should be as follows: , , {, , } , , , {, , }

Master IP Profile Examples with Filter Options

If all features are enabled: tjones,100.10.160.136/32, A ,J R ART KDPORN GPORN I , 1, , 0x307

If only Google/Yahoo! Safe Search Enforcement is enabled: jsmith,100.10.160.142/32,A ,J J COMICS I,1,auth,0x5

If only Search Engine Keyword is enabled: pjohnson,100.10.160.9/32,Rule1, ,0x101

only X Strikes Blocking and URL Keyword Filtering are enabled: ssnetsinger,100.10.160.30/32,Rule5, auth,0x203

If all options are disabled: ajones,100.10.160.40/32,Rule5, http://www.logo.com/block.html, 0x1

If you ever want to "erase" your ipprofile.conf file and go back to managing your IP Groups via the GUI, simply upload a "blank" ipprofile.conf.

This article was previously published as:
8e6 KB 276506

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
.