|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/share/system-config-network/netconfpkg/ |
Upload File : |
mò
\Tc @ su d k Z d k Z d k l Z d k Z d k l Z d k Td e i f d „ ƒ YZ d e f d „ ƒ YZ d Z d S( N( s Cipe_base( s Conf( t *t ConfCipeOptionsc B sY t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
RS(
Nc C sB t i t d | } t i i | | d d d ƒ | i d ƒ d S( Ns /options.t #s t i€ ( t
netconfpkgt ROOTt CIPEDIRt namet fnamet Conft __init__t selft chmod( R R R ( ( t5 /usr/share/system-config-network/netconfpkg/NCCipe.pyR
s c C s t i i | ƒ | i ƒ d S( N( R t readR t initvars( R ( ( R
R $ s c C s h | _ | i ƒ x| | i ƒ on | i ƒ } t | ƒ d j o | d | i | d <n) t | ƒ d j o d | i | d <n | i ƒ q W| i ƒ d S( Ni i t ( R t varst rewindt findnextcodelinet getfieldst vart lent nextline( R R ( ( R
R ( s
c C s* | i i | ƒ o | i | Sn d Sd S( N( R R t has_keyt varnamet None( R R ( ( R
t __getitem__5 s c C s£ | i ƒ } | i ƒ | i d | i d | d | i d ƒ o. | i ƒ | i | | g ƒ | i
| ƒ n! | i
| ƒ | i | | g ƒ | | i | <d S( Ns ^[s ]*t [s ]+( R t tellt placeR t findnextlinet
separatorsR t
deletelinet insertlinelistt valuet seekR ( R R R# R ( ( R
t __setitem__; s
.
c C sX | i ƒ x= | i d | i d | d | i d ƒ o | i ƒ q
W| i | =d S( NR s ]*t ]( R R R R R R! R ( R R ( ( R
t __delitem__K s
.c C s? x( | i i ƒ D] } | i | | | <q Wt i i | ƒ d S( N( R R t keyst keyR t write( R R) ( ( R
R* S s c C s
| i i ƒ S( N( R R R( ( R ( ( R
R( X s c C s | i i | ƒ S( N( R R R R) ( R R) ( ( R
R [ s ( t __name__t
__module__R
R R R R% R' R* R( R ( ( ( R
R s
t Cipec B sb t Z h d d <Z h d d <d d <d d <d d
<Z d d d „ Z d „ Z d
„ Z RS( Nt LocalPortt MYPORTt RemotePeerAddresst PEERt RemoteVirtualAddresst PTPADDRt TunnelDevicet TUNNELDEVt TunnelIPt MEc C s t i | | | ƒ d S( N( t Cipe_baseR
R t listt parent( R R9 R: ( ( R
R
i s c C s | } xI | i i ƒ D]8 } | i | } | i | ƒ o | | | i | <q q Wx` | i i ƒ D]O } | i | } | i | ƒ o, t
| | ƒ o t | | ƒ | i | <qb qb W| i ƒ } | o4 t | i ƒ } | i d ƒ o | d | _ qü n | i d t ƒ d S( NR) t changed( t
parentConft confR t keydictR( t selfkeyt confkeyR t __dict__t
intkeydictR t intt getParentR: R t DeviceIdt SecretKeyt committ false( R R<