HTTP requests with no user-agent are almost all universally bots or
undesirable traffic.

Unfortunately, the following in relayd.conf does not work:

block request quick header log "User-Agent" value ""

If a value is given (with or without a wildcard) the rule works as
expected.

I suspect relayd interprets the zero-length string as a NULL value when
the rule is parsed and it is summarily ignored. Is there a better way to
check for a zero-length string or lack of a user-agent header in the HTTP
request?

Regards
Lloyd

Reply via email to