Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g~ � @ s. d dl mZmZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin�SoSPredicate� PluginOptc @ s6 e Zd ZdZdZd 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 C s� | j d� | jdddddddd g� t| d ddd dgddid�}| jddg|d� d}| jd�}x<| j|d�D ],}|| d }| j|d � | j|d � qnW d S )Nz/etc/conntrackd/conntrackd.confzconntrackd -s networkzconntrackd -s cachezconntrackd -s runtimezconntrackd -s linkzconntrackd -s rsqueuezconntrackd -s queuezconntrackd -s ctzconntrackd -s expectZnf_conntrackZnf_conntrack_netlinkZnf_defrag_ipv4Znf_defrag_ipv6Z nfnetlink�kmods�all)r Zrequiredzconntrack -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.6/conntrack.py�setup s6 zConntrack.setup)r r )r r r )�__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