Skip to content

Profile

FelisCatus edited this page Jun 10, 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 Auto-detect profile is a predefined profile which tells the browser to do proxy auto detection by downloading http://wpad/wpad.dat and use the response content as a PAC script. This profile can be a result profile of Switch profiles.

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 deprecate the AutoSwitch mode in SwitchySharp. Like the AutoSwitch mode, they choose 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 extend the "Online Rule List" feature of SwitchySharp. They are collections of switch profile conditions. If any of the conditions are met, the match result profile is used. If any reverse conditions are met, or all the conditions failed, the default result profile is used.