HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/conntrack.cpython-39.pyc
a

\��h~	�@s.ddlmZmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicate�	PluginOptc@s6eZdZdZdZdZdZeddedd�gZ	d	d
�Z
dS)�	Conntrackz)conntrack - netfilter connection tracking�	conntrack)�networkZcluster)zconntrack-toolsrZ
conntrackd�
namespacesNz0Number of namespaces to collect, 0 for unlimited)�defaultZval_typeZdesccCs�|�d�|�gd��t|gd�ddid�}|jddg|d	�d
}|�d�}|j|d�D],}||d
}|�|d�|�|d�qZdS)Nz/etc/conntrackd/conntrackd.conf)zconntrackd -s networkzconntrackd -s cachezconntrackd -s runtimezconntrackd -s linkzconntrackd -s rsqueuezconntrackd -s queuezconntrackd -s ctzconntrackd -s expect)Znf_conntrackZnf_conntrack_netlinkZnf_defrag_ipv4Znf_defrag_ipv6Z	nfnetlink�kmods�all)r�requiredzconntrack -L -o extendedzconntrack -S)Zpredzip netns exec r	)Zns_max� )Z
add_copy_specZadd_cmd_outputrZ
get_optionZget_network_namespaces)�selfZct_predZ
cmd_prefixZnsps�	namespaceZ
ns_cmd_prefix�r�@/usr/lib/python3.9/site-packages/sos/report/plugins/conntrack.py�setups$
���
zConntrack.setup)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr�intZoption_listrrrrrrs��rN)Zsos.report.pluginsrrrrrrrrr�<module>
s