[asterisk-dev] FW: Question about permit/deny in pjsip endpoints

Seán C. McCord ulexus at gmail.com
Mon Oct 29 10:06:17 CDT 2018


I would suspect some syntax problem.   Can you post the actual relevant
config file bits rather than a paraphrase?


On Mon, Oct 29, 2018 at 10:42 AM Floimair Florian <f.floimair at commend.com>
wrote:

> No one with any idea about this?
>
>
>
>
>
> -----
>
>
>
> UPDATE:
>
> Additionally, I see this message in the logs:
>
>
>
> ["2018-10-25 07:52:40.6837"] WARNING[123176]: named_acl.c:333
> ast_named_acl_find: ACL 'deny/permit' does not exist. The ACL will be
> marked as undefined and will automatically fail if applied.
>
>
>
>
>
>
>
>
>
> Hello all!
>
>
>
> I wanted to try limiting incoming SIP packets to the IP of my Kamailio
> loadbalancer.
>
> Since I’m using a database backend I tried to achieve this using the
> permit and deny attributes in ps_endpoints table.
>
> So I set permit=”192.168.1.10/32” and deny to “0.0.0.0/0”, and while this
> seems to work in general, I get lots of the following WARNINGS in the logs:
>
>
>
> ["2018-10-25 07:41:34.7761"] WARNING[116934]: acl.c:740 ast_apply_acl: SIP
> ACL: Rejecting '192.168.1.10' due to use of an invalid ACL 'deny/permit'.
>
>
>
> What is the problem with this configuration?
>
> Of course I could alternatively define a named ACL and assign it using
> acl=name instead, but then what’s the point of the permit and deny options
> after all?
>
>
>
> BR, Florian
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Astricon is coming up October 9-11!  Signup is available at:
> https://www.asterisk.org/community/astricon-user-conference
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
Seán C McCord
CyCore Systems, Inc
+1 888 240 0308
PGP/GPG: http://cycoresys.com/scm.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181029/2c3c6048/attachment.html>


More information about the asterisk-dev mailing list