Skip to content

Profile

FelisCatus edited this page Jun 9, 2012 · 8 revisions

A profile in SwitchyOmega is a proxy mode that can be applied manually or automatically.

In addition to fixed servers, PAC scripts are also supported. There is also a new type of profiles, switch profile, which calls other profiles based on various conditions. Rule lists are processed as Rule list profiles.

Simple profiles

A fixed server profile contains a set of fixed servers for the traffic protocols (HTTP, HTTPS, FTP, fallback). It can be applied directly or automatically applied as results of switch profiles.

The direct profile is a predefined profile. When applied, it forces all traffic to be made directly. It can also be a result of a switch profile.

The system profile is a predefined profile which allows using the proxy config of the current environment. This profile cannot be included in a switch profile because it is not supported in PAC scripts.

The AutoDetect profile is a predefined profile and an equivalent to Chrome auto_detect mode. TODO(catus): Find out the exact effect of setting Chrome auto_detect mode, and see whether it can be included in a switch profile.

A PAC profile contains a PAC script, which can be included in the profile or loaded dynamically from a URL or a local file.

Complex profiles

Switch profiles deprecates the AutoSwitch mode in SwitchySharp. Like the AutoSwitch mode, it chooses a result profile according to the user defined match rules dynamically for each request when applied. Switch profiles themselves are valid result profiles, which allows more flexible configuration.

Rule list profiles extends the "Online Rule List" feature of SwitchySharp. They are in many ways similar with the PAC profile, but with a few differences:

Clone this wiki locally