Hello Scott.

> Scott wrote:
> Igor:
> Tested the code this AM, saw 3 strange things:
>
> 1. First, when I use Connect the first time, I see "Searching
>    for Partnership File....". It takes ~3 seconds to popup
>    after I hit the Connect button, but it works. The second
>    time, though, it reads "Initiating Remote Network Search...".
>    This suggests there's two different things going on?

This is old part of source.
It seems to me that this depends on what machine first initiates connection.

> Scott wrote:
> 2. Looking at the tcpdump traffic, there's no connection being
>    made to gnutella.getengaged.net.
>
> 3. Looking in the Gnutella.log file, it appears to be connecting
>    not to gnutella.getengaged.net, but to itself. That can't
>    be right. :) It *should* show in this file that it's connected
>    to the remote server, shouldn't it?

The old variant VPN connection work as follows:
{
BEGIN OLD CONNECTION.
.......................................
Kaboodle received partnership file.
.......................................
END OLD CONNECTON.
}

I have modify VPN join as follows:
{
Kaboodle received partnership file.
.......................................
END OLD CONNECTON.
}
If connection is not stated, that execute:
{
BEGIN OLD CONNECTION.
.......................................
Kaboodle received partnership file.
.......................................
END OLD CONNECTON.
}

Above is yesterday's source code.
Today I has added additional tracing of "remote connection" into the file
RemoteConnection.log.
I have found my following bug.
Kaboodle on PC1 have valid IP address.
Kaboodle on PC2 have chanded IP address.
Users on both Kaboodles push "Connect" button.
Kaboodle on PC1 has installed direct connection and right after this begins
connection through Gnutella.
I has already corrected above bug.
Also I has inserted additional splash dialog "Direct connection to partner
a.b.c.d....".
This dialog displays the process of direct connection.

Below I have inserted tracing the "remote connection" for several variants.
Possible this information will be useful if anyone will have "remote
connection" problems.
****************************************************************************
**********************
Variant A.
Kaboodle on PC1 have valid IP address 213.221.4.170.
Kaboodle on PC2 have valid IP address 213.221.4.140.

RemoteConnection.log for PC1:

Gnutella Started
RNC_8 ConnectToPeer: 213.221.4.170, 4183
RNC_9 CGnuControl::AddNode: 213.221.4.170, 4183
Connected to the Peer :213.221.4.170
CMainFrame::OnInitDirectConection: EFPbdbc3688cd10c954b2dee8f405f24071.ecf,
2349129173
RNC_101 CVPNManager::OnOldFileDownloaded:
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf
RNC_16_B CVPNManager::ProcessDownloadedFile
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Connecting to
213.221.4.140..., 0
RNC_17 CVPNManager::ConnectTo: 213.221.4.140
RNC_18 CVPNSocket::ConnectTo: 213.221.4.140
RNC_1: CRemoteNetworkPage::OnConnect():
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf 213.221.4.140
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_19 CVPNSocket::OnConnect: nErrorCode 0
RNC_20 CVPNSocket::InitHandshake
RNC_21 CVPNManager::OnHandShakeMessageReceived
CMainFrame::OnReceiveDirectConection:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 2349129173
RNC_21 CVPNManager::OnHandShakeMessageReceived
Gnutella Protocol ......stopped

RemoteConnection.log for PC2:

Gnutella Started
RNC_8 ConnectToPeer: 213.221.4.140, 4183
RNC_9 CGnuControl::AddNode: 213.221.4.140, 4183
Connected to the Peer :213.221.4.140
RNC_21 CVPNManager::OnHandShakeMessageReceived
RNC_22 CVPNSocket::OnInitHandshakeMessage
RNC_23 CVPNSocket::SendInitHandshakeReply: Begin
RNC_23 CVPNSocket::SendInitHandshakeReply: END OK
RNC_22 CVPNSocket::OnInitHandshakeMessage: OK csPartnershipFile
EFPbdbc3688cd10c954b2dee8f405f24071.ecf
RNC_21 CVPNManager::OnHandShakeMessageReceived
Gnutella Protocol ......stopped

****************************************************************************
**********************
Variant B.
Kaboodle on PC1 have valid IP address 213.221.4.170.
Kaboodle on PC2 have changed IP address 213.221.4.141.

RemoteConnection.log for PC1:

Gnutella Started
RNC_8 ConnectToPeer: 213.221.4.170, 4183
RNC_9 CGnuControl::AddNode: 213.221.4.170, 4183
Connected to the Peer :213.221.4.170
CMainFrame::OnInitDirectConection: EFPbdbc3688cd10c954b2dee8f405f24071.ecf,
2349129173
RNC_101 CVPNManager::OnOldFileDownloaded:
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf
RNC_16_B CVPNManager::ProcessDownloadedFile
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Connecting to
213.221.4.140..., 0
RNC_17 CVPNManager::ConnectTo: 213.221.4.140
RNC_18 CVPNSocket::ConnectTo: 213.221.4.140
RNC_1: CRemoteNetworkPage::OnConnect():
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf  13.221.4.140
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_21 CVPNManager::OnHandShakeMessageReceived
RNC_22 CVPNSocket::OnInitHandshakeMessage
RNC_23 CVPNSocket::SendInitHandshakeReply: Begin
RNC_23 CVPNSocket::SendInitHandshakeReply: END OK
CMainFrame::OnReceiveDirectConection:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf
RNC_22 CVPNSocket::OnInitHandshakeMessage: OK csPartnershipFile
EFPbdbc3688cd10c954b2dee8f405f24071.ecf
RNC_21 CVPNManager::OnHandShakeMessageReceived
Gnutella Protocol ......stopped

RemoteConnection.log for PC2:

Gnutella Started
RNC_8 ConnectToPeer: 213.221.4.141, 4183
RNC_9 CGnuControl::AddNode: 213.221.4.141, 4183
Connected to the Peer :213.221.4.141
CMainFrame::OnInitDirectConection: EFPbdbc3688cd10c954b2dee8f405f24071.ecf,
2852445653
RNC_101 CVPNManager::OnOldFileDownloaded:
G:\PROJECT\WORK_KABOODLE\_BIN\DEBUG\PartnershipDir\EFPbdbc3688cd10c954b2dee8
f405f24071.ecf
RNC_16_B CVPNManager::ProcessDownloadedFile
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Connecting to
213.221.4.170..., 0
RNC_17 CVPNManager::ConnectTo: 213.221.4.170
RNC_18 CVPNSocket::ConnectTo: 213.221.4.170
RNC_1: CRemoteNetworkPage::OnConnect():
G:\PROJECT\WORK_KABOODLE\_BIN\DEBUG\PartnershipDir\EFPbdbc3688cd10c954b2dee8
f405f24071.ecf 213.221.4.170
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_19 CVPNSocket::OnConnect: nErrorCode 0
RNC_20 CVPNSocket::InitHandshake
RNC_21 CVPNManager::OnHandShakeMessageReceived
CMainFrame::OnReceiveDirectConection:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 2852445653
RNC_21 CVPNManager::OnHandShakeMessageReceived
Gnutella Protocol ......stopped

****************************************************************************
**********************
Variant C.
Kaboodle on PC1 have valid IP address 213.221.4.170.
Kaboodle on PC2 not started.


RemoteConnection.log for PC1:

Gnutella Started

RNC_8 ConnectToPeer: 213.221.4.170, 4183
RNC_9 CGnuControl::AddNode: 213.221.4.170, 4183
Connected to the Peer :213.221.4.170

CMainFrame::OnInitDirectConection: EFPbdbc3688cd10c954b2dee8f405f24071.ecf,
2349129173
RNC_101 CVPNManager::OnOldFileDownloaded:
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf
RNC_16_B CVPNManager::ProcessDownloadedFile
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Connecting to
213.221.4.140..., 0
RNC_17 CVPNManager::ConnectTo: 213.221.4.140
RNC_18 CVPNSocket::ConnectTo: 213.221.4.140
RNC_1: CRemoteNetworkPage::OnConnect():
C:\PROJECTS\cvs_\WORK_KABOODLE\_Bin\Debug\PartnershipDir\EFPbdbc3688cd10c954
b2dee8f405f24071.ecf 213.221.4.140
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_19 CVPNSocket::OnConnect: nErrorCode 10061, <No connection could be made
because the target machine actively refused it.> 213.221.4.140
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Connection error..., 0
RNC_16_B CVPNManager::ProcessDownloadedFile
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Searching for
Partnership file..., 0
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
CMainFrame::BeginGnutellaConnection:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 213.221.4.140
RNC_2 CGetEngagedStatusDlg::OnInitDialog()
RNC_3 CEFController::OnRemoteConnect:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf 213.221.4.140
RNC_4 CEFController::ConnectToRemoteNet:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 213.221.4.140
RNC_5 VpnConnectToRemoteNet: EFPbdbc3688cd10c954b2dee8f405f24071.ecf,
213.221.4.140
RNC_6 CVPNManager::OnVpnConnectToRemoteNet:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 213.221.4.140
RNC_7 CVPNManager::VpnConnectToRemoteNet:
EFPbdbc3688cd10c954b2dee8f405f24071.ecf, 213.221.4.140, nIndex of
PartnershipFile 0
RNC_10 CVPNManager::ProcessRemoteConnectionMessage: Searching for
Partnership file..., 0
Searching EFPbdbc3688cd10c954b2dee8f405f24071.ecf using Gnutella


RNC_11 CEFController::OnRemoteConnectMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_12 CEFController::SendRemoteConnectionMessage
RNC_13 CGetEngagedStatusDlg::OnConnectionReply
Gnutella Protocol ......stopped

- Regars, Igor



_______________________________________________
Kaboodle-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kaboodle-devel

Reply via email to