Next: nncp-stat, Previous: nncp-newnode, Up: Commands
% nncp-pkt [options] < pkt % nncp-pkt [options] -dump < pkt > payload
Low level packet parser. Normally it should not be used, but can help in debugging.
By default it will print packet’s type, for example:
Packet type: encrypted Niceness: 64 Sender: 2WHBV3TPZHDOZGUJEH563ZEK7M33J4UESRFO4PDKWD5KZNPROABQ Payload size: 4.0 MiB (4162852 bytes)
If you specify -dump
option and provide an encrypted packet, then it will verify and decrypt it to stdout.
Encrypted packets contain plain ones, that also can be fed
to nncp-pkt
:
Packet type: plain Payload type: transitional Path: VHMTRWDOXPLK7BR55ICZ5N32ZJUMRKZEMFNGGCEAXV66GG43PEBQ Packet type: plain Payload type: mail Path: stargrave@stargrave.org
And with the -dump
option it will give you the actual payload
(the whole file, mail message, and so on).