12 nov 2001 VPN Status report
-----------------------------
After installing sp 5 to my Visual Studio the problem with
unhandled exception has been fixed.
Now, I am trying to connect to another computer. I did
all as described in the Specification but there are some
problems. I run Win 2000 Professional SP 2 and the other
pc runs Win 2000 Advanced Server SP 2.
1. I observed some instability of the Get Engaged procedure:
it seems like one needs to restart the program (or in some
cases the EF service) to get the downloaded files work.
Eventually, I managed to put it right.
2. We have a Firewall-protected LAN, so all requests to
external hosts are made from the same ip. Thus, the
partnership file downloaded from the EF site specifies the
firewall ip for both partners, while in order to get
connected within one LAN the local ip addresses are
required (something like 192.168.xxx.xxx). No wonder when
I click Connect I get an Unable message.
3. It was no better when I had manually edited the partnership
file to provide the correct local ips. When debugging the code
I found an endless loop at an attempt to set up a connection.
It goes as follows:
- The callback function CGetEngagedStatusDlg::OnInitDialog()
sends MSG_REMOTE_CONNECT message to the own
host via PostEFMessage to initiate the connection. MyGUID
is used to specify the local pc;
- As a response to that message,
CEFController::ConnectToRemoteNet is invoked;
- The two guids are being compared: MasterGUID and
MyGUID. They are _never_ the same so the
MSG_REMOTE_CONNECT is being forwarded to the
master (MasterGUID) and it makes a loop.
. . .
GetMasterGUID(MasterGUID);
GetMyGUID(MyGUID);
if( MasterGUID == MyGUID )
{ . . .
}
else
{
. . .
PostEFMessage(...MSG_REMOTE_CONNECT,...
MasterGUID);
}
The loop is broken in 40 s by the timer setup in the dialog
function.
Oleg
_______________________________________________
Kaboodle-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kaboodle-devel