Date
1 - 3 of 3
HBlink2 ACL problem #hblink
Hello guys,
I downloaded the actual hblink version from github. on this version I find some big modifications about ACL on my old Version I have a ACL rules file. Now my problem is when I make a radio check it is not working hblink drop this call I try with clobal ACL fale and from master false but then I have probleme that on class HBSYSTEM(DatagramProtocol): _laststrid is not defined on class OPENBRIDGE(DatagramProtocol): but the i receive CALL DROPPED WITH STREAM ID xxxx ON TGID 0 BY GLOBAL TS2 ACL but in the config is ACL on True and the other options on permit:ALL Everything is working but not Radio Check / Alarm Call / Messages on the old version it was working maybe someone can help me UPDATE: One Probleme but i dont know why line 347 if self._CONFIG['GLOBAL']['USE_ACL']:
print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL'])
if not acl_check(_rf_src, self._CONFIG['GLOBAL']['SUB_ACL']):
if self._laststrid != _stream_id:
logger.info('(%s) CALL DROPPED WITH STREAM ID %s FROM SUBSCRIBER %s BY GLOBAL ACL', self._system, int_id(_stream_id), int_id(_rf_src))
if _slot == 1:
self._laststrid1 = _stream_id
else:
self._laststrid2 = _stream_id
return
if _slot == 1 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG1_ACL']):
if self._laststrid1 != _stream_id:
logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS1 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
self._laststrid1 = _stream_id
return
if _slot == 2 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']):
if self._laststrid2 != _stream_id:
logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS2 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
print(acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']))
self._laststrid2 = _stream_id
return
Why he jump inside : if self._CONFIG['GLOBAL']['USE_ACL']: i try it with False and True print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL']) I have no Idea 73, Kim DO1KBL
|
|
Cort N0MJS <n0mjs@...>
The only active branch of HBlink that is supported is the HB_Bridge branch. The repo is mainlined for that branch, and for historical purposes. Please move to HBlink3 for all uses other than the HB_Bridge branch and the use of HB_Bridge.py.
Cort Buffington 785-865-7206
|
|
Kim-Benjamin Lütkemeier
Ok thank u, i will check hblink3
toggle quoted messageShow quoted text
Von meinem iPhone gesendet
|
|