On 7/9/26 09:17, Amon Ott wrote:
Am 08.07.26 um 17:28 schrieb Terence Gomez:
I have been using network elements in RSBAC and have noticed some strange behaviours.
First, specifying a protocol for a NETTEMP when using the NETLINK address family is not taken into account, and the field remains on value ROUTE. For example, setting ANY for the protocol is not registered :
$ net_temp list_template 40016
ID: 40016 Name: NETLINK_TEMP Family: NETLINK Socket type: ANY Address: (addresses of family NETLINK not supported) Protocol: ROUTE Netdev: Ports:
$ net_temp get_protocol 40016 ROUTE $ net_temp set_protocol 40016 ANY $ net_temp get_protocol 40016 ROUTE
This also happens in rsbac_nettemp_def_menu. The same steps are working with INET as address family.
The "ANY" name clash has just been fixed in the admin tools, commit is pushed and new packages uploaded to latestdiff.
Will check matching of templates later, this takes longer. Might not make it before my holidays.
Thanks for the quick fix. Wishing you nice holidays !
Terence Gomez