public inbox for nncp-devel@lists.stargrave.org
Atom feed
* Assorted NNCP questions
@ 2020-12-27  4:48 John Goerzen
  2020-12-27  9:53 ` Sergey Matveev
  0 siblings, 1 reply; 7+ messages in thread
From: John Goerzen @ 2020-12-27  4:48 UTC (permalink / raw)
  To: nncp-devel

Hi folks,

I have a few questions!

First, is nncp-toss multithreaded?  If so, would it be possible to 
have an option forcing it to run requests sequentially?

Secondly, I would like to establish a long-running connection to a 
remote host.  I defined:

      calls: [
        {
          cron: "*/1 * * * *"
          onlinedeadline: 1800
          maxonlinetime: 1750
          addr: lan
        },
      ]

But the onlinedeadline isn't being respected in the run by 
nncp-caller; it still disconnects after 10 seconds, so this 
results in a new connection being established every minute.  I 
also tried definine onlinedeadline at the parent (neighbor) level, 
rather than within the calls structure, but that didn't help 
either.

I am considering just running nncp-call instead of nncp-caller as 
a systemd service, hoping that perhaps it would send periodic 
pings to notice if the remote end goes away (does it?)

Finally, I have questions about what happens if data for the wrong 
node is loaded.  For instance, say you have this setup:

A -> B -> C

That is, to talk to C from A, you must go via B.

Now, you use nncp-xfer or nncp-bundle to offload data for B.  But 
instead of plugging the USB stick/whatever into B, you plug it 
into C and load it in.  Now what happens?

Does C:

 - Ignore it all?
 - Consume it but send it to B?
 - Somehow realize that the packets were bound for it anyway and 
 process them?
 - Something else?

Thanks again!

- John

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-30 12:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27  4:48 Assorted NNCP questions John Goerzen
2020-12-27  9:53 ` Sergey Matveev
2020-12-28  4:34   ` John Goerzen
2020-12-28  7:37     ` Sergey Matveev
2020-12-28 18:32       ` John Goerzen
2020-12-28 19:43         ` Sergey Matveev
2020-12-30 12:01   ` Sergey Matveev