public inbox for nncp-devel@lists.stargrave.org
Atom feed
From: Rafael Diniz <rafael@riseup•net>
To: nncp-devel@lists.cypherpunks.su
Subject: Re: HF modem support
Date: Wed, 18 Mar 2026 00:32:52 +0000 [thread overview]
Message-ID: <f1cb25a7-95d1-4c3e-8edc-a2067ff3843a@riseup.net> (raw)
In-Reply-To: <b3b30163-d9da-49dc-b4c4-4fd103a4de82@riseup.net>
[-- Attachment #1.1: Type: text/plain, Size: 3807 bytes --]
So, I hammered a bit, I got my first successful nncp transmission over
the air!
NNCPDEADLINE=600 nncp-call -autotoss estacao2
proxy.go:188: hfmodem: proxy: connected to PU2UIT-2 via daemon
2026-03-18T00:21:02Z We have got for estacao2: 1 packets, 1.8 KiB
2026-03-18T00:21:52Z Packet
GVMJ7SXOCAKJAFTLIPEXUYJ6FNX352EQIRX7ZNVY4J2WC5WDCPPA (1.6 KiB) (nice B): 0%
2026-03-18T00:21:52Z estacao2 has got for us: 1 packets, 1.6 KiB
2026-03-18T00:21:52Z Connection to estacao2
(mercury://127.0.0.1:8300/PU2UIT-2?mycall=PU2UIT-3&bw=2300&ptt=hermes)
2026-03-18T00:21:52Z Tx H3D4TV2AUYXYOYII..5ISMP4EOR3NOHUDQ 1.8 KiB/1.8
KiB 100% (0 B/sec)
2026-03-18T00:23:31Z Rx GVMJ7SXOCAKJAFTL..ZNVY4J2WC5WDCPPA 1.6 KiB/1.6
KiB 100% (0 B/sec)
2026-03-18T00:23:31Z Got packet
GVMJ7SXOCAKJAFTLIPEXUYJ6FNX352EQIRX7ZNVY4J2WC5WDCPPA 100% (1.6 KiB / 1.6
KiB): done
2026-03-18T00:23:32Z Rx file GVMJ7SXOCAKJAFTL..ZNVY4J2WC5WDCPPA 1.2
KiB/1.2 KiB 100% (0 B/sec)
2026-03-18T00:23:32Z Got file common.sh (1.2 KiB) from estacao2
2026-03-18T00:24:05Z Packet
H3D4TV2AUYXYOYIIHSCBIXT7RKKEKJUXS6UZ5ISMP4EOR3NOHUDQ is sent
There are still some rough edges to fix, but more importantly, could
anyone give me a feedback on the removal of padding of the first frame?
Here is the diff:
https://github.com/Rhizomatica/nncp/commit/07c5cf5b244140fe4960f210b45017d449f17719
Поехали!
Cheers,
Rafael
On 3/17/26 11:53 PM, Rafael Diniz wrote:
> I hit a road block here.
>
> The first package of NNCP protocol will take 65280 bytes? I can see
> there is some padding involved. 64 kB will never be feasible in HF for a
> handshake (most of our payloads are at most 10 kB, for "large" files,
> like pictures). Is there any sensible approach to reduce this, without
> completely breaking the security (we're using UUCP, so anything better
> than nothing is better already).
>
> I'm hammering a bit the code, but better I understand a bit the protocol
> before I do something very wrong. Which is a good reference to start with?
>
> - Rafael
>
>
> On 3/16/26 2:13 AM, Rafael Diniz wrote:
>> Yay! Thanks Sergey!
>>
>> NNCP rocks!
>>
>> As I'm just starting with real testing, with radios on dummy loads for
>> now, I expect fixes / improvements to come. It is not really working yet.
>>
>> nncp-call -autotoss estacao2
>> vara.go:246: hfmodem: ctrl: OK
>> vara.go:246: hfmodem: ctrl: OK
>> vara.go:246: hfmodem: ctrl: OK
>> vara.go:246: hfmodem: ctrl: OK
>> vara.go:246: hfmodem: ctrl: OK
>> vara.go:246: hfmodem: ctrl: OK
>> 2026-03-16T02:02:21Z ERROR Calling estacao2 (mercury://127.0.0.1:8300/
>> PU2UIT-2?mycall=PU2UIT-3&bw=2300&ptt=hermes): connection to PU2UIT-2
>> failed
>>
>> Modem calls, I see signal on air, not that bad for a first try of the
>> code. I'll start working on it this week.
>>
>> Sergey, Can I just keep doing what I'm doing to send commits?
>>
>> I'll maintain some debian builds of this, as I need arm64 and amd64
>> packages to test (John, these are hackish debian packages, I'm build
>> with go own cross-compilation capabilities, nothing to do with your
>> great official upstream ones):
>> https://debian.hermes.radio/
>>
>> Cheers!
>> Rafael
>>
>> On 3/15/26 8:23 AM, Sergey Matveev wrote:
>>> Greetings!
>>>
>>> *** Rafael Diniz [2026-03-12 23:30]:
>>>> I did a very early draft (without broadcast support, without many
>>>> things,
>>>> untested, ai generated) on how we could connect NNCP to a VARA-
>>>> compatible
>>>> modem (like our Mercury modem), just to start the conversation: [...]
>>>
>>> Code looks good, should not break anything. Merged it into "develop"
>>> branch. Unfortunately can not check anything from that, too far from
>>> those topics. Cool. Thank you!
>>>
>>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2026-03-18 0:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 23:30 Greetings Rafael Diniz
2026-03-13 1:13 ` Greetings John Goerzen
2026-03-13 1:51 ` Greetings Rafael Diniz
2026-03-13 2:25 ` Greetings John Goerzen
2026-03-13 10:58 ` Greetings Rafael Diniz
2026-03-15 8:23 ` HF modem support Sergey Matveev
2026-03-16 2:13 ` Rafael Diniz
2026-03-17 23:53 ` Rafael Diniz
2026-03-18 0:32 ` Rafael Diniz [this message]
2026-03-18 10:45 ` Sergey Matveev
2026-03-18 12:52 ` Rafael Diniz
2026-03-18 10:42 ` Sergey Matveev
2026-03-18 12:56 ` Rafael Diniz
2026-03-18 10:26 ` Sergey Matveev