4 See also this page @ref{Новости, on russian}.
11 Fixed possible race in online protocol, that lead to panic.
16 @section Release 6.3.0
20 Fixed possible panic while showing progress during online protocol.
25 @section Release 6.2.1
29 Three places in logs contained excess @code{%s}.
34 @section Release 6.2.0
38 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
41 Yet another logging refactoring and simplification.
42 Should be no visible differences to the end user.
47 @section Release 6.1.0
51 Optimization: most commands do not keep opened file descriptors now.
52 Previously you can exceed maximal number of opened files if you have got
53 many packets in the spool directory.
56 Optimization: do not close file descriptor of the file we download
57 online. Previously each chunk lead to expensive open/close calls.
60 Online downloaded files are saved with @file{.nock} (non-checksummed)
61 suffix, waiting either for @command{nncp-check}, or online daemons to
62 perform integrity check.
65 Optimization: files, that are not resumed, are checksummed immediately
66 during the online download, skipping @file{.nock}-intermediate step.
69 Ability to store encrypted packet's header in @file{.hdr} file, close to
70 the packet itself. That can greatly increase performance of packets
71 listing on filesystems with big block's size.
76 @section Release 6.0.0
80 Log uses human readable and easy machine parseable
81 @url{https://www.gnu.org/software/recutils/, recfile} format for the
82 records, instead of structured RFC 3339 lines. Old logs are not readable
83 by @command{nncp-log} anymore.
86 @option{-autotoss*} option workability with @command{nncp-daemon}'s
90 Call's @option{when-tx-exists} allows to make a call only when outbound
91 packets exists. Combined with seconds-aware cron expression that can be
92 used as some kind of auto dialler.
95 @command{nncp-cronexpr} command allows you to check validity and
96 expectations of specified cron expression.
101 @section Release 5.6.0
105 @option{-autotoss*} option runs tosser not after the call, but every
106 second while it is active.
109 @option{autotoss}, @option{autotoss-doseen},
110 @option{autotoss-nofile}, @option{autotoss-nofreq},
111 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
112 @option{calls} configuration section. You can configure per-call
113 automatic tosser options.
116 Use vendoring, instead of @env{GOPATH} overriding during tarball
117 installation, because current minimal Go's version is 1.12 and it
123 @section Release 5.5.1
127 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
128 variables in @file{config} during installation.
133 @section Release 5.5.0
137 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
138 @command{nncp-bundle} and @command{nncp-stat}.
141 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
144 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
145 options now. Uncompressed packets are not compatible with previous NNCP
149 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
150 have @option{-autotoss*} options for running tosser after call is ended.
153 Updated dependencies. Minimal required Go version is 1.12.
158 @section Release 5.4.1
162 Fixed @code{SENDMAIL} variable usage during the build.
167 @section Release 5.4.0
171 Updated dependencies.
174 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
175 This should not influence package maintainers, because minimal @command{redo}
176 implementation is included in tarball.
181 @section Release 5.3.3
185 More various error checks.
188 Updated dependencies.
193 @section Release 5.3.2
197 Fixed incorrect logic of @option{onlinedeadline} timeout, where
198 connection won't take into account incoming packets events and will
199 forcefully disconnect.
204 @section Release 5.3.1
208 Fixed @option{onlinedeadline} workability with call addresses that use
209 external commands (@verb{#"|somecmd"#}).
212 @command{nncp-stat} has @option{-pkt} option displaying information
213 about each packet in the spool.
218 @section Release 5.3.0
222 Progress messages contain prefix, describing the running action.
225 Fixed not occurring handshake messages padding.
228 Finish all SP protocol related goroutines, less memory leak.
231 SP protocol generates less socket write calls, thus generating less TCP
235 Check @option{onlinedeadline} and @option{maxonlinetime} options every
236 second, independently from socket reads (up to 10 seconds).
239 Once per minute, if no other traffic exists, PING packets are sent in
240 SP-connection. That allows faster determining of connection unworkability.
243 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
248 @section Release 5.2.1
252 Fixed SP protocol error handling, sometimes causing program panic.
257 @section Release 5.2.0
261 Most commands by default show oneline operations progress.
262 @option{-progress}, @option{-noprogress} command line options,
263 @option{noprogress} configuration file option appeared.
266 Fixed incorrect @command{nncp-check} command return code, that returned
267 bad code when everything is good.
270 Free disk space check during @command{nncp-bundle -rx} call.
275 @section Release 5.1.2
279 @strong{Critical} vulnerability: remote peers authentication could lead
280 to incorrect identification of remote side, allowing foreign encrypted
284 Bugfix: private and public Noise keys were swapped in newly created
285 configuration files, that lead to inability to authenticate online peers.
288 Explicit directories fsync-ing for guaranteed files renaming.
293 @section Release 5.1.1
297 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
302 @section Release 5.1.0
306 @command{nncp-file} can send directories, automatically creating pax
310 Free disk space is checked during outbound packets creation.
313 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
314 file options replaced with the structure:
315 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
318 Added @option{freq.maxsize} configuration file option, forbidding of
319 freq sending larger than specified size.
322 Ability to notify about successfully executed commands (exec) with
323 @option{notify.exec} configuration file option.
328 @section Release 5.0.0
332 @strong{Incompatible} configuration file format change: YAML is
333 replaced with Hjson, due to its simplicity, without noticeable lack
334 of either functionality or convenience.
337 @strong{Incompatible} plain packet format changes. Older versions are
338 not supported. @code{zlib} compression is replaced with
339 @code{Zstandard}, due to its speed and efficiency, despite library
340 version is not mature enough.
343 Ability to call remote nodes via pipe call of external command, not only
347 @command{nncp-cfgnew} generates configuration file with many
348 comments. @option{-nocomments} option can be used for an old
352 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
353 avoid possible collisions with @file{.nncp.chunkCTR}.
356 Ability to override process umask through configuration file option.
359 Files and directories are created with 666/777 permissions by default,
360 allowing control with @command{umask}.
363 Updated dependencies.
366 Full usage of go modules for dependencies management
367 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
370 Forbid any later GNU GPL version autousage
371 (project's licence now is GNU GPLv3-only).
378 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
386 @strong{Incompatible} encrypted and eblob packet format change: AEAD
387 encryption mode with 128 KiB blocks is used now, because previously
388 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
389 decrypted data to external command. Older versions are not supported.
392 Available free space checking before copying in @command{nncp-xfer},
393 @command{nncp-daemon}, @command{nncp-call(er)}.
396 @command{nncp-call} has ability only to list packets on remote node,
397 without their transmission.
400 @command{nncp-call} has ability to transfer only specified packets.
403 Workability of @option{xxrate} preference in @option{calls}
404 configuration file section.
407 Dependant libraries are updated.
413 Begin using of @code{go.mod} subsystem.
420 @item @command{nncp-daemon} can be run as @command{inetd}-service.
428 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
429 if @file{.seen} exists and treat it like file was already downloaded.
430 Possibly it was transferred out-of-bound and remote side needs to be
434 If higher priority packet is spooled, then @command{nncp-daemon} will
435 queue its sending first, interrupting lower priority transmissions.
438 Simple packet rate limiter added to online-related tools
439 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
442 Ability to specify niceness with symbolic notation:
443 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
446 Changed default niceness levels:
447 for @command{nncp-exec} from 64 to 96,
448 for @command{nncp-freq} from 64 to 160,
449 for @command{nncp-file} from 196 to 224.
457 @strong{Incompatible} @emph{bundle} archive format changes and
458 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
459 valid tar archives, but Go 1.9 made them invalid because of long paths
460 inside. NNCP accidentally was dependant on that bug. Explicit adding of
461 @file{NNCP/} directory in archive restores workability with valid tar
469 Ability to disable relaying at all using @verb{|-via -|} command line option.
477 @strong{Incompatible} plain packet format changes. Older versions are
481 Ability to queue remote command execution, by configuring @option{exec}
482 option in configuration file and using @command{nncp-exec} command:
485 @command{nncp-mail} command is replaced with more flexible
486 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
487 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
489 @option{sendmail} configuration file option is replaced with
490 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
491 @verb{|exec: sendmail: [...]|}.
495 Ability to override @option{via} configuration option for destination
496 node via @option{-via} command line option for following commands:
497 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
500 Chunked files, having size less than specified chunk size, will be sent
501 as an ordinary single file.
504 Exec commands are invoked with additional @env{NNCP_NICE} and
505 @env{NNCP_SELF} environment variables.
508 Files, that are sent as a reply to freq, have niceness level taken from
509 the freq packet. You can set desired niceness during @command{nncp-freq}
510 invocation using @option{-replynice} option.
513 @command{nncp-toss} command can ignore specified packet types during
514 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
518 @command{nncp-file} command uses
519 @option{FreqMinSize}/@option{FreqChunked} configuration file options
520 for @option{-minsize}/@option{-chunked} by default. You can turn this
521 off by specifying zero value.
530 @strong{Incompatible} encrypted/eblob packet format changes. Older
531 versions are not supported.
534 Twofish encryption algorithm is replaced with ChaCha20. It is much more
535 faster. One cryptographic primitive less.
538 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
539 another cryptographic primitive less (assuming that BLAKE2X is nearly
540 identical to BLAKE2).
549 @strong{Incompatible} encrypted packet format changes. Older versions
553 @command{nncp-bundle} command can either create stream of encrypted
554 packets, or digest it. It is useful when dealing with
555 @code{stdin}/@code{stdout} based transmission methods (like writing to
556 CD-ROM without intermediate prepared ISO image and working with tape
560 @command{nncp-toss} is able to create @file{.seen} files preventing
561 duplicate packets receiving.
564 Single background checksum verifier worker is allowed in
565 @command{nncp-call}. This is helpful when thousands of small inbound
566 packets could create many goroutines.
569 Ability to override path to spool directory and logfile through either
570 command line argument, or environment variable.
573 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
574 @file{.part}, @file{.lock} and temporary files.
579 @section Release 0.12
581 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
585 @section Release 0.11
587 @item @command{nncp-stat}'s command output is sorted by node name.
591 @section Release 0.10
594 @command{nncp-freq}'s @file{DST} argument is optional now. Last
595 @file{SRC} path's element will be used by default.
602 Fix @option{-rx}/@option{-tx} arguments processing in
603 @command{nncp-call} command. They were ignored.
610 Little bugfix in @command{nncp-file} command, where @option{-minsize}
611 option for unchunked transfer was not in KiBs, but in bytes.
619 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
620 encrypted temporary file for that.
623 Chunked files transmission appeared with corresponding
624 @command{nncp-reass} command and @option{freqchunked} configuration file
625 entry. Useful for transferring big files over small storage devices.
628 @option{freqminsize} configuration file option, analogue to
629 @option{-minsize} one.
632 @command{nncp-xfer}'s @option{-force} option is renamed to
633 @option{-mkdir} for clarity.
636 @option{-minsize} option is specified in KiBs, not bytes, for
640 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
641 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
642 common prefix and are grouped together for convenience.
645 @command{nncp-cfgenc} command appeared, allowing configuration file
646 encryption/decryption, for keeping it safe without any either OpenPGP or
650 Cryptographic libraries (dependencies) are updated.
657 @item Small @command{nncp-rm} command appeared.
658 @item Cryptographic libraries (dependencies) are updated.
665 Trivial small fix in default niceness level of @command{nncp-file}
666 and @command{nncp-freq} commands.
674 Small fix in @command{nncp-call}, @command{nncp-caller},
675 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
679 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
680 and more convenient to use.
683 @command{nncp-mincfg} command appeared: helper allowing to create
684 minimalistic stripped down configuration file without private keys, that
685 is useful during @command{nncp-xfer} usage.
692 @item Fixed compatibility with Go 1.6.
700 @strong{Incompatible} packet's format change (magic number is changed
701 too): size field is encrypted and is not send in plaintext anymore.
704 @option{-minsize} option gives ability to automatically pad outgoing
705 packets to specified minimal size.
708 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
709 always check new @emph{tx} packets appearance in the background while
710 connected. Remote side is immediately notified.
713 @option{-onlinedeadline} option gives ability to configure timeout of
714 inactivity of online connection, when it could be disconnected. It could
715 be used to keep connection alive for a long time.
718 @option{-maxonlinetime} option gives ability to set maximal allowable
719 online connection aliveness time.
722 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
725 @command{nncp-pkt} command can decompress the data.