You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/doc/userguide/lua/libs
Victor Julien 82177e0eec lua/http: read trailer fields from Lua
Header functions in the Lua http library read the header tables and the raw header
buffer. Once trailer fields moved out of those, a script could no longer see them at
all, and nothing replaced the access: the only way to act on a trailer was a rule.

Add the trailer twins over the tables and blocks the http.trailer buffers use:
tx:request_trailer(), tx:request_trailers(), tx:request_trailers_raw() and the response
versions. Name lookup is case insensitive and reports a miss as an error, like the
header functions. Repeated fields need no merging here: the parser folds them while
storing, so a name has one entry.

HTTP/2 is out of reach of these functions: the Lua http library is driven by htp, so it
has no HTTP/2 transaction to read.

Ticket: #8256.
5 days ago
..
base64.rst doc/userguide: document Lua base64 library 2 years ago
bytevar.rst lua/bytevar: convert SCByteVar to Lua lib 1 year ago
config.rst lua: create suricata.config lua lib 1 year ago
dnp3.rst lua: document the dnp3 lib 1 year ago
dns.rst doc: fix rules 6 months ago
file.rst lua: convert file functions to lib suricata.file 1 year ago
flowint.rst lua: convert lua flowint functions to lib: suricata.flowintlib 2 years ago
flowlib.rst http-log: remove support for http-log 5 months ago
flowvar.rst doc/userguide: fix typo in lua flowvar lib 2 years ago
hashlib.rst
…
http.rst lua/http: read trailer fields from Lua 5 days ago
index.rst ntp: expose logged fields to lua 6 months ago
ja3.rst lua: better doc for ja3 lib 1 year ago
log.rst lua: convert log functions to suricata.log lib 1 year ago
ntp.rst ntp: expose logged fields to lua 6 months ago
packetlib.rst http-log: remove support for http-log 5 months ago
rule.rst lua: add suricata.rule library 2 years ago
smtp.rst lua: convert SMTP functions to lib: suricata.smtp 1 year ago
ssh.rst doc: update the SSH docs for the reworked state machine 3 weeks ago
tls.rst doc/tls: Update Lua TLS functions 1 year ago
util.rst threads: remove thread group name logic 11 months ago