Smokeping_probes_WebProxyFilter(3) | SmokePing | Smokeping_probes_WebProxyFilter(3) |
Smokeping::probes::WebProxyFilter - tests webproxy filter performance and function.
This probe tests if your filtering webproxy is working properly. Drawing from a list of forbidden websites, it tries to establish a connection to each one of them and registers a 'loss' when it suceeeds.
If you want to test availability of a website, use the EchoPingHttp probe.
*** Probes *** +WebProxyFilter forks = 5 maxsize = 2000 min_interval = 0.1 offset = 50% step = 300 timeout = 15 useragent = SmokePing/2.x (WebProxyFilter Probe) # The following variables can be overridden in each target section deny_re = Access Prohibited more_hosts = www.playboy.com, www.our-competition.com pings = 5 timeout = 2 # [...] *** Targets *** probe = WebProxyFilter # if this should be the default probe # [...] + mytarget # probe = WebProxyFilter # if the default probe is something else host = my.host deny_re = Access Prohibited more_hosts = www.playboy.com, www.our-competition.com pings = 5 timeout = 2
The probe uses the LWP::UserAgent module to retreive a series of wepages. It expects to get the firewalls 'site-prohibited' page. Any other response (or a real loss) gets logged as a loss and can be used to trigger an alarm.
The probe tries to be nice to the firewall and waits at least X seconds between starting filetransfers, where X is the value of the probe specific `min_interval' variable (1 by default).
Many variables can be specified either in the probe or in the target definition, the target-specific variable will override the prove-specific variable.
Supported probe-specific variables:
Example value: 5
Default value: 5
Default value: 2000
Example value: 0.1
Default value: 1
Example value: 50%
Example value: 300
Example value: 15
Default value: 5
Default value: SmokePing/2.x (WebProxyFilter Probe)
Supported target-specific variables:
Example value: Access Prohibited
Example value: www.playboy.com, www.our-competition.com
Example value: 5
Example value: 2
Default value: 2
Tobias Oetiker <tobi@oetiker.ch> sponsored by Virtela
This probe is somewhat unortodox, since it regards the sucessful retrieval of a banned webpage as a loss.
2020-07-10 | 2.7.3 |