Log

mod_firewall/conditions.lib.lua @ 5884:fdff8cb54302

description author age
mod_firewall: TO/FROM ROLE: Handle JIDs with no role (thanks Zash) Matthew Wild 13 months ago
mod_firewall: Fix TO/FROM ROLE Matthew Wild 13 months ago
mod_firewall: Add FROM COUNTRY condition based on GeoIP DB Kim Alvefur 14 months ago
mod_firewall: Split some long lines [luacheck] Matthew Wild 19 months ago
mod_firewall: Fix inverted logic of 'FROM FULL JID?' Matthew Wild 19 months ago
mod_firewall: Add 'FROM FULL JID?' condition Matthew Wild 19 months ago
mod_firewall: Update for role-auth (backwards compatible) Matthew Wild 2022-08-11
mod_firewall: Remove reliance on full_sessions being a global Kim Alvefur 2021-06-30
mod_firewall: Remove trailing whitespace Kim Alvefur 2020-04-19
mod_firewall: Fix use of unpack() on Lua 5.3 Kim Alvefur 2020-04-13
mod_firewall: Add special case for $local zone (fixes #1090) Kim Alvefur 2018-03-12
mod_firewall: Add PENDING SUBSCRIPTION FROM SENDER? condition Matthew Wild 2018-03-09
mod_firewall: Add experimental user-centric persistent marks behind a feature flag Kim Alvefur 2018-02-24
mod_firewall: Prevent traceback if no directed presence has been sent (fixes #1081) Kim Alvefur 2018-02-16
mod_firewall: Trim trailing whitespace [luacheck] Kim Alvefur 2018-01-03
mod_firewall: Make SUBSCRIBED match for stanzas sent to self (fixes #1052) Kim Alvefur 2017-12-30
mod_firewall: Add some more comments Matthew Wild 2017-03-10
mod_firewall: Add and document CROSSING GROUPS condition Matthew Wild 2017-03-03
mod_firewall: Remove ambiguity from tokens dep parameter Matthew Wild 2017-02-26
mod_firewall: Fix compilation error if TYPE/KIND had no parameter Matthew Wild 2017-02-25
mod_firewall: TO/FROM ADMIN OF: Fix string quoting Matthew Wild 2017-02-25
mod_firewall: Fix TO/FROM ADMIN to use current (module) host Matthew Wild 2017-02-25
mod_firewall: SUBSCRIBED: Only check roster if 'to' address has a nodepart (fixes traceback) Matthew Wild 2017-02-24
mod_firewall: TO SELF: Use raw stanza.attr.to directly, as 'to' defaults to bare JID if nil Matthew Wild 2017-02-24
mod_firewall: Add TO FULL JID Matthew Wild 2017-02-23
mod_firewall: Fix everything wrong with SENT_DIRECTED_PRESENCE_TO_SENDER Matthew Wild 2017-02-23
mod_firewall: Add TO/FROM ADMIN Matthew Wild 2017-02-23
mod_firewall: Support expressions in TO/FROM EXACTLY Matthew Wild 2017-02-23
mod_firewall: Add and document COUNT condition Matthew Wild 2017-02-21
mod_firewall: Make parameter to 'IN ROSTER' optional Matthew Wild 2017-02-21
mod_firewall: Fix SCAN to pass correct variable to scan_list() Matthew Wild 2017-02-20
mod_firewall: Add 'SENT DIRECTED PRESENCE TO SENDER?' Matthew Wild 2017-02-20
mod_firewall: Add SEARCH, PATTERN definitions and SCAN condition to check tokenized stanza:find() against a list Matthew Wild 2017-02-20
mod_firewall: Fix CHECK LIST syntax check Matthew Wild 2017-02-19
mod_firewall: Initial support for lists, in-memory and HTTP Matthew Wild 2017-02-19
mod_firewall: Update functions that use meta() to allow functions with deps inside expressions Matthew Wild 2017-02-19
mod_firewall: Add 'TO SELF' check ('NOT TO?' worked until commit 9159f9166893) Matthew Wild 2017-01-26
mod_firewall: SUBSCRIBED - condition that is true if the receiver of a stanza is subscribed to the sender Kim Alvefur 2016-11-30
mod_firewall: INSPECT: support for literal substring search and expressions Matthew Wild 2016-11-19
mod_firewall: INSPECT: Handle stanza:find() returning nil (i.e. path didn't match) Matthew Wild 2016-11-15
mod_firewall: INSPECT: Emit compilation error when the given stanza path is used for comparison but doesn't return a string Matthew Wild 2016-11-15
mod_firewall: Add conditions for testing whether a sender of a stanza is in the recipient's roster (or in a certain roster group) Matthew Wild 2016-11-04
mod_firewall: Add support for throttling based on user-defined properties (experimental) Matthew Wild 2016-03-18
mod_firewall: Allow underscore in mark names (thanks Ge0rG) Matthew Wild 2016-03-18
mod_firewall: Move meta() function to main module, and make it a global so libs can use it Matthew Wild 2016-03-17
mod_firewall: Correct zone condition to check bare JID Kim Alvefur 2016-03-17
mod_firewall: Fix usage of incorrect variable current_time in ORIGIN_MARKED condition (thanks Ge0rG) Matthew Wild 2016-03-17
mod_firewall: INSPECT: Support for pattern matches (confusingly using ~= instead of =) Matthew Wild 2016-03-17
mod_firewall: Add support for session marking (MARK_ORIGIN, UNMARK_ORIGIN, ORIGIN_MARKED) Matthew Wild 2016-03-17
mod_firewall: Pass results as arguments to format instead of shadowning variable [luacheck] Kim Alvefur 2016-03-11
mod_firewall: Use string.find in JID match, faster since the result is unused Kim Alvefur 2016-03-11
mod_firewall: Verify that JID part exists before attempting to call method Kim Alvefur 2016-03-11
mod_firewall: Anchor pattern at beginning and end Kim Alvefur 2016-03-11
mod_firewall/conditions: Add semicolon Kim Alvefur 2016-03-11
mod_firewall: Optimize string match operations, string.find is faster than .match since no string is returned Kim Alvefur 2016-03-11
mod_firewall/conditions: Add FROM_EXACTLY and TO_EXACTLY Matthew Wild 2016-02-01
mod_firewall/conditions: Remove unused variable Matthew Wild 2013-05-07
mod_firewall: The default value of the 'type' attribute on message stanzas is 'normal' Kim Alvefur 2013-04-08
mod_firewall: Add rate limiting capabilities, and keep zones and throttle objects in shared tables Matthew Wild 2013-04-06
mod_firewall/conditions: Add DAY and TIME conditions Matthew Wild 2013-04-06
mod_firewall: Improve zone handling, make it more efficient, and support dynamic dependencies in the compiler. ENTERING and LEAVING conditions now work at expected (not matching stanzas flowing within a zone). Matthew Wild 2013-04-05
mod_firewall/conditions: Default types for message and presence Matthew Wild 2013-04-05
mod_firewall/conditions: Don't use table.insert, so things are happy when compile_jid_match() returns nil Matthew Wild 2013-04-05
mod_firewall/conditions: Support Lua patterns in JID matching, and make <*>@example.com NOT match example.com Matthew Wild 2013-04-05
mod_firewall: Add INSPECT conditional, for deeper inspection of stanzas Kim Alvefur 2013-04-04
mod_firewall: General stanza filtering plugin with a declarative rule-based syntax Matthew Wild 2013-04-03