MAJOR=4 MINOR=21 DEVNAME=tty21 � 355_•I|¥‰ÓMjqØ‚¦ ë<óo¬À¿c 404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

� 355¾À¿c 404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

#ˆl–äY>”*C]Ši@¹p,ÜŠbѿà ƒh ‹ÂÁÀÀa qéqe�ã@s‚ddlZddlZddlmZmZddlmZmZmZddl m Z ddl m Z m Z ddlmZeejejfZGdd „d e eƒZdS) éN)ÚAF_INETÚAF_INET6)ÚIterableÚOptionalÚUnioné)Ú MatchContext)ÚNodeconÚNodeconIPVersion)Ú PolicyQuerycsÖeZdZUdZdZeeed<dZe ed<dZ ee ed<e ee dœdd „ƒZ e jeeee fdd œd d „ƒZ e eedœd d „ƒZejeeeefdd œdd „ƒZddœ‡fdd„ Zeedœdd„Z‡ZS)Ú NodeconQueryaI Query nodecon statements. Parameter: policy The policy to query. Keyword Parameters/Class attributes: network The IPv4/IPv6 address or IPv4/IPv6 network address with netmask, e.g. 192.168.1.0/255.255.255.0 or "192.168.1.0/24". network_overlap If true, the net will match if it overlaps with the nodecon's network instead of equality. ip_version The IP version of the nodecon to match. (socket.AF_INET for IPv4 or socket.AF_INET6 for IPv6) user The criteria to match the context's user. user_regex If true, regular expression matching will be used on the user. role The criteria to match the context's role. role_regex If true, regular expression matching will be used on the role. type_ The criteria to match the context's type. type_regex If true, regular expression matching will be used on the type. range_ The criteria to match the context's range. range_subset If true, the criteria will match if it is a subset of the context's range. range_overlap If true, the criteria will match if it overlaps any of the context's range. range_superset If true, the criteria will match if it is a superset of the context's range. range_proper If true, use proper superset/subset operations. No effect if not using set operations. NÚ_networkFÚnetwork_overlapÚ _ip_version)ÚreturncCs|jS©N)r©Úself©rú:/usr/lib64/python3.9/site-packages/setools/nodeconquery.pyÚ ip_version;szNodeconQuery.ip_version)ÚvaluercCs|rt |¡|_nd|_dSr)r Úlookupr©rrrrrr?scCs|jSr)r rrrrÚnetworkFszNodeconQuery.networkcCs|rt |¡|_nd|_dSr)Ú ipaddressZ ip_networkr rrrrrJsc s(tt|ƒj|fi|¤Žt t¡|_dSr)Úsuperr Ú__init__ÚloggingZ getLoggerÚ__name__Úlog)rÚpolicyÚkwargs©Ú __class__rrrQszNodeconQuery.__init__ccsª|j d |¡¡|j d |¡¡|j d |¡¡| |j¡|j ¡D]X}|jr||jrn|j  |j¡s|qLn|j|jks|qL|j r�|j |j kr�qL|  |j ¡sžqL|VqLdS)z-Generator which yi