%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/conntrack.cpython-312.pyc

�

i��d~	��4�ddlmZmZmZmZGd�dee�Zy)�)�Plugin�IndependentPlugin�SoSPredicate�	PluginOptc�<�eZdZdZdZdZdZedded��gZ	d	�Z
y)
�	Conntrackz)conntrack - netfilter connection tracking�	conntrack)�network�cluster)zconntrack-toolsr	�
conntrackd�
namespacesNz0Number of namespaces to collect, 0 for unlimited)�default�val_type�descc�N�|jd�|jgd��t|gd�ddi��}|jddg|�	�d
}|jd�}|j	|��D]2}||zd
z}|j|dz�|j|dz��4y)Nz/etc/conntrackd/conntrackd.conf)zconntrackd -s networkzconntrackd -s cachezconntrackd -s runtimezconntrackd -s linkzconntrackd -s rsqueuezconntrackd -s queuezconntrackd -s ctzconntrackd -s expect)�nf_conntrack�nf_conntrack_netlink�nf_defrag_ipv4�nf_defrag_ipv6�	nfnetlink�kmods�all)r�requiredzconntrack -L -o extendedzconntrack -S)�predzip netns exec r
)�ns_max� )�
add_copy_spec�add_cmd_outputr�
get_option�get_network_namespaces)�self�ct_pred�
cmd_prefix�nsps�	namespace�
ns_cmd_prefixs      �>/usr/lib/python3/dist-packages/sos/report/plugins/conntrack.py�setupzConntrack.setups������<�=����	
�		��t�&3�
*1�%�(8�
:��	
���&��
��	�	�&�
����|�,���4�4�D�4�A�	@�I�&��2�S�8�M����
�0J� J�K����
�� >�?�	@�)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�int�option_listr(�r)r'rrs7��<�J��K�%�H�=�H�	�,��s�I�	K��K�
"@r)rN)�sos.report.pluginsrrrrrr3r)r'�<module>r5s ��+�+�/@��)�/@r)

Zerion Mini Shell 1.0