6 $ nncp-pkt [options] < pkt
7 $ nncp-pkt [options] [-decompress] -dump < pkt > payload
11 Low level packet parser. Can be useful for debugging. There are two
12 types of packets: @ref{Plain, plain} and @ref{Encrypted, encrypted}. By
13 default it will print packet's header, for example:
16 Packet type: encrypted
18 Sender: 2WHBV3TPZHDOZGUJEH563ZEK7M33J4UESRFO4PDKWD5KZNPROABQ (self)
21 @option{-dump} option outputs plain packet's payload (if it is file
22 transmission, then it will be the file itself as an example). If it is
23 an encrypted packet, then it will be decrypted first, outputing the
24 included plain packet, that can be fed to @command{@ref{nncp-pkt}} again:
28 Payload type: transitional
30 Path: VHMTRWDOXPLK7BR55ICZ5N32ZJUMRKZEMFNGGCEAXV66GG43PEBQ (name-of-node)
33 Payload type: exec compressed
35 Path: stargrave@@stargrave.org
38 @option{-decompress} option tries to zstd-decompress data from plain
39 packet (useful with @verb{|exec compressed|} types of packets).
41 @option{-overheads} options print encrypted, plain and size header overheads.
43 This command automatically determines if an encrypted packet belongs to
44 @ref{Multicast, multicast} area and will try to decrypt it with its