Mercurial > prosody-modules
comparison mod_firewall/README.markdown @ 2114:ce3dd93f30d9
mod_firewall: README: Note about marks applying to sessions, not JIDs
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 12:10:50 +0000 |
parents | 4e434abaf8fc |
children | 6848297cf40a |
comparison
equal
deleted
inserted
replaced
2113:d75145297bf9 | 2114:ce3dd93f30d9 |
---|---|
342 Action Description | 342 Action Description |
343 ------------------------ -------------------------------------------------------------------------- | 343 ------------------------ -------------------------------------------------------------------------- |
344 `MARK_ORIGIN=mark` Marks the originating session with the given flag. | 344 `MARK_ORIGIN=mark` Marks the originating session with the given flag. |
345 `UNMARK_ORIGIN=mark` Removes the given mark from the origin session (if it is set). | 345 `UNMARK_ORIGIN=mark` Removes the given mark from the origin session (if it is set). |
346 | 346 |
347 **Note:** Marks apply to sessions, not JIDs. E.g. if marking in a rule that matches a stanza received | |
348 over s2s, it is the s2s session that is marked. | |
349 | |
350 It is possible to have multiple marks on an origin at any given time. | |
351 | |
347 ### Informational | 352 ### Informational |
348 | 353 |
349 Action Description | 354 Action Description |
350 --------------- ------------------------------------------------------------------------------------------------------------------------ | 355 --------------- ------------------------------------------------------------------------------------------------------------------------ |
351 `LOG=message` Logs the given message to Prosody's log file. Optionally prefix it with a log level in square brackets, e.g. `[debug]` | 356 `LOG=message` Logs the given message to Prosody's log file. Optionally prefix it with a log level in square brackets, e.g. `[debug]` |