Arc 1.x IPv6 patch

Bevezetés

Az ARC 1.x a jövőbeli Nordugrid grid middleware rendszer alapja lesz. Az ARC 1.x middleware fejlesztésében NIIF Intézet is fontos szerepet vállal a KnowArc EU IST FP6 projekt keretében. A KnowArc projekt célkitűzései között az ARC grid middleware modulárissá és szabvnyossá tétele szerepel. Ezt egészítettük ki a Campus IPv6 projekt keretében az ARC middleware IPv6 támogatásával.

A szükséges változtatások

Az ARC grid middleware alapvető kommunikációi a HED modulra épülnek, így ennek a modulnak az IPv6 képessé tétele elegendő ahhoz, hogy middleware nagy egésze (kívéve a a speciálisan optimalizált gridftp-t) IPv6 képes legyen.

A szükséges változtatások 2 fájlra korlátozódtak:

arc-1.x/src/hed/mcc/tcp/MCCTCP.cpp
arc-1.x/src/hed/mcc/tcp/PayloadTCPSocket.cpp

A szerver socket kód részei a arc-1.x/src/hed/mcc/tcp/MCCTCP.cpp fájlban találhatóak. A változtatásai az alábbi patch fájlban találhatóak.

patch-MCCTCP.cpp.diff

A kliens socket kód IP verzió függetlenre lett módosítva a arc-1.x/src/hed/mcc/tcp/PayloadTCPSocket.cpp fájlban. A változtatásai az alábbi patch fájlban találhatóak.

patch-PayloadTCPSocket.cpp.diff

IPv6 kompatibilitás használata

A szerver definiciós xml-ben egy új Port6 direktívát vezettünk, ami segítségével szerverenként külön-külön lehet engedélyezni az IPv6 támogatást.

        <Component name="tcp.service" id="tcp">
            <next id="http"/>
            <tcp:Listen><tcp:Port>60000</tcp:Port></tcp:Listen>
            <tcp:Listen><tcp:Port6>60000</tcp:Port6></tcp:Listen>
        </Component>

Mint látható külön-külon lehet szabályozni, hogy IPv4 és IPv6-on milyen portokon működjenek a szerver folyamatok.

A kliens esetében a használatban nem történt jelentős változás. Egyszerűen az IPv6-os címet kell használni a megfelelő definiciókban.

Component name='tcp.client' id='tcp'><tcp:Connect><tcp:Host>::1</tcp:Host><tcp:Port>60000</tcp:Port></tcp:Connect></Component>

Amennyiben domain nevet ad meg a felhasználó az RFC 3484 beállításoktól függően a kliens automatikusan IPv6 vagy IPv4 kapcsolat épít ki.

A jelenlegi implementáció tartalmaz egy apró limitációt. A hostname:port formátumú szintakszist IPv6 esetében nem lehet használni, mivel a : az IPv6 címformátumnak a része. Ezt a limitációt az RFC 2372-ben javasolt [hostname]:port alkalmazásával lehetne kiküszöbölni, de ez jelenleg a IPv6 literal URL-t támogató parser nincsen implementálva.

Demonstráció

A HED IPv6 képességét a HED echo test szerverrel demonstráljuk.

A teszthez alkalmazott konfigurációs fájl: service.xml

A szerver elindulása és működése:

bash-3.2$ ./test_service
[2008-02-13 19:49:39] [Arc.Test] [INFO] [76733/5278992] Creating service side chain
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Module Manager Init
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Module Manager Init
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Module Manager Init
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Module Manager Init
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Module Manager Init
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Element: tcp.service version: 0
[2008-02-13 19:49:39] [Arc.MCC.TCP] [INFO] [76733/5278992] Trying to listening 0.0.0.0 port 60000
[2008-02-13 19:49:39] [Arc.MCC.TCP] [INFO] [76733/5278992] Trying to listening :: port 60000
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Loaded MCC tcp.service(tcp)
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Element: http.service version: 0
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Loaded MCC http.service(http)
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Element: soap.service version: 0
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Loaded MCC soap.service(soap)
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Loaded Plexer plexer.service(plexer)
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Loaded .libs//libecho.so
[2008-02-13 19:49:39] [Arc.Loader] [DEBUG] [76733/5278992] Element: echo version: 0
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Loaded Service echo(echo)
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Linking MCC tcp.service(tcp) to MCC (http) under
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Linking MCC http.service(http) to MCC (soap) under POST
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Linking MCC soap.service(soap) to Service (echo) under
[2008-02-13 19:49:39] [Arc.Loader] [INFO] [76733/5278992] Linking Plexer plexer to Service (echo) under /Echo
[2008-02-13 19:49:39] [Arc.Test] [INFO] [76733/5278992] Service side MCCs are loaded
[2008-02-13 19:49:39] [Arc.Test] [INFO] [76733/5278992] Service is waiting for requests
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.Service] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.Service] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:07] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:57:07] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.Service] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC.TCP] [DEBUG] [76733/5301120] next chain element called
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [76733/5301120] No security processing/check required
^C
bash-3.2$ exit

Látható, hogy az HED echo teszt szerver mindkét protokollolt kiszolgálja:

test_service_netstat.png

A szerver teszteléséhez használt echo test kliens IPv4-es változata: test_client_ipv4.cpp

Az IPv4 kliens müködése:

bash-3.2$ ./test_client
[2008-02-13 19:57:34] [Arc.Test] [INFO] [77414/5278992] Creating client side chain
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Module Manager Init
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Module Manager Init
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Module Manager Init
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Module Manager Init
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Module Manager Init
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Element: tcp.client version: 0
[2008-02-13 19:57:34] [Arc.MCC.TCP] [INFO] [77414/5278992] trying 127.0.0.1 port 60000

[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Loaded MCC tcp.client(tcp)
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Element: http.client version: 0
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Loaded MCC http.client(http)
[2008-02-13 19:57:34] [Arc.Loader] [DEBUG] [77414/5278992] Element: soap.client version: 0
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Loaded MCC soap.client(soap)
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Linking MCC http.client(http) to MCC (tcp) under
[2008-02-13 19:57:34] [Arc.Loader] [INFO] [77414/5278992] Linking MCC soap.client(soap) to MCC (http) under
[2008-02-13 19:57:34] [Arc.Test] [INFO] [77414/5278992] Client side MCCs are loaded
[2008-02-13 19:57:34] [Arc.Test] [INFO] [77414/5278992] Creating and sending request
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [77414/5278992] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC.TCP] [DEBUG] [77414/5278992] client process called
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [77414/5278992] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [77414/5278992] No security processing/check required
[2008-02-13 19:57:34] [Arc.MCC] [VERBOSE] [77414/5278992] No security processing/check required
XML: <soap-env:Envelope xmlns:echo="urn:echo" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap-env:Body><echo:echoResponse><echo:hear>[ HELLO ]</echo:hear></echo:echoResponse></soap-env:Body></soap-env:Envelope>
Response: [ HELLO ]
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] before loop
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc unlink
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc unlink
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc unlink
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc erase
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc erase
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] mcc erase
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] after loops
[2008-02-13 19:57:34] [Arc] [DEBUG] [77414/5278992] after delete context
bash-3.2$ exit

A szerver teszteléséhez használt echo test kliens IPv6-es változata: test_client_ipv6.cpp

Az IPv6 kliens müködése:

bash-3.2$ ./test_client
[2008-02-13 19:55:47] [Arc.Test] [INFO] [76793/5278992] Creating client side chain
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Module Manager Init
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Module Manager Init
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Module Manager Init
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Module Manager Init
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Module Manager Init
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tcp/.libs//libmcctcp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/tls/.libs//libmcctls.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/http/.libs//libmcchttp.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_service_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_sechandler_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_pdp_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Loaded ../../hed/mcc/soap/.libs//libmccsoap.so
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Not a '__arc_dmc_modules__' type plugin
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Element: tcp.client version: 0
[2008-02-13 19:55:47] [Arc.MCC.TCP] [INFO] [76793/5278992] trying ::1 port 60000

[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Loaded MCC tcp.client(tcp)
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Element: http.client version: 0
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Loaded MCC http.client(http)
[2008-02-13 19:55:47] [Arc.Loader] [DEBUG] [76793/5278992] Element: soap.client version: 0
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Loaded MCC soap.client(soap)
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Linking MCC http.client(http) to MCC (tcp) under
[2008-02-13 19:55:47] [Arc.Loader] [INFO] [76793/5278992] Linking MCC soap.client(soap) to MCC (http) under
[2008-02-13 19:55:47] [Arc.Test] [INFO] [76793/5278992] Client side MCCs are loaded
[2008-02-13 19:55:47] [Arc.Test] [INFO] [76793/5278992] Creating and sending request
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76793/5278992] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC.TCP] [DEBUG] [76793/5278992] client process called
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76793/5278992] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76793/5278992] No security processing/check required
[2008-02-13 19:55:47] [Arc.MCC] [VERBOSE] [76793/5278992] No security processing/check required
XML: <soap-env:Envelope xmlns:echo="urn:echo" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap-env:Body><echo:echoResponse><echo:hear>[ HELLO ]</echo:hear></echo:echoResponse></soap-env:Body></soap-env:Envelope>
Response: [ HELLO ]
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] before loop
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc unlink
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc unlink
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc unlink
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc erase
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc erase
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] mcc erase
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] after loops
[2008-02-13 19:55:47] [Arc] [DEBUG] [76793/5278992] after delete context
bash-3.2$ exit

Campus6: IPv6arc (last edited 2008-04-10 15:29:43 by localhost)