Le 03/07/2019 à 11:03, Aleksandar Lazic a écrit :
Hi.
in the spoe doc in section **2.5. Example** are the following lines.
```
620 spoe-message get-ip-reputation
621 args ip=src
622 event on-client-session if ! { src -f /etc/haproxy/whitelist.lst }
```
As far as I understood the doc in line `496 args [name=]<sample> ...` right
could be the check also against `ip` not only `src`?
git links:
http://git.haproxy.org/?p=haproxy-1.8.git;a=blob;f=doc/SPOE.txt;h=9602df95dacc3aa5f6fa9154c0cf3f2a3f4ed092;hb=HEAD
http://git.haproxy.org/?p=haproxy.git;a=blob;f=doc/SPOE.txt;h=19f00ad98d51f155494b47e680f14d6973dd91bb;hb=HEAD
Sorry, I don't understand the question. "src" is a sample fetch. "ip" is just a
label. It may be use by the agent to match arguments. It could be a way to pass
arguments in any order and rely on their names instead of their positions.
Hope it helps :)
--
Christopher Faulet