mirror of https://github.com/OISF/suricata
output-lua: add HttpGetRequestHost callback
Get the host from libhtp's tx->request_hostname, which can either be
the host portion of the url or the host portion of the Host header.
Example:
http_host = HttpGetRequestHost()
if http_host == nil then
http_host = "<hostname unknown>"
end
pull/1112/head
parent
a234a335ac
commit
8360b707e8
Loading…
Reference in New Issue