# HG changeset patch # User srilekhas # Date 1284740159 -3600 # Node ID 61fa4f7b5dd19a8bcb44c4d467da26b400253fe4 # Parent 425d8f4f7fa57ad6ae521ada31593ffa7226ebf5# Parent e36178c55292c2a75d8660c51e2ab4540316cb68 Merge RCL_3 fixes for Bug 1894 and Bug 3108 with the latest delivery. diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/group/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/group/bld.inf Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,44 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* tundriver agent build configuration file. +* +* +*/ + +/** + @file bld.inf + @internalTechnology +*/ + + + +PRJ_PLATFORMS + +DEFAULT + +PRJ_EXPORTS + +../inc/tundriveragtprog.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/tundriveragtprog.h) +tundriveragt.iby /epoc32/rom/include/tundriveragt.iby + +PRJ_TESTEXPORTS + + +PRJ_MMPFILES + +tundriveragt.mmp + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/group/networking_tundriveragt.mrp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/group/networking_tundriveragt.mrp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,23 @@ +# +# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +component networking_tundriveragt +source \sf\os\networkingsrv\linklayercontrol\tundriveragt +binary \sf\os\networkingsrv\linklayercontrol\tundriveragt\group all +exports \sf\os\networkingsrv\linklayercontrol\tundriveragt\group +notes_source \component_defs\release.src + +ipr E diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/group/tundriveragt.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/group/tundriveragt.iby Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,33 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* tundriver agent iby file for ROM Builds +* +* +*/ + +/** + @file tundriveragt.iby + @internalTechnology +*/ + +#ifndef __TUNDRIVERAGT_IBY__ +#define __TUNDRIVERAGT_IBY__ + +#include + +file=ABI_DIR\DEBUG_DIR\tundriveragt.agt System\Libs\tundriveragt.agt + +#endif + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/group/tundriveragt.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/group/tundriveragt.mmp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,57 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* tundriver agent Build Configuration file. +* +* +*/ + +/** + @file tundriveragt.mmp + @internalTechnology +*/ +TARGET tundriveragt.agt +TARGETTYPE DLL +UID 0x10003d39 0x10008b69 +VENDORID 0x70000001 +TARGETPATH /system/libs + +NOEXPORTLIBRARY /* Ensures that DEF file can be safely shared + for RVCT builds */ + +SOURCEPATH ../src +SOURCE tundriveragent.cpp + +USERINCLUDE ../inc + +OS_LAYER_SYSTEMINCLUDE_SYMBIAN + +LIBRARY euser.lib nifman.lib + +#if defined(WINS) +deffile /epoc32/release/wins/agent.def +#elif defined(GCC32) +deffile /epoc32/release/marm/agent.def +#else +deffile /epoc32/include/def/eabi/agent.def +#endif +START WINS +BASEADDRESS 0x47900000 +END + +CAPABILITY CommDD PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ NetworkControl NetworkServices LocalServices ReadUserData WriteUserData + +UNPAGED + +SMPSAFE diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/inc/tundriveragent.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/inc/tundriveragent.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,111 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file TunDriver Agent +* +* +*/ + +/** + @file tundriveragent.h + @internalTechnology +*/ + + +#if !defined __TUNDRIVERAGT_H__ +#define __TUNDRIVERAGT_H__ + +#include +#include +#include "tundriveragtprog.h" + +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS +#include +#include +#endif + +const TInt KMajorVersionNumber=1; //< TunDriver Agent MajorVersionNumber +const TInt KMinorVersionNumber=0; //< TunDriver Agent MinorVersionNumber +const TInt KBuildVersionNumber=1; //< TunDriver Agent BuildVersionNumber + +_LIT(KTunDriverAgentName,"tundriveragt"); //< Name of the TunDriver Agent + + +class CTunDriverAgentFactory : public CNifAgentFactory +/** +A Factory for creating a TunDriverAgent + +@internalComponent +*/ + { +protected: + void InstallL(); + CNifAgentBase *NewAgentL(const TDesC& aName); + TInt Info(TNifAgentInfo& aInfo, TInt aIndex) const; + }; + +class CTunDriverAgent : public CAgentBase +/** +The CTunDriverAgent class owns a CAsyncCallback , which is used to control the asynchronous +ServiceStarted() and DisconnectComplete() call from the Agent to Nifman. + +@internalComponent +*/ + { +public: + static CTunDriverAgent* NewL(); + virtual ~CTunDriverAgent(); +protected: + void ConstructL(); + CTunDriverAgent(); +public: + + // from CNifAgentBase + void Info(TNifAgentInfo& aInfo) const; + void Connect(TAgentConnectType aType); + void Connect(TAgentConnectType aType, CStoreableOverrideSettings* aOverrideSettings); + void CancelConnect(); + void Disconnect(TInt aReason); + void ServiceStarted(TInt aError); + void ConnectionComplete(TInt aError); + void DisconnectionComplete(); + + TInt GetExcessData(TDes8& aBuffer); + TInt Notification(TNifToAgentEventType aEvent, TAny* aInfo); + void GetLastError(TInt& aError); + TBool IsReconnect() const {return (ETrue);}; + + TInt IncomingConnectionReceived(); + +private: + static TInt ServiceStartedCb(TAny* aThisPtr); + static TInt ConnectCompleteCb(TAny* aThisPtr); + static TInt DisconnectCompleteCb(TAny* aThisPtr); + +private: + CAsyncCallBack iServiceStartedCallback; + CAsyncCallBack iConnectCompleteCallback; + CAsyncCallBack iDisconnectCallback; + TBool iConnected; + TBool iCancelled; + + /** An integer to keep last error code in memory. */ + TInt iLastErrorCode; + + /** Boolean to define wether disconnecting operation is ongoing */ + TBool iDisconnecting; + TTunDriverAgentProgress iAgentProgress; + }; + +#endif // _TUNDRIVERAGT_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/inc/tundriveragtprog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/inc/tundriveragtprog.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,42 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for tundriver agent +* +* +*/ + +/** + @file tundriveragtprog.h + @internalTechnology +*/ + +#if !defined (__TUNDRIVERAGTPROG_H__) +#define __TUNDRIVERAGTPROG_H__ + +#include + +/** +TunDriver Agent Progress +*/ +enum TTunDriverAgentProgress + { + ETunDriverAgtIdle = KMinAgtProgress, + ETunDriverAgtConnecting, // for future reference + ETunDriverAgtConnected = KConnectionOpen, + ETunDriverAgtDisconnecting = KConnectionStartingClose, + ETunDriverAgtDisconnected = KConnectionClosed + + }; +#endif // __TUNDRIVERAGTPROG_H__ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayercontrol/tundriveragt/src/tundriveragent.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/tundriveragt/src/tundriveragent.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,321 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Source file for tundriver agent. +* +* +*/ + +/** + @file tundriveragent.cpp + @internalTechnology +*/ + +#include "tundriveragent.h" +extern "C" EXPORT_C CNifAgentFactory* NewAgentFactoryL() +/** +Agent Factory +First ordinal export + +@internalComponent +@return an object to class CTunAgentFactory,which Perform Agent initialisation. +*/ + { + return new(ELeave) CTunDriverAgentFactory; + } + +void CTunDriverAgentFactory::InstallL() +/** +Performs a new Agent initialisation +*/ + {} + +CNifAgentBase* CTunDriverAgentFactory::NewAgentL(const TDesC& /*aName*/) +/** +Creates a new TunDriverAgent to TunDriver + +@param aName , name of the TunDriverAgent +@return a new instance of class TunDriverAgent +*/ + { + return CTunDriverAgent::NewL(); + } + +TInt CTunDriverAgentFactory::Info(TNifAgentInfo& aInfo, TInt /*aIndex*/) const +/** +Retrieves information about the Agent + +@param aInfo,a reference of class TNifAgentInfo which contains information about TunDriverAgent +@return KErrNone if information retrieved successfully. +*/ + { + aInfo.iName = KTunDriverAgentName; + aInfo.iVersion = TVersion(KMajorVersionNumber,KMinorVersionNumber,KBuildVersionNumber); + return KErrNone; + } + +CTunDriverAgent::CTunDriverAgent() : iServiceStartedCallback(CActive::EPriorityStandard), + iConnectCompleteCallback(CActive::EPriorityStandard), + iDisconnectCallback(CActive::EPriorityStandard) +/** +Default Constructor +*/ + { + TCallBack serviceStartedCallback(ServiceStartedCb, this); + iServiceStartedCallback.Set(serviceStartedCallback); + + TCallBack connectionCompleteCallback(ConnectCompleteCb, this); + iConnectCompleteCallback.Set(connectionCompleteCallback); + + TCallBack disconnectionCompleteCallback(DisconnectCompleteCb, this); + iDisconnectCallback.Set(disconnectionCompleteCallback); + } + +CTunDriverAgent::~CTunDriverAgent() +/** +Destructor +*/ + { + iServiceStartedCallback.Cancel(); + iConnectCompleteCallback.Cancel(); + iDisconnectCallback.Cancel(); + } + + +CTunDriverAgent* CTunDriverAgent::NewL() +/** +Static NewL function constructing an object of class CTunDriverAgent + +@return self,pointer to class TunDriverAgent,that owns a CAsyncCallback used to +control the asynchronous ServiceStarted() and DisconnectComplete() call from the Agent to TunDriver. +*/ + { + CTunDriverAgent* self = new (ELeave) CTunDriverAgent(); + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(); + return self; + } + +void CTunDriverAgent::ConstructL() +/** +2nd Phase Constructor +Calls CAgentBase::ConstructL() +construct the database and dialog processor +*/ + { + CAgentBase::ConstructL(); + iCancelled = EFalse; + iAgentProgress = ETunDriverAgtIdle; + } + +void CTunDriverAgent::Info(TNifAgentInfo& aInfo) const +/** +Information about this Agent + +@param aInfo on return contains information about the agent +*/ + { + aInfo.iName = KTunDriverAgentName; + aInfo.iName.AppendFormat(_L("-AgentFactory[0x%08x]"), this); + aInfo.iVersion = TVersion(KMajorVersionNumber,KMinorVersionNumber,KBuildVersionNumber); + } + +void CTunDriverAgent::Connect(TAgentConnectType aType) +/** +Connects this TunDriverAgent to TunDriver + +@internalComponent +@param aType, a variable of enum TAgentConnectType describing connection types. +*/ + { + if (EAgentReconnect == aType) + { + iConnectCompleteCallback.CallBack(); + } + else + { + iCancelled = EFalse; + iServiceStartedCallback.CallBack(); + } + } + +void CTunDriverAgent::Connect(TAgentConnectType aType, CStoreableOverrideSettings* /*aOverrideSettings*/) +/** +Connects this TunDriverAgent to TunDriver with store and retrieve commDB override sets to and from both +streams and buffers. + +@param aType,a variable of enum TAgentConnectType describing connection types. +@param aOverrideSettings, a pointer to class CStoreableOverrideSettings which store CommDB overrides. +*/ + { + Connect(aType); + } + +void CTunDriverAgent::CancelConnect() +/** +Cancels Connection of the TunDriverAgent to TunDriver +*/ + { + iServiceStartedCallback.Cancel(); + iConnectCompleteCallback.Cancel(); + iConnected = EFalse; + iCancelled = ETrue; + } + +void CTunDriverAgent::Disconnect(TInt aReason) +/** +Disconnects from the TunDriverAgent to TunDriver with reason + +@param aReason, reason for disconnection to the agent. +*/ + { + iLastErrorCode = aReason; + iDisconnectCallback.CallBack(); + } + +void CTunDriverAgent::ServiceStarted(TInt /*aError*/) +/** +ConnectionComplete from TunDriverAgent to TunDriver +This function is calling CallBack() function if connect is not cancelled + +@param aError, error number for which service needs to be started. +*/ + { + iAgentProgress = ETunDriverAgtConnecting; + iNotify->AgentProgress(iAgentProgress, KErrNone); + iNotify->ServiceStarted(); + + /* if the connect has been cancelled during ServiceStarted() then we need to avoid + * calling ConnectComplete() - done in this next callback - otherwise we get a panic */ + if (!iCancelled) + iConnectCompleteCallback.CallBack(); + } + +void CTunDriverAgent::ConnectionComplete(TInt aError) +/** +Second phase of completing connection of TunDriveragent to TunDriver + +@param aError,error number for which connection is complete. +*/ + { + if(aError==KErrNone) + { + iAgentProgress = ETunDriverAgtConnected; + iNotify->AgentProgress(ETunDriverAgtConnected, aError); + iNotify->ConnectComplete(aError); + iConnected = ETrue; + return; + } + iNotify->AgentProgress(iAgentProgress,aError); + iNotify->ConnectComplete(aError); + iConnected = EFalse; + } + +void CTunDriverAgent::DisconnectionComplete() +/** +Completes the disconnection of TunDriveragent from TunDriver +*/ + { + + if ( iDisconnecting ) + { + iNotify->AgentProgress(iAgentProgress, KErrNone); + } + else + { + iAgentProgress = ETunDriverAgtDisconnected; + iDisconnecting = ETrue; + iNotify->AgentProgress(iAgentProgress, KErrNone); + iNotify->DisconnectComplete(); + iConnected = EFalse; + } + } + +TInt CTunDriverAgent::GetExcessData(TDes8& /*aBuffer*/) +/** +Gets excessData from TunDriveragent to TunDriver + +@param aBuffer, variable containing the name of TunDriveragent +@return KErrNotSupported,error code if it does not get excess data from TunDriveragent. +*/ + { + return KErrNotSupported; + } + + +TInt CTunDriverAgent::Notification(TNifToAgentEventType /*aEvent*/, TAny* /*aInfo*/) + /* +Establishes the Notification types from Nif to Agent for the TunDriveragent + +@param aEvent,a variable of enum TNifToAgentEventType, which contains Notification types from TunDriver to TunDriverAgent +@param aInfo, information about the agent +@return KErrNotSupported,error code if the notification type does not exist. +*/ + { + return KErrNone; + } + +void CTunDriverAgent::GetLastError(TInt& aError) +/** +Gets the LastError +*/ + { + aError = iLastErrorCode; + } + + + +TInt CTunDriverAgent::IncomingConnectionReceived() +/** +IncomingConnectionReceived + +@return KErrNotSupported, error code if incoming connection is not received. +*/ + { + return KErrNotSupported; + } + +TInt CTunDriverAgent::ServiceStartedCb(TAny* aThisPtr) +/** + * Connection Callback static function + * + */ + { + CTunDriverAgent* self = (CTunDriverAgent*)aThisPtr; + self->ServiceStarted(KErrNone); + return KErrNone; + } + +TInt CTunDriverAgent::ConnectCompleteCb(TAny* aThisPtr) +/** + * Second callback used during connection creation + * + */ + { + CTunDriverAgent* self = (CTunDriverAgent*) aThisPtr; + self->ConnectionComplete(KErrNone); + return KErrNone; + } + +TInt CTunDriverAgent::DisconnectCompleteCb(TAny* aThisPtr) +/** + * Disconnection callback static function + * + */ + { + CTunDriverAgent* self = (CTunDriverAgent*) aThisPtr; + self->DisconnectionComplete(); + return KErrNone; + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/ethernetnif/EtherPkt/CardCtl.cpp --- a/linklayerprotocols/ethernetnif/EtherPkt/CardCtl.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/linklayerprotocols/ethernetnif/EtherPkt/CardCtl.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -328,8 +328,9 @@ User::LeaveIfError(fileSrv.Connect()); User::LeaveIfError(macFile.Open(fileSrv,KEtherMacFileName,EFileRead)); + CleanupClosePushL(macFile); User::LeaveIfError(macFile.Read(macAddress,12)); - macFile.Close(); + CleanupStack::PopAndDestroy(&macFile); fileSrv.Close(); controlBuf.SetLength(8); controlBuf[0] = KEthSpeed10BaseT; diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/group/MON.dat Binary file linklayerprotocols/tundriver/group/MON.dat has changed diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/group/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/group/bld.inf Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,42 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for the Ip4 and Ip6 Binder Configuration. +* +* +*/ + +/** + @file bld.inf + @internalTechnology +*/ + + +PRJ_PLATFORMS + +DEFAULT + +PRJ_EXPORTS +tundriver.iby /epoc32/rom/include/tundriver.iby + + + + + +PRJ_MMPFILES + +tundriver.mmp + +#include "../te_tundriver/group/bld.inf" + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/group/networking_tundriver.mrp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/group/networking_tundriver.mrp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,24 @@ +# +# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +component networking_tundriver +source \sf\os\networkingsrv\linklayerprotocols\tundriver +binary \sf\os\networkingsrv\linklayerprotocols\tundriver\group all +exports \sf\os\networkingsrv\linklayerprotocols\tundriver\group +notes_source \component_defs\release.src + +ipr E +ipr T \sf\os\networkingsrv\linklayerprotocols\tundriver\te_tundriver diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/group/tundriver.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/group/tundriver.iby Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,24 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __TUNDRIVER_IBY__ +#define __TUNDRIVER_IBY__ + +#include +#include + +ECOM_PLUGIN(tundriver.dll,20027F3D.rss) + +#endif //__TUNDRIVER_IBY__ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/group/tundriver.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/group/tundriver.mmp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,66 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Plugin for tundriver. +* +* +*/ + +/** + @file tundriver.mmp + @internalTechnology +*/ + +TARGET tundriver.dll +TARGETTYPE PLUGIN +UID 0x10009D8D 0x20027F3D +VENDORID 0x70000001 + +#include + +OS_LAYER_SYSTEMINCLUDE_SYMBIAN + + + +USERINCLUDE ../inc + +SYSTEMINCLUDE /epoc32/include +SYSTEMINCLUDE /epoc32/include/ecom +SYSTEMINCLUDE /epoc32/include/comms-infras +SYSTEMINCLUDE /epoc32/include/platform/comms-infras + +LIBRARY euser.lib esock.lib esocksvr.lib +LIBRARY serverden.lib +LIBRARY netmeta.lib insock.lib inhook6.lib +LIBRARY commsfw.lib mbufmgr.lib +LIBRARY agentprcore.lib +LIBRARY coreproviders.lib +LIBRARY commsdat.lib +LIBRARY simpleselectorbase.lib +LIBRARY nodemessages.lib +LIBRARY meshmachine.lib +LIBRARY netinterfaces.lib +LIBRARY factories.lib + +DEBUGLIBRARY flogger.lib + +CAPABILITY CommDD PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ NetworkControl NetworkServices LocalServices ReadUserData WriteUserData + +SMPSAFE +SOURCEPATH ../src +SOURCE tundriverflow.cpp tundriverprovision.cpp tundriverbinder.cpp tundrivermcpr.cpp tundrivermcprfactory.cpp ecom_impl.cpp + +START RESOURCE 0x20027F3D.rss + TARGET tundriver.rsc +END diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/inc/tundriverbinder.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/inc/tundriverbinder.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,139 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for the Ip4 and Ip6 Binder Configuration. +* +* +*/ + +/** + @file tundriverbinder.h + @internalTechnology +*/ + +#ifndef _TUNDRIVERBINDER_H +#define _TUNDRIVERBINDER_H + +#include +#include +#include +#include +#include +#include +#include +#include "es_protbinder.h" +#include "tundriverflow.h" + +const TInt KMTU = 1500; + +const TInt KSpeedMetric = 0; + +const TUint KTUNDriverTos = 192; // 0xC0; uses the UNUSED 7,8 MSB of Differentiated Services + +class CTunDriverSubConnectionFlow; + +class CTunDriverBinder : public CBase, public ESock::MLowerDataSender, public ESock::MLowerControl +/** +Common Binder for the tunnel driver binder. This binder will be inherited by IPv4 or IPv6 Binder classes. +*/ + { +public: + virtual MLowerDataSender* Bind(ESock::MUpperDataReceiver& aUpperReceiver , ESock::MUpperControl& aUpperControl); + virtual void Unbind (ESock::MUpperDataReceiver& aUpperReceiver, ESock::MUpperControl& aUpperControl); + virtual TBool MatchesUpperControl(ESock::MUpperControl* aUpperControl) const; + virtual TInt Control(TUint, TUint, TDes8&); + void SetPort(TUint aPort); + TUint GetPort(); +protected: + CTunDriverBinder(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow); +protected: + __FLOG_DECLARATION_MEMBER; +private: + CTunDriverSubConnectionFlow& iTunDriverSubConnectionFlow; + TUint iPort; + }; + +class CTunDriverBinder4 : public CTunDriverBinder + { +public: + static CTunDriverBinder4* NewL(CTunDriverSubConnectionFlow& aLink); + ~CTunDriverBinder4(); + // from MLowerDataSender + virtual TInt GetName(TDes& aName); + virtual TInt GetConfig(TBinderConfig& aConfig); + MLowerDataSender* Bind(ESock::MUpperDataReceiver& aUpperReceiver , ESock::MUpperControl& aUpperControl); + void Unbind (ESock::MUpperDataReceiver& aUpperReceiver, ESock::MUpperControl& aUpperControl); + TBool MatchesUpperControl(ESock::MUpperControl* aUpperControl) const; + ESock::MLowerDataSender::TSendResult Send(RMBufChain& aData); + void StartSending(); +private: + CTunDriverBinder4(CTunDriverSubConnectionFlow& aLink); + void ConstructL(); + void TunnelProcessing(RMBufPacket& aPacket, RMBufPacket& aRecv); + inline CTunDriverSubConnectionFlow* Flow(); + virtual void DoSend(); + virtual void DoProcess(); + static TInt RecvCallBack(TAny* aCProtocol); + static TInt SendCallBack(TAny* aCProtocol); +private: + TInetAddr iLocalAddress; + CTunDriverSubConnectionFlow& iTunDriverSubConnectionFlow; + ESock::MUpperDataReceiver* iUpperReceiver; + ESock::MUpperControl* iUpperControl; + RMBufPktQ iSendQ; + RMBufPktQ iRecvQ; + CAsyncCallBack* iSendCallBack; + CAsyncCallBack* iRecvCallBack; + }; + +CTunDriverSubConnectionFlow* CTunDriverBinder4::Flow() + { + return &iTunDriverSubConnectionFlow; + } + +#ifdef IPV6SUPPORT +class CTunDriverBinder6 : public CTunDriverBinder + { +public: + static CTunDriverBinder6* NewL(CTunDriverSubConnectionFlow& aLink); + ~CTunDriverBinder6(); + // from MLowerDataSender + virtual TInt GetName(TDes& aName); + virtual TInt GetConfig(TBinderConfig& aConfig); + MLowerDataSender* Bind(ESock::MUpperDataReceiver& aUpperReceiver , ESock::MUpperControl& aUpperControl); + void Unbind (ESock::MUpperDataReceiver& aUpperReceiver, ESock::MUpperControl& aUpperControl); + TBool MatchesUpperControl(ESock::MUpperControl* aUpperControl) const; + ESock::MLowerDataSender::TSendResult Send(RMBufChain& aData); + void StartSending(); +private: + CTunDriverBinder6(CTunDriverSubConnectionFlow& aLink); + void ConstructL(); + void TunnelProcessing(RMBufPacket& aPacket, RMBufPacket& aRecv); + inline CTunDriverSubConnectionFlow* Flow(); + virtual void DoSend(); + virtual void DoProcess(); + static TInt RecvCallBack(TAny* aCProtocol); + static TInt SendCallBack(TAny* aCProtocol); +private: + TInetAddr iLocalAddress; + CTunDriverSubConnectionFlow& iTunDriverSubConnectionFlow; + ESock::MUpperDataReceiver* iUpperReceiver; + ESock::MUpperControl* iUpperControl; + RMBufPktQ iSendQ; + RMBufPktQ iRecvQ; + CAsyncCallBack* iSendCallBack; + CAsyncCallBack* iRecvCallBack; + }; +#endif +#endif // _TUNDRIVERBINDER_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/inc/tundriverflow.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/inc/tundriverflow.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,130 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for the Default SubConnection Flow +* +* +*/ + + + +/** + @file tundriverflow.h + @internalTechnology +*/ + +#ifndef TUNDRIVERFLOW_H +#define TUNDRIVERFLOW_H + +#include +#include +#include +#include +#include "tundriverbinder.h" +#include "tundriverprovision.h" + +/** +Tun Driver SubConnFlow Implementation UID +*/ +const TInt KTunDriverFlowImplementationUid = 0x10281C3C; + +// String literals for protocol name used during flow binding +_LIT8(KProtocol4, "ip"); +#ifdef IPV6SUPPORT +_LIT8(KProtocol6, "ip6"); +#endif + +class CTunDriverSubConnectionFlowFactory : public ESock::CSubConnectionFlowFactoryBase +/** +*/ + { +public: + static CTunDriverSubConnectionFlowFactory* NewL(TAny* aConstructionParameters); + virtual ESock::CSubConnectionFlowBase* DoCreateFlowL(ESock::CProtocolIntfBase* aProtocolIntf, ESock::TFactoryQueryBase& aQuery); +protected: + CTunDriverSubConnectionFlowFactory(TUid aFactoryId, ESock::CSubConnectionFlowFactoryContainer& aParentContainer); + }; + +class CTunDriverBinder4; +#ifdef IPV6SUPPORT +class CTunDriverBinder6; +#endif +class CTunDriverSubConnectionFlow : public ESock::CSubConnectionFlowBase, public ESock::MFlowBinderControl +/** +*/ + { +public: + static CTunDriverSubConnectionFlow* NewL(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf); + + // from Messages::ANode (via CSubConnectionFlowBase) + virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); + + // Methods called from Binders + void FlowDown(TInt aError, TInt aAction = MNifIfNotify::EDisconnect); + void Progress(TInt aStage, TInt aError); + const TTunDriverIp4Provision* Ip4Provision() const; +#ifdef IPV6SUPPORT + const TTunDriverIp6Provision* Ip6Provision() const; +#endif + + // Functions for dealing with SCPR messages + void StartFlowL(); + void CancelFlow(TInt aError); + void StopFlow(TInt aError); + void Destroy(); + void SubConnectionGoingDown(); + void SubConnectionError(TInt aError); + + // from MFlowBinderControl + virtual ESock::MLowerControl* GetControlL(const TDesC8& aProtocol); + virtual ESock::MLowerDataSender* BindL(const TDesC8& aProtocol, ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl); + virtual void Unbind(ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl); + virtual ESock::CSubConnectionFlowBase* Flow(); + +protected: + CTunDriverSubConnectionFlow(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf); + virtual ~CTunDriverSubConnectionFlow(); + + // CSubConnectionFlowBase + virtual ESock::MFlowBinderControl* DoGetBinderControlL(); + + // Utilities for posting SCPR messages + void PostProgressMessage(TInt aStage, TInt aError); + void PostDataClientStartedMessage(); + void PostFlowDownMessage(TInt aError, TInt aAction = MNifIfNotify::EDisconnect); + void MaybePostDataClientIdle(); + +private: + void ProvisionConfig(const ESock::RMetaExtensionContainerC& aConfigData); + +private: + CTunDriverBinder4* iBinder4; +#ifdef IPV6SUPPORT + CTunDriverBinder6* iBinder6; +#endif + const CTunDriverProtoProvision* iProvision; // cached pointer to provisioning structure in SCPR (in control side memory) + TInt iSavedError; // errors during processing of ProvisionConfig message + enum TMeshMachineFlowState + { + EStopped, + EStarting, + EStarted, + EStopping, + }; + TMeshMachineFlowState iMMState; + __FLOG_DECLARATION_MEMBER; +public: + }; + +#endif // TUNDRIVERFLOW_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/inc/tundrivermcpr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/inc/tundrivermcpr.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,56 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for the tun driver Mcpr configuration. +* +* +*/ + +/** + @file tundrivermcpr.h + @internalTechnology +*/ + +#ifndef TUNDRIVERMCPR_H +#define TUNDRIVERMCPR_H + +#include +#include "agentmcpr.h" +#include "tundrivermcprfactory.h" + + +namespace TunDriverMCprStates + { + class TSendProvision; + } + +class CTunDriverMetaConnectionProvider : public CAgentMetaConnectionProvider + { + friend class TunDriverMCprStates::TSendProvision; +public: + typedef CTunDriverMetaConnectionProviderFactory FactoryType; + + static CTunDriverMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); + virtual ~CTunDriverMetaConnectionProvider(); + +protected: + CTunDriverMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); + void SetAccessPointConfigFromDbL(); + +protected: + virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); + void ConstructL(); + }; + +#endif //TUNDRIVERMCPR_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/inc/tundrivermcprfactory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/inc/tundrivermcprfactory.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,42 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for the tunnel driver mcpr factory configuration. +* +* +*/ + +/** + @file tundrivermcprfactory.h + @internalTechnology +*/ + +#ifndef _TUNDRIVERMCPR_FACTORY_H +#define _TUNDRIVERMCPR_FACTORY_H + +#include + +class CTunDriverMetaConnectionProviderFactory : public ESock::CMetaConnectionProviderFactoryBase + { +public: + enum { iUid = 0x10281E05 }; + static CTunDriverMetaConnectionProviderFactory* NewL(TAny* aParentContainer); + +protected: + CTunDriverMetaConnectionProviderFactory(TUid aFactoryId, ESock::CMetaConnectionFactoryContainer& aParentContainer); + ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery); + }; + +#endif +//_TUNDRIVERMCPR_FACTORY_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/inc/tundriverprovision.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/inc/tundriverprovision.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,185 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for tundriver binder provision. +* +* +*/ + + + +/** + @file + @internalTechnology +*/ + +#ifndef TUNDRIVERPROVISION_H_ +#define TUNDRIVERPROVISION_H_ + +#include +#include +#include + +namespace ESock + { + class CCommsDatIapView; + } + +class TTunDriverIp4Provision + { +public: + inline TInetAddr LocalAddr() const; + inline TInetAddr NetMask() const; + inline TInetAddr BroadcastAddr() const; + inline TInetAddr DefGateway() const; + inline TInetAddr PrimaryDns() const; + inline TInetAddr SecondaryDns() const; + inline TUint32 Order() const; + + inline void SetLocalAddr(TInetAddr); + inline void SetNetMask(TInetAddr); + inline void SetBroadcastAddr(TInetAddr); + inline void SetDefGateway(TInetAddr); + inline void SetPrimaryDns(TInetAddr); + inline void SetSecondaryDns(TInetAddr); + inline void SetOrder(TUint32); + +private: + TInetAddr iLocalAddr; + TInetAddr iNetMask; + TInetAddr iBroadcastAddr; + TInetAddr iDefGateway; + TInetAddr iPrimaryDns; + TInetAddr iSecondaryDns; + TUint32 iOrder; + }; + + +inline TInetAddr TTunDriverIp4Provision::LocalAddr() const { return iLocalAddr; } + +inline TInetAddr TTunDriverIp4Provision::NetMask() const { return iNetMask; } + +inline TInetAddr TTunDriverIp4Provision::BroadcastAddr() const { return iBroadcastAddr; } + +inline TInetAddr TTunDriverIp4Provision::DefGateway() const { return iDefGateway; } + +inline TInetAddr TTunDriverIp4Provision::PrimaryDns() const { return iPrimaryDns; } + +inline TInetAddr TTunDriverIp4Provision::SecondaryDns() const { return iSecondaryDns; } + +inline TUint32 TTunDriverIp4Provision::Order() const { return iOrder; } + +inline void TTunDriverIp4Provision::SetLocalAddr(TInetAddr aLocalAddr) { iLocalAddr = aLocalAddr;} + +inline void TTunDriverIp4Provision::SetNetMask(TInetAddr aNetMask) { iNetMask = aNetMask; } + +inline void TTunDriverIp4Provision::SetBroadcastAddr(TInetAddr aBroadcastAddr) { iBroadcastAddr = aBroadcastAddr; } + +inline void TTunDriverIp4Provision::SetDefGateway(TInetAddr aDefGateway) { iDefGateway = aDefGateway; } + +inline void TTunDriverIp4Provision::SetPrimaryDns(TInetAddr aPrimaryDns) { iPrimaryDns = aPrimaryDns; } + +inline void TTunDriverIp4Provision::SetSecondaryDns(TInetAddr aSecondaryDns) { iSecondaryDns = aSecondaryDns; } + +inline void TTunDriverIp4Provision::SetOrder(const TUint32 aOrder) { iOrder = aOrder; } + +#ifdef IPV6SUPPORT +class TTunDriverIp6Provision + { +public: + inline TInetAddr LocalAddr() const; + inline TInetAddr NetMask() const; + inline TInetAddr BroadcastAddr() const; + inline TInetAddr DefGateway() const; + inline TInetAddr PrimaryDns() const; + inline TInetAddr SecondaryDns() const; + inline TUint32 Order() const; + + inline void SetLocalAddr(TInetAddr); + inline void SetNetMask(TInetAddr); + inline void SetBroadcastAddr(TInetAddr); + inline void SetDefGateway(TInetAddr); + inline void SetPrimaryDns(TInetAddr); + inline void SetSecondaryDns(TInetAddr); + inline void SetOrder(TUint32); + +private: + TInetAddr iLocalAddr; + TInetAddr iNetMask; + TInetAddr iBroadcastAddr; + TInetAddr iDefGateway; + TInetAddr iPrimaryDns; + TInetAddr iSecondaryDns; + TUint32 iOrder; + }; + + +inline TInetAddr TTunDriverIp6Provision::LocalAddr() const { return iLocalAddr; } + +inline TInetAddr TTunDriverIp6Provision::NetMask() const { return iNetMask; } + +inline TInetAddr TTunDriverIp6Provision::BroadcastAddr() const { return iBroadcastAddr; } + +inline TInetAddr TTunDriverIp6Provision::DefGateway() const { return iDefGateway; } + +inline TInetAddr TTunDriverIp6Provision::PrimaryDns() const { return iPrimaryDns; } + +inline TInetAddr TTunDriverIp6Provision::SecondaryDns() const { return iSecondaryDns; } + +inline TUint32 TTunDriverIp6Provision::Order() const { return iOrder; } + +inline void TTunDriverIp6Provision::SetLocalAddr(TInetAddr aLocalAddr) { iLocalAddr = aLocalAddr;} + +inline void TTunDriverIp6Provision::SetNetMask(TInetAddr aNetMask) { iNetMask = aNetMask; } + +inline void TTunDriverIp6Provision::SetBroadcastAddr(TInetAddr aBroadcastAddr) { iBroadcastAddr = aBroadcastAddr; } + +inline void TTunDriverIp6Provision::SetDefGateway(TInetAddr aDefGateway) { iDefGateway = aDefGateway; } + +inline void TTunDriverIp6Provision::SetPrimaryDns(TInetAddr aPrimaryDns) { iPrimaryDns = aPrimaryDns; } + +inline void TTunDriverIp6Provision::SetSecondaryDns(TInetAddr aSecondaryDns) { iSecondaryDns = aSecondaryDns; } + +inline void TTunDriverIp6Provision::SetOrder(const TUint32 aOrder) { iOrder = aOrder; } +#endif + +class CTunDriverProtoProvision : public CBase, public Meta::SMetaData +/** +Main provisioning info class that aggregates specific provisioning classes. +*/ + { +public: + enum + { + EUid = 0x10281C3C, + ETypeId = 1 + }; + +public: + void InitialiseConfigL(ESock::CCommsDatIapView* aIapView); + void ProvisionNetworkConfigL(ESock::CCommsDatIapView* aIapView); + void ProvisionIp4ConfigL(ESock::CCommsDatIapView* aIapView, TUint32 aOrder); +#ifdef IPV6SUPPORT + void ProvisionIp6ConfigL(ESock::CCommsDatIapView* aIapView, TUint32 aOrder); +#endif + +public: + TTunDriverIp4Provision iIp4Provision; +#ifdef IPV6SUPPORT + TTunDriverIp6Provision iIp6Provision; +#endif + + DATA_VTABLE + }; +#endif // TUNDRIVERPROVISION_H_ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/0x20027F3D.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/0x20027F3D.rss Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,63 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Header file for tundriver binder provision. +* +* +*/ +/** + * Registry info for Tunnel Driver CFProtocol modules + @file 0x20027F3D.RSS + @internalComponent +*/ + +#include "ecom/registryinfo.rh" + +RESOURCE REGISTRY_INFO theInfo +{ +dll_uid = 0x20027F3D; +interfaces = + { + INTERFACE_INFO + { + interface_uid = 0x10281C33; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = 0x10281C3C; + version_no = 1; + display_name = "tun driver Flow Factory"; + default_data = "tundriver"; + opaque_data = ""; + } + }; + }, + INTERFACE_INFO + { + interface_uid = 0x10274546; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = 0x10281E05; + version_no = 1; + display_name = "tunnel driver Meta Connection Provider Factory"; + default_data = "tundriverMCprFactory"; + opaque_data = ""; + } + }; + } + }; +} diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/ecom_impl.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/ecom_impl.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,47 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* ECOM implementation for the Tunnel Driver protocol provider factories +* +* +*/ +/** + @file ecom_impl.cpp + @internalTechnology +*/ + + +#include +#include + +#include "tundriverflow.h" +#include "tundrivermcprfactory.h" + +// +// ECOM Implementation +// + +const TImplementationProxy ImplementationTable[] = + { + IMPLEMENTATION_PROXY_ENTRY(KTunDriverFlowImplementationUid, CTunDriverSubConnectionFlowFactory::NewL), + IMPLEMENTATION_PROXY_ENTRY(CTunDriverMetaConnectionProviderFactory::iUid, CTunDriverMetaConnectionProviderFactory::NewL), + }; + + +EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) + { + aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); + return ImplementationTable; + } + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/tundriverbinder.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/tundriverbinder.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,729 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Ipv4 and Ipv6 Binder configuration source file. +* +* +*/ + +/** + @file tundriverbinder.cpp + @internalTechnology + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "tundriverbinder.h" +#include "tundriverprovision.h" + +using namespace ESock; + +#ifdef _DEBUG +_LIT8(KNif,"TunDriver"); +_LIT8(KBinder4,"Binder4"); +#ifdef IPV6SUPPORT +_LIT8(KBinder6,"Binder6"); +#endif +#endif + +////////////////////// +// CTunDriverBinder // +////////////////////// + +CTunDriverBinder::CTunDriverBinder(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow) : iTunDriverSubConnectionFlow(aTunDriverSubConnectionFlow) +/* +* Default constructor for Binder Base Class. +*/ + { + } + +MLowerDataSender* CTunDriverBinder::Bind(MUpperDataReceiver& /*aUpperReceiver*/, MUpperControl& /*aUpperControl*/) +/** +* Virtual Function, Implementation is binder specific (IPv4 or IPv6) +* If This Bind function is called, then there is an error in binding. +* @param Not used here +* @return NULL. +*/ + { + return NULL; + } + +void CTunDriverBinder::Unbind(MUpperDataReceiver& /*aUpperReceiver*/, MUpperControl& /*aUpperControl*/) +/** +* Virtual Function, Implementation is binder specific (IPv4 or IPv6) +* @param Not used here +*/ + { + } + +void CTunDriverBinder::SetPort(TUint aPort) +/** +* CTunDriverBinder::SetPort is used to set port common for Ip4Binder and Ip6Binder +* @param aPort +* @return +*/ + { + iPort = aPort; + } + +TUint CTunDriverBinder::GetPort() +/** +* CTunDriverBinder::GetPort is used to obtain port common for Ip4Binder and Ip6Binder +* @param Not used here +* @return iPort +*/ + { + return iPort; + } + +TBool CTunDriverBinder::MatchesUpperControl(ESock::MUpperControl* /*aUpperControl*/) const +/** +* Virtual Function, Implementation is binder specific (IPv4 or IPv6) +* If This MatchesUpperControl function is called, then there is an error in binding. +* @param Not used here +* @return EFalse. +*/ + { + return EFalse; + } + +CTunDriverBinder4* CTunDriverBinder4::NewL(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow) +/** +* CTunDriverBinder4::NewL +* This function is invoked by the flow. This CTunDriverBinder4 is IPv4 specific. +* @param CTunDriverSubConnectionFlow +* @return CTunDriverSubConnectionFlow. +*/ + { + CTunDriverBinder4* self = new (ELeave)CTunDriverBinder4(aTunDriverSubConnectionFlow); + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(self); + return self; + } + +void CTunDriverBinder4::ConstructL() +/** +* CTunDriverBinder4::ConstructL is the second-phase constructor. +* This function is invoked by NewL. +* This function initializes the asynchronous callback functions for sending and receiving packets. +* @param +* @return. +*/ + { + TCallBack scb(SendCallBack, this); + iSendCallBack = new(ELeave) CAsyncCallBack(scb, EPriorityNormal); + + TCallBack rcb(RecvCallBack, this); + iRecvCallBack = new(ELeave) CAsyncCallBack(rcb, EPriorityNormal); + } + +CTunDriverBinder4::CTunDriverBinder4(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow) : CTunDriverBinder(aTunDriverSubConnectionFlow),iTunDriverSubConnectionFlow(aTunDriverSubConnectionFlow) +/** +* CTunDriverBinder4::CTunDriverBinder4 is the default constructor. +* This function is invoked by NewL. +* This function initializes localaddress to 0.0.0.0. +* @param +* @return. +*/ + { + __FLOG_OPEN(KNif, KBinder4); + iLocalAddress = KInetAddrNone; + __FLOG_3(_L8("CTunDriverBinder4 %08x:\tCTunDriverBinder4(CTunDriverSubConnectionFlow& %08x): iLocalAddress %08x"), this, &aTunDriverSubConnectionFlow, iLocalAddress.Address()); + } + +CTunDriverBinder4::~CTunDriverBinder4() +/** +* CTunDriverBinder4::CTunDriverBinder4 is the default destructor. +* This function frees the RMBufPkt queues and +* deletes the asynchrounous call back pointers initialized at the time of construction. +* @param +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder4 %08x:\t~CTunDriverBinder4()"), this); + iRecvQ.Free(); + iSendQ.Free(); + delete iRecvCallBack; + delete iSendCallBack; + } + +MLowerDataSender* CTunDriverBinder4::Bind(MUpperDataReceiver& aUpperReceiver, MUpperControl& aUpperControl) +/** +* CTunDriverBinder4::Bind Binds upper CommsFramwork Protocol to this CommsFramwork Protocol. +* @param aUpperReceiver A pointer to Upper layer Receive class +* @param aUpperControl A pointer to Upper layer control class +* @return this. +*/ + { + __FLOG_3(_L8("CTunDriverBinder4 %08x:\tBind(aUpperReceiver %08x, aUpperControl %08x)"), this, &aUpperReceiver, &aUpperControl); + iUpperReceiver = &aUpperReceiver; + iUpperControl = &aUpperControl; + return this; + } + +void CTunDriverBinder4::Unbind(MUpperDataReceiver& /*aUpperReceiver*/, MUpperControl& /*aUpperControl*/) +/** +* CTunDriverBinder4::UnBind UnBinds the assocication of CommsFramwork Protocol from this CommsFramwork Protocol. +* @param aUpperReceiver A pointer to Upper layer Receive class +* @param aUpperControl A pointer to Upper layer control class +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder4 %08x:\tUnbind()"), this); + iUpperReceiver = NULL; + iUpperControl = NULL; + } + +void CTunDriverBinder4::StartSending() +/** +* CTunDriverBinder4::StartSending is signaled to the upperlayer that Binder is ready to send packets. +* This function will be called only once when the interface is started. +* @param +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder4 %08x:\tBinderReady()"), this); + iUpperControl->StartSending(); + } + +TBool CTunDriverBinder4::MatchesUpperControl(ESock::MUpperControl* aUpperControl) const +/** +* CTunDriverBinder4::MatchesUpperControl returns whether this binder is associated with the +* MUpperControl object passed as argument. +* This function will be called while Unbinding the flow. +* @param aUpperControl upper layer to match against +* @return ETrue on a match else EFalse. +*/ + { + return (aUpperControl == iUpperControl); + } + +MLowerDataSender::TSendResult CTunDriverBinder4::Send(RMBufChain& aData) +/** +* CTunDriverBinder4::Send places the stack packet in SendQueue and breaks the call. +* Then asynchrounous callback function is invoked. +* @param aData MBuf chain containing data to send +* @return ESendAccepted. +*/ + { + iSendQ.Append(aData); + iSendCallBack->CallBack(); + return ESendAccepted; + } + +TInt CTunDriverBinder4::GetConfig(TBinderConfig& aConfig) +/** +* CTunDriverBinder4::GetConfig populates the interface IPv4 configuration information. +* This function is invoked by the upperlayer +* @param aConfig structure. +* @return KErrNone if IPv4 binderconfiguration exists. +* @return KErrNotSupported otherwise. +*/ + { + TBinderConfig4* config = TBinderConfig::Cast(aConfig); + + if(config == NULL) + { + return KErrNotSupported; + } + const TTunDriverIp4Provision* ip4Provision = Flow()->Ip4Provision(); + // Setup config + iLocalAddress = ip4Provision->LocalAddr(); + config->iInfo.iFeatures = KIfCanBroadcast | KIfCanMulticast; + config->iInfo.iMtu = KMTU; + config->iInfo.iRMtu = KMTU; + config->iInfo.iSpeedMetric = KSpeedMetric; + config->iFamily = KAfInet; + + __FLOG_2(_L8("CTunDriverBinder4 %08x:\tGetConfig(): iLocalAddress %08x"), this, iLocalAddress.Address()); + config->iAddress.SetAddress(iLocalAddress.Address()); + + + TInetAddr address = ip4Provision->DefGateway(); + config->iDefGate.SetAddress(address.Address()); + // primary DNS, just make same as default gateway + address = ip4Provision->PrimaryDns(); + config->iNameSer1.SetAddress(address.Address()); + // secondary DNS + address = ip4Provision->SecondaryDns(); + config->iNameSer2.SetAddress(address.Address()); + return KErrNone; + } + +TInt CTunDriverBinder::Control(TUint aLevel, TUint aName, TDes8& aOption) +/** +* CTunDriverBinder::Control is to check wether the packet is intended for tundriver or not. +* Called from the upperlayer to identify the special control functionality. +* Also the sets the port number. +* @param aLevel +* @param aName +* @param aOption +* @return KErrNone if packet is intended for Ipv4 tundriver. +* @return KErrNotSupported otherwise. +*/ + { + __FLOG_3(_L("CTunDriverBinder %08x:\tControl(aLevel %x, aName %x)"), this, aLevel, aName); + if((aLevel == KSolInetIp) && (aName == KSoTunnelPort)) + { + TInetAddr& localAddress = *(TInetAddr*) aOption.Ptr(); + SetPort(localAddress.Port()); + return KErrNone; + } + return KErrNotSupported; + } + +TInt CTunDriverBinder4::GetName(TDes& aName) +/** +* CTunDriverBinder4::GetName is to retreive the Binder4 Name. +* Called from the upperlayer. aName is filled with Binder4 Name. +* @param aName +* @return KErrNone if packet is intended for Ipv4 tundriver. +* @return KErrNotSupported otherwise. +*/ + { + aName.Format(_L("TunDriver4[0x%08x]"), this); + __FLOG_2(_L("CTunDriverBinder4 %08x:\tGetName(): %S"), this, &aName); + return KErrNone; + } + +TInt CTunDriverBinder4::RecvCallBack(TAny* aCProtocol) +/** +* CTunDriverBinder4::RecvCallBack is asynchronous callback function to send the packets to IP Layer. +* Will be invoked whenever there is a packet in the RMBufPkt Receive Buffer. +* @param aCProtocol contains the this object. +* @return KErrNone +*/ + { + ((CTunDriverBinder4*)aCProtocol)->DoProcess(); + return KErrNone; + } + +TInt CTunDriverBinder4::SendCallBack(TAny* aCProtocol) +/** +* CTunDriverBinder4::SendCallBack is asynchronous callback function to send the packets to IP Layer. +* Will be invoked whenever there is a packet in the RMBufPkt Send Buffer. +* DoSend will process the packets if required and place the packet in the RMBufPkt Receive Queue +* @param aCProtocol contains the this object. +* @return KErrNone +*/ + { + ((CTunDriverBinder4*)aCProtocol)->DoSend(); + return KErrNone; + } + +void CTunDriverBinder4::DoSend() +/** +* CTunDriverBinder4::DoSend will retreive the packet from RMBufPkt Send Buffer. +* Process the packets if required and puts the packet back in Receive Buffer. +* Will be invoked by CTunDriverBinder4::SendCallback +* @param +* @return +*/ + { + RMBufPacket send; + RMBufPacket recv; + while (iSendQ.Remove(send)) + { + TunnelProcessing(send,recv); + iRecvQ.Append(recv); + iRecvCallBack->CallBack(); + send.Free(); + } + } + +void CTunDriverBinder4::DoProcess() +/** +* CTunDriverBinder4::DoProcess will retreive the packet from RMBufPkt Receive Buffer. +* send the packet to IP Layer for processing the packet. +* Will be invoked by CTunDriverBinder4::ReceiveCallback +* @param +* @return +*/ + { + RMBufPacket packet; + while (iRecvQ.Remove(packet)) + { + iUpperReceiver->Process(packet); + } + } + +void CTunDriverBinder4::TunnelProcessing(RMBufPacket& aPacket, RMBufPacket& aRecv ) +/** +* CTunDriverBinder4::TunnelProcessing will encapsulate with IPv4 Header if the packet is to be tunneled. +* IP Number and port number will be configure by TUN Client. +* If the IPPacket contains TOS Option set with 192, Packet is encapsulated else packet will be send as is. +* Will be invoked by CTunDriverBinder4::DoSend +* @param aPacket contains the raw packet. +* @param aRecv will contain the payload and the encapsulated IPv4 Header. +* @return +*/ + { + TInt ret; + TUint origPktLen; + + TInet6HeaderIP4* lip4 = (TInet6HeaderIP4*) aPacket.First()->Next()->Ptr(); + TInt outerHdrLen = TInet6HeaderIP4::MinHeaderLength() + + TInet6HeaderUDP::MinHeaderLength(); + + if((lip4->TOS() & KTUNDriverTos) == KTUNDriverTos) + { + RMBufChain outerHdr; + aRecv.Assign(aPacket); + RMBufPktInfo *info = aRecv.Unpack(); + aRecv.SetInfo(info); + + origPktLen = aRecv.Length(); + TRAP(ret, outerHdr.AllocL(outerHdrLen)); + if (ret != KErrNone) + { + RDebug::Printf("\nVirtual tunnel nif: tunnel processing: Error in Allocating the outer IP header."); + aRecv.Free(); + } + + aRecv.Prepend(outerHdr); + info->iLength += outerHdrLen; + + TInet6Checksum outerUdp(aRecv, 20); + if (outerUdp.iHdr == NULL) + { + RDebug::Printf("\nVirtual tunnel nif: tunnel processing: Error in Allocating the outer UDP header."); + aRecv.Free(); + } + + outerUdp.iHdr->SetSrcPort(GetPort()); + outerUdp.iHdr->SetDstPort(GetPort()); + outerUdp.iHdr->SetLength(origPktLen + TInet6HeaderUDP::MinHeaderLength()); + outerUdp.iHdr->SetChecksum(0); // Compute checksum + + TInet6Checksum outerIP(aRecv); + outerIP.iHdr->Init(); + outerIP.iHdr->SetHeaderLength(TInet6HeaderIP4::MinHeaderLength()); + outerIP.iHdr->SetTotalLength(origPktLen + outerHdrLen); + outerIP.iHdr->SetTOS(1); + outerIP.iHdr->SetProtocol(KProtocolInetUdp); + outerIP.iHdr->SetSrcAddr(iLocalAddress.Address()) ; + outerIP.iHdr->SetDstAddr(iLocalAddress.Address()); + outerIP.ComputeChecksum(); + aRecv.Pack(); + } + } +#ifdef IPV6SUPPORT +CTunDriverBinder6* CTunDriverBinder6::NewL(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow) +/** +* CTunDriverBinder6::NewL +* This function is invoked by the flow. This CTunDriverBinder4 is IPv4 specific. +* @param CTunDriverSubConnectionFlow +* @return CTunDriverSubConnectionFlow. +*/ + { + CTunDriverBinder6* self = new (ELeave)CTunDriverBinder6(aTunDriverSubConnectionFlow); + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(self); + return self; + } + +void CTunDriverBinder6::ConstructL() +/** +* CTunDriverBinder4::ConstructL is the second-phase constructor. +* This function is invoked by NewL. +* This function initializes the asynchronous callback functions for sending and receiving packets. +* @param +* @return. +*/ + { + TCallBack scb(SendCallBack, this); + iSendCallBack = new(ELeave) CAsyncCallBack(scb, EPriorityNormal); + + TCallBack rcb(RecvCallBack, this); + iRecvCallBack = new(ELeave) CAsyncCallBack(rcb, EPriorityNormal); + } + +CTunDriverBinder6::CTunDriverBinder6(CTunDriverSubConnectionFlow& aTunDriverSubConnectionFlow) : CTunDriverBinder(aTunDriverSubConnectionFlow),iTunDriverSubConnectionFlow(aTunDriverSubConnectionFlow) +/** +* CTunDriverBinder4::CTunDriverBinder4 is the default constructor. +* This function is invoked by NewL. +* This function initializes localaddress to 0.0.0.0. +* @param +* @return. +*/ + { + __FLOG_OPEN(KNif, KBinder6); + iLocalAddress.SetAddress(KInet6AddrNone); + __FLOG_3(_L8("CTunDriverBinder6 %08x:\tCTunDriverBinder6(CTunDriverSubConnectionFlow& %08x): iLocalAddress %08x"), this, &aTunDriverSubConnectionFlow, iLocalAddress.Address()); + } + +CTunDriverBinder6::~CTunDriverBinder6() +/** +* CTunDriverBinder4::CTunDriverBinder4 is the default destructor. +* This function frees the RMBufPkt queues and +* deletes the asynchrounous call back pointers initialized at the time of construction. +* @param +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder6 %08x:\t~CTunDriverBinder6()"), this); + iRecvQ.Free(); + iSendQ.Free(); + delete iRecvCallBack; + delete iSendCallBack; + } + +MLowerDataSender* CTunDriverBinder6::Bind(MUpperDataReceiver& aUpperReceiver, MUpperControl& aUpperControl) +/** +* CTunDriverBinder4::Bind Binds upper CommsFramwork Protocol to this CommsFramwork Protocol. +* @param aUpperReceiver A pointer to Upper layer Receive class +* @param aUpperControl A pointer to Upper layer control class +* @return this. +*/ + { + __FLOG_3(_L8("CTunDriverBinder6 %08x:\tBind(aUpperReceiver %08x, aUpperControl %08x)"), this, &aUpperReceiver, &aUpperControl); + iUpperReceiver = &aUpperReceiver; + iUpperControl = &aUpperControl; + return this; + } + +void CTunDriverBinder6::Unbind(MUpperDataReceiver& /*aUpperReceiver*/, MUpperControl& /*aUpperControl*/) +/** +* CTunDriverBinder4::UnBind UnBinds the assocication of CommsFramwork Protocol from this CommsFramwork Protocol. +* @param aUpperReceiver A pointer to Upper layer Receive class +* @param aUpperControl A pointer to Upper layer control class +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder6 %08x:\tUnbind()"), this); + iUpperReceiver = NULL; + iUpperControl = NULL; + } + +void CTunDriverBinder6::StartSending() +/** +* CTunDriverBinder4::StartSending is signaled to the upperlayer that Binder is ready to send packets. +* This function will be called only once when the interface is started. +* @param +* @return. +*/ + { + __FLOG_1(_L8("CTunDriverBinder6 %08x:\tBinderReady()"), this); + iUpperControl->StartSending(); + } + +TBool CTunDriverBinder6::MatchesUpperControl(ESock::MUpperControl* aUpperControl) const +/** +* CTunDriverBinder4::MatchesUpperControl returns whether this binder is associated with the +* MUpperControl object passed as argument. +* This function will be called while Unbinding the flow. +* @param aUpperControl upper layer to match against +* @return ETrue on a match else EFalse. +*/ + { + return (aUpperControl == iUpperControl); + } + +MLowerDataSender::TSendResult CTunDriverBinder6::Send(RMBufChain& aData) +/** +* CTunDriverBinder4::Send places the stack packet in SendQueue and breaks the call. +* Then asynchrounous callback function is invoked. +* @param aData MBuf chain containing data to send +* @return ESendAccepted. +*/ + { + iSendQ.Append(aData); + iSendCallBack->CallBack(); + return ESendAccepted; + } + +TInt CTunDriverBinder6::GetConfig(TBinderConfig& aConfig) +/** +* CTunDriverBinder4::GetConfig populates the interface IPv4 configuration information. +* This function is invoked by the upperlayer +* @param aConfig structure. +* @return KErrNone if IPv4 binderconfiguration exists. +* @return KErrNotSupported otherwise. +*/ + { + TBinderConfig6* config = TBinderConfig::Cast(aConfig); + + if(config == NULL) + { + return KErrNotSupported; + } + const TTunDriverIp6Provision* ip6Provision = Flow()->Ip6Provision(); + // Setup config + iLocalAddress = ip6Provision->LocalAddr(); + config->iInfo.iFeatures = KIfCanBroadcast | KIfCanMulticast; + config->iInfo.iMtu = KMTU; + config->iInfo.iRMtu = KMTU; + config->iInfo.iSpeedMetric = KSpeedMetric; + config->iFamily = KAfInet6; + + __FLOG_2(_L8("CTunDriverBinder6 %08x:\tGetConfig(): iLocalAddress %08x"), this, iLocalAddress.Address()); + + // primary DNS, just make same as default gateway + TInetAddr address = ip6Provision->PrimaryDns(); + config->iNameSer1 = address; + // secondary DNS + address = ip6Provision->SecondaryDns(); + config->iNameSer2 = address; + return KErrNone; + } + +TInt CTunDriverBinder6::GetName(TDes& aName) +/** +* CTunDriverBinder4::GetName is to retreive the Binder4 Name. +* Called from the upperlayer. aName is filled with Binder4 Name. +* @param aName +* @return KErrNone if packet is intended for Ipv4 tundriver. +* @return KErrNotSupported otherwise. +*/ + { + aName.Format(_L("TunDriver6[0x%08x]"), this); + __FLOG_2(_L("CTunDriverBinder6 %08x:\tGetName(): %S"), this, &aName); + return KErrNone; + } + +TInt CTunDriverBinder6::RecvCallBack(TAny* aCProtocol) +/** +* CTunDriverBinder4::RecvCallBack is asynchronous callback function to send the packets to IP Layer. +* Will be invoked whenever there is a packet in the RMBufPkt Receive Buffer. +* @param aCProtocol contains the this object. +* @return KErrNone +*/ + { + ((CTunDriverBinder6*)aCProtocol)->DoProcess(); + return KErrNone; + } + +TInt CTunDriverBinder6::SendCallBack(TAny* aCProtocol) +/** +* CTunDriverBinder4::SendCallBack is asynchronous callback function to send the packets to IP Layer. +* Will be invoked whenever there is a packet in the RMBufPkt Send Buffer. +* DoSend will process the packets if required and place the packet in the RMBufPkt Receive Queue +* @param aCProtocol contains the this object. +* @return KErrNone +*/ + { + ((CTunDriverBinder6*)aCProtocol)->DoSend(); + return KErrNone; + } + +void CTunDriverBinder6::DoSend() +/** +* CTunDriverBinder4::DoSend will retreive the packet from RMBufPkt Send Buffer. +* Process the packets if required and puts the packet back in Receive Buffer. +* Will be invoked by CTunDriverBinder4::SendCallback +* @param +* @return +*/ + { + RMBufPacket send; + RMBufPacket recv; + while (iSendQ.Remove(send)) + { + TunnelProcessing(send,recv); + iRecvQ.Append(recv); + iRecvCallBack->CallBack(); + send.Free(); + } + } + +void CTunDriverBinder6::DoProcess() +/** +* CTunDriverBinder4::DoProcess will retreive the packet from RMBufPkt Receive Buffer. +* send the packet to IP Layer for processing the packet. +* Will be invoked by CTunDriverBinder4::ReceiveCallback +* @param +* @return +*/ + { + RMBufPacket packet; + while (iRecvQ.Remove(packet)) + { + iUpperReceiver->Process(packet); + } + } + +void CTunDriverBinder6::TunnelProcessing(RMBufPacket& aPacket, RMBufPacket& aRecv ) +/** +* CTunDriverBinder4::TunnelProcessing will encapsulate with IPv4 Header if the packet is to be tunneled. +* IP Number and port number will be configure by TUN Client. +* If the IPPacket contains TOS Option set with 192, Packet is encapsulated else packet will be send as is. +* Will be invoked by CTunDriverBinder4::DoSend +* @param aPacket contains the raw packet. +* @param aRecv will contain the payload and the encapsulated IPv4 Header. +* @return +*/ + { + TInt ret; + TUint origPktLen; + + TInet6HeaderIP* lip6 = (TInet6HeaderIP*) aPacket.First()->Next()->Ptr(); + TInt outerHdrLen = TInet6HeaderIP4::MinHeaderLength() + + TInet6HeaderUDP::MinHeaderLength(); + + if((lip6->HopLimit() & KTUNDriverTos) == KTUNDriverTos) + { + RMBufChain outerHdr; + aRecv.Assign(aPacket); + RMBufPktInfo *info = aRecv.Unpack(); + aRecv.SetInfo(info); + + origPktLen = aRecv.Length(); + TRAP(ret, outerHdr.AllocL(outerHdrLen)); + if (ret != KErrNone) + { + RDebug::Printf("\nVirtual tunnel nif: tunnel processing: Error in Allocating the outer IP header."); + aRecv.Free(); + } + + TInet6HeaderIP *hdrBuf = (TInet6HeaderIP*) outerHdr.First()->Buffer(); + aRecv.Prepend(outerHdr); + info->iLength += outerHdrLen; + + TInet6Checksum outerUdp(aRecv, 20); + if (outerUdp.iHdr == NULL) + { + RDebug::Printf("\nVirtual tunnel nif: tunnel processing: Error in Allocating the outer UDP header."); + aRecv.Free(); + } + + outerUdp.iHdr->SetSrcPort(GetPort()); + outerUdp.iHdr->SetDstPort(GetPort()); + outerUdp.iHdr->SetLength(origPktLen + TInet6HeaderUDP::MinHeaderLength()); + outerUdp.iHdr->SetChecksum(0); + + TInet6Checksum outerIP(aRecv); + outerIP.iHdr->Init(); + outerIP.iHdr->SetHopLimit(1); + outerIP.iHdr->SetNextHeader(KProtocolInetUdp); + outerIP.iHdr->SetSrcAddr(iLocalAddress.Ip6Address()); + outerIP.iHdr->SetDstAddr(iLocalAddress.Ip6Address()); + aRecv.Pack(); + } + } + +CTunDriverSubConnectionFlow* CTunDriverBinder6::Flow() + { + return &iTunDriverSubConnectionFlow; + } + +#endif diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/tundriverflow.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/tundriverflow.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,510 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Flow implementation for data path for tunnel driver. +* +* +*/ + +/** + @file tundriverflow.cpp + @internalTechnology +*/ + +#include +#include +#include +#include +#include + +#include "ss_subconnflow.h" +#include +#include "tundriverflow.h" +#include "tundriverbinder.h" +#include "tundriverprovision.h" + +using namespace Messages; +using namespace MeshMachine; +using namespace ESock; + +#ifdef SYMBIAN_TRACE_ENABLE +_LIT8(KNif,"tundriver"); +#endif + +CTunDriverSubConnectionFlowFactory* CTunDriverSubConnectionFlowFactory::NewL(TAny* aConstructionParameters) +/** +* CTunDriverSubConnectionFlowFactory::NewL constructs a Default SubConnection Flow Factory +* @param aConstructionParameters construction data passed by ECOM +* @returns pointer to a constructed factory object. +*/ + { + CTunDriverSubConnectionFlowFactory* ptr = new (ELeave) CTunDriverSubConnectionFlowFactory(TUid::Uid(KTunDriverFlowImplementationUid), *(reinterpret_cast(aConstructionParameters))); + return ptr; + } + + +CTunDriverSubConnectionFlowFactory::CTunDriverSubConnectionFlowFactory(TUid aFactoryId, CSubConnectionFlowFactoryContainer& aParentContainer) +: CSubConnectionFlowFactoryBase(aFactoryId, aParentContainer) +/** +* CTunDriverSubConnectionFlowFactory::CTunDriverSubConnectionFlowFactory is a Default SubConnection Flow Factory +* @param aFactoryId ECOM Implementation Id +* @param aParentContainer Object Owner +*/ + { + } + +CSubConnectionFlowBase* CTunDriverSubConnectionFlowFactory::DoCreateFlowL(CProtocolIntfBase* aProtocolIntf, TFactoryQueryBase& aQuery) +/** +* CTunDriverSubConnectionFlowFactory::DoCreateFlowL will create SubConnection Flow. +* @param aFactoryId ECOM Implementation Id +* @param aParentContainer Object Owner +*/ + { + const TDefaultFlowFactoryQuery& query = static_cast(aQuery); + return CTunDriverSubConnectionFlow::NewL(*this, query.iSCprId, aProtocolIntf); + } + +CTunDriverSubConnectionFlow::CTunDriverSubConnectionFlow(CSubConnectionFlowFactoryBase& aFactory, const TNodeId& aSubConnId, CProtocolIntfBase* aProtocolIntf) +: CSubConnectionFlowBase(aFactory, aSubConnId, aProtocolIntf) +/** +* CTunDriverSubConnectionFlow::CTunDriverSubConnectionFlow is a Default Constructor +* @param aFactoryId ECOM Implementation Id +* @param aParentContainer Object Owner +*/ + { + __FLOG_OPEN(KCFNodeTag, KNif); + LOG_NODE_CREATE(KNif, CTunDriverSubConnectionFlow); + } + +CTunDriverSubConnectionFlow::~CTunDriverSubConnectionFlow() +/** +* CTunDriverSubConnectionFlowFactory::~CTunDriverSubConnectionFlow is a Default destructor +* @param aFactoryId ECOM Implementation Id +* @param aParentContainer Object Owner +*/ + { + delete iBinder4; + iBinder4 = NULL; +#ifdef IPV6SUPPORT + delete iBinder6; + iBinder6 = NULL; +#endif + LOG_NODE_DESTROY(KNif, CTunDriverSubConnectionFlow); + __FLOG_CLOSE; + } + +CTunDriverSubConnectionFlow* CTunDriverSubConnectionFlow::NewL(CSubConnectionFlowFactoryBase& aFactory, const TNodeId& aSubConnId, CProtocolIntfBase* aProtocolIntf) +/** +* CTunDriverSubConnectionFlowFactory::NewL is a first phase Constructor. +* @param aFactoryId ECOM Implementation Id +* @param aParentContainer Object Owner +*/ + { + CTunDriverSubConnectionFlow* flow = new (ELeave) CTunDriverSubConnectionFlow(aFactory, aSubConnId, aProtocolIntf); + return flow; + } + +void CTunDriverSubConnectionFlow::FlowDown(TInt aError, TInt aAction /*= MNifIfNotify::EDisconnect*/) +/** +* CTunDriverSubConnectionFlowFactory::FlowDown will post the message. +* @param aError obtained from the upper CF Layer. +* @param aAction and the action message for aError. +*/ + { + PostFlowDownMessage(aError, aAction); + } + +void CTunDriverSubConnectionFlow::Progress(TInt aStage, TInt aError) +/** +* CTunDriverSubConnectionFlowFactory::Progress Binder requesting a Progress() message be sent to SCPR +* @param aStage and the action message for aError. +* @param aError obtained from the upper CF Layer. +*/ + { + PostProgressMessage(aStage, aError); + } + +const TTunDriverIp4Provision* CTunDriverSubConnectionFlow::Ip4Provision() const +/** +* CTunDriverSubConnectionFlowFactory::Ip4Provision +* @param +* @return iIp4Provision. +*/ + { + ASSERT(iProvision); + return &iProvision->iIp4Provision; + } + +#ifdef IPV6SUPPORT +const TTunDriverIp6Provision* CTunDriverSubConnectionFlow::Ip6Provision() const +/** +* CTunDriverSubConnectionFlowFactory::Ip6Provision +* @param +* @return iIp6Provision. +*/ + { + ASSERT(iProvision); + return &iProvision->iIp6Provision; + } +#endif + +//-========================================================= +// Messages::ANode methods +//-========================================================= + +#define __FRAMEWORK_PRODUCTION_ERRORHANDLING(c,p) (void)((c)||(p,0)) +void CTunDriverSubConnectionFlow::ReceivedL(const TRuntimeCtxId& aSender, const TNodeId& aRecipient, TSignatureBase& aMessage) +/** +* CTunDriverSubConnectionFlowFactory::ReceivedL called on incoming SCPR Messages. +* CTunDriverSubConnectionFlow functions will be called Based on message type +* @param aCFMessage message base +*/ + { + #ifdef __FLOG_ACTIVE + TAny* senderAddr = NULL; + const TNodeId* senderNodeId = address_cast(&aSender); + __ASSERT_DEBUG(senderNodeId!=NULL,User::LeaveIfError(KErrCorrupt)); + senderAddr = senderNodeId->Ptr(); + __FLOG_4(_L8("CTunDriverSubConnectionFlow(%x):\tReceivedL() Sender Id: %x, Msg Realm: %X, Msg ID: %d"), this, senderAddr, aMessage.MessageId().Realm(), aMessage.MessageId().MessageId()); + #endif + + CSubConnectionFlowBase::ReceivedL(aSender, aRecipient, aMessage); + if (aMessage.IsMessage()) + { + SubConnectionError(static_cast(aMessage).iValue); + } + else if (TEChild::ERealmId == aMessage.MessageId().Realm()) + { + switch (aMessage.MessageId().MessageId()) + { + case TEChild::TCancel::EId: + CancelFlow(KErrCancel); + case TEChild::TDestroy::EId : + Destroy(); + break; + default: + ASSERT(EFalse); + } + } + else if (TCFDataClient::ERealmId == aMessage.MessageId().Realm()) + { + switch (aMessage.MessageId().MessageId()) + { + case TCFDataClient::TStart::EId : + StartFlowL(); + break; + case TCFDataClient::TStop::EId : + StopFlow(static_cast(aMessage).iValue); + break; + case TCFDataClient::TProvisionConfig::EId: + ProvisionConfig(static_cast(aMessage).iConfig); + break; + case TCFDataClient::TBindTo::EId: + { + TCFDataClient::TBindTo& bindToReq = message_cast(aMessage); + __FRAMEWORK_PRODUCTION_ERRORHANDLING(bindToReq.iNodeId.IsNull(),User::LeaveIfError(KErrNotSupported)); + RClientInterface::OpenPostMessageClose(Id(), aSender, TCFDataClient::TBindToComplete().CRef()); + } + break; + default: + ASSERT(EFalse); + } + } + else + { + User::Leave(KErrNotSupported); + } + } + +void CTunDriverSubConnectionFlow::StartFlowL() +/** +* CTunDriverSubConnectionFlowFactory::StartFlowL starts the flow on receiving the message TStart. +* This function is called from CTunDriverSubConnectionFlowFactory::ReceivedL +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow:\tStartFlowL()")); + + if(iMMState == EStarted) + { + //Flow can be started multiple times. + //For example a start may fail on an upper layer in which case the upper layer will not be able + //to stop our layer and we need to accept start again. + PostProgressMessage(KLinkLayerOpen, KErrNone); + PostDataClientStartedMessage(); + return; + } + iMMState = EStarted; + + // If the processing of the ProvisionConfig message failed earlier, send the error response + // here to the StartFlow message as there is no response to ProvisionConfig. + User::LeaveIfError(iSavedError); + + PostProgressMessage(KLinkLayerOpen, KErrNone); + PostDataClientStartedMessage(); + iBinder4->StartSending(); +#ifdef IPV6SUPPORT + if(iBinder6) + { + iBinder6->StartSending(); + } +#endif + } + +void CTunDriverSubConnectionFlow::CancelFlow(TInt aError) +/** +* CTunDriverSubConnectionFlowFactory::CancelFlow cancels the flow on receiving the message TCancel. +* It will post the message as KErrCancel. +* This function is called from CTunDriverSubConnectionFlowFactory::ReceivedL +*/ + { + __FLOG_1(_L8("CTunDriverSubConnectionFlow:\tCancelFlow(%d)"), aError); + + if(iMMState == EStarted) + { + PostFlowDownMessage(aError); + } + } + +void CTunDriverSubConnectionFlow::StopFlow(TInt aError) +/** +* CTunDriverSubConnectionFlowFactory::StopFlow stops the flow on receiving the message TStop. +* It will post the message as KLinkLayerClosed and KErrCancel. +* This function is called from CTunDriverSubConnectionFlowFactory::ReceivedL +*/ + { + __FLOG_1(_L8("CTunDriverSubConnectionFlow:\tStopFlow(%d)"), aError); + + PostProgressMessage(KLinkLayerClosed, aError); + iMMState = EStopped; + PostFlowDownMessage(aError); + } + +void CTunDriverSubConnectionFlow::ProvisionConfig(const ESock::RMetaExtensionContainerC& aConfigData) +/** +* CTunDriverSubConnectionFlowFactory::Provisionconfig on receipt of the ProvisionConfig message, the pointer contained within it is stored +* in iAccessPointConfig and the information contained within the iAccessPointConfig array is validated: +* CTunDriverProtoProvision must be present. It is added by the TunDriverMCPr and populated from CommsDat. +* It is a 'C' class to take advantage of zero initialisation. +* Any errors are saved in iSavedError - there is no response to ProvisionConfig, +* so an error response is sent later to StartFlow message. +* +* on receipt of TCFDataClient::TStart: +* iSavedError is checked and, if non-zero, an Error message is sent to the SCPr +* TunDriverAgentProvision must be present. It is added by the TunDriverAgentHandler and populated via calls +* to the Agent. It is a 'T' class because it requires no zero initialisation. If missing, +* an Error message is signalled to the SCPr. +* This function is called from CTunDriverSubConnectionFlowFactory::ReceivedL +* @param aData pointer to provisioning structure +*/ + { + __FLOG_0(_L8("CTunDriverSubConnectionFlow:\tProvisionConfig message received")); + iSavedError = KErrNone; + iAccessPointConfig.Close(); + iAccessPointConfig.Open(aConfigData); + + const CTunDriverProtoProvision* provision = static_cast(AccessPointConfig().FindExtension( + STypeId::CreateSTypeId(CTunDriverProtoProvision::EUid, CTunDriverProtoProvision::ETypeId))); + __FRAMEWORK_PRODUCTION_ERRORHANDLING(provision!=NULL,iSavedError = KErrCorrupt); + + iProvision = provision; + } + +void CTunDriverSubConnectionFlow::Destroy() +/** +* CTunDriverSubConnectionFlowFactory::Destroy +* Request from SCPR to destroy +* This function is called from CTunDriverSubConnectionFlowFactory::ReceivedL +*/ + { + DeleteThisFlow(); + } + +void CTunDriverSubConnectionFlow::SubConnectionGoingDown() +/** +* CTunDriverSubConnectionFlowFactory::SubConnectionGoingDown +* Request from Agemt SCPR +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow:\tSubConnectionGoingDown")); + } + +void CTunDriverSubConnectionFlow::SubConnectionError(TInt /*aError*/) +/** +* CTunDriverSubConnectionFlowFactory::SubConnectionError +* Request from Agemt SCPR +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow:\tSubConnectionError")); + } + +MFlowBinderControl* CTunDriverSubConnectionFlow::DoGetBinderControlL() +/** +* CTunDriverSubConnectionFlowFactory::DoGetBinderControlL Called by upper layer for binding +* Request from Agemt SCPR +* @return MFlowBinderControl instance +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow::DoGetBinderControlL")); + return this; + } + +//-========================================================= +// MFlowBinderControl methods +// + +MLowerControl* CTunDriverSubConnectionFlow::GetControlL(const TDesC8& aProtocol) +/** +* CTunDriverSubConnectionFlow::GetControlL +* Create and return an MLowerControl instance of the specified binder type. +* Called from upper layer during binding procedure. +* @param aProtocol Protocol type of the binder +* @return MLowerControl instance of the protocol type +*/ + { + MLowerControl* lowerControl = NULL; + __FLOG(_L8("CTunDriverSubConnectionFlow:\tGetLowerControlL(KProtocol4)")); + if(aProtocol.Compare(KProtocol4()) == 0) + { + iBinder4 = CTunDriverBinder4::NewL(*this); + lowerControl = iBinder4; + } +#ifdef IPV6SUPPORT + else + if (aProtocol.CompareF(KProtocol6()) == 0) + { + __FLOG(_L8("CTunDriverSubConnectionFlow::GetLowerControlL(KProtocol6)- Should Return KErrNotSupported")); + iBinder6 = CTunDriverBinder6::NewL(*this); + lowerControl = iBinder6; + } +#endif + return lowerControl; + } + +MLowerDataSender* CTunDriverSubConnectionFlow::BindL(const TDesC8& aProtocol, MUpperDataReceiver* aReceiver, MUpperControl* aControl) +/** +* CTunDriverSubConnectionFlow::BindL Create and return an MLowerDataSender instance of the specified protocol type. +* This is bound to the specified upper layer objects. +* Called from upper layer to bind to this layer. +* @param aProtocol Protocol type of the binder (same as in GetControlL()) +* @param aReceiver upper layer's MUpperDataReceiver instance for this binder to associate with +* @param aControl upper layer's MUpperControl instance for this binder to associate with +* @return MLowerDataSender instance +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow:\tBindL()")); + + MLowerDataSender* lowerDataSender = NULL; + + if(aProtocol.CompareF(KProtocol4()) == 0) + { + lowerDataSender = iBinder4->Bind(*aReceiver, *aControl); + } +#ifdef IPV6SUPPORT + else + if (aProtocol.CompareF(KProtocol6()) == 0) + { + lowerDataSender = iBinder6->Bind(*aReceiver, *aControl); + } +#endif + if(lowerDataSender != NULL) + { + iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TActive().CRef()); + } + return lowerDataSender; + } + +void CTunDriverSubConnectionFlow::Unbind(MUpperDataReceiver* aReceiver, MUpperControl* aControl) +/** +* CTunDriverSubConnectionFlow::Unbind will Unbind from the upper layer. +* Called from the upper layer during unbinding. +* @param aReceiver +* @param aControl +*/ + { + __FLOG(_L8("CTunDriverSubConnectionFlow:\tUnbind()")); + if (iBinder4 && iBinder4->MatchesUpperControl(aControl)) + { + iBinder4->Unbind(*aReceiver, *aControl); + delete iBinder4; + iBinder4 = NULL; + } +#ifdef IPV6SUPPORT + if (iBinder6 && iBinder6->MatchesUpperControl(aControl)) + { + iBinder6->Unbind(*aReceiver, *aControl); + delete iBinder6; + iBinder6 = NULL; + } +#endif + iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TIdle().CRef()); + } + +ESock::CSubConnectionFlowBase* CTunDriverSubConnectionFlow::Flow() +/** +* CTunDriverSubConnectionFlow::Flow will Return the flow object corresponding to the MFlowBinderControl +* Called from the UpperLayer get the instance of the flow. +*/ + { + return this; + } + +void CTunDriverSubConnectionFlow::PostProgressMessage(TInt aStage, TInt aError) +/* +* CTunDriverSubConnectionFlow::PostProgressMessage will send the state change message with the param values. +* +*/ + { + iSubConnectionProvider.PostMessage(Id(), TCFMessage::TStateChange(Elements::TStateChange(aStage, aError)).CRef()); + } + +void CTunDriverSubConnectionFlow::PostDataClientStartedMessage() +/* +* CTunDriverSubConnectionFlow::PostDataClientStartedMessage will send the started message with the param values. +*/ + { + iLastRequestOriginator.ReplyTo(Id(), TCFDataClient::TStarted().CRef()); + } + +void CTunDriverSubConnectionFlow::PostFlowDownMessage(TInt aError, TInt aAction /*= MNifIfNotify::EDisconnect*/) +/* +* CTunDriverSubConnectionFlow::PostFlowDownMessage will send the DataClient Down message with the param values. +*/ + { + if (iMMState == EStarted) + { + iMMState = EStopped; + iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TDataClientGoneDown(aError, aAction).CRef()); + } + else + { + iLastRequestOriginator.ReplyTo(Id(), TCFDataClient::TStopped(aError).CRef()); + } + } + +void CTunDriverSubConnectionFlow::MaybePostDataClientIdle() +/* +* CTunDriverSubConnectionFlow::MaybePostDataClientIdle will send the Idle message with the param values. +*/ + { + // Can only send DataClientIdle when the upper layer has unbound and the flow is stopped + if( iBinder4 == NULL +#ifdef IPV6SUPPORT + || iBinder6 == NULL +#endif + ) + { + iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TIdle().CRef()); + } + } + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/tundrivermcpr.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/tundrivermcpr.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,163 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* mcpr binding from agent mcpr for tunneldriver. +* +* +*/ + +/** + @file tundrivermcpr.cpp + @internalComponent +*/ + +#include +#include +#include +#include +#include +#include +#include "tundrivermcpr.h" +#include "tundriverprovision.h" +#include + +using namespace Messages; +using namespace MeshMachine; +using namespace ESock; +using namespace MCprActivities; +using namespace TunDriverMCprStates; + +// No Bearer Activity +namespace TunDriverMCPRNoBearerActivity +{ +DECLARE_DEFINE_NODEACTIVITY(ECFActivityNoBearer, TunDriverMCPRNoBearer, TCFControlProvider::TNoBearer) + NODEACTIVITY_ENTRY(KNoTag, CoreNetStates::TSendBearer, CoreNetStates::TAwaitingNoBearer, MeshMachine::TNoTag) +NODEACTIVITY_END() +} + + +// Activity Map +namespace TunDriverMCprStates +{ +DECLARE_DEFINE_ACTIVITY_MAP(stateMap) + ACTIVITY_MAP_ENTRY(TunDriverMCPRNoBearerActivity, TunDriverMCPRNoBearer) +ACTIVITY_MAP_END_BASE(AgentMCprActivities, agentMCprActivities) +} // namespace TunDriverMCprStates + + +#if defined __CFLOG_ACTIVE || defined SYMBIAN_TRACE_ENABLE + _LIT8(KTunDriverMCprSubTag, "tunmcpr"); +#endif + +CTunDriverMetaConnectionProvider* CTunDriverMetaConnectionProvider::NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo) +/** +* CTunDriverMetaConnectionProvider::NewL constructs a Default TunDriver MCPR +* @param aFactory +* @param aProviderInfo +* @returns pointer to a constructed mcpr object. +*/ + { + CTunDriverMetaConnectionProvider* self = new (ELeave) CTunDriverMetaConnectionProvider(aFactory, aProviderInfo); + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(self); + return self; + } + + +CTunDriverMetaConnectionProvider::CTunDriverMetaConnectionProvider(CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo) +: CAgentMetaConnectionProvider(aFactory, aProviderInfo, TunDriverMCprStates::stateMap::Self()) +/** +* CTunDriverMetaConnectionProvider::CTunDriverMetaConnectionProvider is a default constructor +* @param aFactory +* @param aProviderInfo +* @returns pointer to a constructed mcpr object. +*/ + { + LOG_NODE_CREATE(KTunDriverMCprSubTag, CTunDriverMetaConnectionProvider); + } + +CTunDriverMetaConnectionProvider::~CTunDriverMetaConnectionProvider() +/** +* CTunDriverMetaConnectionProvider::CTunDriverMetaConnectionProvider is a default destructor +*/ + { + SetAgentNotificationHandlerL(NULL); + LOG_NODE_DESTROY(KTunDriverMCprSubTag, CTunDriverMetaConnectionProvider); + } + + +void CTunDriverMetaConnectionProvider::ConstructL() +/** +* CTunDriverMetaConnectionProvider::ConstructL is a second-phase constructor +* Will set the accesspoint from Comms database. +* @param +* @returns +*/ + { + CAgentMetaConnectionProvider::ConstructL(); + SetAccessPointConfigFromDbL(); + } + + +void CTunDriverMetaConnectionProvider::ReceivedL(const TRuntimeCtxId& aSender, const TNodeId& aRecipient, TSignatureBase& aMessage) +/** +* CTunDriverMetaConnectionProvider::ReceivedL called on incoming MCPR Messages. +* @param +* @returns +*/ + { + __CFLOG_VAR((KTunDriverMCprTag, KTunDriverMCprSubTag, _L8("CTunDriverMetaConnectionProvider [this=%08x]::ReceivedL() aMessage=%d"), + this, aMessage.MessageId())); + + ESOCK_DEBUG_MESSAGE_INTERCEPT(aSender, aMessage, aRecipient); + + TNodeContext ctx(*this, aMessage, aSender, aRecipient); + CCoreMetaConnectionProvider::Received(ctx); + User::LeaveIfError(ctx.iReturn); + } + +void CTunDriverMetaConnectionProvider::SetAccessPointConfigFromDbL() +/** +* CTunDriverMetaConnectionProvider::SetAccessPointConfigFromDbL will initialize the tundriver with +* the configuration set in comms database. +* @param +* @returns +*/ + { + RMetaExtensionContainer mec; + mec.Open(AccessPointConfig()); + CleanupClosePushL(mec); + + // Add provisioning information. + CCommsDatIapView* iapView = OpenIapViewLC(); + CTunDriverProtoProvision* provision = new (ELeave) CTunDriverProtoProvision(); + CleanupStack::PushL(provision); + provision->InitialiseConfigL(iapView); + + // Presumptions: + // - none of the extensions can already exist in the AccessPointConfig array. AppendExtensionL() + // is presumed to panic if adding the same extension a second time. + // - if we have added several extensions to the AccessPointConfig array before getting a failure + // and leaving, it is presumed that the MCPr will be destroyed and AccessPointConfig destructor + // will clean up the extensions immediately afterwards. + + mec.AppendExtensionL(provision); + CleanupStack::Pop(provision); // ownership (including cleanup) transferred to AccessPointConfig() + CleanupStack::PopAndDestroy(); // CloseIapView() + + AccessPointConfig().Close(); + AccessPointConfig().Open(mec); + CleanupStack::PopAndDestroy(&mec); + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/tundrivermcprfactory.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/tundrivermcprfactory.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,69 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Factory implementation for tunnel driver mcpr. +* +* +*/ + +/** + @file tundrivermcprfactory.cpp + @internalTechnology +*/ + +#include +#include "tundrivermcprfactory.h" +#include "tundrivermcpr.h" +#include +#include +#include + +#include + +using namespace ESock; + +CTunDriverMetaConnectionProviderFactory* CTunDriverMetaConnectionProviderFactory::NewL(TAny* aParentContainer) +/** +* CTunDriverMetaConnectionProviderFactory::NewL constructs a Default MCPR Flow Factory +* @param aParentContainer construction data passed by ECOM +* @returns pointer to a constructed factory object. +*/ + { + return new (ELeave) CTunDriverMetaConnectionProviderFactory(TUid::Uid(CTunDriverMetaConnectionProviderFactory::iUid), *(reinterpret_cast(aParentContainer))); + } + +CTunDriverMetaConnectionProviderFactory::CTunDriverMetaConnectionProviderFactory(TUid aFactoryId, CMetaConnectionFactoryContainer& aParentContainer) + : CMetaConnectionProviderFactoryBase(aFactoryId, aParentContainer) +/** +* CTunDriverMetaConnectionProviderFactory::CTunDriverMetaConnectionProviderFactory is a default constructor. +* @return +*/ + { + } + +ESock::ACommsFactoryNodeId* CTunDriverMetaConnectionProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& aQuery) +/** +* CTunDriverMetaConnectionProviderFactory::DoCreateObjectL is called from UpperlLayer. +* @return +*/ + { + const TMetaConnectionFactoryQuery& query = static_cast(aQuery); + CMetaConnectionProviderBase* provider = CTunDriverMetaConnectionProvider::NewL(*this, query.iProviderInfo); + + ESOCK_DEBUG_REGISTER_GENERAL_NODE(iUid, provider); + + return provider; + } + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/src/tundriverprovision.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/src/tundriverprovision.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,310 @@ +/** +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Provision implemtation for Ipv4 and Ipv6 binders for tundriver. +* +* +*/ + +/** + @file tundriverprovision.cpp + @internalTechnology +*/ + +#include +#include +#include +#include +#include +#include "tundrivermcpr.h" +#include "tundriverprovision.h" + +using namespace ESock; + +void CTunDriverProtoProvision::InitialiseConfigL(CCommsDatIapView* aIapView) +/** +* CTunDriverProtoProvision::InitialiseConfigL is called from TunDriver MCPR to initialze +* tundriver with values from comms database. +* @param aIapView +* @returns +*/ + { + ProvisionNetworkConfigL(aIapView); + } + +void CTunDriverProtoProvision::ProvisionNetworkConfigL(CCommsDatIapView* aIapView) +/** +* CTunDriverProtoProvision::ProvisionNetworkConfigL is called from TunDriver MCPR to identify +* tundriver is associated with protocol IPv4 or IPv6 +* @param aIapView +* @returns +*/ + { + HBufC* buf = NULL; + aIapView->GetTextL(KCDTIdLANIfNetworks, buf); + CleanupStack::PushL(buf); + if (buf->Length() == 0) + { + User::Leave(KErrCorrupt); + } + + TPtrC16 networks; + networks.Set(*buf); + TPtrC16 current; + TUint32 order = 0; + TInt commaPos = 0; + while (commaPos != KErrNotFound) + { + commaPos = networks.LocateF(','); + if (commaPos == KErrNotFound) + { + // take all of string + current.Set(networks); + } + else + { + current.Set(networks.Ptr(), commaPos); + } + + if (current.CompareF(_L("ip")) == KErrNone) + { + ProvisionIp4ConfigL(aIapView, order); + } +#ifdef IPV6SUPPORT + else if (current.CompareF(_L("ip6")) == KErrNone) + { + ProvisionIp6ConfigL(aIapView, order); + } +#endif + else + { + User::Leave(KErrCorrupt); + } + + order++; + networks.Set(networks.Mid(commaPos+1)); + } + + CleanupStack::PopAndDestroy(buf); + } + + +void CTunDriverProtoProvision::ProvisionIp4ConfigL(CCommsDatIapView* aIapView, TUint32 aOrder) +/** +* CTunDriverProtoProvision::ProvisionIp4ConfigL will initialize with IPv4 Header values +* for tundriver IPv4 configuration. like IPaddress, NetMask, Gateway and DNS Address. +* @param aIapView +* @returns +*/ + { + iIp4Provision.SetOrder(aOrder); + + // Read IP address configuration parameters + TBool serverRequired; + aIapView->GetBoolL(KCDTIdLANIpAddrFromServer, serverRequired); + + TUint32 addr; + TInt err; + + iIp4Provision.SetLocalAddr(KInetAddrNone); + iIp4Provision.SetNetMask(KInetAddrNone); + iIp4Provision.SetDefGateway(KInetAddrNone); + iIp4Provision.SetPrimaryDns(KInetAddrNone); + iIp4Provision.SetSecondaryDns(KInetAddrNone); + if (!serverRequired) + { + CAgentMetaConnectionProvider::GetIp4AddrL(aIapView, KCDTIdLANIpAddr, addr); + TInetAddr v4MappedAddr; + v4MappedAddr.SetV4MappedAddress(addr); + iIp4Provision.SetLocalAddr(v4MappedAddr); + err = CAgentMetaConnectionProvider::GetIp4Addr(aIapView, KCDTIdLANIpNetMask, addr); + if (err == KErrNone) + { + v4MappedAddr.SetV4MappedAddress(addr); + iIp4Provision.SetNetMask(v4MappedAddr); + } + + err = CAgentMetaConnectionProvider::GetIp4Addr(aIapView, KCDTIdLANIpGateway, addr); + if (err == KErrNone) + { + v4MappedAddr.SetV4MappedAddress(addr); + iIp4Provision.SetDefGateway(v4MappedAddr); + } + else if (err == KErrNotFound || err == KErrArgument) + { + iIp4Provision.SetDefGateway(iIp4Provision.LocalAddr()); + } + else + { + User::Leave(err); + } + + // Because CommDB doesn't define a Broadcast Address field, we must + // calculate the broadcast address. This is based on the localAddr + // and the netMask. + + TInetAddr localAddr; + localAddr.SetV4MappedAddress(iIp4Provision.LocalAddr().Address()); + localAddr.SetPort(0); + TInetAddr netMask; + netMask.SetV4MappedAddress(iIp4Provision.NetMask().Address()); + netMask.SetPort(0); + TInetAddr broadcast; + broadcast.SubNetBroadcast(localAddr, netMask); + iIp4Provision.SetBroadcastAddr(broadcast.Address()); + } + + aIapView->GetBoolL(KCDTIdLANIpDNSAddrFromServer, serverRequired); + if (!serverRequired) + { + err = CAgentMetaConnectionProvider::GetIp4Addr(aIapView, KCDTIdLANIpNameServer1, addr); + if (err == KErrNone) + { + TInetAddr primaryDns; + primaryDns.SetV4MappedAddress(addr); + iIp4Provision.SetPrimaryDns(primaryDns); + err = CAgentMetaConnectionProvider::GetIp4Addr(aIapView, KCDTIdLANIpNameServer2, addr); + if (err == KErrNone) + { + TInetAddr secondaryDns; + secondaryDns.SetV4MappedAddress(addr); + iIp4Provision.SetSecondaryDns(secondaryDns); + } + } + + if (err != KErrNone && err != KErrNotFound && err != KErrArgument) + { + User::Leave(err); + } + } + } + +#ifdef IPV6SUPPORT +void CTunDriverProtoProvision::ProvisionIp6ConfigL(CCommsDatIapView* aIapView, TUint32 aOrder) +/** +* CTunDriverProtoProvision::ProvisionIp6ConfigL will initialize with IPv4 Header values +* for tundriver IPv6 configuration. like IPaddress, NetMask, Gateway and DNS Address. +* @param aIapView +* @returns +*/ + { + iIp6Provision.SetOrder(aOrder); + + // Read IP address configuration parameters + TBool serverRequired; + aIapView->GetBoolL(KCDTIdLANIpAddrFromServer, serverRequired); + + TIp6Addr addr; + TInetAddr inetAddress; + TInt err; + + iIp6Provision.SetLocalAddr(KInetAddrNone); + iIp6Provision.SetNetMask(KInetAddrNone); + iIp6Provision.SetDefGateway(KInetAddrNone); + iIp6Provision.SetPrimaryDns(KInetAddrNone); + iIp6Provision.SetSecondaryDns(KInetAddrNone); + if (!serverRequired) + { + CAgentMetaConnectionProvider::GetIp6AddrL(aIapView, KCDTIdLANIpAddr, addr); + inetAddress.SetAddress(addr); + iIp6Provision.SetLocalAddr(inetAddress); + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpNetMask, addr); + if (err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetNetMask(inetAddress); + } + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpGateway, addr); + if (err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetDefGateway(inetAddress); + } + else if (err == KErrNotFound || err == KErrArgument) + { + iIp6Provision.SetDefGateway(iIp6Provision.LocalAddr()); + } + else + { + User::Leave(err); + } + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpNameServer1, addr); + if(err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetPrimaryDns(inetAddress); + } + else + { + User::LeaveIfError(err); + } + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpNameServer2, addr); + if(err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetSecondaryDns(inetAddress); + } + else + { + User::LeaveIfError(err); + } + // Because CommDB doesn't define a Broadcast Address field, we must + // calculate the broadcast address. This is based on the localAddr + // and the netMask. + + TInetAddr localAddr; + localAddr = iIp6Provision.LocalAddr(); + localAddr.SetPort(0); + TInetAddr netMask; + netMask = iIp6Provision.NetMask(); + netMask.SetPort(0); + TInetAddr broadcast; + broadcast.SubNetBroadcast(localAddr, netMask); + iIp6Provision.SetBroadcastAddr(broadcast); + } + + iIp6Provision.SetPrimaryDns(KInetAddrNone); + iIp6Provision.SetSecondaryDns(KInetAddrNone); + + aIapView->GetBoolL(KCDTIdLANIpDNSAddrFromServer, serverRequired); + if (!serverRequired) + { + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpNameServer1, addr); + if (err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetPrimaryDns(inetAddress); + err = CAgentMetaConnectionProvider::GetIp6Addr(aIapView, KCDTIdLANIpNameServer2, addr); + if (err == KErrNone) + { + inetAddress.SetAddress(addr); + iIp6Provision.SetSecondaryDns(inetAddress); + } + } + + if (err != KErrNone && err != KErrNotFound && err != KErrArgument) + { + User::Leave(err); + } + } + } +#endif + +// +// Attribute table for provisioning structures passed to CFProtocol +// + +START_ATTRIBUTE_TABLE(CTunDriverProtoProvision, CTunDriverProtoProvision::EUid, CTunDriverProtoProvision::ETypeId) +// no attributes defined as no serialisation takes place. +END_ATTRIBUTE_TABLE() diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/Dummy3rdPartyApp.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/Dummy3rdPartyApp.iby Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,22 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __TE_DUMMY_3RDPARTYAPP_IBY__ +#define __TE_DUMMY_3RDPARTYAPP_IBY__ + +#include +data=ABI_DIR\DEBUG_DIR\Dummy3rdPartyApp.exe System\bin\Dummy3rdPartyApp.exe + +#endif //__TE_DUMMY_3RDPARTYAPP_IBY__ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/Dummy3rdPartyApp.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/Dummy3rdPartyApp.mmp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,32 @@ +/* +============================================================================ + Name : Dummy3rdPartyApp.mmp + Author : Gurpreet Singh Nagi + Copyright : Your copyright notice + Description : This is the project specification file for Dummy3rdPartyApp. +============================================================================ +*/ + +TARGET dummy3rdpartyapp.exe +TARGETTYPE exe +UID 0 0xEB1F90BF + +USERINCLUDE ../inc +OS_LAYER_SYSTEMINCLUDE_SYMBIAN +SYSTEMINCLUDE /epoc32/include +SYSTEMINCLUDE /epoc32/include/ssm +SYSTEMINCLUDE /epoc32/include/comms-infras + +SOURCEPATH ../src +SOURCE Dummy3rdPartyApp.cpp + + +LIBRARY euser.lib esock.lib insock.lib ecom.lib commdb.lib +CAPABILITY All -Tcb +#ifdef ENABLE_ABIV2_MODE + DEBUGGABLE_UDEBONLY +#endif + +SMPSAFE + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/group/bld.inf Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,19 @@ +/* +============================================================================ + Name : bld.inf + Author : Gurpreet Singh Nagi + Copyright : Your copyright notice + Description : This file provides the information required for building the + whole of a Dummy3rdPartyApp. +============================================================================ +*/ + +PRJ_PLATFORMS +DEFAULT + +PRJ_TESTEXPORTS +Dummy3rdPartyApp.iby /epoc32/rom/include/dummy3rdpartyapp.iby + + +PRJ_TESTMMPFILES +Dummy3rdPartyApp.mmp diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/inc/Dummy3rdPartyApp.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/inc/Dummy3rdPartyApp.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,56 @@ +/* + ============================================================================ + Name : Dummy3rdPartyApp.h + Author : Gurpreet Singh Nagi + Copyright : Your copyright notice + Description : Exe header file + ============================================================================ + */ + +#ifndef __DUMMY3RDPARTYAPP_H__ +#define __DUMMY3RDPARTYAPP_H__ + +// Include Files + +#include +#include +#include +#include + +// Function Prototypes + +GLDEF_C TInt E32Main(); + +//functions: + +class Dummy3rdPartyApp + { +public: + Dummy3rdPartyApp::Dummy3rdPartyApp() + { + + } + + Dummy3rdPartyApp::~Dummy3rdPartyApp() + { + + } + void InitConn(); + void StartConn(); + void ProcessData(); + void CloseConn(); + + TRequestStatus iStatus; + TInetAddr iVirtAddr, iRealAddr; + RSocketServ iVirtSocketServ, iRealSocketServ, iHookSocketServ; + RSocket iVirtSocket, iRealSocket, iHookSocket; + RConnection iVirtConnection, iRealConnection; + TBuf8<2048> iSendBuf, iRecvBuf; + + TCommDbConnPref iVirtCommDbPref, iRealCommDbPref; + }; + + + +#endif // __DUMMY3RDPARTYAPP_H__ + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/sis/Dummy3rdPartyApp_EKA2.pkg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/sis/Dummy3rdPartyApp_EKA2.pkg Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,24 @@ +; Installation file for Symbian OS 9.x for generic console application +; Installation file for Dummy3rdPartyApp EXE +; +; This is an auto-generated PKG file by Carbide. +; This file uses variables specific to Carbide builds that will not work +; on command-line builds. If you want to use this generated PKG file from the +; command-line tools you will need to modify the variables with the appropriate +; values: $(EPOCROOT), $(PLATFORM), $(TARGET) +; + +; +; UID is the exe's UID +; +#{"Dummy3rdPartyApp EXE"},(0xEB1F90BF),1,0,0 + + +;Localised Vendor name +%{"Vendor-EN"} + +;Unique Vendor name +:"Vendor" + +"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\Dummy3rdPartyApp.exe" -"!:\sys\bin\Dummy3rdPartyApp.exe" + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/src/Dummy3rdPartyApp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/src/Dummy3rdPartyApp.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,242 @@ +/* + ============================================================================ + Name : Dummy3rdPartyApp.cpp + Author : Gurpreet Singh Nagi + Copyright : Your copyright notice + Description : Exe source file + ============================================================================ + */ + +// Include Files + +#include "Dummy3rdPartyApp.h" +#include +#include +#include // Console + +// Constants +_LIT(KTextConsoleTitle, "Dummy3rdPartyApp"); +_LIT(KTextFailed, " failed, leave code = %d"); +_LIT(KTextPressAnyKey, " [press any key]\n"); + +#define BUF_SIZE 2048 +// Global Variables +LOCAL_D CConsoleBase* console; // write all messages to this + + +// Local Functions +void Dummy3rdPartyApp::InitConn() + { + if((iStatus = iVirtSocketServ.Connect()) == KErrNone ) + console->Printf(_L("Opening Socket Server on Virtual Interface.\n")); + + if((iStatus = iRealSocketServ.Connect()) == KErrNone ) + console->Printf(_L("Opening Socket Server on Real Interface.\n")); + + if((iStatus = iHookSocketServ.Connect()) == KErrNone ) + console->Printf(_L("Opening Socket Server for Hook.\n")); + + if((iStatus = iVirtConnection.Open(iVirtSocketServ, KAfInet)) == KErrNone ) + console->Printf(_L("\nOpening Virtual Connection.")); + + if((iStatus = iRealConnection.Open(iRealSocketServ, KAfInet)) == KErrNone ) + console->Printf(_L("\nOpening Real Connection.\n")); + + iHookSocket.Open(iHookSocketServ,_L("tun")); + + } + +void Dummy3rdPartyApp::StartConn() + { + iVirtCommDbPref.SetIapId(14); // Dummy Interface + iVirtCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iVirtCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + TInt err = KErrNone; + iVirtConnection.Start(iVirtCommDbPref, iStatus); + User::WaitForRequest(iStatus); + err = iStatus.Int(); + if(iStatus == KErrNone) + console->Printf(_L("Connection Started on Virtual Interface.\n")); + User::LeaveIfError(err); + err = KErrNone; + //open socket on Virtual interface. + iStatus = iVirtSocket.Open(iVirtSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iVirtConnection); + //if((iStatus = iVirtSocket.Open(iVirtSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iVirtConnection)) == KErrNone ) + if(iStatus == KErrNone) + console->Printf(_L("Socket Opened on Virtual Interface.\n")); + + iRealCommDbPref.SetIapId(9); //Real Interface i.e. ethernet + iRealCommDbPref.SetBearerSet(KCommDbBearerLAN); + iRealCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iRealConnection.Start(iRealCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus == KErrNone) + console->Printf(_L("Connection Started on Real Interface.\n")); + err = iStatus.Int(); + //open socket on real interface + if((iStatus = iRealSocket.Open(iRealSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iRealConnection)) == KErrNone ) + console->Printf(_L("Socket Opened on Real Interface.\n")); + User::LeaveIfError(err); + + //set destination port and IP ie. OpenVPN gateway address + iRealAddr.SetV4MappedAddress(INET_ADDR(10,225,171,71)); + iRealAddr.SetPort(1194); + err = KErrNone; + //bind local port to socket + // To Get any available port from the kernel + + TInetAddr inetAddrBind; + inetAddrBind.SetPort(KInetPortAny); + inetAddrBind.SetAddress(KInetAddrAny); + iVirtSocket.Bind(inetAddrBind); + TUint port1 = iVirtSocket.LocalPort(); + + TPckgC portPckg (port1); + iHookSocket.SetOpt(KSolInetIp,KSoTunnelPort,portPckg); + + console->Printf(_L("Socket bound on Virtual Interface.\n"), err); + + err = iRealSocket.SetLocalPort(1194); + console->Printf(_L("Socket bound on Real Interface.\n"), err); + + } + + +void Dummy3rdPartyApp::ProcessData() + { + //Receive data from client on virtual interface + iVirtSocket.RecvFrom(iSendBuf, iVirtAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if(iStatus == KErrNone) + { + console->Printf(_L("\nData Received from Virtual Interface: ")); + //copy received data to temp buffer and print it + //TBuf buf; + //buf.Copy(iSendBuf); + //console->Printf(buf); + } + else + console->Printf(_L("\nData receive failed on Virtual Interface.")); + + //Send data on real interface to OpenVPN Gateway. + iRealSocket.SendTo(iSendBuf, iRealAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + { + console->Printf(_L("\nData Sent on Real interface : ")); + + //display sent data + //TBuf buf; + //buf.Copy(iSendBuf); + //console->Printf(buf); + } + else + console->Printf(_L("\nData send failed on Real Interface")); + + //Receive data from from real interface + iRealSocket.RecvFrom(iRecvBuf, iRealAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if(iStatus == KErrNone) + { + console->Printf(_L("\nData Received from Real Interface: ")); + //copy received data to temp buffer and print it + //TBuf buf; + //buf.Copy(iRecvBuf); + //console->Printf(buf); + } + else + console->Printf(_L("\nData receive failed on Real Interface")); + + //Send data to virtual interface. + iVirtSocket.SendTo(iRecvBuf, iVirtAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + { + console->Printf(_L("\nData Sent on Virtual interface : ")); + + //display sent data + //TBuf buf; + //buf.Copy(iRecvBuf); + //console->Printf(buf); + } + else + console->Printf(_L("\nData send failed on Virtual Interface")); + } + +void Dummy3rdPartyApp::CloseConn() + { + //Close all handles. + iVirtSocket.Close(); + iRealSocket.Close(); + iHookSocket.Close(); + + iVirtConnection.Close(); + iRealConnection.Close(); + iVirtSocketServ.Close(); + iRealSocketServ.Close(); + iHookSocketServ.Close(); + } + +LOCAL_C void MainL() + { + Dummy3rdPartyApp obj; + + //intializing connection and socket + obj.InitConn(); + //start the connection + obj.StartConn(); + + while(1) + { + obj.ProcessData(); + } + //close connection, subconnection, socket + //TODO: how to explicitly close the loop? + // One possible solution is running a timer. + obj.CloseConn(); + } + +LOCAL_C void DoStartL() + { + // Create active scheduler (to run active objects) + CActiveScheduler* scheduler = new (ELeave) CActiveScheduler(); + CleanupStack::PushL(scheduler); + CActiveScheduler::Install(scheduler); + + MainL(); + // Delete active scheduler + CleanupStack::PopAndDestroy(scheduler); + } + +// Global Functions + +GLDEF_C TInt E32Main() + { + // Create cleanup stack + __UHEAP_MARK; + CTrapCleanup* cleanup = CTrapCleanup::New(); + + // Create output console + TRAPD(createError, console = Console::NewL(KTextConsoleTitle, TSize( + KConsFullScreen, KConsFullScreen))); + if (createError) + return createError; + + // Run application code inside TRAP harness, wait keypress when terminated + TRAPD(mainError, DoStartL()); + if (mainError) + console->Printf(KTextFailed, mainError); + console->Printf(KTextPressAnyKey); + console->Getch(); + + delete console; + delete cleanup; + __UHEAP_MARKEND; + return KErrNone; + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/meshpreface1.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/meshpreface1.cfg Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,638 @@ +## +## Purpose of this file is to provide default configuration options for the new, +## access point aware code for all legacy configuration files which do not have +## it on their own. +## According to its purpose this file is being used only(!) ever (!) with legacy, +## non access point aware (or as it is also called in CommsDat: non mesh compatible) +## configurations. +## This means that for these configurations the only preferences used for selection +## are the link layer ones (IAP + connection preference ranking on implicit). +## None of the new preferences will ever make any sense on any system that does not +## provide the new configuration and will always be rejected! +## + +############################################################ +## GlobalSettings +## +## A new setting has been added to indicate the default Tier that should be referred to +## whenever a Tier setting is required but has not been specified. +## The deprecated global settings "DefaultSnap" and "PromptForSnap" are now held in the +## default tier record not in the global settings table itself +## +## + +[GlobalSettings] +ADD_TEMPLATE + DefaultTier=Link.TierTable.2048 + FIELD_COUNT=1 +END_TEMPLATE + + +############################################################ +## AccessPointTable +## +## Generally all of our (Symbian's) network layer providers (tier id == 2048) +## interpret their selection policy ids as records in the APPrioritySelectionPolicyTable. +## However, in this particular case below (and when using this file) we are always +## dealing with a legacy, link layer preferences and selection (please also see +## the comment above). +## Since none of the link preferences can ever be understood by the network layer +## selector, they always override the provider's own selection policy (as specified +## in the network layer access point, i.e. in the "NetworkDefault" record below this text). +## This is why the default network layer access point below does not need to have +## a APPrioritySelectionPolicyTable entry orresponding to its selection poincy id +## (this really is only an excepti on from the rule, it can never happen on a system +## configured to be access point aware!!!). +## + +[AccessPointTable] +ADD_SECTION +# COMMDB_ID = 254 + Id=10000 + Name=NetworkDefault + Tier=Link.TierTable.2048 + MCpr=MCprTable.1 + AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000 + Cpr=CprTable.1 + SCpr=SCprTable.7 + Protocol=ProtocolTable.1 + FIELD_COUNT=8 +END_ADD + +##This record here is the default record for the IPProto level APs generated by +##CommsDat. This record used as it is if the config file, which is processed +## after this config file, doesn't contain any ConnectionPreferences or +##IAPPrioritySelectionPolicy tables. +ADD_SECTION +# COMMDB_ID = 253 + Id=10001 + Name=IPProtoDefault + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + AccessPointSelectionPolicy=0 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + ##this field value here is an indication that the config file doesn't have + ##any generated IPProto APs which means that there is no ConnPref or + ##IAPPrioritySelPol records. + CustomSelectionPolicy=-1 + FIELD_COUNT=9 +END_ADD + +ADD_SECTION +# COMMDB_ID = 252 + Id=10002 + Name=SIPDefault + Tier=Link.TierTable.536887799 + MCpr=MCprTable.11 + AccessPointSelectionPolicy=0 + Cpr=CprTable.5 + SCpr=SCprTable.8 + Protocol=ProtocolTable.2 + FIELD_COUNT=8 +END_ADD + + +############################################################ +## APPrioritySelectionPolicyTable +## + +[APPrioritySelectionPolicyTable] +ADD_SECTION +# COMMDB_ID = 254 + Id=20000 + Name=APSelPolNetworkDefault + ##This will be modified by CommsDat to point to the correct IPProto level APs + ##in the ranking order of IAPs in the ConnectionPreferences table, if there + ##is any. + AP1=Link.AccessPointTable.10001 + APCOUNT=1 + FIELD_COUNT=4 +END_ADD + + +############################################################ +## TierTable +## + +[TierTable] + +## Id=0x10281DD8 == 271064536 + +ADD_SECTION +# COMMDB_ID = 1 + Id=2048 + TierImplUid=271064536 + Name=Tier1 + TierThreadName= ESock_IP + TierManagerName= NetworkTierManager + DefaultAccessPoint=Link.AccessPointTable.10000 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +## Id=0x10281DF0 == 271064560 + +ADD_SECTION +# COMMDB_ID = 2 + Id=271064560 + TierImplUid=271064560 + Name=Tier2 + TierThreadName= ESock_IP + TierManagerName= ProtoTierManager + ##By default this is linked to the default AP on the IPProto layer + DefaultAccessPoint=Link.AccessPointTable.10001 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +## Id=0x10281DF5 == 271064565 + +ADD_SECTION +# COMMDB_ID = 3 + Id=271064565 + TierImplUid=271064565 + Name=Tier3 + TierThreadName= ESock_IP + TierManagerName= LinkTierManager + ##NB defaultAccessPoint not present in this layer. This is only needed here to satisfy the check + ##on the link layer. However important that once this field has a value it has to be linked to a + ##correct accesspoint record in the accesspoint table because this will be checked either. + DefaultAccessPoint=Link.AccessPointTable.10000 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Id=536887799 + TierImplUid=536887799 + Name=Tier4 + TierThreadName= ESock_SIP + TierManagerName= SIPTierManager + DefaultAccessPoint=Link.AccessPointTable.10002 + PromptUser= 0 + FIELD_COUNT=7 +END_ADD + +############################################################ +## MCprTable +## +[MCprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=netmcpr + MCprUid=0x10274547 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotomcpr + MCprUid=0x10281DEE + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=pppmcpr + MCprUid=0x10281DEC + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=ethmcpr + MCprUid=0x10281DFC + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=rawipmcpr + MCprUid=0x10281E00 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=tunnelmcpr + MCprUid=0x10281E02 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qospppmcpr + MCprUid=0x10281DEC + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=dummynifmcpr + MCprUid=0x10281E04 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=hungrynifmcpr + MCprUid=0x10281E04 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=pdpmcpr + MCprUid=0x102822F0 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Name=sipmcpr + MCprUid=0x200041F9 + FIELD_COUNT=2 +END_ADD + +## PAN Ether MCpr Uid = 271070626 (0x102835A2) +ADD_SECTION +# COMMDB_ID = 13 + Name=panethermcpr + MCprUid=271070626 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 14 + Name=tundrivermcpr + MCprUid=0x10281E05 + FIELD_COUNT=2 +END_ADD + +############################################################ +## CprTable +## +[CprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=ipcpr + CprUid=0x102070EF + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotocpr + CprUid=0x10281DD3 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=agentcpr + CprUid=0x10281DE8 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=vanillacpr + CprUid=0x102822F3 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=sipcpr + CprUid=0x10274C38 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=tunnelagentcpr + CprUid=271080968 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=pdpcpr + CprUid=0x102822E2 + FIELD_COUNT=2 +END_ADD +############################################################ +## SCprTable +## +[SCprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=qosipscpr + SCprUid=0x10204308 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotoscpr + SCprUid=0x10281DD1 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=agentscpr + SCprUid=0x10281DEA + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=pdpscpr + SCprUid=0x102822E0 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=pppscpr + SCprUid=0x102822FC + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=vanillascpr + SCprUid=0x102822F4 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qosscpr + SCprUid=0x102822D3 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=sipscpr + SCprUid=0x10274C17 + FIELD_COUNT=2 +END_ADD + +############################################################ +## ProtocolTable +## +[ProtocolTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=sapshim + ProtocolUid=0x101F7482 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipshim4 + ProtocolUid=0x10281C36 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=ppp + ProtocolUid=0x10281C4F + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=ethernet + ProtocolUid=0x10281DDB + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=rawip + ProtocolUid=0x10281DF2 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=tunnel + ProtocolUid=0x10281DF7 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qosppp + ProtocolUid=0x10281C54 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=dummynif + ProtocolUid=0x10281C3B + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=hungrynif + ProtocolUid=0x10281C3D + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=panether + ProtocolUid=271070627 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Name=rawip2 + ProtocolUid=0x10286AF8 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 14 + Name=tundriverprotocol + ProtocolUid=0x10281C3C + FIELD_COUNT=2 +END_ADD + +############################################################ +## BearerTypeTable +## +[BearerTypeTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=ppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.3 + Cpr=CprTable.3 + SCpr=SCprTable.5 + Protocol=ProtocolTable.3 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ethint + Tier=Link.TierTable.271064565 + MCpr=MCprTable.4 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.4 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=rawip + Tier=Link.TierTable.271064565 + MCpr=MCprTable.5 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.5 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=tunnelnif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.6 + Cpr=CprTable.7 + SCpr=SCprTable.3 + Protocol=ProtocolTable.6 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=qosppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.7 + Cpr=CprTable.3 + SCpr=SCprTable.5 + Protocol=ProtocolTable.7 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=dummynif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.8 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.8 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=hungrynif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.9 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.9 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=spud-ppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.3 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=spud-rawip + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + FIELD_COUNT=6 +END_ADD + +##This record here is the template record for the IPProto level APs generated by CommsDat. +ADD_SECTION +# COMMDB_ID = 10 + ##This name is a predefined name for the template for the IPProto APs. + ##Please don't change it! + Name=IPProtoDefaultTemplate + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + FIELD_COUNT=6 +END_ADD + +##This record here is the template record for the Network level AP generated by CommsDat. +##It's used when processing SNAP config files +ADD_SECTION +# COMMDB_ID = 11 + ##This name is a predefined name for the template for the Network APs. + ##Please don't change it! + Name=NetworkDefaultTemplate + Tier=Link.TierTable.2048 + MCpr=MCprTable.1 + Cpr=CprTable.1 + SCpr=SCprTable.7 + Protocol=ProtocolTable.1 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 12 + Name=rawip2 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.8 + SCpr=SCprTable.4 + Protocol=ProtocolTable.11 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 13 + Name=spud-rawip2 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.8 + SCpr=SCprTable.4 + Protocol=ProtocolTable.11 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 14 + Name=tundriver + Tier=Link.TierTable.271064565 + MCpr=MCprTable.14 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.14 + FIELD_COUNT=6 +END_ADD diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriver.ini Binary file linklayerprotocols/tundriver/te_tundriver/configs/te_tundriver.ini has changed diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2193 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + 255.255.255.0 + 10.225.162.1 + 10.1.1.10 + FALSE + TRUE + 10.225.166.20 + 147.253.195.7 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov20.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov20.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2193 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + FALSE + FALSE + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov21.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov21.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + FALSE + FALSE + 194.72.6.51 + 194.72.6.52 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov22.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov22.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + 10.32.194.254 + 10.32.194.251 + 10.1.1.10 + FALSE + FALSE + 194.72.6.51 + 194.72.6.52 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov23.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov23.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + FALSE + FALSE + + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov24.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov24.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2193 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip6,ip + + 10.225.162.1 + 10.1.1.10 + FALSE + FALSE + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov25.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov25.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + FALSE + FALSE + 10.225.166.20 + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov26.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov26.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2193 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + 10.1.1.10 + FALSE + FALSE + 10.225.166.20 + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov27.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov27.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2192 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + 10.1.1.10 + FALSE + FALSE + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov28.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov28.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + FALSE + FALSE + 10.225.166.20 + 147.253.195.7 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov29.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov29.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + 12.12.1.2 + 23.23.23.2 + 10.1.1.10 + FALSE + FALSE + 10.2.1.2 + 12.3.4.4 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov30.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov30.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + 12.12.1.2 + 23.23.23.2 + 10.1.1.10 + TRUE + TRUE + 10.2.1.2 + 12.3.4.4 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov31.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov31.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + 12.12.1.2 + 23.23.23.2 + 10.1.1.10 + FALSE + FALSE + 10.2.1.2 + 12.3.4.4 + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov32.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov32.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2193 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip + + + 10.1.1.10 + TRUE + TRUE + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov33.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundriverced_cov33.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + + Ethernet + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ry + + + 10.1.1.10 + FALSE + FALSE + + + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/configs/te_tundrivercedip6.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/configs/te_tundrivercedip6.xml Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,2194 @@ + + + + + + + + + + + + + Intranet + + + mRouter + + + VPN + + + + + + NT RAS with Null Modem + DialOutISP.NT RAS + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder01 + DialOutISP.ISP01 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + CSD IAP PlaceHolder02 + DialOutISP.ISP02 + ModemBearer.Null Modem 115200bps + Network.Intranet + 0 + Location.Office + + + GPRS IAP PlaceHolder01 + OutgoingGPRS.GPRS01 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + GPRS IAP PlaceHolder02 + OutgoingGPRS.GPRS02 + ModemBearer.GPRS Ericsson R520m/T68i via Serial + Network.Intranet + 0 + Location.Mobile + + + Ethernet No Daemon Static IP + LANService.Ethernet No Daemon + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 1 + LANService.Ethernet Bad Daemon + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Incorrect ethernet setup 2 + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Static IP + LANService.Ethernet Static IP + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + Incorrect ethernet setup 3 + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.mRouter + 0 + Location.Office + + + Ethernet with Daemon Dynamic IP + LANService.Ethernet + LANBearer.EKA2 Emulator Ethernet + Network.Intranet + 0 + Location.Office + + + SSL VPN IP + VpnService.VPN Tunnel Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + VPN Test IAP + VpnService.VPN Test Service + VirtualBearer.VPN Test Bearer + Network.VPN + 0 + Location.Office + + + Virtual Tunnel with Static IP + LANService.VirtualInterface + VirtualBearer.EKA2 Emulator Virtual Interface + Network.Intranet + 0 + Location.Office + + + + + + Default Modem + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 0 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Null Modem 115200bps + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + US Robotics Sportster + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F1 + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + Dacom Surfer + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 244 + 0 + 0 + 0 + AUTO + AFTERDIALUNTILANSWER + QUIET + AT&F + AT + AT&d2 + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Infrared + CSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GSM Mobile Phone via Serial + CSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 196 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m via IR + PSD.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Ericsson R520m/T68i via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 19200 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + *99***1# + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + GPRS Motorola Mobile Phone via Serial + PSD.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 57600 + 4 + 0 + 17 + 19 + AUTO + NEVER + QUIET + ATZ + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + WinTunnel Modem + null.agt + PPP + COMM::6 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 180 + 30 + 60 + 0 + 0 + + + mRouterWinsBearer + mRouterAgent.agt + PPP + WINS::0 + MM + WINSCSY + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterRs232Bearer + mRouterAgent.agt + PPP + COMM::0 + MM + ECUART + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterIrBearer + mRouterAgent.agt + PPP + IRCOMM::0 + MM + IRCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterBtBearer + mRouterAgent.agt + PPP + BTCOMM::0 + MM + BTCOMM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + mRouterUsbBearer + mRouterAgent.agt + PPP + ACM::0 + MM + ECACM + 8 + 1 + NONE + 115200 + 4 + 0 + 0 + 0 + AUTO + NEVER + QUIET + AT + AT + AT + S8= + L0 + L1 + L2 + M0 + M1 + M2 + M3 + W + X1 + X2 + X3 + X4 + E0 + V1 + Q0 + Q1 + ; + O + Z + &F + &C1 + &D2 + &S0 + &K3 + &K4 + + + S12 + NO DIAL TONE + BUSY + NO ANSWER + CARRIER + CONNECT + COMPRESSION:CLASS 5 + COMPRESSION:V.42 bis + COMPRESSION:NONE + PROTOCOL:LAPD + PROTOCOL:ALT + PROTOCOL:ALT-CELLULAR + PROTOCOL:NONE + +44123456789 + 1440 + FALSE + 9905 + 9999 + 180 + 30 + 0 + 0 + + + + + + EKA1 Target Ethernet + nullagt.agt + ethint + ethercard + EtherCard + EtherSmc + EtherCard.Smc + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Target Ethernet + nullagt.agt + ethint + enet + Ethernet + ethernet + Ethernet.Assabet + EtherPkt.drv + -1 + -1 + -1 + + + + EKA1 Emulator Ethernet + nullagt.agt + ethint + ethercard + Ethercard + etherwins + Ethercard.wins + EtherPkt.drv + -1 + -1 + -1 + + + + EKA2 Emulator Ethernet + nullagt.agt + ethint + enet + =Ethernet + ethernet + Ethernet.Wins + EtherPkt.drv + -1 + -1 + -1 + + + + + + Ethernet + ip6 + ff02::1:ff8a:c0eb + fe80::19:5bff:fe8a:c0eb + FALSE + FALSE + ff02::1:ff8a:c0eb + 2001:5c0:92cf::c0a8:1 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Static IP + ip + 255.255.255.0 + 10.225.164.1 + 10.225.165.7 + TRUE + TRUE + 10.225.166.20 + 147.253.195.7 + NetCfgExtnDhcp + !DhcpServ + + + Ethernet Bad Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + TRUE + TRUE + 194.72.6.51 + 194.72.6.52 + NonExistingServ + NonExistingServ + + + Ethernet No Daemon + ip + 255.255.255.0 + 10.32.194.254 + 10.32.194.251 + FALSE + TRUE + 194.72.6.51 + 194.72.6.52 + + + VirtualInterface + ip6 + ff02::1:ff8a:c0eb + fe80::19:5bff:fe8a:c0eb + FALSE + FALSE + ff02::1:ff8a:c0eb + 2001:5c0:92cf::c0a8:1 + NetCfgExtnDhcp + !DhcpServ + + + + + + Default Dial In ISP + FALSE + TRUE + TRUE + Default Dial In ISP + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + Dial In ISP01 + FALSE + TRUE + TRUE + Dial In ISP01 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + + Default Dial Out ISP + TRUE + FALSE + TRUE + TRUE + TRUE + TRUE + Default Dial Out ISP + Default Dial Out ISP + TRUE + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + NT RAS + TRUE + TRUE + FALSE + FALSE + TRUE + TRUE + Test + INTERNETONLY + INTERNETONLY + CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n + FALSE + FALSE + FALSE + FALSE + ip + RasUser + pass + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP01 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP01 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP02 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP02 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP03 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP03 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP04 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP04 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + ISP05 + TRUE + FALSE + FALSE + TRUE + TRUE + TRUE + PlaceHolder for ISP05 + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + xxx + yyy + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + mRouterDialOutIsp + TRUE + FALSE + FALSE + FALSE + TRUE + TRUE + mRouterDialOutIsp + INTERNETONLY + INTERNETONLY + FALSE + FALSE + FALSE + FALSE + ip + IfAuthPass= + AuthRetries=0 + 0 + FALSE + 0 + TRUE + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + FALSE + 0 + UNSPECIFIED + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + + + + + + + + + test name cdma2000 + Test2000 + HIGHSPEEDCDMA2000DATA + IPV4 + PRIORITY04 + PRIORITY04 + 32KBPS + 32KBPS + LOSS1 + LOSS1 + 40MS + 40MS + 32KBPS + 32KBPS + LOSS2 + LOSS2 + 120MS + 120MS + FALSE + FALSE + FALSE + ip + RasUser + pass + FALSE + 1 + 0.255.255.255 + 10.0.0.1 + TRUE + TRUE + TRUE + TRUE + 2 + 1000000 + TRANSPARENT + FALSE + 10000000 + + + + + + + + + Dummy BT Chargecard + 144,12345678 + 0000 + HG + HFG + HEFG + + + Dummy Mercury Chargecard + 0500800800,,12345678 + **** + HG + J,K,0FG + HEFG + + + + + + ConnectionPreferencesTable1 + 0 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + ConnectionPreferencesTable2 + 1 + OUTGOING + DONOTPROMPT + LAN + IAP.Ethernet with Daemon Dynamic IP + + + + + + GlobalSettingsTable1 + WAPAccessPoint.Default Dial In ISP + 3 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + Location.Office + Location.Office + GSM + Network.Intranet + mm + + + + + + Incoming GPRS Settings PlaceHolder + Test + IPV4 + 0.0.0.0 + FALSE + TRUE + TRUE + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + FALSE + FALSE + FALSE + ip + RasUser + pass + 1 + 0.0.0.0 + 0.0.0.0 + FALSE + FALSE + FALSE + + + + + + GPRS01 + gprs01APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS02 + gprs02APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + GPRS03 + gprs03APNPlaceHolder + IPV4 + FALSE + TRUE + FALSE + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + FALSE + FALSE + FALSE + ip + 1 + FALSE + FALSE + FALSE + 0 + 0 + + + + + + Dummy Default GPRS Settings + Access point name + IPV6 + www.wid.com + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + TRUE + TRUE + FALSE + TRUE + + + + + + ProxyTable1 + DialOutISP.NT RAS + TRUE + http + www.dummyproxy.com + 80 + www.dummyproxy.com/exception + + + + + + Default Location + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Office + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 9, + 9, + + + Office Direct Dial + FALSE + FALSE + FALSE + 0 + 00 + 0 + 44 + 171 + 171 + 171 + + + Mobile + TRUE + FALSE + FALSE + 0 + + + 0 + 44 + 44 + 44 + 44 + + + Home + FALSE + TRUE + TRUE + 0 + 00 + 0 + 44 + 181 + 181 + 181 + + + + + + SecureSocketTable1 + ssl3.0 + ssladaptor.dll + + + SecureSocketTable2 + tls1.0 + ssladaptor.dll + + + + + + + + + + + + + + + + + + Default Dial In ISP + WAPIPBearer + + + Dummy WAP Settings + WAPIPBearer + www.wapstart.com + + + + + + WAPIPBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + IAP.-1 + 0 + 0 + 0 + + + WAPIPBearerTable2 + WAPAccessPoint.Dummy WAP Settings + www.wapgateway.com + CONNECTIONORIENTED + FALSE + IAP.CSD IAP PlaceHolder01 + 1 + 1 + 1 + + + + + + WAPSMSBearerTable1 + WAPAccessPoint.-1 + 0 + CONNECTIONLESS + FALSE + 0 + + + WAPSMSBearerTable2 + WAPAccessPoint.Dummy WAP Settings + +4412345678901 + CONNECTIONORIENTED + FALSE + +442071234567 + + + + + + VPN Test Bearer + nullagt.agt + tundriver + -1 + -1 + -1 + + + EKA2 Emulator Virtual Interface + tundriveragt.agt + tundriver + -1 + -1 + -1 + + + + + + VPN Tunnel Service + IAP.Virtual Tunnel with Static IP + Network.Intranet + + + VPN Test Service + IAP.Ethernet with Daemon Dynamic IP + Network.Intranet + + + + + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/group/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/group/bld.inf Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,43 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +PRJ_TESTEXPORTS +te_tundriver.iby /epoc32/rom/include/te_tundriver.iby + +../configs/te_tundriverced.xml z:/testdata/configs/te_tundriverced.xml +../configs/te_tundrivercedip6.xml z:/testdata/configs/te_tundrivercedip6.xml +../configs/te_tundriverced_cov20.xml z:/testdata/configs/te_tundriverced_cov20.xml +../configs/te_tundriverced_cov21.xml z:/testdata/configs/te_tundriverced_cov21.xml +../configs/te_tundriverced_cov22.xml z:/testdata/configs/te_tundriverced_cov22.xml +../configs/te_tundriverced_cov23.xml z:/testdata/configs/te_tundriverced_cov23.xml +../configs/te_tundriverced_cov24.xml z:/testdata/configs/te_tundriverced_cov24.xml +../configs/te_tundriverced_cov25.xml z:/testdata/configs/te_tundriverced_cov25.xml +../configs/te_tundriverced_cov26.xml z:/testdata/configs/te_tundriverced_cov26.xml +../configs/te_tundriverced_cov27.xml z:/testdata/configs/te_tundriverced_cov27.xml +../configs/te_tundriverced_cov28.xml z:/testdata/configs/te_tundriverced_cov28.xml +../configs/te_tundriverced_cov29.xml z:/testdata/configs/te_tundriverced_cov29.xml +../configs/te_tundriverced_cov30.xml z:/testdata/configs/te_tundriverced_cov30.xml +../configs/te_tundriverced_cov31.xml z:/testdata/configs/te_tundriverced_cov31.xml +../configs/te_tundriverced_cov32.xml z:/testdata/configs/te_tundriverced_cov32.xml +../configs/te_tundriverced_cov33.xml z:/testdata/configs/te_tundriverced_cov33.xml +../configs/te_tundriver.ini z:/testdata/configs/te_tundriver.ini +../scripts/te_tundriver.script z:/testdata/scripts/te_tundriver.script + +../inc/te_TcpSslTestEngine.h /epoc32/include/te_tcpssltestengine.h + +PRJ_TESTMMPFILES +./te_tundriver.mmp + +#include "../Dummy3rdPartyApp/group/bld.inf" diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/group/te_tundriver.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/group/te_tundriver.iby Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,44 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __TE_TUNDRIVER_IBY__ +#define __TE_TUNDRIVER_IBY__ + +#include +#include +#include + +data=ABI_DIR\DEBUG_DIR\te_tundriver.exe System\bin\te_tundriver.exe + +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_tundriver.script testdata\scripts\te_tundriver.script +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced.xml testdata\configs\te_tundriverced.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov20.xml testdata\configs\te_tundriverced_cov20.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov21.xml testdata\configs\te_tundriverced_cov21.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov22.xml testdata\configs\te_tundriverced_cov22.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov23.xml testdata\configs\te_tundriverced_cov23.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov24.xml testdata\configs\te_tundriverced_cov24.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov25.xml testdata\configs\te_tundriverced_cov25.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov26.xml testdata\configs\te_tundriverced_cov26.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov27.xml testdata\configs\te_tundriverced_cov27.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov28.xml testdata\configs\te_tundriverced_cov28.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov29.xml testdata\configs\te_tundriverced_cov29.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov30.xml testdata\configs\te_tundriverced_cov30.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov31.xml testdata\configs\te_tundriverced_cov31.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov32.xml testdata\configs\te_tundriverced_cov32.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriverced_cov33.xml testdata\configs\te_tundriverced_cov33.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundrivercedip6.xml testdata\configs\te_tundrivercedip6.xml +data=EPOCROOT##epoc32\data\z\testdata\configs\te_tundriver.ini testdata\configs\te_tundriver.ini + +#endif //__TE_TUNDRIVER_IBY__ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/group/te_tundriver.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/group/te_tundriver.mmp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,68 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// te_tundriver.mmp for Testing the Virtual tunnel functionality for SSL VPN. +// + + + +/** + @file te_tundriver.mmp +*/ + +TARGET te_tundriver.exe +TARGETTYPE exe + +SOURCEPATH ../src +SOURCE te_tundrivertestserver.cpp +SOURCE te_tundrivertestblock.cpp +SOURCE te_tundrivertestwrapper.cpp +SOURCE te_TcpSslTestEngine.cpp + +#ifdef SYMBIAN_OLD_EXPORT_LOCATION +SYSTEMINCLUDE /epoc32/include +SYSTEMINCLUDE /epoc32/include/libc +SYSTEMINCLUDE /epoc32/include/test +#else +OS_LAYER_SYSTEMINCLUDE_SYMBIAN +SYSTEMINCLUDE /epoc32/include/libc +SYSTEMINCLUDE /epoc32/include/platform/test +#endif + +USERINCLUDE ../inc + + +LIBRARY euser.lib +LIBRARY esock.lib +LIBRARY insock.lib +LIBRARY commdb.lib +LIBRARY efsrv.lib +LIBRARY commsdat.lib +LIBRARY testexecuteutils.lib +LIBRARY testexecutelogclient.lib +LIBRARY charconv.lib +LIBRARY ecom.lib +LIBRARY c32root.lib +LIBRARY netmeta.lib +LIBRARY esocksvr.lib + + +VENDORID 0x70000001 + +UID 0x1000028d 0x2009D48D +CAPABILITY All -TCB + +UNPAGED + +SMPSAFE + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/inc/te_TcpSslTestEngine.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/inc/te_TcpSslTestEngine.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,193 @@ +/* + * TcpTestEngine.h + * + * Created on: Jan 28, 2010 + * Author: GUNAGI + */ + +#ifndef TE_TCPSSLTESTENGINE_H_ +#define TE_TCPSSLTESTENGINE_H_ + +#include +#include +#include +#include +#include +#include + +/** Number of chars allowed for address & page settings */ +const TInt KSettingFieldWidth = 128; + +/** Global variables */ +// File system sesion path +// IP file where the system IP is mentioned +//_LIT8(hostIpAddress, "10.225.164.117"); +//const TInt KPortNum = 80; + +_LIT8(hostIpAddress, "10.1.1.1"); +const TInt KPortNum = 80; + +/** Connection settings to access a server */ +struct TConnectSettings + { + /** Server address (as text) */ + TBuf iAddress; + /** Server port */ + TInt iPortNum; + /** Web page to get from the server */ + TBuf8 iPage; + }; + +/** + Manages connection to a SSL web server. +*/ +class CTcpSslTestEngine : public CActive + { +public: +/** +Allocates and constructs a new engine. +@return New object +*/ + static CTcpSslTestEngine *NewL(); +/** +Destructor. +*/ + ~CTcpSslTestEngine(); +/** +Initiates the connection to a server and the transaction + + @param aAddress Server address (e.g. www.symbian.com or dotted decimal format) + + @param aPortNum Server port for secure web (e.g. 443) + + @param aPage Web page to get from the server. The leading `/` should be included, e.g. /webpage.html. + + @param aCipherSuite Cipher suites that client will tell server it supports (decimal). This + should be in decimal, with 2 characters, ie for suites 3,7,8,9, this field would be 03070809. + By entering a single `0` for this field, the SSL default cipher suites will be passed. + + @param aCipher Cipher suite that server is expected to use (decimal). This is compared with + actual cipher for pass/fail. If this field is 0, no comparisons with the actual cipher + suite used will be made. + +*/ + void ConnectL( const TConnectSettings& aConnectSettings ); +/** +Sets the console to write messages to + +@param aConsole The console +*/ + void SetConsole( CConsoleBase& aConsole ); + +/** +Sets the (opened) file to write server response to + +@param aOutputFile The file +*/ + void SetOutputFile( RFile& aOutputFile ); + + + void Initialize(); + + /** +Tests if the connection is in progress. + +@return True if in progress else false +*/ + TBool InUse(); + + +private: + /** Engine states */ + enum TStates + { + /** IP connection initiated */ + ESocketConnected, + /** Setting the ciphers for a secure connection */ + ESettingCiphers, + /** Secure socket request initiated */ + ESecureConnected, + /** Send get page request to server */ + EGetRequestSent, + /** Server has responded to request */ + EDataReceived, + /** Connection closed down */ + EConnectionClosed + }; + +private: + /** Constructor. */ + CTcpSslTestEngine(); + /** Second phase constructor. */ + void ConstructL(); + + // Methods from CActive + /** Previous state has completed. */ + void RunL(); + /** Cancel request */ + void DoCancel(); + /** Handles a leave occurring in RunL(). */ + TInt RunError( TInt aError ); + + // Handle particular engine states + /** Attempts secure connection. */ + void MakeConnectionL(); + /** Sends page request to server */ + void MakePageRequestL(); + /** Start getting server's response to the request */ + void GetServerResponseL(); + /** Finish getting server's response */ + void ReadServerResponseL(); + /** Handle connection completed */ + void ConnectionClosed(); + +private: + // Sockets objects + /** The socket server */ + RSocketServ iSocketServ; + /** Socket to make connection on */ + RSocket iSocket; + /** For resolving DNS addresses */ + RHostResolver iHostResolver; + /** Server address */ + TInetAddr iInetAddr; + + // Connection parameters + const TConnectSettings* iConnectSettings; + + // Transfer buffers and counters + /** Data sent buffer */ + TPtr8 iSndBuffer; + /** #bytes sent */ + TSockXfrLength iBytesSent; + /** Data received buffer */ + TPtr8 iRcvBuffer; + /** #bytes received */ + TInt iTotalBytesRead; + + /** For retries, after a delay */ + RTimer iTimer; + + /** Output console */ + CConsoleBase *iConsole; + /** Output file */ + RFile* iOutputFile; + + // Flags and state + /** True if the transation completed successfully */ + TBool iSuccess; + /** True if success on first attempt */ + TBool iFirstRunFlag; + /** True if connection is in progress */ + TBool iInUse; + /** Engine state (a TStates value) */ + TInt iRunState; + + /** Counter for stopping making connections */ + TInt iCounter; + + RFs iFs; + }; + + +#endif /* TE_TCPSSLTESTENGINE_H_ */ diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestblock.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestblock.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,45 @@ +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +/** + @file te_tundrivertestblock.h + @internalTechnology +*/ + +#ifndef TE_TUNDRIVERTESTBLOCK_H +#define TE_TUNDRIVERTESTBLOCK_H + +#include +#include "te_tundrivertestwrapper.h" + +/** +Wrapper name +*/ +_LIT(KTunDriverTestWrapper, "TunDriverTestWrapper"); + +/** +Class implements the TEF3.0 specific test block controller. +*/ +class CTunDriverTestBlock : public CTestBlockController + { +public: + CTunDriverTestBlock() : CTestBlockController() {} + ~CTunDriverTestBlock() {} + CDataWrapper* CreateDataL(const TDesC& aData); + }; + +#endif //TE_TUNDRIVERTESTBLOCK_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestserver.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,42 @@ +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +/** + @file te_tundrivertestserver.h + @internalTechnology +*/ + +#ifndef TE_TUNDRIVERTESTSERVER_H +#define TE_TUNDRIVERTESTSERVER_H + +#include +#include "te_tundrivertestblock.h" + +/** +Class implements the TEF3.0 specific test server +*/ +class CTunDriverTestServer : public CTestServer2 + { +public: + CTunDriverTestServer() {} + ~CTunDriverTestServer() {} + CTestBlockController* CreateTestBlock(); + CTestBlockController* CreateTestBlockL(); + static CTunDriverTestServer* NewL(); + }; + +#endif // TE_TUNDRIVERTESTSERVER_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestwrapper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/inc/te_tundrivertestwrapper.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,122 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +/** + @file te_tundrivertestwrapper.h + @internalTechnology +*/ + +#ifndef TE_TUNDRIVERTESTWRAPPER_H +#define TE_TUNDRIVERTESTWRAPPER_H + + +#include +#include +#include +#include // Console +#include +#include +#include +#include +#include +#include "te_TcpSslTestEngine.h" + +_LIT(KDummy3rdPartyApp,"Dummy3rdpartyApp.exe"); +_LIT(KArg,"NULL"); + +/** +Forward declaration +*/ + +class RSocketServ; + +/** +Class implements the CDataWrapper base class and provides the commands used by the scripts file +*/ +class CTunDriverTestWrapper : public CDataWrapper + { +public: + CTunDriverTestWrapper(); + ~CTunDriverTestWrapper(); + + static CTunDriverTestWrapper* NewL(); + //This function is not used currently + virtual TAny* GetObject() { return this; } + virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); + +protected: + void ConstructL(); + +private: + TInt StartD3PApp(); + void StopD3PApp(); + void StartConn(); + void DoRConnTest1_1(); + void DoRConnTest1_2(); + void DoRConnTest1_3(const TDesC& aSection); + void DoRConnTest1_4(const TDesC& aSection); + void DoRConnTest1_5(const TDesC& aSection); + void DoRConnTest1_6(const TDesC& aSection); + void DoRConnTest1_7(const TDesC& aSection); + void DoRConnTest1_8(const TDesC& aSection); + void DoRConnTest1_9(const TDesC& aSection); + void DoRConnTest1_10(const TDesC& aSection); + void DoRConnTest1_11(); + void DoRConnTest1_12(); + void DoRConnTest1_13(const TDesC& aSection); + void DoRConnTest1_14(const TDesC& aSection); + void DoRConnTest1_15(); + void DoRConnTest1_16(const TDesC& aSection); + void DoRConnTest1_17(const TDesC& aSection); + void DoRConnTest1_20(); + void DoRConnTest1_21(); + void DoRConnTest1_22(); + void DoRConnTest1_23(); + void DoRConnTest1_24(); + void DoRConnTest1_25(); + void DoRConnTest1_26(); + void DoRConnTest1_27(); + void DoRConnTest1_28(); + void DoRConnTest1_29(); + void DoRConnTest1_30(); + void DoRConnTest1_31(); + void DoRConnTest1_32(); + void DoRConnTest1_33(); + TBool FindInterface(TPckgBuf &info); + +private: + TBuf<128> iNextTestCaseInput; + + TRequestStatus iStatus; + TInt iVTunError; + TUint iInitNumOfInterfaces, iCurNumOfInterfaces; + TInetAddr iDestAddr, iRealDestAddr; + TInt iDestPort, iRealDestPort; + RSocketServ iSocketServ, iSocketServ1, iSocketServ2; + RSocket iSocket, iSocket1, iSocket2; + RConnection iConnection, iConnection1, iConnection2; + + RConnection *pConn, *pConn1, *pConn2; + RProcess p; + TBuf8<128> iSendBuf, iRecvBuf; + + TCommDbConnPref iCommDbPref, iCommDbPref1, iCommDbPref2; + + }; + + +#endif //TE_TUNDRIVERTESTWRAPPER_H diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/scripts/te_tundriver.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/scripts/te_tundriver.script Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,383 @@ +// +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: Gurpreet Singh Nagi +// +// Description: +// +//! @file +//! @SYMTestSuiteName +//! @SYMScriptTestEnvironment TestExecuteFramework +// +//Unload esock forcefully +//RUN_SCRIPT z:\testdata\scripts\te_esock_test_unloadesockForced.script + + +RUN_SCRIPT z:\testdata\scripts\te_esock_test_loadesock.script + +//Load the Server +LOAD_SERVER te_tundriver + +//Configure commdb. +ced -i z:\testdata\configs\te_tundriverced.xml + +START_TESTCASE SSLVPN-tundriver-test7 + + START_TEST_BLOCK te_tundriver 600 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test7 + COMMAND tundriver_test7 RConnTest1_7 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test7 + +START_TESTCASE SSLVPN-tundriver-test1 + + START_TEST_BLOCK te_tundriver 100 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test1 + COMMAND tundriver_test1 RConnTest1_1 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test1 + + +START_TESTCASE SSLVPN-tundriver-test2 + + START_TEST_BLOCK te_tundriver 100 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test2 + COMMAND tundriver_test2 RConnTest1_2 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test2 + + +START_TESTCASE SSLVPN-tundriver-test3 + + START_TEST_BLOCK te_tundriver 100 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test3 + COMMAND tundriver_test3 RConnTest1_3 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test3 + + +START_TESTCASE SSLVPN-tundriver-test4 + + START_TEST_BLOCK te_tundriver 100 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test4 + COMMAND tundriver_test4 RConnTest1_4 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test4 + + +START_TESTCASE SSLVPN-tundriver-test5 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test5 + COMMAND tundriver_test5 RConnTest1_5 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test5 + +START_TESTCASE SSLVPN-tundriver-test6 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test6 + COMMAND tundriver_test6 RConnTest1_6 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test6 + +START_TESTCASE SSLVPN-tundriver-test8 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test8 + COMMAND tundriver_test8 RConnTest1_8 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test8 + + +START_TESTCASE SSLVPN-tundriver-test9 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test9 + COMMAND tundriver_test9 RConnTest1_9 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test9 + + +START_TESTCASE SSLVPN-tundriver-test10 + + START_TEST_BLOCK te_tundriver 500 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test10 + COMMAND tundriver_test10 RConnTest1_10 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test10 + +START_TESTCASE SSLVPN-tundriver-test11 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test11 + COMMAND tundriver_test11 RConnTest1_11 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test11 + + +START_TESTCASE SSLVPN-tundriver-test14 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test14 + COMMAND tundriver_test14 RConnTest1_14 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test14 + + +START_TESTCASE SSLVPN-tundriver-test15 + + START_TEST_BLOCK te_tundriver 500 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test15 + COMMAND tundriver_test15 RConnTest1_15 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test15 + +START_TESTCASE SSLVPN-tundriver-test16 + + START_TEST_BLOCK te_tundriver 5000 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test16 + COMMAND tundriver_test16 RConnTest1_16 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test16 + + +START_TESTCASE SSLVPN-tundriver-test17 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test17 + COMMAND tundriver_test17 RConnTest1_17 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test17 + +DELAY 5000 + +START_TESTCASE SSLVPN-tundriver-test13 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test13 + COMMAND tundriver_test13 RConnTest1_13 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test13 + +DELAY 5000 + +START_TESTCASE SSLVPN-tundriver-test12 + + START_TEST_BLOCK te_tundriver 300 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test12 + COMMAND tundriver_test12 RConnTest1_12 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test12 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov20.xml + +START_TESTCASE SSLVPN-tundriver-test20 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test20 + COMMAND tundriver_test20 RConnTest1_20 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test20 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov21.xml + +START_TESTCASE SSLVPN-tundriver-test21 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test21 + COMMAND tundriver_test21 RConnTest1_21 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test21 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov22.xml + +START_TESTCASE SSLVPN-tundriver-test22 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test22 + COMMAND tundriver_test22 RConnTest1_22 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test22 + +DELAY 5000 + + +ced -i z:\testdata\configs\te_tundriverced_cov23.xml + +START_TESTCASE SSLVPN-tundriver-test23 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test23 + COMMAND tundriver_test23 RConnTest1_23 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test23 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov24.xml + +START_TESTCASE SSLVPN-tundriver-test24 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test24 + COMMAND !Error=-20 tundriver_test24 RConnTest1_24 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test24 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov25.xml + +START_TESTCASE SSLVPN-tundriver-test25 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test25 + COMMAND tundriver_test25 RConnTest1_25 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test25 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov26.xml + +START_TESTCASE SSLVPN-tundriver-test26 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test26 + COMMAND tundriver_test26 RConnTest1_26 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test26 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov27.xml + +START_TESTCASE SSLVPN-tundriver-test27 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test27 + COMMAND tundriver_test27 RConnTest1_27 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test27 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov28.xml + +START_TESTCASE SSLVPN-tundriver-test28 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test28 + COMMAND tundriver_test28 RConnTest1_28 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test28 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov29.xml + +START_TESTCASE SSLVPN-tundriver-test29 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test29 + COMMAND tundriver_test29 RConnTest1_29 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test29 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov30.xml + +START_TESTCASE SSLVPN-tundriver-test30 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test30 + COMMAND tundriver_test30 RConnTest1_30 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test30 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov31.xml + +START_TESTCASE SSLVPN-tundriver-test31 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test31 + COMMAND tundriver_test31 RConnTest1_31 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test31 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov32.xml + +START_TESTCASE SSLVPN-tundriver-test32 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test32 + COMMAND tundriver_test32 RConnTest1_32 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test32 + +DELAY 5000 + +ced -i z:\testdata\configs\te_tundriverced_cov33.xml + +START_TESTCASE SSLVPN-tundriver-test33 + + START_TEST_BLOCK te_tundriver 200 z:\testdata\configs\te_tundriver.ini + CREATE_OBJECT TunDriverTestWrapper tundriver_test33 + COMMAND !Error=-20 tundriver_test33 RConnTest1_33 + END_TEST_BLOCK + +END_TESTCASE SSLVPN-tundriver-test33 + +//RUN_SCRIPT z:\TestData\scripts\te_esock_test_stopallinterfaces.script +//RUN_SCRIPT z:\testdata\scripts\te_esock_test_unloadesockForced.script + diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/src/te_TcpSslTestEngine.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/src/te_TcpSslTestEngine.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,428 @@ +/* + * te_TcpSslTestEngine.cpp + * + * Created on: Jan 28, 2010 + * Author: GUNAGI + */ + + +#include "te_TcpSslTestEngine.h" +#include + +// Send buffer size +const TInt KSendBufferSize = 512; +// Receive buffer size +const TInt KReceiveBufferSize = 256; +// Maximum number of connection attempts +const TInt KMaxAttempts = 200; +// KYes Size +const TInt KYesSize = 3; +// KMessage Size +const TInt KMessageSize = 35; +// KNullDesC Size +const TInt KNullDesCSize = 0; +// Key header +const TInt KeyHeader = 0x400; +//const TInt KeyHeader = 0x04; +// Delay +const TInt KDelay = 100000; + +_LIT(KYes,"Yes"); +_LIT(KInputFile, "C:\\t_secdlg_in.dat"); +_LIT(KOutputFile, "C:\\t_secdlg_out.dat"); +_LIT(KMessage, "Passphrase of the imported key file"); +//_LIT(KMessage, "1234"); + +// HTTP messages +_LIT8(KSimpleGet, "GET "); +_LIT8(KNewLine, "\r\n"); +_LIT8(KHeader, "Connection: close\r\nUser-Agent: SSL_TEST\r\nAccept-Encoding:\r\nAccept: */*"); + +// Progress messages +_LIT(KConnnectedMessage, "\nConnecting to %S:%d%S\n"); +_LIT(KSecureConnnectingMessage, "\nMaking secure connection"); +_LIT(KGettingPageMessage, "\nRequesting web page"); +_LIT(KReceivingMessage,"\nReceiving server response"); +_LIT(KCipherSuiteInUseMessage,"\nCipher suite in use: %S"); +_LIT(KProtocolMessage, "\nProtocol used in connection: %S"); +_LIT(KReceivedMessage,"\nReceived server response\n"); +_LIT(KCompleteMessage,"\nTransaction complete: bytes recieved %d"); +_LIT(KFileErrorMessage,"\nError in writing data to file"); +_LIT(KCancelledMessage,"\nConnection closed"); +_LIT(KFailSocketMessage,"\nFailed to open socket: %d"); + +// State reporting messages +_LIT( KStateErrESocketConnected1, "\nError in state connecting socket: %d\n" ); +_LIT( KStateErrESocketConnected, "\nError in state ESocketConnected: %d\n" ); +_LIT( KStateErrESettingCiphers, "\nError in state ESettingCiphers: %d\n" ); +_LIT( KStateErrSecureConnected, "\nError in state ESecureConnected: %d\n" ); +_LIT( KStateErrGetRequestSent, "\nError in state EGetRequestSent: %d\n" ); +_LIT( KStateErrEDataReceived, "\nError in state EDataReceived: %d\n" ); + +// Panic code +_LIT( KTcpSslEnginePanic, "TCPSSL-ENGINE"); + +// +// CTcpSslTestEngine +// + +CTcpSslTestEngine* CTcpSslTestEngine::NewL() + { + CTcpSslTestEngine* self = new(ELeave) CTcpSslTestEngine; + CleanupStack::PushL( self ); + self->ConstructL(); + CleanupStack::Pop(); + return self; + } + +// Constructor should also call the parent constructor to set the priority +// of the active object. +CTcpSslTestEngine::CTcpSslTestEngine() +: CActive(0), iSndBuffer(0,0), iRcvBuffer(0,0) + { + } + +CTcpSslTestEngine::~CTcpSslTestEngine() + { + // Cancel any outstanding request- this cleans up + // resources created during a connection + //Cancel(); + ConnectionClosed(); + // Clean up engine's permanent resources + delete (void*)iSndBuffer.Ptr(); + delete (void*)iRcvBuffer.Ptr(); + iTimer.Close(); + iSocketServ.Close(); + } + +void CTcpSslTestEngine::ConstructL() + { + iSndBuffer.Set((TUint8*)User::AllocL(KSendBufferSize),0,KSendBufferSize); + iRcvBuffer.Set((TUint8*)User::AllocL(KReceiveBufferSize),0,KReceiveBufferSize); + // Connect the socket server + User::LeaveIfError( iSocketServ.Connect()); + // Create a local timer + User::LeaveIfError( iTimer.CreateLocal()); + // Set initial state + iRunState = ESocketConnected; + iInUse = EFalse; + + CActiveScheduler::Add( this ); + + } + +void CTcpSslTestEngine::ConnectL(const TConnectSettings& aConnectSettings) + { + iConnectSettings = &aConnectSettings; + + // Set initial values for flags & buffers + iSuccess = ETrue; + iInUse = ETrue; + iRunState = ESocketConnected; + iSndBuffer.SetLength( 0 ); + iRcvBuffer.SetLength( 0 ); + iTotalBytesRead = 0; + + TRequestStatus status; + RConnection rCon; + TInt ret = rCon.Open(iSocketServ); + iConsole->Printf(_L("Connection open with = %d\n"), ret); + + TCommDbConnPref commDbPref; + commDbPref.SetIapId(12); + commDbPref.SetBearerSet(KCommDbBearerVirtual); + commDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + rCon.Start(commDbPref, status); + User::WaitForRequest(status); + + // Interpret server address + if (iInetAddr.Input(iConnectSettings->iAddress) != KErrNone) + // Success if already in dotted-decimal format + { + // Connect to a host resolver (for DNS resolution) - happens sychronously + //User::LeaveIfError( iHostResolver.Open( iSocketServ, KAfInet, KProtocolInetTcp, rCon )); + // Try to resolve symbolic name + //TNameEntry nameEntry; + //User::LeaveIfError (iHostResolver.GetByName( iConnectSettings->iAddress, nameEntry )); + //TSockAddr sockAddr = nameEntry().iAddr; + //iInetAddr = iInetAddr.Cast( sockAddr ); + //iHostResolver.Close(); + } + + // Store other connection parameters + iInetAddr.SetPort( iConnectSettings->iPortNum ); + + /* RSocketServ SockServ; + SockServ.Connect(); + + TInt err(0); + TInt ret = rCon.Open(SockServ); + iConsole->Printf(_L("Connection open with = %d\n"), ret);*/ + + + // Open a TCP socket + ret = iSocket.Open( iSocketServ, KAfInet, KSockStream, KProtocolInetTcp, rCon ); + + if(ret != KErrNone) + { + iConsole->Printf(KStateErrESocketConnected1, ret); + } + else + { + + User::LeaveIfError(ret); + } + + + // Connect to the server, asynchronously + iSocket.Connect( iInetAddr, iStatus ); + SetActive(); + CActiveScheduler::Start(); + + // Print status + iConsole->Printf(KConnnectedMessage, + &iConnectSettings->iAddress, + iConnectSettings->iPortNum, + &iConnectSettings->iPage ); + } + +void CTcpSslTestEngine::SetConsole( CConsoleBase& aConsole ) + { + iConsole = &aConsole; + } + +void CTcpSslTestEngine::SetOutputFile( RFile& aOutputFile ) + { + iOutputFile = &aOutputFile; + } + +void CTcpSslTestEngine::Initialize() + { + + } +TBool CTcpSslTestEngine::InUse() + { + return iInUse; + } + +void CTcpSslTestEngine::RunL() + { + //The Test App that uses the tls module should check the status prior to continuing. + //Detailed error checking need to be added in the Test App. + if (iStatus.Int() != KErrNone ) + { + switch ( iStatus.Int() ) + { + case KErrCouldNotConnect: + { + _LIT( errmsg, "Failed to connect. error code : %d" ); + iConsole->Printf(errmsg, iStatus.Int()); + //User::Panic(KTcpSslEnginePanic,iStatus.Int()); + break; + } + default: + { + iRunState = EConnectionClosed; + _LIT( errmsg, "Error encountered. error code : %d" ); + iConsole->Printf(errmsg, iStatus.Int()); + break; + } + } + } + + switch ( iRunState ) + { + case ESocketConnected: + MakePageRequestL(); + break; + + case EGetRequestSent: + GetServerResponseL(); + break; + + case EDataReceived: + ReadServerResponseL(); + break; + + case EConnectionClosed: + ConnectionClosed(); + break; + + default: + break; + } // end switch + } + +TInt CTcpSslTestEngine::RunError( TInt aError ) + { + // Panic prevents looping + __ASSERT_ALWAYS(iRunState != EConnectionClosed, + User::Panic(KTcpSslEnginePanic,0)); + + // do a switch on the state to get the right err message + switch (iRunState) + { + case ESocketConnected: + iConsole->Printf(KStateErrESocketConnected, aError ); + break; + case ESettingCiphers: + iConsole->Printf(KStateErrESettingCiphers, aError ); + break; + case ESecureConnected: + iConsole->Printf(KStateErrSecureConnected, aError); + break; + case EGetRequestSent: + iConsole->Printf(KStateErrGetRequestSent, aError); + break; + case EDataReceived: + iConsole->Printf(KStateErrEDataReceived, aError); + break; + default: + break; + } + + iRunState = EConnectionClosed; + iSuccess = EFalse; + iTimer.After( iStatus, KDelay ); + SetActive(); + + return KErrNone; + } + +void CTcpSslTestEngine::DoCancel() + { + iConsole->Printf(KCancelledMessage); + ConnectionClosed(); + } + +void CTcpSslTestEngine::MakePageRequestL() + { + + // if connection failed, reconnect + if(iStatus.Int() != KErrNone) + { + if(++iCounter >= KMaxAttempts) + { + User::Leave(iStatus.Int()); + } + + iRunState = ESocketConnected; + iSocket.CancelAll(); + iSocket.Close(); + + RConnection rCon; + TInt ret = rCon.Open(iSocketServ); + iConsole->Printf(_L("Connection open with = %d\n"), ret); + + TRequestStatus status; + + TCommDbConnPref commDbPref; + commDbPref.SetIapId(12); + commDbPref.SetBearerSet(KCommDbBearerVirtual); + commDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + rCon.Start(commDbPref, status); + User::WaitForRequest(status); + // Open a TCP socket + ret = iSocket.Open( iSocketServ, KAfInet, KSockStream, KProtocolInetTcp, rCon ); + + while(KErrNone != ret) + { + iConsole->Printf(KFailSocketMessage, ret); + ret = iSocket.Open( iSocketServ, KAfInet, KSockStream, KProtocolInetTcp, rCon ); + } + + + // Connect to the server, asynchronously + iSocket.Connect( iInetAddr, iStatus ); + SetActive(); + + // Print status + iConsole->Printf(KConnnectedMessage, + &iConnectSettings->iAddress, + iConnectSettings->iPortNum, + &iConnectSettings->iPage ); + + return; + } + + iCounter = 0; + iConsole->Printf(KGettingPageMessage); + + // Create a GET request + _LIT8(KUrl1, "https://"); + _LIT8(KUrl2, ":443/index.html HTTP/1.0\r\n"); + iSndBuffer+=KSimpleGet; + iSndBuffer+=KUrl1; + iSndBuffer+=hostIpAddress; + iSndBuffer+=KUrl2; + iSndBuffer+=KNewLine; + iSndBuffer+=KHeader; + + // Send the request + iRunState = EGetRequestSent; + iSocket.Send( iSndBuffer, NULL, iStatus, iBytesSent ); + SetActive(); + } + +void CTcpSslTestEngine::GetServerResponseL() + { + // The get request has been sent, can now try and receive the data + User::LeaveIfError(iStatus.Int()); + iConsole->Printf(KReceivingMessage); + + // Read asynchonously-returns when buffer full + iRunState = EDataReceived; + iSocket.RecvOneOrMore( iRcvBuffer, NULL, iStatus ); + SetActive(); + } + +void CTcpSslTestEngine::ReadServerResponseL() + { + // Any error other than KErrEof means the test is a failure + if (iStatus!=KErrEof) User::LeaveIfError(iStatus.Int()); + iConsole->Printf(KReceivedMessage); + TBuf<512> temp; + temp.Copy(iRcvBuffer); + iConsole->Printf(temp); + + // Put the received data in the output file & reset the receive buffer + iTotalBytesRead += iRcvBuffer.Length(); + + // Case 1: error is KErrEof (message complete) or no data received, so stop + if ( ( iStatus==KErrEof ) || ( iRcvBuffer.Length() == 0 ) ) + { + iConsole->Printf(KCompleteMessage, iTotalBytesRead); + // Close the socket neatly + iRunState = EConnectionClosed; + iTimer.After( iStatus, KDelay ); + SetActive(); + return; + } + + // Case 2: there's more data to get from the server + iRcvBuffer.SetLength( 0 ); + iRunState = EDataReceived; + iSocket.RecvOneOrMore( iRcvBuffer, NULL, iStatus ); + SetActive(); + } + +void CTcpSslTestEngine::ConnectionClosed() + { + if (!iInUse) return; + // Clean up + //iHostResolver.Close(); + iSocket.CancelAll(); + iSocket.Close(); + + // Close the output file + //iOutputFile->Close(); + + // Wait here for an unload of the ssl.dll to make sure that a session is not + // reconnected next time. + User::After( KDelay ); + iInUse = EFalse; + SetActive(); + CActiveScheduler::Stop(); + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestblock.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestblock.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,44 @@ +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Contains the implementation of TEF3.0 respective test block +// + + + +/** + @file te_tundrivertestblock.cpp + @internalTechnology +*/ + +#include "te_tundrivertestblock.h" + +/** +Function to manage the wrapper object instantiation. As part of this test suite, +only one wrapper is used. + +This function is called by the TestEngine while parsing the CREATE_OBJECT command +in the script file. + +@return Returns the wrapper instance pointer +@param aData Name of the wrapper has to be instantiated. +*/ +CDataWrapper* CTunDriverTestBlock::CreateDataL(const TDesC& aData) + { + CDataWrapper* wrapper = NULL; + if (KTunDriverTestWrapper() == aData) + { + wrapper = CTunDriverTestWrapper::NewL(); + } + return wrapper; + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestserver.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestserver.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,119 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Contains the implementation of TEF3.0 respective test server +// + + + +/** + @file te_tundrivertestserver.h + @internalTechnology +*/ + +#include "te_tundrivertestserver.h" + +/** +Function to instantiate TestServer. + +@return Returns the TestServer instance pointer. + +@internalTechnology +*/ +CTunDriverTestServer* CTunDriverTestServer::NewL() + { + CTunDriverTestServer* server = new (ELeave) CTunDriverTestServer(); + CleanupStack::PushL(server); + server->ConstructL(); + CleanupStack::Pop(server); + return server; + } + +/** +Function to instantiate TestBlock. + +This function is invoked by the TestEngine while parsing START_TEST_BLOCK command in the +script file. + +@return Returns the TestBlock instance pointer. + +@internalTechnology +*/ +CTestBlockController* CTunDriverTestServer::CreateTestBlock() + { + CTestBlockController* testBlockController=NULL; + TRAPD(err, testBlockController = CreateTestBlockL()); + if(err == KErrNone) + { + return testBlockController; + } + else + { + return NULL; + } + } + +/** +Function to instantiate TestBlock. + +@internalTechnology +*/ +CTestBlockController* CTunDriverTestServer::CreateTestBlockL() + { + return new (ELeave) CTunDriverTestBlock(); + } + +/** +Function to kick start the TestServer. + +@internalTechnology +*/ +LOCAL_C void MainL() + { +#if (defined __DATA_CAGING__) + RProcess().DataCaging(RProcess::EDataCagingOn); + RProcess().SecureApi(RProcess::ESecureApiOn); +#endif + CActiveScheduler* sched=NULL; + sched=new(ELeave) CActiveScheduler; + CActiveScheduler::Install(sched); + CTunDriverTestServer* server = NULL; + TRAPD(err, server = CTunDriverTestServer::NewL()); + if(!err) + { + RProcess::Rendezvous(KErrNone); + sched->Start(); + } + delete server; + delete sched; + } +/** +TestServer entry point. + +@return Returns KErrNone upon successfull completion, KErrNoMemory in low memory conditions. + +@internalTechnology +*/ +GLDEF_C TInt E32Main() + { + __UHEAP_MARK; + CTrapCleanup* cleanup = CTrapCleanup::New(); + if(cleanup == NULL) + { + return KErrNoMemory; + } + TRAP_IGNORE(MainL()); + delete cleanup; + __UHEAP_MARKEND; + return KErrNone; + } diff -r e36178c55292 -r 61fa4f7b5dd1 linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestwrapper.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/tundriver/te_tundriver/src/te_tundrivertestwrapper.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,3153 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Contains the implementation of all the commands, which is used by the script file. +// + +/** + @file te_tundrivertestwrapper.h + @internalTechnology + */ + +#include "te_tundrivertestwrapper.h" +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +//Virtual Interface + +// Commands + +_LIT(KRConnTest1_1, "RConnTest1_1"); +_LIT(KRConnTest1_2, "RConnTest1_2"); +_LIT(KRConnTest1_3, "RConnTest1_3"); +_LIT(KRConnTest1_4, "RConnTest1_4"); +_LIT(KRConnTest1_5, "RConnTest1_5"); +_LIT(KRConnTest1_6, "RConnTest1_6"); +_LIT(KRConnTest1_7, "RConnTest1_7"); +_LIT(KRConnTest1_8, "RConnTest1_8"); +_LIT(KRConnTest1_9, "RConnTest1_9"); +_LIT(KRConnTest1_10, "RConnTest1_10"); +_LIT(KRConnTest1_11, "RConnTest1_11"); +_LIT(KRConnTest1_12, "RConnTest1_12"); +_LIT(KRConnTest1_13, "RConnTest1_13"); +_LIT(KRConnTest1_14, "RConnTest1_14"); +_LIT(KRConnTest1_15, "RConnTest1_15"); +_LIT(KRConnTest1_16, "RConnTest1_16"); +_LIT(KRConnTest1_17, "RConnTest1_17"); +_LIT(KRConnTest1_18, "RConnTest1_18"); +_LIT(KRConnTest1_19, "RConnTest1_19"); +_LIT(KRConnTest1_20, "RConnTest1_20"); +_LIT(KRConnTest1_21, "RConnTest1_21"); +_LIT(KRConnTest1_22, "RConnTest1_22"); +_LIT(KRConnTest1_23, "RConnTest1_23"); +_LIT(KRConnTest1_24, "RConnTest1_24"); +_LIT(KRConnTest1_25, "RConnTest1_25"); +_LIT(KRConnTest1_26, "RConnTest1_26"); +_LIT(KRConnTest1_27, "RConnTest1_27"); +_LIT(KRConnTest1_28, "RConnTest1_28"); +_LIT(KRConnTest1_29, "RConnTest1_29"); +_LIT(KRConnTest1_30, "RConnTest1_30"); +_LIT(KRConnTest1_31, "RConnTest1_31"); +_LIT(KRConnTest1_32, "RConnTest1_32"); +_LIT(KRConnTest1_33, "RConnTest1_33"); + +// Config file +_LIT(KNameDefault, "default"); +_LIT(KIpAddr, "IpAddr"); +_LIT(KGatewayAddr, "GatewayAddr"); +_LIT(KDestAddr, "DestAddr"); +_LIT(KLocalAddr, "LocalAddr"); +_LIT(KLocalPort, "LocalPort"); +_LIT(KDestPort, "DestPort"); +_LIT(KTcpDestPort, "TcpDestPort"); +_LIT(KRealDestAddr, "RealDestAddr"); +_LIT(KRealDestPort, "RealDestPort"); + +//Test code +_LIT(KCommand, "aCommand = %S"); +_LIT(KSection, "aSection = %S"); + +//Test code error +_LIT(KInetInputFail, "TInetAddr Input failed with error: %d"); + +#define TUNDRIVER_IAP 14 +#define REAL_IAP 9 +#define LOCAL_PORT 7777 + +// public +//LOCAL_D CConsoleBase* console; + + +/** +Constructor. + +@internalTechnology + */ +CTunDriverTestWrapper::CTunDriverTestWrapper() + { + } + +/** +Destructor. + +@internalTechnology + */ +CTunDriverTestWrapper::~CTunDriverTestWrapper() + { + } + +/** +Function to instantiate TestWrapper. +@return Returns constructed TestWrapper instance pointer +@internalTechnology + */ +CTunDriverTestWrapper* CTunDriverTestWrapper::NewL() + { + CTunDriverTestWrapper* ret = new (ELeave) CTunDriverTestWrapper(); + CleanupStack::PushL(ret); + ret->ConstructL(); + CleanupStack::Pop(ret); + return ret; + } + +/** +Second level constructor, constructs TestWrapper instance. +@internalTechnology + */ +void CTunDriverTestWrapper::ConstructL() + { + iInitNumOfInterfaces = 0; + iCurNumOfInterfaces = 0; + iDestPort = 0; + + } + +/** +Function to map the input command to respective function. + +@return - True Upon successfull command to Function name mapping otherwise False +@param aCommand Function name has to be called +@param aSection INI file paramenter section name +@param aAsyncErrorIndex Error index +@see Refer the script file COMMAND section. + +@internalTechnology + */ +TBool CTunDriverTestWrapper::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/) + { + TBool ret = ETrue; + + // Print out the parameters for debugging + INFO_PRINTF2( KCommand, &aCommand ); + INFO_PRINTF2( KSection, &aSection ); + //INFO_PRINTF2( KAsyncErrorIndex, aAsyncErrorIndex ); + + //RConnection Testcases + if(KRConnTest1_1() == aCommand) + { + DoRConnTest1_1(); + } + else if(KRConnTest1_2() == aCommand) + { + DoRConnTest1_2(); + } + else if(KRConnTest1_3() == aCommand) + { + DoRConnTest1_3(aSection); + } + else if(KRConnTest1_4() == aCommand) + { + DoRConnTest1_4(aSection); + } + else if(KRConnTest1_5() == aCommand) + { + DoRConnTest1_5(aSection); + } + else if(KRConnTest1_6() == aCommand) + { + DoRConnTest1_6(aSection); + } + else if(KRConnTest1_7() == aCommand) + { + DoRConnTest1_7(aSection); + } + else if(KRConnTest1_8() == aCommand) + { + DoRConnTest1_8(aSection); + } + else if(KRConnTest1_9() == aCommand) + { + DoRConnTest1_9(aSection); + } + else if(KRConnTest1_10() == aCommand) + { + DoRConnTest1_10(aSection); + } + else if(KRConnTest1_11() == aCommand) + { + DoRConnTest1_11(); + } + else if(KRConnTest1_12() == aCommand) + { + DoRConnTest1_12(); + } + else if(KRConnTest1_13() == aCommand) + { + DoRConnTest1_13(aSection); + } + else if(KRConnTest1_14() == aCommand) + { + DoRConnTest1_14(aSection); + } + else if(KRConnTest1_15() == aCommand) + { + DoRConnTest1_15(); + } + else if(KRConnTest1_16() == aCommand) + { + DoRConnTest1_16(aSection); + } + else if(KRConnTest1_17() == aCommand) + { + DoRConnTest1_17(aSection); + } + else if(KRConnTest1_18() == aCommand) + { + + } + else if(KRConnTest1_19() == aCommand) + { + + } + else if(KRConnTest1_20() == aCommand) + { + DoRConnTest1_20(); + } + else if(KRConnTest1_21() == aCommand) + { + DoRConnTest1_21(); + } + else if(KRConnTest1_22() == aCommand) + { + DoRConnTest1_22(); + } + else if(KRConnTest1_23() == aCommand) + { + DoRConnTest1_23(); + } + else if(KRConnTest1_24() == aCommand) + { + DoRConnTest1_24(); + } + else if(KRConnTest1_25() == aCommand) + { + DoRConnTest1_25(); + } + else if(KRConnTest1_26() == aCommand) + { + DoRConnTest1_26(); + } + else if(KRConnTest1_27() == aCommand) + { + DoRConnTest1_27(); + } + else if(KRConnTest1_28() == aCommand) + { + DoRConnTest1_28(); + } + else if(KRConnTest1_29() == aCommand) + { + DoRConnTest1_29(); + } + else if(KRConnTest1_30() == aCommand) + { + DoRConnTest1_30(); + } + else if(KRConnTest1_31() == aCommand) + { + DoRConnTest1_31(); + } + else if(KRConnTest1_32() == aCommand) + { + DoRConnTest1_32(); + } + else if(KRConnTest1_33() == aCommand) + { + DoRConnTest1_33(); + } + else + { + ret = EFalse; + User::LeaveIfError(KErrNone); // just to suppress LeaveScan warning + } + return ret; + } + +/** +Function to open Virtual Socket. +@internalTechnology + */ + +TBool CTunDriverTestWrapper::FindInterface(TPckgBuf &info) + { + TBool success = FALSE; + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + + return success; + } + + if((iStatus = iConnection1.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + + return success; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection1.Start(iCommDbPref, iStatus); + + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection1)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + + User::LeaveIfError( iSocket1.SetOpt( KSoInetEnumInterfaces, KSolInetIfCtrl ) ); + + TProtocolDesc in; + User::LeaveIfError( iSocket1.Info( in ) ); + TInt res = iSocket1.GetOpt( KSoInetNextInterface, KSolInetIfCtrl, info ); + if (res != KErrNone) + { + User::Leave( res ); + } + + TPckgBuf next; + + + while (res == KErrNone) + { + res = iSocket1.GetOpt( KSoInetNextInterface, KSolInetIfCtrl, next ); + if (res == KErrNone) + info = next; + //Compare the string with interface name + if (info().iName.Mid(1,4).Compare(_L("TunDriver"))) + //if (info().iName == KIfName) + { + success = TRUE; + break; + + } + else + { + continue; + } + } + + return success; + + + } + +TInt CTunDriverTestWrapper::StartD3PApp() + { + TInt err(0); + if ((err = p.Create(KDummy3rdPartyApp,KArg)) == KErrNone) + { + p.Resume(); + } + else + { + ERR_PRINTF2(_L("Error Opening Dummy3rdPartyApp: %d"), iVTunError); + SetError(err); + return(err); + } + //Wait for Dummy3rdPartyApp to be up and running! + User::After(10000000); //10 Sec + return(err); + } + +void CTunDriverTestWrapper::StopD3PApp() + { + p.Kill(NULL); //Kill Dummy3rdPartyApp. + } + +//Gurpreet: RConnection Testcases + +void CTunDriverTestWrapper::DoRConnTest1_1() + { + INFO_PRINTF1(_L("********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_1 ")); + INFO_PRINTF1(_L("********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iVTunError = iConnection.Start(iCommDbPref); + //User::WaitForRequest(iStatus); + INFO_PRINTF2(_L("Starting Connection %d.\n"), iVTunError); + + if(iVTunError!= KErrNone) + { + SetError(iVTunError); + } + iConnection.Close(); + iSocketServ.Close(); + } + +void CTunDriverTestWrapper::DoRConnTest1_2() + { + INFO_PRINTF1(_L("********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_2 ")); + INFO_PRINTF1(_L("********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + iConnection.Close(); + iSocketServ.Close(); + } + +void CTunDriverTestWrapper::DoRConnTest1_3(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_3 ")); + INFO_PRINTF1(_L("********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iConnection.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if (iStatus.Int() != KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + INFO_PRINTF1(_L("Connection started!\n ")); + + //open socket on interface. + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + iDestAddr.SetPort(iDestPort); + + //bind local port to socket + err = iSocket.SetLocalPort(7776); + + //send data to server + iSocket.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed")); + SetError(iStatus.Int()); + } + iSocket.Close(); + iSocketServ.Close(); + + StopD3PApp(); + + } + +void CTunDriverTestWrapper::DoRConnTest1_4(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_4 ")); + INFO_PRINTF1(_L("********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if (iStatus.Int() != KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //open socket on interface. + + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + iDestAddr.SetPort(iDestPort); + + //bind local port to socket + err = iSocket.SetLocalPort(LOCAL_PORT); + + //send data to server + iSocket.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed")); + SetError(iStatus.Int()); + } + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + + StopD3PApp(); + + } + +void CTunDriverTestWrapper::DoRConnTest1_5(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_5 ")); + INFO_PRINTF1(_L("********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + if((iStatus = iConnection.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if (iStatus.Int() != KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + if((iStatus = iSocket2.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket2 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + iDestAddr.SetPort(iDestPort); + + //bind local port to socket + err = iSocket1.SetLocalPort(LOCAL_PORT); + if(err != KErrNone) + { + ERR_PRINTF2(_L("Error Binding Socket1: %d"), err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + //bind local port to socket + err = iSocket2.SetLocalPort(LOCAL_PORT + 1); + if(err != KErrNone) + { + ERR_PRINTF2(_L("Error Binding Socket2: %d"), err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Nokia sues Apple!";//"Sending Data through Socket1!"; + + //send data to server + iSocket1.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru socket1")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + + iRecvBuf.Zero(); + iSocket1.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket1 : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)" Socket2:Nokia sues Apple!"; + iSocket2.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru socket2")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + + iRecvBuf.Zero(); + iSocket2.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + temp.Zero(); + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket2: ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket2")); + SetError(iStatus.Int()); + } + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + + StopD3PApp(); + + } + +void CTunDriverTestWrapper::DoRConnTest1_6(const TDesC& aSection) + { + + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_6 ")); + INFO_PRINTF1(_L("*********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + if((iStatus = iConnection1.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iConnection2.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection2 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection1.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection1 %d.\n"), iStatus.Int()); + + + iConnection2.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + INFO_PRINTF2(_L("Starting Connection2 %d.\n"), iStatus.Int()); + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection1)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + if((iStatus = iSocket2.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection2)) == KErrNone ) + INFO_PRINTF1(_L("Socket2 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket1.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket1: Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket1.SetLocalPort(LOCAL_PORT); + if(err != KErrNone) + { + ERR_PRINTF1(_L("Error in setting local port to socket1")); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + err = iSocket2.SetLocalPort(LOCAL_PORT+1); + if(err != KErrNone) + { + ERR_PRINTF1(_L("Error in setting local port to socket1")); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //send data to server + iSocket1.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent for socket1")); + else + { + ERR_PRINTF1(_L("\nData sending failed for socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket2: Nokia sues Apple!"; + iSocket2.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent for socket2")); + else + { + ERR_PRINTF1(_L("\nData sending failed for socket2")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket1.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket1 : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Sending Data through Socket2!"; + iSocket2.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru socket2")); + else + { + ERR_PRINTF1(_L("\nData sending failed through socket2")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + + iRecvBuf.Zero(); + iSocket2.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + temp.Zero(); + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket2: ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket2")); + SetError(iStatus.Int()); + } + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + +//Sockets sending concurrently over same interface but from different socket servers +//(Connection explicitly created) +void CTunDriverTestWrapper::DoRConnTest1_7(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_7 ")); + INFO_PRINTF1(_L("*********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ1.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server1 Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iSocketServ2.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server2 Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + StopD3PApp(); + return; + } + if((iStatus = iConnection1.Open(iSocketServ1 /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + if((iStatus = iConnection2.Open(iSocketServ2 /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection2 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection1.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection1 %d.\n"), iStatus.Int()); + + iConnection2.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection2 %d.\n"), iStatus.Int()); + + //Enumerate the number of interfaces + iConnection1.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces: %d!\n "), iInitNumOfInterfaces); + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ1, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection1)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + if((iStatus = iSocket2.Open(iSocketServ2, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection2)) == KErrNone ) + INFO_PRINTF1(_L("Socket2 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket1.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket1: Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestPort")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket1.SetLocalPort(LOCAL_PORT); + + if(err != KErrNone) + { + ERR_PRINTF1(_L("Error in setting local port to socket1")); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + err = iSocket2.SetLocalPort(LOCAL_PORT+1); + if(err != KErrNone) + { + ERR_PRINTF1(_L("Error in setting local port to socket1")); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + //send data to server + iSocket1.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent for socket1")); + else + { + ERR_PRINTF1(_L("\nData sending failed for socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + iRecvBuf.Zero(); + iSocket1.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket1 : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket2: Nokia sues Apple!"; + iSocket2.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent for socket2")); + else + { + ERR_PRINTF1(_L("\nData sending failed for socket2")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + + iRecvBuf.Zero(); + User::After(30000); + iSocket2.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + temp.Zero(); + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket2: ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket2")); + SetError(iStatus.Int()); + } + + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + } + + +//Sockets sending from within different socket servers over different interfaces +//(Connection explicitly created) +void CTunDriverTestWrapper::DoRConnTest1_8(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_8 ")); + INFO_PRINTF1(_L("*********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ1.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server1 Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iSocketServ2.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server2 Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + if((iStatus = iConnection1.Open(iSocketServ1)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iConnection2.Open(iSocketServ2)) == KErrNone ) + INFO_PRINTF1(_L("Connection2 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref1.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref1.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref1.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection1.Start(iCommDbPref1, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection1 %d.\n"), iStatus.Int()); + + iCommDbPref2.SetIapId(REAL_IAP); // Ethernet Interface + iCommDbPref2.SetBearerSet(KCommDbBearerLAN); + iCommDbPref2.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection2.Start(iCommDbPref2, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + INFO_PRINTF2(_L("Starting Connection2 %d.\n"), iStatus.Int()); + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ1, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection1)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + if((iStatus = iSocket2.Open(iSocketServ2, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection2)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket1.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket1: Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket1.SetLocalPort(LOCAL_PORT); + if(err != KErrNone) + { + ERR_PRINTF1(_L("Error in setting local port to socket1")); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + //read Real interface ip addr and port from config file + returnValue = GetStringFromConfig(aSection, KRealDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading RealDestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + err = iRealDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KRealDestPort, iRealDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading RealDestAddr")); + SetError(KErrUnknown); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + iRealDestAddr.SetPort(iRealDestPort); + //bind local port to socket + //err = iSocket2.SetLocalPort(LOCAL_PORT); + //send data to server + iSocket1.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru virtual interface")); + else + { + ERR_PRINTF1(_L("\nData sending failed through virtual interface")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket1.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket1 : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket1")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Socket2: Nokia sues Apple!"; + iSocket2.SendTo(iSendBuf, iRealDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru real interface")); + else + { + ERR_PRINTF1(_L("\nData sending failed through real interface")); + SetError(iStatus.Int()); + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + return; + + } + iRecvBuf.Zero(); + iSocket2.RecvFrom(iRecvBuf, iRealDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + temp.Zero(); + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket2: ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket2")); + SetError(iStatus.Int()); + } + + iSocket1.Close(); + iSocket2.Close(); + iConnection1.Close(); + iConnection2.Close(); + iSocketServ1.Close(); + iSocketServ2.Close(); + StopD3PApp(); + } + +void CTunDriverTestWrapper::DoRConnTest1_9(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_9 ")); + INFO_PRINTF1(_L("********************************************")); +#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY + CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); +#else + CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); +#endif + CleanupStack::PushL(cmdbSession); + + CCDIAPRecord *iapRecord = (CCDIAPRecord*)CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord); + CleanupStack::PushL(iapRecord); + + iapRecord->SetRecordId(14); + + iapRecord->LoadL(*cmdbSession); + + //iapRecord->iServiceType; + TUint recid = iapRecord->iService; + CCDLANServiceRecord *lanRecord = (CCDLANServiceRecord*)CCDRecordBase::RecordFactoryL(KCDTIdLANServiceRecord); + CleanupStack::PushL(lanRecord); + + lanRecord->SetRecordId(recid); + + lanRecord->LoadL(*cmdbSession); + + // Get gateway address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KGatewayAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + return; + } + + // Create address + TInetAddr gwAddr; + TInt err = gwAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + return; + } + TPtrC displayIpAddr(lanRecord->iIpAddr); + //INFO_PRINTF2(_L("lanRecord ipAddr is %S"), &displayIpAddr); + + TPtrC ipGateway(_L("10.1.1.100")); + //TPtrC ipGateway(ptrToReadFromConfig); + lanRecord->iIpGateway.SetMaxLengthL(ipGateway.Length()); + lanRecord->iIpGateway = ipGateway; + + + // Get gateway address from config file + returnValue = GetStringFromConfig(aSection, KIpAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + return; + } + //TPtrC ipAddr(_L("10.1.1.100")); + TPtrC ipAddr(ptrToReadFromConfig); + lanRecord->iIpAddr.SetMaxLengthL(ipAddr.Length()); + lanRecord->iIpAddr = ipAddr; + + TRAPD(modifyErr, lanRecord->ModifyL(*cmdbSession)); + INFO_PRINTF2(_L("lanRecord ModifyL result was %d. Should be 0"), modifyErr); + + TPtrC displayIpAddr2(lanRecord->iIpAddr); + INFO_PRINTF2(_L("lanRecord ipAddr is %S"), &displayIpAddr2); + CleanupStack::PopAndDestroy(lanRecord); + CleanupStack::PopAndDestroy(iapRecord); + CleanupStack::PopAndDestroy(cmdbSession); + + + } + +//Ensure that Close() effectively pulls down the interface +//when no other subsessions are associated with it. +void CTunDriverTestWrapper::DoRConnTest1_10(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_10 ")); + INFO_PRINTF1(_L("********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if (iStatus.Int() != KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //Enumerate the number of interfaces + iConnection.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces: %d!\n "), iInitNumOfInterfaces); + + //open socket on interface. + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Nokia sues Apple!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket.SetLocalPort(LOCAL_PORT); + if (err != KErrNone) + { + ERR_PRINTF1(_L("Error setting local port")); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + //send data to server + iSocket.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed.")); + SetError(iStatus.Int()); + } + + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + + StopD3PApp(); + + } + +//Ensure that Close() does not pull down the interface when there are other +//connections associated with it. +void CTunDriverTestWrapper::DoRConnTest1_11() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_11 ")); + INFO_PRINTF1(_L("*********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection1.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection2.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection2 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection1.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection1 %d.\n"), iStatus.Int()); + iConnection2.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection2 %d.\n"), iStatus.Int()); + + //Enumerate the number of interfaces + iConnection2.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces: %d!\n "), iInitNumOfInterfaces); + + iConnection1.Close(); + User::After(30000); + + iConnection2.EnumerateConnections(iCurNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces after closing 1st Connection: %d!\n "), iCurNumOfInterfaces); + if(iCurNumOfInterfaces == iInitNumOfInterfaces) + INFO_PRINTF1(_L("Number of interfaces before and after closing the connection is same")); + else + { + ERR_PRINTF1(_L("ERROR: More Number of Interfaces than expected.")); + SetError(KErrGeneral); + return; + } + iConnection2.Stop(); + User::After(30000); + iSocketServ.Close(); + } + +//Ensure that Stop() pulls down the interface when there are no subsessions +//other than the connection associated with it. +void CTunDriverTestWrapper::DoRConnTest1_12() + { + + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_12 ")); + INFO_PRINTF1(_L("*********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iCommDbPref1.SetIapId(REAL_IAP); // Virtual Interface + iCommDbPref1.SetBearerSet(KCommDbBearerLAN); + iCommDbPref1.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref1,iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //Enumerate the number of interfaces + iConnection.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of initial Interfaces: %d!\n "), iInitNumOfInterfaces); + + TInt MyErr = iConnection.Stop(); + User::After(30000); + iConnection.EnumerateConnections(iCurNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces after stopping the connection: %d!\n "), iCurNumOfInterfaces); + if(iCurNumOfInterfaces>=iInitNumOfInterfaces) + { + ERR_PRINTF1(_L("ERROR: More Number of Interfaces than expected.")); + SetError(KErrGeneral); + return; + } + iSocketServ.Close(); + } + +//Ensure that Stop() pulls down the interface when +//there are sockets associated with it. +void CTunDriverTestWrapper::DoRConnTest1_13(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_13 ")); + INFO_PRINTF1(_L("*********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //open socket on interface. + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Sending Data through Socket!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket.SetLocalPort(LOCAL_PORT); + if (err != KErrNone) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + //send data to server + iSocket.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iRecvBuf.Zero(); + iSocket.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone) + { + INFO_PRINTF1(_L("\nData Received from Socket : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket")); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + + //Enumerate the number of interfaces + iConnection.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of Init Interfaces: %d!\n "), iInitNumOfInterfaces); + + iConnection.Stop(); + User::After(30000); + iConnection.EnumerateConnections(iCurNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces after Stopping the interface: %d!\n "), iCurNumOfInterfaces); + if(iCurNumOfInterfaces>=iInitNumOfInterfaces) + { + ERR_PRINTF1(_L("ERROR: More Number of Interfaces than expected.")); + SetError(KErrGeneral); + } + iSocket.Close(); + iSocketServ.Close(); + StopD3PApp(); + } + +//Stop() a connection and ensure that other connections over +//other interfaces are unaffected. +void CTunDriverTestWrapper::DoRConnTest1_14(const TDesC& aSection) + { + + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_14 ")); + INFO_PRINTF1(_L("*********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + + return; + } + + if((iStatus = iConnection1.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection1 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + + return; + } + iCommDbPref1.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref1.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref1.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + iConnection1.Start(iCommDbPref1,iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection1 %d.\n"), iStatus.Int()); + + if((iStatus = iConnection2.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection2 opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + iCommDbPref2.SetIapId(REAL_IAP); // Virtual Interface + iCommDbPref2.SetBearerSet(KCommDbBearerLAN); + iCommDbPref2.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + iConnection2.Start(iCommDbPref2, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection1.Close(); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection2 %d.\n"), iStatus.Int()); + //enumnerate the interfaces + iConnection1.EnumerateConnections(iInitNumOfInterfaces); + INFO_PRINTF2(_L("Number of Initial Interfaces: %d!\n "), iInitNumOfInterfaces); + + //Shutdown the first connection. + iConnection1.Stop(); + + //enumnerate the interfaces again. + iConnection2.EnumerateConnections(iCurNumOfInterfaces); + INFO_PRINTF2(_L("Number of Interfaces after Stopping the VTun Interface: %d!\n "), iCurNumOfInterfaces); + if(iCurNumOfInterfaces>iInitNumOfInterfaces) + { + ERR_PRINTF1(_L("ERROR: More Number of Interfaces than expected.")); + SetError(KErrGeneral); + iConnection2.Close(); + iSocketServ.Close(); + return; + } + //open udp socket over second connection and send data over it. + + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp, iConnection2)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection2.Close(); + iSocketServ.Close(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Sending Data through Socket!"; + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KRealDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection2.Close(); + iSocketServ.Close(); + return; + } + //set destination IP ie. server + TInt err = iRealDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iConnection2.Close(); + iSocketServ.Close(); + return; + } + + returnValue = GetIntFromConfig(aSection, KRealDestPort, iRealDestPort); + iRealDestAddr.SetPort(iRealDestPort); + //bind local port to socket + err = iSocket.SetLocalPort(LOCAL_PORT); + + //send data to server + iSocket.SendTo(iSendBuf, iRealDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent")); + else + { + ERR_PRINTF2(_L("\nData sending failed: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection2.Close(); + iSocketServ.Close(); + return; + } + + iRecvBuf.Zero(); + iSocket.RecvFrom(iRecvBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + TBuf<128> temp; + if( iStatus == KErrNone ) + { + INFO_PRINTF1(_L("\nData Received from Socket : ")); + temp.Copy(iRecvBuf); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + } + else + { + ERR_PRINTF1(_L("\nData receive failed on Socket")); + SetError(iStatus.Int()); + } + + iSocket.Close(); + iConnection2.Close(); + iSocketServ.Close(); + + } + +void CTunDriverTestWrapper::DoRConnTest1_15() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_15 ")); + INFO_PRINTF1(_L("********************************************")); + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + iSocket.Open(iSocketServ,_L("tun")); + + TUint localPort = 6789; + TPckgC portPckg (localPort); + + //Positive case + + if((iStatus = iSocket.SetOpt(KSolInetIp,KSoTunnelPort,portPckg)) == KErrNone ) + INFO_PRINTF1(_L("Socket SetOpt Positive scenario succesful Opened.\n")); + else + { + ERR_PRINTF2(_L("Error in Socket SetOpt: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket.Close(); + iSocketServ.Close(); + return; + } + + //Negative Case #1 + if((iStatus = iSocket.SetOpt(KSolInetUdp,KSoTunnelPort,portPckg)) == KErrNotSupported ) + INFO_PRINTF1(_L("Socket SetOpt Negative scenario #1 succesful Opened.\n")); + else + { + ERR_PRINTF2(_L("Error in Socket SetOpt: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket.Close(); + iSocketServ.Close(); + return; + } + + //Negative Case #2 + if((iStatus = iSocket.SetOpt(KSolInetUdp,KSoNoSourceAddressSelect,portPckg)) == KErrNotSupported ) + INFO_PRINTF1(_L("Socket SetOpt Negative scenario #2 succesful Opened.\n")); + else + { + ERR_PRINTF2(_L("Error in Socket SetOpt: %d"), iStatus.Int()); + SetError(iStatus.Int()); + } + + iSocket.Close(); + iSocketServ.Close(); + } + +void CTunDriverTestWrapper::DoRConnTest1_16(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_16 ")); + INFO_PRINTF1(_L("********************************************")); + + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + if((iStatus = iConnection.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + iSocket.Open(iSocketServ,_L("tun")); + + TUint localPort = 6789; + TPckgC portPckg (localPort); + + //Setting the Port Number into the Stack + if((iStatus = iSocket.SetOpt(KSolInetIp,KSoTunnelPort,portPckg)) == KErrNone ) + INFO_PRINTF1(_L("Socket SetOpt Positive scenario succesful Opened.\n")); + else + { + ERR_PRINTF2(_L("Error in Socket SetOpt: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + //set destination IP + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + //set the destination port + returnValue = GetIntFromConfig(aSection, KDestPort, iDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + iDestAddr.SetPort(iDestPort); + + //retrieve the local address + TInetAddr iLocalAddr; + returnValue = GetStringFromConfig(aSection, KLocalAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading LocalAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + err = iLocalAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + iLocalAddr.SetPort(LOCAL_PORT); + + //open socket on interface. + if((iStatus = iSocket1.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp,iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket1 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket1: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + //open socket on interface. + if((iStatus = iSocket2.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetIcmp,iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket2 Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF2(_L("Error Opening Socket2: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocket.Close(); + iSocket1.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + err = iSocket1.Bind(iLocalAddr); + if(err != KErrNone) + { + ERR_PRINTF2(_L("Error Binding Socket1: %d"), err); + SetError(iStatus.Int()); + iSocket.Close(); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + TInt iLocalPort; + returnValue = GetIntFromConfig(aSection, KLocalPort, iLocalPort); + iLocalAddr.SetPort(iLocalPort); + + err = iSocket2.Bind(iLocalAddr); + if(err != KErrNone) + { + ERR_PRINTF2(_L("Error Binding Socket2: %d"), err); + SetError(iStatus.Int()); + iSocket.Close(); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + iSendBuf.Zero(); + iSendBuf = (TText8*)"Test Message"; + + //send data to server using the local port = LOCAL_PORT (7777) + iSocket1.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru socket1")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + iSocket.Close(); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + return; + } + + //send data to server using the local port configured in ini file + iSocket2.SendTo(iSendBuf, iDestAddr, NULL, iStatus); + User::WaitForRequest(iStatus); + + if( iStatus == KErrNone) + INFO_PRINTF1(_L("\nData Sent thru socket2")); + else + { + ERR_PRINTF1(_L("\nData sending failed")); + SetError(iStatus.Int()); + } + iSocket.Close(); + iSocket1.Close(); + iSocket2.Close(); + iConnection.Close(); + iSocketServ.Close(); + } + +//Simple TCP data transfer. +void CTunDriverTestWrapper::DoRConnTest1_17(const TDesC& aSection) + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_17 ")); + INFO_PRINTF1(_L("*********************************************")); + + //start the dummy3rdpartyapp + if ((iVTunError = StartD3PApp()) != KErrNone) + { + return; + } + + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + StopD3PApp(); + return; + } + + if((iStatus = iConnection.Open(iSocketServ /*, KAfInet*/)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + //open socket on interface. + if((iStatus = iSocket.Open(iSocketServ, KAfInet, KSockStream, KProtocolInetTcp, iConnection)) == KErrNone ) + INFO_PRINTF1(_L("Socket Opened!\n ")); + else // (iStatus!=KErrNone) + { + ERR_PRINTF1(_L("Error Opening Socket!")); + SetError(iStatus.Int()); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + // Get destination address from config file + TPtrC ptrToReadFromConfig(KNameDefault); + TBool returnValue = GetStringFromConfig(aSection, KDestAddr, ptrToReadFromConfig); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestAddr")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + //set destination IP ie. server + TInt err = iDestAddr.Input(ptrToReadFromConfig); + if(err != KErrNone) + { + INFO_PRINTF2(KInetInputFail, err); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + returnValue = GetIntFromConfig(aSection, KTcpDestPort, iDestPort); + if (!returnValue) + { + ERR_PRINTF1(_L("Reading config file failed, while reading DestPort")); + SetError(KErrUnknown); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + iDestAddr.SetPort(iDestPort); + //bind local port to socket + err = iSocket.SetLocalPort(7776); + if (err != KErrNone) + { + ERR_PRINTF1(_L("Error Setting local port")); + SetError(err); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + + iSocket.Connect(iDestAddr,iStatus); + User::WaitForRequest(iStatus); + if (iStatus != KErrNone) + { + ERR_PRINTF1(_L("Error Connecting to Server!")); + SetError(iStatus.Int()); + iSocket.Close(); + iConnection.Close(); + iSocketServ.Close(); + StopD3PApp(); + return; + } + else + { + INFO_PRINTF2(_L("tcp Start with = %d\n"), iStatus.Int()); + } + TBuf8<128> receiveBuffer; + TBuf<128> temp; + + do + { + TSockXfrLength aLen = 0; + iRecvBuf.FillZ(); + iSocket.RecvOneOrMore(receiveBuffer,0,iStatus,aLen); + User::WaitForRequest(iStatus); + temp.Copy(receiveBuffer); + + INFO_PRINTF1(_L("\nData Received from Socket : ")); + INFO_PRINTF1(temp); + INFO_PRINTF1(_L("\n")); + + }while(iStatus == KErrNone); + + //Close the Connection,Socket and socket server. + iSocket.Close(); + iConnection.Stop(); + iSocketServ.Close(); + StopD3PApp(); + } + + +//For Code Coverage. + +void CTunDriverTestWrapper::DoRConnTest1_20() +{ + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_20 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_21() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_21 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_22() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_22 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_23() + { + + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_23 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + + +void CTunDriverTestWrapper::DoRConnTest1_24() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_24 ")); + INFO_PRINTF1(_L("********************************************")); + + StartConn(); + + + + + + } + +void CTunDriverTestWrapper::DoRConnTest1_25() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_25 ")); + INFO_PRINTF1(_L("********************************************")); + + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_26() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_26 ")); + INFO_PRINTF1(_L("********************************************")); + + + StartConn(); + } + + +void CTunDriverTestWrapper::DoRConnTest1_27() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_27 ")); + INFO_PRINTF1(_L("********************************************")); + + StartConn(); + } + + +void CTunDriverTestWrapper::DoRConnTest1_28() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_28 ")); + INFO_PRINTF1(_L("********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_29() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_29 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_30() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_30 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_31() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_31 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + + +void CTunDriverTestWrapper::DoRConnTest1_32() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_32 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + +void CTunDriverTestWrapper::DoRConnTest1_33() + { + INFO_PRINTF1(_L("*********************************************")); + INFO_PRINTF1(_L(" Test: DoRConnTest1_33 ")); + INFO_PRINTF1(_L("*********************************************")); + + StartConn(); + } + + +void CTunDriverTestWrapper::StartConn() + { + if((iStatus = iSocketServ.Connect()) == KErrNone ) + INFO_PRINTF1(_L("Socket Server Opened.\n")); + else + { + ERR_PRINTF2(_L("Error Opening Socket Server: %d"), iStatus.Int()); + SetError(iStatus.Int()); + return; + } + + if((iStatus = iConnection.Open(iSocketServ)) == KErrNone ) + INFO_PRINTF1(_L("Connection opened. \n")); + else + { + ERR_PRINTF2(_L("Error Opening Connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + + iCommDbPref.SetIapId(TUNDRIVER_IAP); // Virtual Interface + iCommDbPref.SetBearerSet(KCommDbBearerVirtual); + iCommDbPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); + iConnection.Start(iCommDbPref, iStatus); + User::WaitForRequest(iStatus); + if(iStatus.Int()!=KErrNone) + { + ERR_PRINTF2(_L("Error starting connection: %d"), iStatus.Int()); + SetError(iStatus.Int()); + iSocketServ.Close(); + return; + } + INFO_PRINTF2(_L("Starting Connection %d.\n"), iStatus.Int()); + + iConnection.Stop(); + iSocketServ.Close(); + } diff -r e36178c55292 -r 61fa4f7b5dd1 networkcontrol/iptransportlayer/src/ipcpr_activities.cpp --- a/networkcontrol/iptransportlayer/src/ipcpr_activities.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/networkcontrol/iptransportlayer/src/ipcpr_activities.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -48,8 +48,6 @@ using namespace IpCprStates; using namespace MeshMachine; - - namespace IpCprActivities { @@ -111,18 +109,20 @@ DECLARE_DEFINE_CUSTOM_NODEACTIVITY(ECFActivityNoBearer, IpCprNoBearer, TCFControlProvider::TNoBearer, PRActivities::CNoBearer::NewL) FIRST_NODEACTIVITY_ENTRY(CoreNetStates::TAwaitingNoBearer, PRActivities::CNoBearer::TNoTagOrBearerPresentBlockedByNoBearer) NODEACTIVITY_ENTRY(KNoTag, CoreNetStates::TSendNoBearer, MeshMachine::TAwaitingMessageState, MeshMachine::TNoTagOrErrorTag) + NODEACTIVITY_ENTRY(KNoTag, CoreNetStates::TStartServiceProviderRetry, CoreNetStates::TAwaitingStarted, MeshMachine::TNoTag) + NODEACTIVITY_ENTRY(CoreNetStates::KBearerPresent, PRActivities::CNoBearer::TRequestCommsBinderRetry, CoreNetStates::TAwaitingBinderResponse, MeshMachine::TTag) NODEACTIVITY_ENTRY(CoreNetStates::KBearerPresent, CoreNetStates::TSendBindTo, CoreNetStates::TAwaitingBindToComplete, MeshMachine::TTag) - THROUGH_NODEACTIVITY_ENTRY(CoreNetStates::KBearerPresent,CoreActivities::ABindingActivity::TSendBindToComplete, MeshMachine::TNoTag) + THROUGH_NODEACTIVITY_ENTRY(CoreNetStates::KBearerPresent,CoreActivities::ABindingActivity::TSendBindToComplete, PRActivities::CNoBearer::TNoTagOrBearerPresentForAutostart) - NODEACTIVITY_ENTRY(KNoTag, CoreNetStates::TStartServiceProviderRetry, CoreNetStates::TAwaitingStarted, MeshMachine::TNoTag) + NODEACTIVITY_ENTRY(CoreNetStates::KBearerPresent, CoreNetStates::TStartServiceProviderRetry, CoreNetStates::TAwaitingStarted, MeshMachine::TNoTag) #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW //Request for bearer type from lower layer NODEACTIVITY_ENTRY(KNoTag, IpCprStates::TInitialiseParamsAndSendToSelf, CoreNetStates::TAwaitingParamResponse, MeshMachine::TNoTag) //MCPR is updated with the bearer type - THROUGH_NODEACTIVITY_ENTRY(KNoTag, IpCprStates::TUpdateProvisionConfigAtStartup, TNoTag) + THROUGH_NODEACTIVITY_ENTRY(KNoTag, IpCprStates::TUpdateProvisionConfigAtStartup, MeshMachine::TNoTag) //Throughnode activity which will send the TCP receive window size to the data clients THROUGH_NODEACTIVITY_ENTRY(KNoTag, IpCprStates::TSendTransportNotificationToDataClients, MeshMachine::TNoTag) #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW diff -r e36178c55292 -r 61fa4f7b5dd1 networkingsrv_info/networkingrom/group/NetworkTest.iby --- a/networkingsrv_info/networkingrom/group/NetworkTest.iby Thu Sep 02 16:03:26 2010 +0100 +++ b/networkingsrv_info/networkingrom/group/NetworkTest.iby Fri Sep 17 17:15:59 2010 +0100 @@ -310,4 +310,9 @@ #include #endif +#ifdef NW_TEST_ROM_1 +#include +#include #endif + +#endif diff -r e36178c55292 -r 61fa4f7b5dd1 networkingsrv_info/networkingrom/group/network.iby --- a/networkingsrv_info/networkingrom/group/network.iby Thu Sep 02 16:03:26 2010 +0100 +++ b/networkingsrv_info/networkingrom/group/network.iby Fri Sep 17 17:15:59 2010 +0100 @@ -170,5 +170,9 @@ #include #endif +REM --- Tun Driver IBYS +#include +#include +#include #endif // __NETWORK_IBY__ diff -r e36178c55292 -r 61fa4f7b5dd1 networkprotocols/tcpipv4v6prt/src/iface.cpp --- a/networkprotocols/tcpipv4v6prt/src/iface.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/networkprotocols/tcpipv4v6prt/src/iface.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -3426,13 +3426,6 @@ netinfo().iIAPId = iRoute->iInterface.iScope[EScopeType_IAP]; netinfo().iNetworkId = iRoute->iInterface.iScope[EScopeType_NET]; - if(iInfo.iLockType == EScopeType_IAP && iInfo.iLockId != netinfo().iIAPId) - { - iInfo.iLockId = netinfo().iIAPId; - #ifdef _LOG - Log::Printf(_L("\t\tFlow[%u] Connect ConnectionInfo changed: Lock_type:%d, Lock_id:%d"),this,iInfo.iLockType, iInfo.iLockId); - #endif - } Bearer(netinfo); RefreshFlow(); diff -r e36178c55292 -r 61fa4f7b5dd1 networksecurity/tls/protocol/AlertProtocolEvents.cpp --- a/networksecurity/tls/protocol/AlertProtocolEvents.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/networksecurity/tls/protocol/AlertProtocolEvents.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -124,6 +124,13 @@ } case KErrSSLAlertCloseNotify: { + if ( iStateMachine->iStatus.Int() == KRequestPending || + iRecordComposer.CurrentPos() != 0 || + iRecordComposer.UserData()!= NULL ) + { + LOG(Log::Printf(_L("Previous data send request is in the pending state"));) + return this; + } //Upon sending the close_notify from server report KErrEof to the application //to be intact with existing behaviour. iStateMachine->SetLastError( KErrEof ); @@ -153,7 +160,6 @@ case KErrCancel: {// A user_canceled alert should be followed by a close_notify alert. So this // event will be the next one to be processed. - iRecordComposer.SetNext( NULL ); iAlertMsg.Append( EAlertWarning ); iAlertMsg.Append( EAlertclose_notify ); iRecordComposer.SetNext( NULL ); @@ -197,14 +203,20 @@ TUint8 alertDesc = alertMsg[1]; LOG(Log::Printf(_L("CRecvAlert::ProcessL(). Alert level = %d"), alertLevel )); LOG(Log::Printf(_L("CRecvAlert::ProcessL(). Alert description = %d"), alertDesc )); - - TRequestStatus* p=&aStatus; - User::RequestComplete( p, KErrNone ); - if ( alertLevel == EAlertWarning ) + + if ( alertLevel == EAlertFatal ) + { + TRequestStatus* p=&aStatus; + User::RequestComplete( p, KErrSSLAlertHandshakeFailure ); + iStateMachine->SetLastError( KErrSSLAlertHandshakeFailure ); + } + else if ( alertLevel == EAlertWarning ) {// In all circumstances, when a warning alert is received, we carry on as normal. // There is no need to set the next event as this will be unchanged from normal // operation. For a Close_notify alert, we must send one in response. // So the next event will be CSendAlert sending a close-notify alert. + TRequestStatus* p=&aStatus; + User::RequestComplete( p, KErrNone ); if ( alertDesc == EAlertclose_notify ) { iStateMachine->SetLastError( KErrSSLAlertCloseNotify ); diff -r e36178c55292 -r 61fa4f7b5dd1 networksecurity/tls/protocol/tlsconnection.cpp --- a/networksecurity/tls/protocol/tlsconnection.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/networksecurity/tls/protocol/tlsconnection.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -1238,6 +1238,7 @@ __ASSERT_DEBUG( !aStateMachine->SuspendRequest(), TlsPanic(ETlsPanicStateMachineStopped) ); if ( aStateMachine->LastError() != KErrNone ) {//user will be notified after return from this fn + LOG(Log::Printf(_L("CTlsConnection::OnCompletion() aStateMachine->LastError() %d"), aStateMachine->LastError() );) if ( iHandshake != aStateMachine ) { return EFalse; @@ -1263,6 +1264,7 @@ {//something went completely wrong //set last error so that the user will be notified after return from this fn aStateMachine->SetLastError( ret ); + LOG(Log::Printf(_L("CTlsConnection::OnCompletion() - AppData->ResumeL Last Error %d"), aStateMachine->LastError() );) delete iSendAppData; iSendAppData = NULL; delete iRecvAppData; @@ -1287,6 +1289,7 @@ // Create the Data state machines so that the user can send/receive data __ASSERT_DEBUG( !iRecvAppData && !iSendAppData, TlsPanic(ETlsPanicStateMachineAlreadyExists)); + LOG(Log::Printf(_L(" Create the Data state machines so that the user can send/receive data") );) //don't change the order see CRecvAppData::ResumeL TRAPD( ret, iSendAppData = CSendAppData::NewL( *iRecordComposer ); iRecvAppData = CRecvAppData::NewL( *this ) ); @@ -1294,6 +1297,7 @@ {//something went completely wrong //set last error so that the user will be notified after return from this fn aStateMachine->SetLastError( ret ); + LOG(Log::Printf(_L("CTlsConnection::OnCompletion() AppData::NewL Last Error %d"), aStateMachine->LastError() );) //delete what may have been created delete iRecvAppData; iRecvAppData = 0; diff -r e36178c55292 -r 61fa4f7b5dd1 package_definition.xml --- a/package_definition.xml Thu Sep 02 16:03:26 2010 +0100 +++ b/package_definition.xml Fri Sep 17 17:15:59 2010 +0100 @@ -27,6 +27,9 @@ + + + @@ -41,6 +44,9 @@ + + + @@ -61,6 +67,9 @@ + + + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/dhcp/src/DHCPControl.cpp --- a/tcpiputils/dhcp/src/DHCPControl.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/tcpiputils/dhcp/src/DHCPControl.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -94,10 +94,10 @@ //forced to do this horrible stuff RSocket socket; User::LeaveIfError(socket.Open(iEsock, KAfInet, KSockDatagram, KProtocolInetUdp,iConnection)); + CleanupClosePushL( socket ); // make socket invisible for interface counting User::LeaveIfError(socket.SetOpt(KSoKeepInterfaceUp, KSolInetIp, 0)); - CleanupClosePushL( socket ); TPckgBuf info; while ( err == KErrNotFound && iConnection.Control(KCOLProvider, KConnGetInterfaceName, name) == KErrNone ) { diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/dnd/Test/te_dnssuffix/scripts/te_dnssuffixsuite.script --- a/tcpiputils/dnd/Test/te_dnssuffix/scripts/te_dnssuffixsuite.script Thu Sep 02 16:03:26 2010 +0100 +++ b/tcpiputils/dnd/Test/te_dnssuffix/scripts/te_dnssuffixsuite.script Fri Sep 17 17:15:59 2010 +0100 @@ -23,8 +23,7 @@ //RUN_SCRIPT z:\testdata\scripts\te_esock_test_unloadesockForced.script //Configure commdb. -//ced -i z:\testdata\configs\te_dnssuffixced.xml -ced -i z:\testdata\configs\te_dnssuffixced_basic.xml +ced -i z:\testdata\configs\te_dnssuffixced.xml RUN_SCRIPT z:\testdata\scripts\te_esock_test_loadesock.script @@ -216,7 +215,7 @@ //Configure commdb. -//ced -i z:\testdata\configs\te_dnssuffixcedv2.xml +ced -i z:\testdata\configs\te_dnssuffixcedv2.xml START_TESTCASE DNS-dnssuffix-test7 //! @SYMTestCaseID DNS-dnssuffix_test7 @@ -310,7 +309,7 @@ END_TESTCASE DNS-dnssuffix-test10 //Configure commdb. -//ced -i z:\testdata\configs\te_dnssuffixced.xml +ced -i z:\testdata\configs\te_dnssuffixced.xml START_TESTCASE DNS-dnssuffix-test11 //! @SYMTestCaseID DNS-dnssuffix_test11 diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/dnd/Test/te_dnssuffix/src/te_dnssuffixtestwrapper.cpp --- a/tcpiputils/dnd/Test/te_dnssuffix/src/te_dnssuffixtestwrapper.cpp Thu Sep 02 16:03:26 2010 +0100 +++ b/tcpiputils/dnd/Test/te_dnssuffix/src/te_dnssuffixtestwrapper.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -36,8 +36,6 @@ */ #define KIPAddrLen 39 -#define DISABLE_TUNDRIVER - // Used for handle the multiple hosts in same test cases. @See TC006 #define KMaxHosts 8 @@ -276,8 +274,7 @@ } INFO_PRINTF2(_L("First connection started successfully - IAP: %D"),iapId); - -#ifndef DISABLE_TUNDRIVER + iapId = GetSecondIapId(); if ((TInt)iapId == KErrNotFound) @@ -295,8 +292,7 @@ return err; } - INFO_PRINTF2(_L("Second connection started successfully - IAP: %D"),iapId); -#endif + INFO_PRINTF2(_L("Second connection started successfully - IAP: %D"),iapId); INFO_PRINTF1(_L("StartConnections - Exit")); return KErrNone; @@ -583,10 +579,8 @@ INFO_PRINTF1(_L("Close the connections")); -#ifndef DISABLE_TUNDRIVER if (vTunConn.SubSessionHandle()) vTunConn.Close(); -#endif if (firstConn.SubSessionHandle()) firstConn.Close(); @@ -1944,7 +1938,6 @@ return; } -#ifndef DISABLE_TUNDRIVER err = GetSecondInterfaceNameL(vTunInterface); if (KErrNone != err) @@ -1953,7 +1946,6 @@ SetError(KErrNotFound); return; } -#endif INFO_PRINTF1(_L("Setting suffix list on interface:")); @@ -2010,7 +2002,6 @@ INFO_PRINTF2(_L("Set suffix list on %S successfully"),ðernetInterface); -#ifndef DISABLE_TUNDRIVER err = SetDNSSuffixListOnInterface(iSocketServ,vTunConn,vTunInterface,iSuffixList2); if (KErrNone != err) @@ -2024,7 +2015,6 @@ } INFO_PRINTF2(_L("Set suffix list on %S successfully"),&vTunInterface); -#endif INFO_PRINTF1(_L("Opening implicit resolver")); // Open implicit resolver. @@ -2072,7 +2062,6 @@ INFO_PRINTF1(_L("Closing implicit host resolver")); resolver.Close(); -#ifndef DISABLE_TUNDRIVER if (err == KErrNone) { // Open explicit resolver. @@ -2109,7 +2098,6 @@ INFO_PRINTF1(_L("Closing explicit host resolver")); resolver2.Close(); } -#endif SetError(err); @@ -2159,10 +2147,9 @@ * Set suffix lists on vTunnel interface * Open explicit connection on other interface */ - TInt err = KErrNone; -#ifndef DISABLE_TUNDRIVER + TFileName vTunInterface; - err = GetSecondInterfaceNameL(vTunInterface); + TInt err = GetSecondInterfaceNameL(vTunInterface); if (KErrNone != err) { @@ -2187,8 +2174,7 @@ INFO_PRINTF2(_L("Suffix list: %S"),&suffixList); FillSuffixList(iSuffixList,suffixList); } -#endif - + if ( (err = iSocketServ.Connect()) != KErrNone) { ERR_PRINTF1(_L("Failed Connecting to socket server")); @@ -2213,7 +2199,6 @@ INFO_PRINTF1(_L("Connections started successfully")); -#ifndef DISABLE_TUNDRIVER err = SetDNSSuffixListOnInterface(iSocketServ,vTunConn,vTunInterface,iSuffixList); if (KErrNone != err) @@ -2227,7 +2212,6 @@ } INFO_PRINTF2(_L("Set suffix list on %S successfully"),&vTunInterface); -#endif INFO_PRINTF1(_L("Opening explicit resolver")); // Open implicit resolver. diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/bwins/tun.def --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/bwins/tun.def Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,3 @@ +EXPORTS + Install @ 1 NONAME + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/data/ip.tun.esk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/data/ip.tun.esk Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,7 @@ +[sockman] +protocols= tun + +[tun] +filename= tun.prt +index= 1 +bindto= ip6 \ No newline at end of file diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/eabi/tun.def --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/eabi/tun.def Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,11 @@ +EXPORTS + Install @ 1 NONAME + _ZTI12CProtocolTun @ 2 NONAME + _ZTI12CTunFlowInfo @ 3 NONAME + _ZTI18CProtocolFamilyTun @ 4 NONAME + _ZTI7CSapTun @ 5 NONAME + _ZTV12CProtocolTun @ 6 NONAME + _ZTV12CTunFlowInfo @ 7 NONAME + _ZTV18CProtocolFamilyTun @ 8 NONAME + _ZTV7CSapTun @ 9 NONAME + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/MON.dat Binary file tcpiputils/tun/group/MON.dat has changed diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/MON.sym --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/MON.sym Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,199 @@ +CTC++ sym 5.0 +Thu Apr 15 15:39:45 2010 +@T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\src\tunfamily.cpp +7 1271326185 +0 0 22 0 CProtocolFamilyTun::CProtocolFamilyTun +0 90 0 0 ( ) +0 91 36 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +1 0 27 0 CProtocolFamilyTun::~CProtocolFamilyTun +0 90 0 0 ( ) +0 91 37 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +2 0 31 0 CProtocolFamilyTun::Install +0 90 0 0 ( ) +0 91 38 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +0 13 33 1 KErrNone +3 0 36 0 CProtocolFamilyTun::Remove +0 90 0 0 ( ) +0 91 39 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +1 13 38 1 KErrNone +4 0 41 0 CProtocolFamilyTun::ProtocolList +0 90 0 0 ( TServerProtocolDesc * & aProtocolList ) +0 91 40 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +2 13 48 1 1 +5 0 51 0 CProtocolFamilyTun::NewProtocolL +0 90 0 0 ( TUint , TUint aProtocol ) +0 91 41 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tunfamily.h +0 20 54 1 aProtocol != KProtocolTUN +3 13 60 1 instance +6 0 78 0 Install +0 90 0 0 ( void ) +0 91 77 0 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\src\tunfamily.cpp +1 20 81 1 protocol +4 13 83 2 protocol +0 1 85 1 else +5 13 87 2 0 +%89,7,6,2,0,0 +@T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\src\tun.cpp +7 1271326185 +0 0 31 0 Panic +0 90 0 0 ( TTunPanic aPanic ) +0 91 35 0 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.pan +1 0 45 0 CProtocolTun::CProtocolTun +0 90 0 0 ( ) +0 91 91 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +2 0 49 0 CProtocolTun::~CProtocolTun +0 90 0 0 ( ) +0 91 101 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +3 0 58 0 CProtocolTun::NewL +0 90 0 0 ( ) +0 91 96 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +0 13 64 1 self +4 0 72 0 CProtocolTun::ConstructL +0 90 0 0 ( ) +0 91 111 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +5 0 85 0 CProtocolTun::NetworkAttachedL +0 90 0 0 ( ) +0 91 134 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +6 0 96 0 CProtocolTun::NetworkDetached +0 90 0 0 ( ) +0 91 141 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +7 0 107 0 CProtocolTun::Identify +0 90 0 0 ( TServerProtocolDesc & aDesc ) +0 91 127 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +8 0 124 0 CProtocolTun::Identify +0 90 0 0 ( TServerProtocolDesc * aDesc ) +0 91 119 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +9 0 135 0 CProtocolTun::ApplyL +0 90 0 0 ( RMBufHookPacket & , RMBufRecvInfo & ) +0 91 150 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +1 13 137 1 KIp6Hook_PASS +10 0 145 0 CProtocolTun::OpenL +0 90 0 0 ( TPacketHead & aHead , CFlowContext * aFlow ) +0 91 159 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +0 20 151 1 IsPortSet ( ) +1 20 156 2 localNifBase -> Control ( KSolInetIp , KSoTunnelPort , pckgLocalAddr ) == KErrNone +2 13 162 1 info +11 0 170 0 CProtocolTun::NewSAPL +0 90 0 0 ( TUint aProtocol ) +0 91 167 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +3 13 177 1 iSapInstance +12 0 192 0 CSapTun::CSapTun +0 90 0 0 ( ) +0 91 51 3 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +13 0 204 0 CSapTun::SetOption +0 90 0 0 ( TUint aLevel , TUint aName , const TDesC8 & anOption ) +0 91 65 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +0 78 0 0 2 +0 79 0 0 0,1 +0 70 215 1 ( aName == KSoTunnelPort ) && ( aLevel == KSolInetIp ) +2 75 215 1 (T) && (T) +1 76 215 1 (T) && (F) +0 76 215 1 (F) && (_) +0 80 0 0 1,2 +0 81 0 0 0 +0 77 215 1 aName == KSoTunnelPort +0 80 0 0 2 +0 81 0 0 1 +0 77 215 1 aLevel == KSolInetIp +4 13 222 1 err +14 0 225 0 CSapTun::SecurityCheck +0 90 0 0 ( MProvdSecurityChecker * aChecker ) +0 91 72 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +2 25 241 1 ( ECapabilityNetworkControl ) == ECapability_None +3 25 241 1 ( ECapability_None ) == ECapability_None +4 25 241 1 ( ECapability_None ) == ECapability_None +5 13 242 1 aChecker -> CheckPolicy ( KPolicyNetworkControl , "SSLVPN Hook Loading failed." ) +15 0 256 0 CSapTun::Ioctl +0 90 0 0 ( TUint , TUint , TDes8 * ) +0 91 56 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +16 0 259 0 CSapTun::Start +0 90 0 0 ( ) +0 91 57 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +17 0 262 0 CSapTun::Shutdown +0 90 0 0 ( TCloseType option ) +0 91 58 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +18 0 265 0 CSapTun::LocalName +0 90 0 0 ( TSockAddr & anAddr ) +0 91 59 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +19 0 268 0 CSapTun::SetLocalName +0 90 0 0 ( TSockAddr & anAddr ) +0 91 60 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +6 13 270 1 KErrNotSupported +20 0 273 0 CSapTun::RemName +0 90 0 0 ( TSockAddr & anAddr ) +0 91 61 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +21 0 276 0 CSapTun::SetRemName +0 90 0 0 ( TSockAddr & anAddr ) +0 91 62 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +7 13 278 1 KErrNotSupported +22 0 281 0 CSapTun::GetOption +0 90 0 0 ( TUint , TUint , TDes8 & ) +0 91 63 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +8 13 290 1 KErrNone +23 0 293 0 CSapTun::ActiveOpen +0 90 0 0 ( ) +0 91 66 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +24 0 296 0 CSapTun::PassiveOpen +0 90 0 0 ( TUint ) +0 91 68 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +9 13 298 1 KErrNotSupported +25 0 301 0 CSapTun::Shutdown +0 90 0 0 ( TCloseType , const TDesC8 & ) +0 91 70 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +26 0 304 0 CSapTun::AutoBind +0 90 0 0 ( ) +0 91 71 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +27 0 307 0 CSapTun::PassiveOpen +0 90 0 0 ( TUint , const TDesC8 & ) +0 91 69 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +10 13 309 1 KErrNotSupported +28 0 312 0 CSapTun::ActiveOpen +0 90 0 0 ( const TDesC8 & ) +0 91 67 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +29 0 315 0 CSapTun::CancelIoctl +0 90 0 0 ( TUint , TUint ) +0 91 64 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +30 0 318 0 CSapTun::~CSapTun +0 90 0 0 ( ) +0 91 52 3 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +31 0 327 0 CTunFlowInfo::CTunFlowInfo +0 90 0 0 ( ) +0 91 232 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +32 0 333 0 CTunFlowInfo::~CTunFlowInfo +0 90 0 0 ( ) +0 91 246 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +33 0 341 0 CTunFlowInfo::ReadyL +0 90 0 0 ( TPacketHead & aHead ) +0 91 266 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +11 13 343 1 EFlow_READY +34 0 350 0 CTunFlowInfo::ApplyL +0 90 0 0 ( RMBufSendPacket & aPacket , RMBufSendInfo & aInfo ) +0 91 275 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +5 20 359 1 dest . Address ( ) == src . Address ( ) +6 20 361 2 protocol == KProtocolInetIp +7 20 366 3 protocol == KProtocolInetUdp +8 20 371 4 srcPort == iAppPortNum +12 13 386 5 KIp6Hook_DONE +9 21 390 2 protocol == KProtocolInet6Ip +10 20 394 3 protocol == KProtocolInetUdp +11 20 400 4 srcPort == iAppPortNum +13 13 416 5 KIp6Hook_DONE +0 1 418 4 else +14 13 420 5 KIp6Hook_PASS +0 1 424 2 else +12 21 429 1 dest . Address ( ) != src . Address ( ) +13 20 434 2 protocol == KProtocolInetIp +14 21 443 2 protocol == KProtocolInet6Ip +0 1 451 2 else +15 13 456 2 KIp6Hook_PASS +0 1 458 1 else +16 13 462 1 KIp6Hook_PASS +35 0 472 0 CTunFlowInfo::Open +0 90 0 0 ( ) +0 91 257 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +36 0 483 0 CTunFlowInfo::Close +0 90 0 0 ( ) +0 91 283 1 T:\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc\tun.h +15 20 485 1 -- iRef < 0 +%489,37,17,16,3,0 +END OF SYMBOLFILE diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/bld.inf Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,29 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +PRJ_PLATFORMS +DEFAULT + +PRJ_EXPORTS + +../inc/tunfamily.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/tunfamily.h) +../data/ip.tun.esk /epoc32/winscw/c/private/101f7989/esock/ip.tun.esk +../group/tun.iby /epoc32/rom/include/tun.iby + + +PRJ_MMPFILES +tun.mmp diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/ctcerr.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/ctcerr.txt Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,354 @@ + +******************************************************************************* + +argv[0]: armcc +argv[1]: --vsn + +*** CTC++/ctcagent command: set PATH=C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_armv5\armv5.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp armcc --vsn +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: armcc +argv[1]: --vsn + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_armv5\armv5.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp armcc --vsn +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwccsym2.exe + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwccsym2 +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwldsym2.exe +argv[1]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\tun.prep.def +argv[2]: -importlib +argv[3]: -o +argv[4]: \epoc32\release\winscw\UDEB\tun.lib +argv[5]: -addcommand +argv[6]: out:tun.prt +argv[7]: -warnings +argv[8]: off + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwldsym2 \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\tun.prep.def -importlib -o \epoc32\release\winscw\UDEB\tun.lib -addcommand out:tun.prt -warnings off +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwccsym2.exe +argv[1]: -g +argv[2]: -O0 +argv[3]: -inline +argv[4]: off +argv[5]: -runtime +argv[6]: staticmulti +argv[7]: -wchar_t +argv[8]: off +argv[9]: -align +argv[10]: 4 +argv[11]: -warnings +argv[12]: on +argv[13]: -w +argv[14]: nohidevirtual,nounusedexpr +argv[15]: -msgstyle +argv[16]: gcc +argv[17]: -enum +argv[18]: int +argv[19]: -str +argv[20]: pool +argv[21]: -exc +argv[22]: ms +argv[23]: -trigraphs +argv[24]: on +argv[25]: -nostdinc +argv[26]: -MD +argv[27]: -gccdep +argv[28]: -d +argv[29]: _DEBUG +argv[30]: -d +argv[31]: _UNICODE +argv[32]: -d +argv[33]: __SYMBIAN32__ +argv[34]: -d +argv[35]: __CW32__ +argv[36]: -d +argv[37]: __WINS__ +argv[38]: -d +argv[39]: __WINSCW__ +argv[40]: -d +argv[41]: __DLL__ +argv[42]: -d +argv[43]: __SUPPORT_CPP_EXCEPTIONS__ +argv[44]: -cwd +argv[45]: source +argv[46]: -i- +argv[47]: -i +argv[48]: \bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc +argv[49]: -i +argv[50]: \epoc32\include +argv[51]: -i +argv[52]: \epoc32\include\platform +argv[53]: -i +argv[54]: \epoc32\include\platform\comms-infras +argv[55]: -i +argv[56]: \epoc32\include\variant +argv[57]: -i +argv[58]: \epoc32\include\variant\ +argv[59]: -include +argv[60]: Symbian_OS.hrh +argv[61]: -o +argv[62]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tunfamily.o +argv[63]: -c +argv[64]: \bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\src\tunfamily.cpp + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwccsym2 @ctc-mwccsym2-5716.rsp + +******************************************************************************* + +argv[0]: mwccsym2.exe +argv[1]: -g +argv[2]: -O0 +argv[3]: -inline +argv[4]: off +argv[5]: -runtime +argv[6]: staticmulti +argv[7]: -wchar_t +argv[8]: off +argv[9]: -align +argv[10]: 4 +argv[11]: -warnings +argv[12]: on +argv[13]: -w +argv[14]: nohidevirtual,nounusedexpr +argv[15]: -msgstyle +argv[16]: gcc +argv[17]: -enum +argv[18]: int +argv[19]: -str +argv[20]: pool +argv[21]: -exc +argv[22]: ms +argv[23]: -trigraphs +argv[24]: on +argv[25]: -nostdinc +argv[26]: -MD +argv[27]: -gccdep +argv[28]: -d +argv[29]: _DEBUG +argv[30]: -d +argv[31]: _UNICODE +argv[32]: -d +argv[33]: __SYMBIAN32__ +argv[34]: -d +argv[35]: __CW32__ +argv[36]: -d +argv[37]: __WINS__ +argv[38]: -d +argv[39]: __WINSCW__ +argv[40]: -d +argv[41]: __DLL__ +argv[42]: -d +argv[43]: __SUPPORT_CPP_EXCEPTIONS__ +argv[44]: -cwd +argv[45]: source +argv[46]: -i- +argv[47]: -i +argv[48]: \bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc +argv[49]: -i +argv[50]: \epoc32\include +argv[51]: -i +argv[52]: \epoc32\include\platform +argv[53]: -i +argv[54]: \epoc32\include\platform\comms-infras +argv[55]: -i +argv[56]: \epoc32\include\variant +argv[57]: -i +argv[58]: \epoc32\include\variant\ +argv[59]: -include +argv[60]: Symbian_OS.hrh +argv[61]: -o +argv[62]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.o +argv[63]: -c +argv[64]: \bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\src\tun.cpp + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwccsym2 @ctc-mwccsym2-4436.rsp + +******************************************************************************* + +argv[0]: mwccsym2.exe +argv[1]: -g +argv[2]: -O0 +argv[3]: -inline +argv[4]: off +argv[5]: -runtime +argv[6]: staticmulti +argv[7]: -wchar_t +argv[8]: off +argv[9]: -align +argv[10]: 4 +argv[11]: -warnings +argv[12]: on +argv[13]: -w +argv[14]: nohidevirtual,nounusedexpr +argv[15]: -msgstyle +argv[16]: gcc +argv[17]: -enum +argv[18]: int +argv[19]: -str +argv[20]: pool +argv[21]: -exc +argv[22]: ms +argv[23]: -trigraphs +argv[24]: on +argv[25]: -nostdinc +argv[26]: -MD +argv[27]: -gccdep +argv[28]: -d +argv[29]: _DEBUG +argv[30]: -d +argv[31]: _UNICODE +argv[32]: -d +argv[33]: __SYMBIAN32__ +argv[34]: -d +argv[35]: __CW32__ +argv[36]: -d +argv[37]: __WINS__ +argv[38]: -d +argv[39]: __WINSCW__ +argv[40]: -d +argv[41]: __DLL__ +argv[42]: -d +argv[43]: __SUPPORT_CPP_EXCEPTIONS__ +argv[44]: -cwd +argv[45]: source +argv[46]: -i- +argv[47]: -i +argv[48]: \bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\inc +argv[49]: -i +argv[50]: \epoc32\include +argv[51]: -i +argv[52]: \epoc32\include\platform +argv[53]: -i +argv[54]: \epoc32\include\platform\comms-infras +argv[55]: -i +argv[56]: \epoc32\include\variant +argv[57]: -i +argv[58]: \epoc32\include\variant\ +argv[59]: -include +argv[60]: Symbian_OS.hrh +argv[61]: -o +argv[62]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun_UID_.o +argv[63]: -c +argv[64]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\tun.UID.CPP + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwccsym2 @ctc-mwccsym2-5416.rsp +*** CTC++/ctcagent command status: 0 + +*** CTC++/ctcagent command status: 0 + +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwldsym2.exe +argv[1]: -msgstyle +argv[2]: gcc +argv[3]: -stdlib +argv[4]: \epoc32\release\winscw\udeb\EDLL.LIB +argv[5]: \epoc32\release\winscw\udeb\scppnwdl.lib +argv[6]: -main +argv[7]: __Win32DllMain@12 +argv[8]: -shared +argv[9]: -subsystem +argv[10]: windows +argv[11]: -g +argv[12]: \epoc32\release\WINSCW\udeb\euser.lib +argv[13]: \epoc32\release\WINSCW\udeb\esocksvr.lib +argv[14]: \epoc32\release\WINSCW\udeb\mbufmgr.lib +argv[15]: \epoc32\release\WINSCW\udeb\inhook6.lib +argv[16]: \epoc32\release\WINSCW\udeb\insock.lib +argv[17]: \epoc32\release\WINSCW\udeb\esock.lib +argv[18]: \epoc32\release\WINSCW\udeb\comsdbgutil.lib +argv[19]: -o +argv[20]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.prt +argv[21]: -export +argv[22]: dllexport +argv[23]: -m +argv[24]: __E32Dll +argv[25]: -nocompactimportlib +argv[26]: -implib +argv[27]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.lib +argv[28]: -addcommand +argv[29]: out:tun.prt +argv[30]: -warnings +argv[31]: off +argv[32]: -l +argv[33]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb +argv[34]: -search +argv[35]: tunfamily.o +argv[36]: tun.o +argv[37]: tun_UID_.o + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwldsym2 @ctc-mwldsym2-5512.rsp +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwldsym2.exe +argv[1]: -S +argv[2]: -show +argv[3]: only,names,unmangled,verbose +argv[4]: -o +argv[5]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.inf +argv[6]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.lib + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwldsym2 -S -show only,names,unmangled,verbose -o \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.inf \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb\tun.lib +*** CTC++/ctcagent command status: 0 + + +******************************************************************************* + +argv[0]: mwldsym2.exe +argv[1]: -msgstyle +argv[2]: gcc +argv[3]: -stdlib +argv[4]: \epoc32\release\winscw\udeb\EDLL.LIB +argv[5]: \epoc32\release\winscw\udeb\scppnwdl.lib +argv[6]: -main +argv[7]: __Win32DllMain@12 +argv[8]: -shared +argv[9]: -subsystem +argv[10]: windows +argv[11]: -g +argv[12]: \epoc32\release\WINSCW\udeb\euser.lib +argv[13]: \epoc32\release\WINSCW\udeb\esocksvr.lib +argv[14]: \epoc32\release\WINSCW\udeb\mbufmgr.lib +argv[15]: \epoc32\release\WINSCW\udeb\inhook6.lib +argv[16]: \epoc32\release\WINSCW\udeb\insock.lib +argv[17]: \epoc32\release\WINSCW\udeb\esock.lib +argv[18]: \epoc32\release\WINSCW\udeb\comsdbgutil.lib +argv[19]: -o +argv[20]: \epoc32\release\winscw\udeb\tun.prt +argv[21]: -f +argv[22]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\tun.def +argv[23]: -noimplib +argv[24]: -l +argv[25]: \EPOC32\BUILD\bh1sosd1\networkingsrv-tundriver_dev_vinoth\networkingsrv\tcpiputils\tun\group\TUN\WINSCW\udeb +argv[26]: -search +argv[27]: tunfamily.o +argv[28]: tun.o +argv[29]: tun_UID_.o + +*** CTC++/ctcagent command: set PATH=T:\epoc32\gcc\bin;C:\Apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;T:\epoc32\tools;T:\epoc32\gcc\bin;C:/Apps/carbide/jre/bin/client;C:/Apps/carbide/jre/bin;C:\Reltools;C:\Program Files\PC Connectivity Solution\;c:\apps\actperl\bin\;c:\apps\rvct22_593\bin;c:\apps\atool;\epoc32\tools;\epoc32\gcc\bin;c:\apps\ue;c:\apps\ccm65\bin;c:\apps\carbide\x86Build\Symbian_Tools\Command_Line_Tools;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;c:\Program Files\Intel\WiFi\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\APPS\pclint;C:\APPS\cmt\;C:\APPS\ctc;C:\APPS\prevent\bin;C:\APPS\sbs\bin;C:\APPS\actpython\.;C:\APPS\blocks\bin;C:\APPS\cltools;C:\APPS\codescanner;C:\APPS\symdec;C:\APPS\ant\bin;C:\APPS\j2sdk_1.3.1_06\bin;C:\APPS\7zip;C:\APPS\understand\bin\pc-win95;C:\APPS\unzip;C:\APPS\romtools;C:\APPS\imaker;C:\APPS\codecollaborator;C:\APPS\helium;C:\APPS\bc;\epoc32\gcc_mingw\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Perforce\;C:\Program Files\Nokia\FastTrace;C:\Program Files\QuickTime\QTSystem\; && C:\APPS\ctc\ctc -c C:\APPS\ctc\sym_cw\winscw.ini @T:\bh1sosd1\NETWOR~1\NETWOR~1\TCPIPU~1\tun\group\CTC_TEMP\ctcopts.rsp mwldsym2 @ctc-mwldsym2-6668.rsp +*** CTC++/ctcagent command status: 0 + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/networking_tun.mrp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/networking_tun.mrp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,23 @@ +# +# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +component networking_tun +source \sf\os\networkingsrv\tcpiputils\tun +binary \sf\os\networkingsrv\tcpiputils\tun\group all +exports \sf\os\networkingsrv\tcpiputils\tun\group +notes_source \component_defs\release.src + +ipr E diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/tun.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/tun.iby Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,30 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#ifndef __TUN_IBY__ +#define __TUN_IBY__ + +REM dependencies +#include +#include +#include +#include + +file=ABI_DIR\DEBUG_DIR\tun.prt System\Libs\tun.prt + +data=EPOCROOT##epoc32\winscw\c\private\101F7989\esock\ip.tun.esk private\101F7989\esock\ip.tun.esk + +#endif // __TUN_IBY__ diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/group/tun.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/group/tun.mmp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +TARGET tun.prt +TARGETTYPE dll +UID 0x10003D38 0xEFDE93A8 + +USERINCLUDE ../inc + +SYSTEMINCLUDE /epoc32/include +SYSTEMINCLUDE /epoc32/include/platform +SYSTEMINCLUDE /epoc32/include/platform/comms-infras + +SOURCEPATH ../src + +//Uncomment the following line to include the support for IPV6 in the hook +//MACRO IPV6SUPPORT + +// In order to use .def files to freeze code you must use one or more DEFFILE lines; +// see the ones commented out below for examples. +// By default, the build tools look for the WINSCW def file in a BWINS directory +// (at the same level as the directory containing the mmp file), +// the GCC ARM def file in a BMARM directory, and the ARMV5 def file in a EABI directory. +// If your .def files are stored in these default locations, you can simply specify the +// .def filename(s) with no path. If you want to store .def files in non-default +// locations, you will need to specify the paths in the DEFFILE statement(s). + +//The following commented out code shows how the build system uses the implicit +// location for defiles. To create the DEF files Choose Project > Freeze Exports from Carbide +// or run 'abld freeze' from the command-line +//#if defined (WINS) +// DEFFILE ..\bwins\tun.def +//#elif defined (GCC32) +// DEFFILE ..\bmarm\tun.def +//#else +// DEFFILE ..\eabi\tun.def +//#endif + +nostrictdef + +USERINCLUDE ../inc +OS_LAYER_SYSTEMINCLUDE_SYMBIAN + +LIBRARY euser.lib +LIBRARY esocksvr.lib +LIBRARY mbufmgr.lib +LIBRARY inhook6.lib +LIBRARY insock.lib +LIBRARY esock.lib +LIBRARY comsdbgutil.lib + +DOCUMENT ../data/ip.tun.esk + + +CAPABILITY CommDD PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ NetworkControl NetworkServices LocalServices ReadUserData WriteUserData + +VENDORID 0x70000001 + +#ifdef ENABLE_ABIV2_MODE +DEBUGGABLE_UDEBONLY +#endif + +SOURCE tunfamily.cpp tun.cpp + +SMPSAFE + + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/inc/tun.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/inc/tun.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,288 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent + */ + +#ifndef __TUN_H__ +#define __TUN_H__ + +#include +#include +#include "tunfamily.h" +#include "tun.pan" + +const TUint KProtocolTUN = 145; // number that is unassigned by IANA +const TUint KTunTos = 192; // 0xC0; uses the UNUSED 7,8 MSB of Differentiated Services + +class CProtocolTun; +class CTunFlowInfo; +class CNifIfBase; + +class CSapTun : public CServProviderBase +/** + * Class Derived from CServProviderBase. + * Inherit virtual functions from CServProviderBase.This Class is socket support for this + * Hook (protocol).Protocol or Hook could be manipulated by the Socket using socket options. + * This class will be used to take downlink information from the private client.The SAP will + * called for all the Socket opened by the socket. SAP is 1 to 1 with Socket. + * we are maintaining a singleton pattern for this SAP + **/ + { + +public: + friend class CProtocolTun; + +protected: + CSapTun(); + ~CSapTun(); + +public: + //static CSapTun* GetInstanceL(); + void Ioctl(TUint /*level*/,TUint /* name*/,TDes8* /* anOption*/); + void Start(); + void Shutdown(TCloseType option); + void LocalName(TSockAddr& anAddr) const; + TInt SetLocalName(TSockAddr& anAddr); + void RemName(TSockAddr& anAddr) const; + TInt SetRemName(TSockAddr& anAddr); + TInt GetOption(TUint /*level*/,TUint /*name*/,TDes8& /*anOption*/)const; + void CancelIoctl(TUint /*aLevel*/,TUint /*aName*/); + TInt SetOption(TUint aLevel,TUint aName,const TDesC8& anOption); + void ActiveOpen(); + void ActiveOpen(const TDesC8& /*aConnectionData*/); + TInt PassiveOpen(TUint /*aQueSize*/); + TInt PassiveOpen(TUint /*aQueSize*/,const TDesC8& /*aConnectionData*/); + void Shutdown(TCloseType /*option*/,const TDesC8& /*aDisconnectionData*/); + void AutoBind(); + TInt SecurityCheck(MProvdSecurityChecker* aChecker); + +private: + //static CSapTun* iInstance; + CProtocolTun* iProtocol; + CTunFlowInfo* iFlowInfo; + }; //End Class CProtocolSap + +//CSapTun* CSapTun::iInstance = NULL; + +class CProtocolTun : public CProtocolPosthook + { + friend class CSapTun; +public: // Constructors and destructor + + /** + * Constructor. + */ + + CProtocolTun (); + + /* + * Two Phase Construction + */ + static CProtocolTun* NewL(); + + /** + * Destructor. + */ + virtual ~CProtocolTun (); + +public: // Functions from base classes + + /** + * From CProtocolBase + * Used as second phase of Two Phase construction + * @param aTag Name + * @return void + */ + void ConstructL (); + + /** + * From CProtocolBase + * @since + * @param aDesc Descriptor to be filled by this method. + * @return void + */ + virtual void Identify (TServerProtocolDesc * aDesc) const; + + /** + * Static method that can be invoked from the Protocol Family + * @since + * @param aDesc Descriptor to be filled by this method. + * @return void + */ + static void Identify (TServerProtocolDesc & aDesc); + + /** + * From CProtocolPostHook Handles attach to the stack + * @since + * @return void + */ + void NetworkAttachedL(); + + /** + * From CProtocolPostHook Handles detach from the stack + * @since + * @return void + */ + void NetworkDetached(); + + /** + * From MIp6Hook Handles received packets. + * @since + * @param aPacket Packet received. + * @param aInfo Info structure. + * @return void + */ + virtual TInt ApplyL (RMBufHookPacket & /* aPacket */ ,RMBufRecvInfo & /* aInfo */ ); + + /** + * From MIp6Hook Handles outbound opening. + * @since + * @param aHead Flow-specific precomputed data. + * @param aFlow Flow. + * @return void + */ + virtual MFlowHook *OpenL (TPacketHead & aHead, CFlowContext * aFlow); + + /** + * NewSAPL function to create a CSapTun instance + * and use for setting up the LocalAddress Information + * @param aProtocol ignored in our case. + * @return instance of the CServProviderBase instance CSapFullTunnel + */ + CServProviderBase* NewSAPL(TUint aProtocol); + + /** + * Cancels the Sap creation + * @param the Sap instance that has to be removed + */ + // void CancelSap(CSapTun *aSap); + + /** + * Sets the NifBase instances to be used for Control functionality + * @param the NifBase instance that will be retained. + */ + void SetCNifBase(CNifIfBase* aNifBase) + { + iNifBase = aNifBase; + } + + void SetAppPortNum(TUint aPort) + { + iAppPortNum = aPort; + iPortSet = ETrue; + } + + TBool IsPortSet() + { + return iPortSet; + } + + +private: + TUint iAppPortNum; // Tunnel port configured. + TBool iPortSet; //Bool to check whether the port is set/not. + RPointerArray iSapList; // List of SAP instances created. + CNifIfBase* iNifBase; // CNifBase* instance + CTunFlowInfo* iFlowinfo; // instance of the Flow Hook + CSapTun* iSapInstance; // instance of sap + + }; + +/** + * TUN Driver flow hook + * Outbound Flow hook and performs actions on the packets + * destined for the Virtual Tunnel Nif. + */ +class CTunFlowInfo : public CBase, public MFlowHook + { + friend class CProtocolTun; + friend class CSapTun; + +public: // Constructors & destructors + + /** + * Constructor. + */ + + CTunFlowInfo(); + + /** + * Copy Constructor. + */ + + CTunFlowInfo(CTunFlowInfo* aInstance ) + :iAppPortNum(aInstance -> iAppPortNum) + {} + + /** + * Destructor. + */ + + ~CTunFlowInfo(); + + +public: // Functions from base classes + + /** + * From MFlowHook Open and Close implements reference counting system. + * @since + * @param + * @return void + */ + void Open (); + + /** + * From MFlowHook Informs stack if the hook is ready. Can update address + * information. + * @since + * @param aHead Address information of the flow. + * @return TInt 0 => ready, >0 => pending, <0 => error. + */ + TInt ReadyL (TPacketHead & aHead); + + /** + * Called by IP when processing outbound packet. + * @since + * @param aPacket Complete packet + * @param aInfo Information block associated with the packet + * @return TInt 0 => processed, <0 => discarded, >0 => restart processing + */ + TInt ApplyL (RMBufSendPacket & aPacket, RMBufSendInfo & aInfo); + + /** + * From MFlowHook Open and Close implements reference counting system. + * @since + * @param + * @return void + */ + void Close (); + + void SetAppPortNum(TUint aPort) + { + iAppPortNum = aPort; + } + +private: // Data + + TInt iRef; // Reference count + TUint iAppPortNum; // Tunnel port configured. + + }; + + +#endif //__TUN_H__ diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/inc/tun.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/inc/tun.pan Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,38 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent +*/ + + +#ifndef __TUN_PAN__ +#define __TUN_PAN__ + +// Data Types +enum TTunPanic + { + ETunPanic_BadBind, + ETunPanic_BadHeader, + ETunPanic_BadCall, + ETunPanic_CorruptPacketIn + }; + +// Function Prototypes +GLREF_C void Panic(TTunPanic aPanic); + +#endif // __TUN_PAN__ + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/inc/tunfamily.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/inc/tunfamily.h Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,44 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent +*/ + + +#ifndef __TUNFAMILY_H__ +#define __TUNFAMILY_H__ + +#include + +class CProtocolFamilyTun : public CProtocolFamilyBase +/** +* Class is derived from CProtocolFamilyBase. +* This will Install Protocol Family and load new protocol module tun. +* Implements virtual functions of base class CProtocolFamilyBase( Install, remove) +* +**/ + { +public: + CProtocolFamilyTun(); + ~CProtocolFamilyTun(); + TInt Install(); + TInt Remove(); + TUint ProtocolList(TServerProtocolDesc *& aProtocolList); + CProtocolBase* NewProtocolL(TUint /*aSockType*/, TUint aProtocol); + }; + +#endif //__TUNFAMILY_H__ diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/sis/tun.pkg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/sis/tun.pkg Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,21 @@ +; Installation file for SslVpn dll +; +; This is an auto-generated PKG file by Carbide. +; This file uses variables specific to Carbide builds that will not work +; on command-line builds. If you want to use this generated PKG file from the +; command-line tools you will need to modify the variables with the appropriate +; values: $(EPOCROOT), $(PLATFORM), $(TARGET) + +; +; UID is the dll's UID +; +#{"tun DLL"},(0xEFDE93A8),1,0,0 + + +;Localised Vendor name +%{"Vendor-EN"} + +;Unique Vendor name +:"Vendor" + +"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\tun.prt" -"!:\sys\bin\tun.prt" \ No newline at end of file diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/src/tun.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/src/tun.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,491 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// implementation of Inbound and Outbound hook +// +// + +/** + @file + @internalTechnology + */ + +#include +#include +#include +#include "tun.pan" +#include "tun.h" + +_LIT(KProtocolTunName, "tun"); + +void Panic(TTunPanic aPanic) + { + User::Panic(_L("Tun panic"), aPanic); + } + + +// ============================ MEMBER FUNCTIONS ============================== + +// ---------------------------------------------------------------------------- +// CProtocolTun::CProtocolTun +// C++ default constructor can NOT contain any code, that +// might leave. +// ---------------------------------------------------------------------------- +// +CProtocolTun::CProtocolTun () + {} + +// Destructor +CProtocolTun::~CProtocolTun () + { + NetworkService()->Protocol()->Unbind((CProtocolBase*)iFlowinfo,0); + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::NewL +// ---------------------------------------------------------------------------- +// +CProtocolTun* CProtocolTun::NewL () + { + CProtocolTun* self = new (ELeave) CProtocolTun(); + CleanupStack::PushL(self); + self -> ConstructL (); + CleanupStack::Pop(); + return self; + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::ConstructL +// Initializes the CProtocolTun +// ---------------------------------------------------------------------------- +// +void CProtocolTun::ConstructL () + { + iFlowinfo = new (ELeave) CTunFlowInfo(); + iSapInstance = new (ELeave) CSapTun(); + iSapInstance->iFlowInfo= iFlowinfo; + iSapInstance->iProtocol=this; + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::NetworkAttachedL +// Binds the hooks (inbound, outbound flowhook and forward) to the IP6. +// ---------------------------------------------------------------------------- +// +void CProtocolTun::NetworkAttachedL () + { + // Outbound hook + NetworkService()->BindL ((CProtocolBase*) this, BindFlowHook()); + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::NetworkDetached +// Unbind the hooks. +// ---------------------------------------------------------------------------- +// +void CProtocolTun::NetworkDetached () + { + // Do Nothing + // as the destructor does the rest + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::Identify +// Provide identification information to the caller. +// ---------------------------------------------------------------------------- +// +void CProtocolTun::Identify (TServerProtocolDesc & aEntry) + { + aEntry.iName = KProtocolTunName; + aEntry.iAddrFamily = KAfInet | KAfInet6; + aEntry.iSockType = KSockDatagram; + aEntry.iProtocol = KProtocolTUN; + aEntry.iVersion = TVersion (1, 0, 0); + aEntry.iByteOrder = EBigEndian; + aEntry.iServiceInfo=KSIDatagram | KSIConnectionLess; + aEntry.iNamingServices = 0; + aEntry.iSecurity = KSocketNoSecurity; + aEntry.iServiceTypeInfo=0; + aEntry.iMessageSize = 0xffff; + aEntry.iServiceTypeInfo = ESocketSupport | EInterface; + aEntry.iNumSockets = KUnlimitedSockets; + } + +void CProtocolTun::Identify (TServerProtocolDesc * aDesc) const +{ +Identify (*aDesc); +} + +// ---------------------------------------------------------------------------- +// CProtocolTun::ApplyL +// This is the handler for forwarding packets. +// Udp encapsulation for the packets from the Virtual tunnel nif +// ---------------------------------------------------------------------------- +// +TInt CProtocolTun::ApplyL (RMBufHookPacket& /*aPacket*/, RMBufRecvInfo& /*aInfo*/) + { + return KIp6Hook_PASS; + }; + +// ---------------------------------------------------------------------------- +// CProtocolTun:OpenL +// Outbound Flow hook Open handler for the protocol. +// ---------------------------------------------------------------------------- +// +MFlowHook *CProtocolTun::OpenL (TPacketHead& /*aHead*/, CFlowContext* aFlow) + { + // We are interested in this flow, let's create a new local flow instance + // create a local copy using copy ctor and return the instance + CTunFlowInfo *info = NULL; + CNifIfBase* localNifBase = aFlow->Interface(); + if(IsPortSet()) + { + TInetAddr localAddr; + localAddr.SetPort(iAppPortNum); + TPckg pckgLocalAddr(localAddr); + if(localNifBase->Control(KSolInetIp,KSoTunnelPort,pckgLocalAddr)== KErrNone) + { + info = new (ELeave) CTunFlowInfo(iFlowinfo); + SetCNifBase(localNifBase); + } + } + return info; + } + +// ---------------------------------------------------------------------------- +// CProtocolTun::NewSAPL +// Creation of a new SAP instance +// ---------------------------------------------------------------------------- +// +CServProviderBase* CProtocolTun::NewSAPL(TUint /*aProtocol*/) + { +#if 0 + CSapTun *nsap = new(ELeave) CSapTun();//CSapTun::GetInstanceL(); + nsap->iProtocol=this; + nsap->iFlowInfo= iFlowinfo; +#endif + return iSapInstance; + } + +/** +--------------------------------------------------------------------------------------- + CSapTun +--------------------------------------------------------------------------------------- + +This class is derived from CServProviderBase.CSapTun is the service class for sockets +loading CProtocolTun.But here only one socket will be able to load protocol.If protocol once +loaded other socket cannot service protocol by opening socket. + */ + +//CSapTun* CSapTun::iInstance = NULL; + +CSapTun::CSapTun() + { } +#if 0 +CSapTun* CSapTun::GetInstanceL() + { + if(!iInstance) + { + iInstance = new (ELeave) CSapTun(); + } + return iInstance; + } +#endif +TInt CSapTun::SetOption(TUint aName ,TUint aLevel ,const TDesC8& anOption) +/** + * This class is used to set PortNumber information to be used by the hook to perform + * UDP encapsulation. + * @param aName -- KSoTunnelPort + * @param aLevel --KSolInetIp. + * return - KErrNone if no value is assigned else KErrPermissionDenied + **/ + + { + TInt err = KErrNotSupported; + if((aName == KSoTunnelPort) && (aLevel == KSolInetIp)) + { + const TUint opt = *reinterpret_cast(anOption.Ptr()); + iProtocol->SetAppPortNum(opt); + iFlowInfo->SetAppPortNum(opt); + err= KErrNone; + } + return err; + } + +TInt CSapTun::SecurityCheck(MProvdSecurityChecker* aChecker) +/** + * Capability check for the TUN Hook sockets. + * + * TUN Hook sockets require the NetworkControl capability. + * + * @param aChecker The policy checker. + * @return The result of the policy check. + */ + { + // This method is called when a SAP is created and when a socket is transferred between sessions. The SAP is + //required to check whether the originating client process has enough privileges to request services from the SAP. + //The MProvdSecurityChecker class instance is used to perform security policy checks. The SAP may choose + //to perform a security policy check in its SecurityCheck(...) method, or it may choose to store the + //MProvdSecurityChecker class instance argument and perform checking later (i.e. when subsequent + //SAP methods are called). + _LIT_SECURITY_POLICY_C1(KPolicyNetworkControl, ECapabilityNetworkControl); + return aChecker->CheckPolicy(KPolicyNetworkControl, "TUN Hook Loading failed."); + } + +/* +------------------------------------------------------------------------------------------ + + SAP UNUSED FUNTION SECTION +------------------------------------------------------------------------------------------ + +SAP definion which are not being used.These functions are not doing anything instead they are +returning nothing from it. + + */ + +void CSapTun::Ioctl(TUint /*level*/,TUint /*name*/,TDes8*/*anOption*/) + {} + +void CSapTun::Start() + {} + +void CSapTun::Shutdown(TCloseType /*option*/) + {} + +void CSapTun::LocalName(TSockAddr& /*anAddr*/) const +{} + +TInt CSapTun::SetLocalName(TSockAddr& /*anAddr*/) + { + return KErrNotSupported; + } + +void CSapTun::RemName(TSockAddr& /*anAddr*/) const +{} + +TInt CSapTun::SetRemName(TSockAddr& /*anAddr*/) + { + return KErrNotSupported; + } + +TInt CSapTun::GetOption(TUint /*aLevel*/, TUint /*aName*/, TDes8& /*aOption*/)const +/** + * This implements GetOption method for Napt specific service provider. + * @param aLevel + * @param aName + * @param anOption + * @return KErrNone in case of success + **/ +{ +return KErrNone; +} + + +void CSapTun::ActiveOpen() + {} + +TInt CSapTun::PassiveOpen(TUint /*aQueSize*/) + { + return KErrNotSupported; + } + +void CSapTun::Shutdown(TCloseType /*option*/,const TDesC8& /*aDisconnectionData*/) + {} + +void CSapTun::AutoBind() + {} + +TInt CSapTun::PassiveOpen(TUint /*aQueSize*/,const TDesC8& /*aConnectionData*/) + { + return KErrNotSupported; + } + +void CSapTun::ActiveOpen(const TDesC8& /*aConnectionData*/) + {} + +void CSapTun::CancelIoctl(TUint /*aLevel*/,TUint /*aName*/) + {} + +CSapTun::~CSapTun() + { + } + +// TUN OUTBOUND FLOW HOOK functions. + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::CTunFlowInfo +// ---------------------------------------------------------------------------- +CTunFlowInfo::CTunFlowInfo () + {} + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::~CTunFlowInfo +// ---------------------------------------------------------------------------- +CTunFlowInfo::~CTunFlowInfo () + {} + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::ReadyL +// The stack asks if the flow is ready to send. +// ---------------------------------------------------------------------------- +// +TInt CTunFlowInfo::ReadyL (TPacketHead& /*aHead*/) + { + return EFlow_READY; + } + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::ApplyL +// Intial stage where the CTunFlowInfo touches the outgoing packet. +// ---------------------------------------------------------------------------- +TInt CTunFlowInfo::ApplyL(RMBufSendPacket & aPacket, RMBufSendInfo & aInfo) + { + const TInetAddr& dest = aInfo.iDstAddr; + const TInetAddr& src = aInfo.iSrcAddr; + + TInt protocol = aInfo.iProtocol; + + // protocolnum check is added to avoid loopin in the same hook as the + // source and destination address will not be changed in the RMBufSendInfo. + if (dest.Address() == src.Address()) + { + if (protocol == KProtocolInetIp ) + { + TInet6Packet localIP(aPacket); + TUint protocol = localIP.iHdr->Protocol(); + + if (protocol == KProtocolInetUdp) + { + TInet6HeaderUDP* udpHdr = (TInet6HeaderUDP*) localIP.iHdr->EndPtr(); + TUint srcPort = udpHdr->SrcPort(); + + if (srcPort == iAppPortNum) + { + // Ingress traffic forwarded from TUN Client Application. Trim the + // outer header and send the original pkt back to the ip stack. + TInt outerHdrLen = TInet6HeaderIP4::MinHeaderLength() + TInet6HeaderUDP::MinHeaderLength(); + + // the info length will be updated by TrimStart + aPacket.TrimStart(outerHdrLen); + + TInet6Packet ip(aPacket); + //Update the info Address information + TInetAddr::Cast(aInfo.iSrcAddr).SetAddress(ip.iHdr->SrcAddr()); + TInetAddr::Cast(aInfo.iDstAddr).SetAddress(ip.iHdr->DstAddr()); + + // restart the hook processing from the begining. + return KIp6Hook_DONE; + } + } + } +#ifdef IPV6SUPPORT + else if (protocol == KProtocolInet6Ip) + { + TInet6Packet localIP6(aPacket); + TInt protocol = localIP6.iHdr->NextHeader(); + if (protocol == KProtocolInetUdp) + { + TInet6HeaderUDP* udpHdr = + (TInet6HeaderUDP*) localIP6.iHdr->EndPtr(); + TUint srcPort = udpHdr->SrcPort(); + + if (srcPort == iAppPortNum) + { + // Ingress traffic forwarded from TUN Client Application. Trim the + // outer header and send the original pkt back to the ip stack. + TInt outerHdrLen = TInet6HeaderIP::MinHeaderLength() + + TInet6HeaderUDP::MinHeaderLength(); + + // the info length will be updated by TrimStart + aPacket.TrimStart(outerHdrLen); + + TInet6Packet ip6(aPacket); + //Update the info Address information + TInetAddr::Cast(aInfo.iSrcAddr).SetAddress(ip6.iHdr->SrcAddr()); + TInetAddr::Cast(aInfo.iDstAddr).SetAddress(ip6.iHdr->DstAddr()); + + // restart the hook processing from the begining. + return KIp6Hook_DONE; + } + else + { + return KIp6Hook_PASS; + } + } + } +#endif //IPV6SUPPORT + else + { + Panic(ETunPanic_BadHeader); + } + } + else + { + // Outgoing packet from the application to the TUN Client Application + // need to mark this packet to be handled at Forward hook. + + if (protocol == KProtocolInetIp) + { + TInet6Packet ip(aPacket); + TInt tmpTos = ip.iHdr->TOS(); + tmpTos |= KTunTos; + ip.iHdr->SetTOS(tmpTos); + TInet6Checksum lIp(aPacket); + lIp.ComputeChecksum(); // recompute checksum as TOS field is updated + } +#ifdef IPV6SUPPORT + else if (protocol == KProtocolInet6Ip) + { + TInet6Packet ip6(aPacket); + TInt tmpTrafficClass = ip6.iHdr->TrafficClass(); + tmpTrafficClass |= KTunTos; + ip6.iHdr->SetTrafficClass(tmpTrafficClass); + // No need to update checksum in case of IPV6 + } +#endif //IPV6SUPPORT + else + { + Panic(ETunPanic_BadHeader); + } + return KIp6Hook_PASS; + } + + return KIp6Hook_PASS; + } + + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::Open +// Open the flow, keep reference count. +// ---------------------------------------------------------------------------- +// + +void CTunFlowInfo::Open () + { + iRef++; + } + +// ---------------------------------------------------------------------------- +// CTunFlowInfo::Close +// Close the flow if the reference count has reached zero. Remove the flow +// from any list it is stored. +// ---------------------------------------------------------------------------- +// +void CTunFlowInfo::Close () + { + if (--iRef < 0) + { + delete this; + } + } + diff -r e36178c55292 -r 61fa4f7b5dd1 tcpiputils/tun/src/tunfamily.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/src/tunfamily.cpp Fri Sep 17 17:15:59 2010 +0100 @@ -0,0 +1,90 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#include "tunfamily.h" +#include "tun.h" +#include +#include + + +CProtocolFamilyTun::CProtocolFamilyTun() + { + __DECLARE_NAME(_S("CProtocolFamilyTun")); + } + +CProtocolFamilyTun::~CProtocolFamilyTun() +//Destructor + {} + +TInt CProtocolFamilyTun::Install() + { + return KErrNone; + } + +TInt CProtocolFamilyTun::Remove() + { + return KErrNone; + } + +TUint CProtocolFamilyTun::ProtocolList(TServerProtocolDesc* &aProtocolList) + { + const TInt KArraySize = 1; + // Esock catches this leave; hence TRAP is not needed + TServerProtocolDesc *p = new (ELeave) TServerProtocolDesc[KArraySize]; + CProtocolTun::Identify(p[KArraySize-1]); + aProtocolList = p; + return 1; + } + +CProtocolBase* CProtocolFamilyTun::NewProtocolL(TUint /*aSockType*/, + TUint aProtocol) + { + if (aProtocol != KProtocolTUN) + { + Panic(ETunPanic_BadBind); + } + + CProtocolTun* instance = CProtocolTun::NewL(); + return instance; + + } + + + +// +// Entrypoint +// +#ifndef EKA2 +GLDEF_C TInt E32Dll() + { + return KErrNone; + } +#endif //#ifndef EKA2 + +// Force export of non-mangled name +extern "C" { IMPORT_C CProtocolFamilyBase* Install(void); } +EXPORT_C CProtocolFamilyBase* Install(void) + { + CProtocolFamilyTun* protocol = new CProtocolFamilyTun(); + if (protocol) + { + return protocol; + } + else + { + return NULL; + } + } +