PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 131
]KfdZddlZddlZddlZddlZddlmZddlmZddl m Z ddl m Z ddl mZmZdd lmZmZmZejeZGd d eZGd d eeZdS)ae NetNS objects ============= A NetNS object is IPRoute-like. It runs in the main network namespace, but also creates a proxy process running in the required netns. All the netlink requests are done via that proxy process. NetNS supports standard IPRoute API, so can be used instead of IPRoute, e.g., in IPDB:: # start the main network settings database: ipdb_main = IPDB() # start the same for a netns: ipdb_test = IPDB(nl=NetNS('test')) # create VETH ipdb_main.create(ifname='v0p0', kind='veth', peer='v0p1').commit() # move peer VETH into the netns with ipdb_main.interfaces.v0p1 as veth: veth.net_ns_fd = 'test' # please keep in mind, that netns move clears all the settings # on a VETH interface pair, so one should run netns assignment # as a separate operation only # assign addresses # please notice, that `v0p1` is already in the `test` netns, # so should be accessed via `ipdb_test` with ipdb_main.interfaces.v0p0 as veth: veth.add_ip('172.16.200.1/24') veth.up() with ipdb_test.interfaces.v0p1 as veth: veth.add_ip('172.16.200.2/24') veth.up() Please review also the test code, under `tests/test_netns.py` for more examples. By default, NetNS creates requested netns, if it doesn't exist, or uses existing one. To control this behaviour, one can use flags as for `open(2)` system call:: # create a new netns or fail, if it already exists netns = NetNS('test', flags=os.O_CREAT | os.O_EXCL) # create a new netns or use existing one netns = NetNS('test', flags=os.O_CREAT) # the same as above, the default behaviour netns = NetNS('test') To remove a network namespace:: from pyroute2 import NetNS netns = NetNS('test') netns.close() netns.remove() One should stop it first with `close()`, and only after that run `remove()`. N)partial)RTNL_API)RTMGRP_DEFAULTS) MarshalRtnl)removesetns) RemoteSocketServer Transportc eZdZdZdZdZdS)FDc ||_dD]9}t||ttt||j:dS)N)readwriteclose)fdsetattrrgetattros)selfrnames I/opt/alt/python311/lib/python3.11/site-packages/pyroute2/nslink/nslink.py__init__z FD.__init__TsQ. E ED D$D(9(947 C C D D D D E Ec|jSN)rrs rfilenoz FD.filenoYs wrcdSrrs rflushzFD.flush\strN)__name__ __module__ __qualname__rrr"r!rrrrSsDEEE rrceZdZdZejddeffd ZdZdZ e j ffd Z fdZ fdZfd Zd Zd ZxZS) NetNSa8 NetNS is the IPRoute API with network namespace support. **Why not IPRoute?** The task to run netlink commands in some network namespace, being in another network namespace, requires the architecture, that differs too much from a simple Netlink socket. NetNS starts a proxy process in a network namespace and uses `multiprocessing` communication channels between the main and the proxy processes to route all `recv()` and `sendto()` requests/responses. **Any specific API calls?** Nope. `NetNS` supports all the same, that `IPRoute` does, in the same way. It provides full `socket`-compatible API and can be used in poll/select as well. The only difference is the `close()` call. In the case of `NetNS` it is **mandatory** to close the socket before exit. Nc p||_||_|p|}dtjD\}|_dtjD\|_}tj|_|jdkr|||j |j  t|j|j|n#t$r@}|j d|dtj |jYd}~nvd}~wt$rf}|j dttjt#||jdtj dYd}~nd}~wwxYw t%|j|j||tj dn#tj dwxYw |j|jt't(|||| ||_n##t$r|wxYwt/j|jt3|_dS) NcFg|]}tt|Sr!r r.0xs r z"NetNS.__init__..&*O*O*O9RUU+;+;*O*O*OrcFg|]}tt|Sr!r*r+s rr.z"NetNS.__init__..r/rr)libcinit)stageerror)targetgroups)r7)netnsflagsrpiperemote_trnsp_outremote_trnsp_inforkchildrfile_objrOSErrorsend_exiterrno ExceptionECOMMstrr superr'rr6atexitregisterrmarshal) rr8r9r6r1r7trnsp_in trnsp_oute __class__s rrzNetNS.__init__ys  5*O*ORWYY*O*O*O'$'*O*ORWYY*O*O*O'iWYY :?? NN    OO      # # % % %   $ $ & & & dj$*488888 " " "&++fq,I,IJJJ!!!!!!!!   )..%+%,U[#a&&$*%M%M   ()!!      & & ( ( (  ! ' ' ) ) ) %   ' ')F ' K K K DKK    JJLLL    ###"}} s>C:: F26D?? F2 AF--F26G((G>A$I'' JcHt||j|jSr)typer8r9rs rclonez NetNS.clonestDzz$*dj111rcttdrtj|jdS tj|jdifdS#t $rYdSwxYw)N unregisterr!)hasattrrHrSr _exithandlersr ValueErrorrs r_cleanup_atexitzNetNS._cleanup_atexitsz 6< ( (   dj ) ) ) ) ) $++TZR,@AAAAA    s'A A)(A)c$| tt||dS# |jddin#t $rYnwxYwtdYdSxYw)N)coder3shutdownz2forced shutdown procedure, clean up netns manually) rWrGr'rrLrArDlogr4)rrYrNs rrz NetNS.closes  L %   $ $$ $ / / / / / L ##Wj$9::::     IIJ K K K K K Ks/)ABA"!B" A/,B.A//Bc|jdkr|d|Stt||S)z0Proxy the open_file method if we are the parent.r open_file)r>proxyrGr'r])rpathrNs rr]zNetNS.open_files@ :??::k400 0UD!!++D111rc|jdkr|d|Stt||S)z1Proxy the close_file method if we are the parent.r close_file)r>r^rGr'ra)rrrNs rrazNetNS.close_files@ :??::lB// /UD!!,,R000rc|jdkr|dStt|S)z.Proxy the get_pid method if we are the parent.rget_pid)r>r^rGr'rc)rrNs rrcz NetNS.get_pids< :??::i(( (UD!!))+++rcdSrr!rs r post_initzNetNS.post_inits rc.t|jdS)zG Try to remove this network namespace from the system. N)rr8rs rrz NetNS.removes tzr)r#r$r%__doc__rO_CREATrrrQrWrC ECONNRESETrr]rarcrer __classcell__)rNs@rr'r'`s 6j  8%8%8%8%8%8%t222) L L L L L L2222211111,,,,,   rr')rgrHrCloggingr functoolsrpyroute2.iprouterpyroute2.netlink.rtnlrpyroute2.netlink.rtnl.iprsocketrpyroute2.netnsrrremote.transportr r r getLoggerr#r[objectrr'r!rrrts2@@D  %%%%%%111111777777((((((((>>>>>>>>>>g!!        GGGGGHlGGGGGr