| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i~ � @ s. d dl mZmZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin�SoSPredicate� PluginOptc @ s6 e Zd ZdZdZdZdZeddedd�gZ d d
� Z
dS )� Conntrackz)conntrack - netfilter connection tracking� conntrack)�networkZcluster)zconntrack-toolsr Z
conntrackd�
namespacesNz0Number of namespaces to collect, 0 for unlimited)�defaultZval_typeZdescc C s� | � d� | �g d�� t| g d�ddid�}| jddg|d � d
}| �d�}| j|d�D ],}|| d
}| �|d � | �|d � qZd S )Nz/etc/conntrackd/conntrackd.conf)zconntrackd -s networkzconntrackd -s cachezconntrackd -s runtimezconntrackd -s linkzconntrackd -s rsqueuezconntrackd -s queuezconntrackd -s ctzconntrackd -s expect)Znf_conntrackZnf_conntrack_netlinkZnf_defrag_ipv4Znf_defrag_ipv6Z nfnetlink�kmods�all)r �requiredzconntrack -L -o extendedzconntrack -S)Zpredzip netns exec r )Zns_max� )Z
add_copy_specZadd_cmd_outputr Z
get_optionZget_network_namespaces)�selfZct_predZ
cmd_prefixZnsps� namespaceZ
ns_cmd_prefix� r �@/usr/lib/python3.9/site-packages/sos/report/plugins/conntrack.py�setup s$
���
zConntrack.setup)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr �intZoption_listr r r r r r s ��r N)Zsos.report.pluginsr r r r r r r r r �<module>
s