public inbox for nncp-devel@lists.stargrave.org
Atom feed
* via path question
@ 2025-12-13 22:43 Hadmut Danisch
  2025-12-13 22:50 ` John Goerzen
  0 siblings, 1 reply; 2+ messages in thread
From: Hadmut Danisch @ 2025-12-13 22:43 UTC (permalink / raw)
  To: nncp-devel

Hi,


if I want do send from A to D over other nodes

A -> B -> C -> D


what is the correct and intended configuration for target D?


on A  via [B,C]


or


on A via [B]  and on B via [C] ?



Since via accepts an array,  setting via [B,C] on A should work, but 
isn't this a security problem, if configuration on A can tell B what to 
do ? Shouldn't via just set the next hop?

regards

Hadmut





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

* Re: via path question
  2025-12-13 22:43 via path question Hadmut Danisch
@ 2025-12-13 22:50 ` John Goerzen
  0 siblings, 0 replies; 2+ messages in thread
From: John Goerzen @ 2025-12-13 22:50 UTC (permalink / raw)
  To: Hadmut Danisch; +Cc: nncp-devel

Hi Hadmut,

You can actually do it both ways.

For the quux smarthost, I use the second feature so that leaf nodes
don't each have to know the full routes to each other.

I wouldn't really see it as a security issue, since both A and B have to
be configured to be able to route to C to use A via B,C.  A can't make B
send to a node it doesn't know about.

- John


On Sun, Dec 14 2025, Hadmut Danisch wrote:

> Hi,
>
>
> if I want do send from A to D over other nodes
>
> A -> B -> C -> D
>
>
> what is the correct and intended configuration for target D?
>
>
> on A  via [B,C]
>
>
> or
>
>
> on A via [B]  and on B via [C] ?
>
>
>
> Since via accepts an array,  setting via [B,C] on A should work, but isn't this
> a security problem, if configuration on A can tell B what to do ? Shouldn't via
> just set the next hop?
>
> regards
>
> Hadmut

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

end of thread, other threads:[~2025-12-13 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-13 22:43 via path question Hadmut Danisch
2025-12-13 22:50 ` John Goerzen