<AuthBy DUO>
requires Perl modules HTTP::Async 0.19 or later and
Net::HTTPS::NB. For more information, see Duo
website goodies/duo.cfg for an example configuration
file and examples of how to combine the password and password factor (see
Section 3.95.2. DefaultFactor) for controlling
how two-factor authentication is done. See
goodies/duosim.cgi for setting up a partial
authentication API simulator for testing.<AuthBy DUO> understands also the same
parameters as <AuthBy xxxxxx>. For more
information, see Section 3.32. <AuthBy xxxxxx>.Hostname api-aabbcczz.duosecurity.com SecretKey aaaabbbbccccddddeeeeffffgggghhhhiiiijjjj IntegrationKey kkkkllllmmmmnnnnoooo
DefaultFactor push
# Turn off pre-authentication PreAuth no
Address %{Calling-Station-Id}
SSLVerifyCNName duosecurity.com SSLVerifyCNScheme http
5 seconds.
When set to 0, checks are disabled and FailureBackoffTime
is used to control how long API is considered dead.
# Use one minute alive check interval CheckTimerInterval 60
CheckTimerInterval
is set to 0 to turn off periodic API checks. When
FailureBackoffTime is set to 0, API
is always considered alive. Defaults to 60
seconds.
# Do not use alive polling. Allow API to remain in failed state for two minutes CheckTimerInterval 0 FailureBackoffTime 120
20.2 * Slots, a warning is
logged and the API is marked dead to prevent further
overload.ignore.
Format specifiers, such as %{GlobalVar:name}, are
evaluated when the configuration is loaded. The possible values are:
acceptignorereject# Reject, instead of ignore, when timeout or other API problem occurs Failmode reject
goodies/duo.cfg for how to set EndpointPrefix when
using the Auth API simulator
duosim.cgi.https. Usually there is no need to change
this.