+
    i	  c                   s6    ^ RI HtHtHtHt  ! R R]]4      tR# )i    )PluginIndependentPluginSoSPredicate	PluginOptc                   sX   a  ] tR t^t o RtRtRt]! RRRR7      .tRt	Rt
R tR tR	tV tR
# )	LibreswanzLibreswan IPsec	libreswan
ipsec-barfFzcollect ipsec barf output)ZdefaultZdescc                s   V P                  . RO4       V P                  . RO4       \        V RR.RR/R7      pV P                  RR.VR7       V P                  R	4      '       d   V P                  R
4       V P	                  . RO4       R# )/etc/ipsec.confZ	xfrm_userZ	xfrm_algokmodsZall)r   Zrequiredzip xfrm policyzip xfrm state)Zpredr   z
ipsec barfN)r   z/etc/ipsec.dz/proc/net/xfrm_stat)zipsec verifyzipsec whack --statuszipsec whack --listallzcertutil -L -d sql:/etc/ipsec.d)z/etc/ipsec.secretsz/etc/ipsec.secrets.dz/etc/ipsec.d/*.dbz/etc/ipsec.d/*.secrets)Zadd_copy_specZadd_cmd_outputr   
get_optionZadd_forbidden_path)selfZ	xfrm_pred   & A/usr/lib/python3.14/site-packages/sos/report/plugins/libreswan.pysetupZLibreswan.setup   s     
 	 	 
 	 !k;-G+2E*:<	
  	 	
 ??<((- !
 	    c                s    R pV P                  RVR4       V P                  R4      '       d   V P                  RVR4       R# R# )z/(aead|auth|auth-trunc|enc)(\s.*\s)(0x[0-9a-f]+)Zstatez\1\2********r   ZbarfN)Zdo_cmd_output_subr	   )r
   Zxfrm_state_regexpr   r   postprocZLibreswan.postproc@   sL    5w(9.	0 ??<((""6+<#24 )r    N)ZnetworkZsecurityZ	openshift)r   )r   Zopenswan)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z
short_descZplugin_nameZprofilesr   Zoption_listZfilesZpackagesr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sF     "JK3H,2	4K
 !E(H D4 4r   r   N)Zsos.report.pluginsr    r   r   r   r   r   r   r   <module>r      s   + +;4) ;4r   