This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
kemi:performance-tests:5.2.x [2018/12/06 09:42] miconda [SIPP Scenario] |
kemi:performance-tests:5.2.x [2018/12/11 16:31] miconda [Common Config File] |
||
---|---|---|---|
Line 505: | Line 505: | ||
#!ifdef WITH_CFGPYTHON | #!ifdef WITH_CFGPYTHON | ||
- | modparam(" | + | modparam(" |
cfgengine " | cfgengine " | ||
#!else | #!else | ||
Line 516: | Line 516: | ||
#!ifdef WITH_CFGJSDT | #!ifdef WITH_CFGJSDT | ||
- | modparam(" | + | modparam(" |
cfgengine " | cfgengine " | ||
#!else | #!else | ||
#!ifdef WITH_CFGSQLANG | #!ifdef WITH_CFGSQLANG | ||
- | modparam(" | + | modparam(" |
cfgengine " | cfgengine " | ||
#!else | #!else | ||
Line 1009: | Line 1009: | ||
function ksr_route_reqinit() | function ksr_route_reqinit() | ||
if not KSR.is_myself_srcip() then | if not KSR.is_myself_srcip() then | ||
- | if not KSR.htable.sht_has_name(" | + | if KSR.htable.sht_has_name(" |
-- ip is already blocked | -- ip is already blocked | ||
KSR.dbg(" | KSR.dbg(" | ||
Line 1022: | Line 1022: | ||
end | end | ||
end | end | ||
- | if KSR.corex.has_user_agent() then | + | if KSR.corex.has_user_agent() |
if string.find(K_ua, | if string.find(K_ua, | ||
or string.find(K_ua, | or string.find(K_ua, | ||
Line 1433: | Line 1433: | ||
return -255; | return -255; | ||
- | if KSR.corex.has_user_agent() : | + | if KSR.corex.has_user_agent() |
ua = KSR.pv.gete(" | ua = KSR.pv.gete(" | ||
if (ua.find(" | if (ua.find(" |