[pskmail] Re: Prorocol extension fro DTN Networking

  • From: John Douyere <vk2eta@xxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Sun, 19 Sep 2010 05:22:06 +1000

Hi Rein,

That solution for the server worked fine here :)

Thanks.

First test result of the new protocol 1:

I have attached the summarised log.

Test 1: Connect, do a READZIP 3, press abort at about 95%, reconnect
and the client requests the full file again, then connection times out
at approx 75%, shut down the client.

Test 2: restart client after a few hours, reconnect and the client
requests remaining 25% and receives it ok.

So can it be that if we stop the transaction by an abort it forgets
the partial download?

Unfortunately I didn't check the pending directory in-between to see
if did store the partial file or not.

But in my opinion it should keep the file no matter which way we
disconnect. The link aspect should be independent of the resume.

Also, what to do if we do not want the file to be sent, e.g. if we are
on a slow link and don't want the file because it is too big? In the
past we would disconnect and reconnect which was not ideal but
manageable.

One option could be to have a popup dialog "Do you want to resume or
cancel?" when the server proposes a document AND we have part of that
document.

This would happen only at connect time so I would expect the operator
to be present then.

Additionally we could have an option: "Always auto-resume" in the
preferences and, if not selected, we present the popup in the
conditions above. Otherwise we always resume.

Great work Rein, this is a great addition and opens  lot of doors for
other applications.

Will test more today if I can.

Regards,

John

On Sun, Sep 19, 2010 at 3:01 AM, Rein Couperus <rein@xxxxxxxxxxxx> wrote:
> My assumption was right :)
> If you change line 42 in rflinkserver.pl to 'require File::Temp;' and 
> reinstall (./install.sh) the warnings go away.
> I will update the archive tomorrow morning..
>
> Rein
>
TX (2010-09-18 06:00Z): <SOH>10cVK2ETA:1024 VK2ETA-1:24 698D7<EOT>

RX (2010-09-18 06:01Z): <US><SOH>0!!
RX (2010-09-18 06:01Z): VK2ETA-1 Pskmail_server 1.0.21-6:01:5-IL1M3>

TX (2010-09-18 06:03Z): <SOH>0!#~READZIP 3
TX (2010-09-18 06:03Z): AA6E<SOH><SOH>z!s#((CD42<EOT>

RX (2010-09-18 06:04Z): -<US><SOH>0!)>FM:VK2ETA-1:VK2ETA:j2p3uc:m: 
:3203A<SOH>0!*097
RX (2010-09-18 06:04Z): 
H4sICFFWlEwAA21haWxmaWxlAK1WF909<SOH>0!+23LiSBJ911dUzMNud2BA3HybcMQW4n6z15F5<SOH>0!,udgYvxVSSZSRVCCV
.
.
95% of file received in between here
.
.
RX (2010-09-18 06:08Z): 
6Lo1m4lJQEUkOvXbXtp6UrKRLhfRMhuKkC694<SOH>0!"RvcvBrHm4LvN3rz4+2+IhvlbhYvj/K6nQszfXj4xYFX

----------client sends abort --------------

TX (2010-09-18 06:08Z): <SOH>0!aB7D9<EOT>
TX (2010-09-18 06:08Z):     
TX (2010-09-18 06:08Z): <SOH>0!aB7D9<EOT>
TX (2010-09-18 06:08Z):     

TX (2010-09-18 06:09Z): <SOH>0!aB7D9<EOT>
TX (2010-09-18 06:09Z):     

----------reconnect after abort -------------

TX (2010-09-18 06:10Z): <SOH>10cVK2ETA:1024 VK2ETA-1:24 59997<EOT>

RX (2010-09-18 06:10Z): <US><SOH>1"kVK2ETA-1:24 VK2ETA:1024 519F4<SOH>5"s   
F4FE<EOT>

TX (2010-09-18 06:10Z): <SOH>z"s   CBF0<EOT>

RX (2010-09-18 06:11Z): <US><SOH>0"!
RX (2010-09-18 06:11Z): VK2ETA-1 Pskmail_server 
1.0.21-44F8<SOH>0""6:11:10-IL1M3>
RX (2010-09-18 06:11Z): 
RX (2010-09-18 06:11Z): 
RX (2010-09-18 06:11Z): >FO5:VK2ETA-1:V4B28<SOH>0"#K2ETA:j2p3uc:m: :3097
RX (2010-09-18 06:11Z): 1882<SOH>5"s#  F40E<EOT>

---------Here client request same document from 0 -----------

TX (2010-09-18 06:11Z): <SOH>0"!~FY:j2p3uc:0
TX (2010-09-18 06:11Z): 093F<SOH><SOH>y"s!##C9E1<EOT>
TX (2010-09-18 06:11Z):     

RX (2010-09-18 06:11Z): ;  nRtruneRx @ 
tn<US><SOH>0"$>FM:VK2ETA-1:VK2ETA:j2p3uc:m: :39587<SOH>0"%097
RX (2010-09-18 06:11Z): 
H4sICFFWlEwAA21haWxmaWxlAK1W8C6D<SOH>0"&23LiSBJ911dUzMNud2BA3HybcMQW4n6zA048<SOH>0"'udgYvxVSSZSRVCCV
.
.
--------------reception of about 75% of file then drop out (server time out)
.
.

--------------system is shut down for a few hours -------

--------------reconnect to server ----------------

TX (2010-09-18 11:05Z): <STX><SOH>10cVK2ETA:1024 VK2ETA-1:24 45956<EOT>
....
RX (2010-09-18 11:06Z): <SOH>0%!
RX (2010-09-18 11:06Z): VK2ETA-1 Pskmail_server 
1.0.21-47F9<SOH>0%"11:6:36-IL1M3>
RX (2010-09-18 11:06Z): 
RX (2010-09-18 11:06Z): 
RX (2010-09-18 11:06Z): >FO5:VK2ETA-1:V39BE<SOH>0%#K2ETA:j2p3uc:m: :3097
RX (2010-09-18 11:06Z): 3214<SOH>5%s#  34BB<EOT>
RX (2010-09-18 11:07Z): -<EOT>

----here cient request partial resend ----------

TX (2010-09-18 11:07Z): <SOH>0%!~FY:j2p3uc:2002
TX (2010-09-18 11:07Z): 5967<SOH><SOH>z%s!##3A54<EOT>
TX (2010-09-18 11:07Z):     

RX (2010-09-18 11:07Z): <US><SOH>0%$>FM:VK2ETA-1:VK2ETA:j2p3uc:m: 
:39686<SOH>0%%097
RX (2010-09-18 11:08Z): 
RX (2010-09-18 11:08Z): 0y6VFF4v8Lbg7dGnW/ha0aa0nm38948<SOH>0%
.
------receive file here
.
RX (2010-09-18 11:11Z): 
RX (2010-09-18 11:11Z): -end-
RX (2010-09-18 11:11Z): 3216<SOH>6%sD!!88CA<EOT>
RX (2010-09-18 11:11Z): takaTaTaY

---------client acks receipt -----------

TX (2010-09-18 11:11Z): <SOH>0%"~FA:j2p3uc
TX (2010-09-18 11:11Z): 41C1<SOH><SOH>z%s"DDE0CF<EOT>
TX (2010-09-18 11:11Z):     


Other related posts: