Re: confbridge ACL Error

Cort N0MJS <n0mjs@...>

You need to actually define the ACL for now… I can fix it to bypass a non-existent ACL, but not right now (day job and all).

In the repo directory is a file called Copy that to and modify it to your liking. something as simple as:

ACL = ‘DENY:1’

Will make it deny bridging for radio ID 1…. something we can probably all get behind, and then it will load properly. I’ll make it ignore no ACL file ASAP. Please don’t modify the source code. Then when you upgrade the problem comes back, or if you forget and want to use the access control list later, you might not remember you went off of the repo and change the source.

0x49 DE N0MJS

On Aug 23, 2018, at 1:13 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

When I Change
This line (516) :  ACL = build_acl('sub_acl')
into: ACL = True

than the confbridge start but when I sent with my Radio I get this:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 86, in callWithContext
    return{ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 597, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 249, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/home/Kim/hblink/", line 486, in client_datagramReceived
    self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "", line 245, in dmrd_received
    if allow_sub(_rf_src) == False:
exceptions.NameError: global name 'allow_sub' is not defined

Am 23.08.2018 um 19:39 schrieb kbluetkemeier via Groups.Io:
Hey  I Updated my Old HBlink and I'm receiving an error when starting -c bridge.cfg
DEBUG 2018-08-23 19:27:35,248 Logging system started, anything from here on gets logged
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'peer_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'subscriber_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,272 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-23 19:27:35,601 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-23 19:27:35,603 Routing bridges file found and bridges imported
INFO 2018-08-23 19:27:35,603 ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-23 19:27:35,604 ACL file not found or invalid - all subscriber IDs are valid
Traceback (most recent call last):
  File "", line 516, in <module>
    ACL = build_acl('sub_acl')
  File "", line 146, in build_acl
    return ACL
UnboundLocalError: local variable 'ACL' referenced before assignment

Any Ideas?,

Do1KBL, Kim

Cort Buffington

Join to automatically receive all group messages.