#1081 mod_firewall: traceback on NOT SENT DIRECTED PRESENCE

Reporter cuc
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Fixed
  • Type-Defect
  1. cuc on

    What steps will reproduce the problem? copy ruleset from [1] to firewall script: # Rule to bounce messages from senders not in the roster who haven't been sent directed presence NOT IN ROSTER? NOT SENT DIRECTED PRESENCE TO SENDER? LOG=[info] blabla BOUNCE=service-unavailable [1] https://modules.prosody.im/mod_firewall.html What is the expected output? specified log entry (blabla) or nothing What do you see instead? mod_s2s error Traceback[s2s]: mod_firewall::deliver:142: attempt to index field 'directed' (a nil value) mod_firewall::deliver:142: in function '?' What version of the product are you using? On what operating system? 0.10.0-1~stretch4 with prosody modules: changeset: 2876:ea6b5321db50 Please provide any additional information below.

  2. Zash on

    This should fix it: https://hg.prosody.im/prosody-modules/rev/6f289283feb1 Thanks for the report

    Changes
    • owner Zash
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.