Log

mod_firewall/mod_firewall.lua @ 5913:2597e2113561

description author age
mod_firewall: Support util.id.* as dependencies Matthew Wild Tue, 12 Mar 2024 14:31:21 +0000
mod_firewall: Fix to find scripts when installed with plugin installer Kim Alvefur Sun, 11 Feb 2024 12:50:53 +0100
mod_firewall: TO/FROM ROLE: Handle JIDs with no role (thanks Zash) Matthew Wild Tue, 12 Dec 2023 19:06:37 +0000
mod_firewall: Add FROM COUNTRY condition based on GeoIP DB Kim Alvefur Sun, 12 Nov 2023 16:37:47 +0100
mod_firewall: Add console commands to mark/unmark users Matthew Wild Thu, 08 Jun 2023 19:47:35 +0100
mod_firewall: enable marks by default Matthew Wild Thu, 08 Jun 2023 17:00:04 +0100
mod_firewall: Initialize compiled chunk just once for all handlers Matthew Wild Fri, 28 Apr 2023 13:27:06 +0100
mod_firewall: Fix 'is_admin' internal dependency rule #1797 (thanks diane) Kim Alvefur Fri, 27 Jan 2023 23:06:25 +0100
mod_firewall: Update for role-auth (backwards compatible) Matthew Wild Thu, 11 Aug 2022 17:04:53 +0100
mod_firewall: Remove reliance on full_sessions being a global Kim Alvefur Wed, 30 Jun 2021 14:48:59 +0200
mod_firewall: Allow underscores in definition names Matthew Wild Sat, 05 Jun 2021 16:22:22 +0100
mod_firewall: Use util.envload instead of deprecated loadstring (thanks Martin) Kim Alvefur Sun, 19 Apr 2020 23:37:13 +0200
mod_firewall: Add special case for $local zone (fixes #1090) Kim Alvefur Mon, 12 Mar 2018 12:26:15 +0100
mod_firewall: Add experimental user-centric persistent marks behind a feature flag Kim Alvefur Sat, 24 Feb 2018 21:40:56 +0100
mod_firewall: Trim trailing whitespace [luacheck] Kim Alvefur Wed, 03 Jan 2018 07:49:22 +0100
mod_firewall: Add 'test' subcommand to read stanzas from stdin and test them against rules Matthew Wild Sun, 26 Feb 2017 09:58:07 +0000
mod_firewall: Remove ambiguity from tokens dep parameter Matthew Wild Sun, 26 Feb 2017 09:50:16 +0000
mod_firewall: Fix for including the same dependency with different parameters Matthew Wild Sun, 26 Feb 2017 09:49:42 +0000
mod_firewall: Compatibility fix for 0.9 (no module:unhook()) Matthew Wild Sat, 25 Feb 2017 17:05:40 +0000
mod_firewall: Add some comments Matthew Wild Sat, 25 Feb 2017 16:55:02 +0000
mod_firewall: Various improvements allowing dynamic load/reload/unload of scripts Matthew Wild Sat, 25 Feb 2017 16:54:52 +0000
mod_firewall: Factor out script loading Matthew Wild Sat, 25 Feb 2017 15:46:27 +0000
mod_firewall: Fix meta functions with to/from that weren't JID-based Matthew Wild Sat, 25 Feb 2017 15:46:01 +0000
mod_firewall: Rename variables to avoid shadowing #luacheck Matthew Wild Fri, 24 Feb 2017 09:49:30 +0000
mod_firewall: Accept backslash escapes in definitions Matthew Wild Fri, 24 Feb 2017 09:49:09 +0000
mod_firewall: Make PASS bubble up through all chains, and add DEFAULT and RETURN Matthew Wild Fri, 24 Feb 2017 09:38:20 +0000
mod_firewall: Allow backslash escapes in definitions Matthew Wild Thu, 23 Feb 2017 14:00:43 +0000
mod_firewall: Pass 'module' object to chain handlers Matthew Wild Thu, 23 Feb 2017 14:00:26 +0000
mod_firewall: Add 'current_host' variable/dependency Matthew Wild Thu, 23 Feb 2017 13:58:30 +0000
mod_firewall: Add metaq(), like meta() but takes an unquoted string Matthew Wild Thu, 23 Feb 2017 13:58:13 +0000
mod_firewall: Add stripslashes() function Matthew Wild Thu, 23 Feb 2017 13:57:48 +0000
mod_firewall: Add it(erators) and it_count dependencies Matthew Wild Tue, 21 Feb 2017 22:41:40 +0000
mod_firewall: Do patterns properly, instead of cheating Matthew Wild Tue, 21 Feb 2017 22:41:08 +0000
mod_firewall: Allow using spaces instead of underscores in actions, as well as conditions Matthew Wild Tue, 21 Feb 2017 10:38:14 +0000
mod_firewall: Reinstate the ability to set a default for stanza expressions Matthew Wild Tue, 21 Feb 2017 10:37:53 +0000
mod_firewall: Fix scan_list() syntax error in generated code Matthew Wild Mon, 20 Feb 2017 13:12:30 +0000
mod_firewall: Add SEARCH, PATTERN definitions and SCAN condition to check tokenized stanza:find() against a list Matthew Wild Mon, 20 Feb 2017 09:31:30 +0000
mod_firewall: Code formatting Matthew Wild Mon, 20 Feb 2017 09:29:38 +0000
mod_firewall: Fix pattern Matthew Wild Mon, 20 Feb 2017 09:29:25 +0000
mod_firewall: Fix for deps dynamically including deps Matthew Wild Mon, 20 Feb 2017 09:29:09 +0000
mod_firewall: More meta() enhancements Matthew Wild Mon, 20 Feb 2017 09:28:35 +0000
mod_firewall: Initial support for lists, in-memory and HTTP Matthew Wild Sun, 19 Feb 2017 21:10:26 +0000
mod_firewall: More meta! Allow simple functions to be applied to $<> expressions Matthew Wild Sun, 19 Feb 2017 21:06:57 +0000
mod_firewall: Fix circular dependency check Matthew Wild Sun, 19 Feb 2017 21:06:08 +0000
mod_firewall: Fix $<> expressions being truncated when compiled Matthew Wild Thu, 26 Jan 2017 18:04:59 +0000
mod_firewall: More semicolons Kim Alvefur Fri, 16 Dec 2016 03:30:46 +0100
mod_firewall: Only call rostermanager if username is available (fixes #796) Kim Alvefur Tue, 13 Dec 2016 22:08:02 +0100
mod_firewall: Insert semicolons after some statements to prevent ambiguous syntax in output (fixes #797) Kim Alvefur Tue, 13 Dec 2016 16:57:16 +0100
mod_firewall: Use the sender bare JID instead of 'to' for stanzas to self Kim Alvefur Sat, 03 Dec 2016 20:00:08 +0100
mod_firewall: Allow conditions to end with a question mark Kim Alvefur Fri, 02 Dec 2016 11:45:10 +0100
mod_firewall: Split import of rostermanager into its own dependency Kim Alvefur Wed, 30 Nov 2016 15:37:51 +0100
mod_firewall: Fix for raw code expressions that contain escape-worthy characters Matthew Wild Sat, 19 Nov 2016 15:47:41 +0000
mod_firewall: Add default zone called '$local' containing all local hosts (dynamically) Matthew Wild Fri, 18 Nov 2016 17:22:28 +0000
mod_firewall: Support for default values in stanza paths Matthew Wild Tue, 15 Nov 2016 21:02:04 +0000
mod_firewall: When compiling on the command-line with -v, ensure chain function names are unique and valid ids Matthew Wild Tue, 15 Nov 2016 15:01:14 +0000
mod_firewall: Allow prefixing script paths with 'module:' to specify path relative to module file Matthew Wild Tue, 15 Nov 2016 15:00:38 +0000
mod_firewall: Fix for when compiling on the command line and specifying multiple files Matthew Wild Tue, 15 Nov 2016 14:59:49 +0000
mod_firewall: Allow implicit defitions of chains in scripts if they begin with 'user/' Matthew Wild Tue, 15 Nov 2016 14:58:43 +0000
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 Fri, 04 Nov 2016 12:46:11 +0000
mod_firewall: Don't use util.cache unless it's needed, and add explanatory error if it is not available Matthew Wild Fri, 18 Mar 2016 09:57:09 +0000
mod_firewall: Add support for throttling based on user-defined properties (experimental) Matthew Wild Fri, 18 Mar 2016 09:47:52 +0000
mod_firewall: Fix syntax error Matthew Wild Thu, 17 Mar 2016 21:30:09 +0000
mod_firewall: Move meta() function to main module, and make it a global so libs can use it Matthew Wild Thu, 17 Mar 2016 21:29:07 +0000
mod_firewall: Add comment to document idsafe() Matthew Wild Thu, 17 Mar 2016 21:27:24 +0000
mod_firewall: Disable more realistic output by default, activated by adding a -v flag Kim Alvefur Thu, 17 Mar 2016 14:33:14 +0100
mod_firewall: Make prosodyctl command output more realistic source (not guaranteed to work) Kim Alvefur Thu, 17 Mar 2016 14:20:06 +0100
mod_firewall: Support for defining extra chains in the config file Matthew Wild Thu, 17 Mar 2016 12:09:20 +0000
mod_firewall: Allow actions to have underscores in their names Matthew Wild Thu, 17 Mar 2016 11:22:49 +0000
mod_firewall: Add 'timestamp' dep to get current_timestamp Matthew Wild Thu, 17 Mar 2016 11:22:35 +0000
mod_firewall: Make idsafe() a global function so libraries can re-use it Matthew Wild Thu, 17 Mar 2016 11:22:18 +0000
mod_firewall: Silence warning about empty if branch [luacheck] Kim Alvefur Fri, 11 Mar 2016 18:52:48 +0100
mod_firewall: Split compile function into two parts in order to separate their scopes Kim Alvefur Fri, 11 Mar 2016 18:48:34 +0100
mod_firewall: Rename argument to avoid name clash [luacheck] Kim Alvefur Fri, 11 Mar 2016 18:48:05 +0100
mod_firewall: Remove unused imports [luacheck] Kim Alvefur Fri, 11 Mar 2016 18:47:39 +0100
mod_firewall: Optimize string match operations, string.find is faster than .match since no string is returned Kim Alvefur Fri, 11 Mar 2016 18:13:53 +0100
all the things: Remove trailing whitespace Florian Zeitz Tue, 11 Mar 2014 18:44:01 +0100
Backed out changeset 853a382c9bd6 Kim Alvefur Fri, 28 Feb 2014 15:37:55 +0100
mod_turncredentials: Advertise the XEP-0215 feature (thanks Gryffus) Kim Alvefur Fri, 28 Feb 2014 15:36:06 +0100
mod_firewall: Do not cache conditions with only a single use Florian Zeitz Sun, 16 Feb 2014 18:19:12 +0100
mod_firewall: Produce code with nicer indentation Florian Zeitz Sun, 16 Feb 2014 17:17:23 +0100
mod_firewall: Add support for being called as a prosodyctl command Kim Alvefur Wed, 05 Jun 2013 21:14:59 +0200
mod_firewall: Remove print() Kim Alvefur Wed, 05 Jun 2013 21:13:20 +0200
mod_firewall: don't use %b() (not technically correct) Matthew Wild Wed, 08 May 2013 10:43:02 +0100
mod_firewall: Make defining objects generic (currently zones and rate limits), so more can easily be added. Also a syntax change... definition lines must begin with % Matthew Wild Tue, 07 May 2013 10:33:49 +0100
mod_firewall: Fix conditions with spaces Matthew Wild Tue, 07 May 2013 10:32:48 +0100
mod_firewall: Cache conditions, so that they are only calculated once per chain execution Matthew Wild Tue, 07 May 2013 09:28:20 +0100
mod_firewall: Fix variable name Kim Alvefur Mon, 08 Apr 2013 22:26:52 +0200
mod_firewall: Add rate limiting capabilities, and keep zones and throttle objects in shared tables Matthew Wild Sat, 06 Apr 2013 22:20:59 +0100
mod_firewall: Don't add empty conditions check when no conditions are listed in a rule Matthew Wild Sat, 06 Apr 2013 14:03:02 +0100
mod_firewall: Add time and date deps Matthew Wild Sat, 06 Apr 2013 14:02:38 +0100
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 Fri, 05 Apr 2013 19:21:46 +0100
mod_firewall: Add actions EVENT (fire an event), JUMP EVENT (transfer control to the handlers of an event), JUMP CHAIN (transfer control to another mod_firewall chain) Matthew Wild Fri, 05 Apr 2013 18:08:16 +0100
mod_firewall: Tighten up error handling, and split rules->Lua and Lua->bytecode compilation into separate functions Matthew Wild Fri, 05 Apr 2013 18:05:21 +0100
mod_firewall: Use resolve_relative_path correctly Kim Alvefur Thu, 04 Apr 2013 23:11:36 +0200
mod_firewall: General stanza filtering plugin with a declarative rule-based syntax Matthew Wild Wed, 03 Apr 2013 16:11:20 +0100