comparison mod_firewall/README.markdown @ 5529:a8f49bf7f8e6

mod_firewall: README: Add some emphasis on the exact behaviour of TO FULL JID
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Jun 2023 11:25:40 +0100
parents e8f46195b292
children 8226ac08484e
comparison
equal deleted inserted replaced
5528:ce6e071d61a0 5529:a8f49bf7f8e6
258 Condition Matches 258 Condition Matches
259 ------------- ------------------------------------------------------- 259 ------------- -------------------------------------------------------
260 `FROM` The JID in the 'from' attribute matches the given JID. 260 `FROM` The JID in the 'from' attribute matches the given JID.
261 `TO` The JID in the 'to' attribute matches the given JID. 261 `TO` The JID in the 'to' attribute matches the given JID.
262 `TO SELF` The stanza is sent by any of a user's resources to their own bare JID. 262 `TO SELF` The stanza is sent by any of a user's resources to their own bare JID.
263 `TO FULL JID` The stanza is addressed to a valid full JID on the local server (full JIDs include a resource at the end, and only exist for the lifetime of a single session, therefore the recipient must be online, or this check will not match). 263 `TO FULL JID` The stanza is addressed to a **valid** full JID on the local server (full JIDs include a resource at the end, and only exist for the lifetime of a single session, therefore the recipient **must be online**, or this check will not match).
264 264
265 The TO and FROM conditions both accept wildcards in the JID when it is 265 The TO and FROM conditions both accept wildcards in the JID when it is
266 enclosed in angle brackets ('\<...\>'). For example: 266 enclosed in angle brackets ('\<...\>'). For example:
267 267
268 # All users at example.com 268 # All users at example.com