public inbox for
Atom feed
From: John Goerzen <jgoerzen@complete•org>
Subject: Questions on payload types & niceness
Date: Mon, 30 Oct 2023 17:07:00 -0500	[thread overview]
Message-ID: <> (raw)

Hi Sergey,

I created a very simple test NNCP packet with:

echo payload | /usr/bin/nncp-exec -cfg nncp1.hjson nncp3 testcmd arg1 arg2

I've been working to decode NNCP packets in Rust.  I've observed a few

The niceness in the outer header (encrypted packet header) is 96, while
in the inner plain header it is 224.

Also, the payload type is 3 rather than 2.  I wonder if the payload
types start at 1 instead of 0?

Another random question: why is the niceness in both the outer
(encrypted) and inner (plain) headers?  When might it be different
between them?  Which one do the NNCP tools respect?


- John

             reply	other threads:[~2023-10-30 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30 22:07 John Goerzen [this message]
2023-10-31  8:25 ` Questions on payload types & niceness Sergey Matveev