HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/conntrack.cpython-36.opt-1.pyc
3

-�_g~	�@s.ddlmZmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicate�	PluginOptc@s6eZdZdZdZd
ZdZedded	d
�gZ	dd�Z
dS)�	Conntrackz)conntrack - netfilter connection tracking�	conntrack�network�cluster�conntrack-tools�
conntrackd�
namespacesNz0Number of namespaces to collect, 0 for unlimited)�defaultZval_typeZdescc	Cs�|jd�|jdddddddd	g�t|d
ddd
dgddid�}|jddg|d�d}|jd�}x<|j|d�D],}||d}|j|d�|j|d�qnWdS)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)rZrequiredzconntrack -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.6/conntrack.py�setups6

zConntrack.setup)rr	)r
rr)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr�intZoption_listrrrrrrs
rN)Zsos.report.pluginsrrrrrrrrr�<module>
s