HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/conntrack.cpython-38.pyc
U

i��d~	�@s.ddlmZmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicate�	PluginOptc@s6eZdZdZdZdZdZeddedd�gZ	d	d
�Z
dS)�	Conntrackz)conntrack - netfilter connection tracking�	conntrack)ZnetworkZcluster)zconntrack-toolsrZ
conntrackd�
namespacesNz0Number of namespaces to collect, 0 for unlimited)�defaultZval_typeZdescc
Cs�|�d�|�dddddddd	g�t|d
ddd
dgddid�}|jddg|d�d}|�d�}|j|d�D],}||d}|�|d�|�|d�qldS)Nz/etc/conntrackd/conntrackd.confzconntrackd -s networkzconntrackd -s cachezconntrackd -s runtimezconntrackd -s linkzconntrackd -s rsqueuezconntrackd -s queuezconntrackd -s ctzconntrackd -s expectZnf_conntrackZnf_conntrack_netlinkZnf_defrag_ipv4Znf_defrag_ipv6Z	nfnetlink�kmods�all)r
Zrequiredzconntrack -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/dist-packages/sos/report/plugins/conntrack.py�setups@
�����
zConntrack.setup)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr�intZoption_listrrrrrrs��rN)Zsos.report.pluginsrrrrrrrrr�<module>
s