4 See also this page @ref{Новости, on russian}.
11 Fixed segfault in @command{nncp-daemon} when SP handshake did not succeed.
14 Fixed possible bad return code ignoring in automatic tosser.
19 @section Release 6.4.0
23 Fixed possible race in online protocol, that lead to panic.
28 @section Release 6.3.0
32 Fixed possible panic while showing progress during online protocol.
37 @section Release 6.2.1
41 Three places in logs contained excess @code{%s}.
46 @section Release 6.2.0
50 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
53 Yet another logging refactoring and simplification.
54 Should be no visible differences to the end user.
59 @section Release 6.1.0
63 Optimization: most commands do not keep opened file descriptors now.
64 Previously you can exceed maximal number of opened files if you have got
65 many packets in the spool directory.
68 Optimization: do not close file descriptor of the file we download
69 online. Previously each chunk lead to expensive open/close calls.
72 Online downloaded files are saved with @file{.nock} (non-checksummed)
73 suffix, waiting either for @command{nncp-check}, or online daemons to
74 perform integrity check.
77 Optimization: files, that are not resumed, are checksummed immediately
78 during the online download, skipping @file{.nock}-intermediate step.
81 Ability to store encrypted packet's header in @file{.hdr} file, close to
82 the packet itself. That can greatly increase performance of packets
83 listing on filesystems with big block's size.
88 @section Release 6.0.0
92 Log uses human readable and easy machine parseable
93 @url{https://www.gnu.org/software/recutils/, recfile} format for the
94 records, instead of structured RFC 3339 lines. Old logs are not readable
95 by @command{nncp-log} anymore.
98 @option{-autotoss*} option workability with @command{nncp-daemon}'s
102 Call's @option{when-tx-exists} allows to make a call only when outbound
103 packets exists. Combined with seconds-aware cron expression that can be
104 used as some kind of auto dialler.
107 @command{nncp-cronexpr} command allows you to check validity and
108 expectations of specified cron expression.
113 @section Release 5.6.0
117 @option{-autotoss*} option runs tosser not after the call, but every
118 second while it is active.
121 @option{autotoss}, @option{autotoss-doseen},
122 @option{autotoss-nofile}, @option{autotoss-nofreq},
123 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
124 @option{calls} configuration section. You can configure per-call
125 automatic tosser options.
128 Use vendoring, instead of @env{GOPATH} overriding during tarball
129 installation, because current minimal Go's version is 1.12 and it
135 @section Release 5.5.1
139 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
140 variables in @file{config} during installation.
145 @section Release 5.5.0
149 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
150 @command{nncp-bundle} and @command{nncp-stat}.
153 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
156 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
157 options now. Uncompressed packets are not compatible with previous NNCP
161 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
162 have @option{-autotoss*} options for running tosser after call is ended.
165 Updated dependencies. Minimal required Go version is 1.12.
170 @section Release 5.4.1
174 Fixed @code{SENDMAIL} variable usage during the build.
179 @section Release 5.4.0
183 Updated dependencies.
186 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
187 This should not influence package maintainers, because minimal @command{redo}
188 implementation is included in tarball.
193 @section Release 5.3.3
197 More various error checks.
200 Updated dependencies.
205 @section Release 5.3.2
209 Fixed incorrect logic of @option{onlinedeadline} timeout, where
210 connection won't take into account incoming packets events and will
211 forcefully disconnect.
216 @section Release 5.3.1
220 Fixed @option{onlinedeadline} workability with call addresses that use
221 external commands (@verb{#"|somecmd"#}).
224 @command{nncp-stat} has @option{-pkt} option displaying information
225 about each packet in the spool.
230 @section Release 5.3.0
234 Progress messages contain prefix, describing the running action.
237 Fixed not occurring handshake messages padding.
240 Finish all SP protocol related goroutines, less memory leak.
243 SP protocol generates less socket write calls, thus generating less TCP
247 Check @option{onlinedeadline} and @option{maxonlinetime} options every
248 second, independently from socket reads (up to 10 seconds).
251 Once per minute, if no other traffic exists, PING packets are sent in
252 SP-connection. That allows faster determining of connection unworkability.
255 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
260 @section Release 5.2.1
264 Fixed SP protocol error handling, sometimes causing program panic.
269 @section Release 5.2.0
273 Most commands by default show oneline operations progress.
274 @option{-progress}, @option{-noprogress} command line options,
275 @option{noprogress} configuration file option appeared.
278 Fixed incorrect @command{nncp-check} command return code, that returned
279 bad code when everything is good.
282 Free disk space check during @command{nncp-bundle -rx} call.
287 @section Release 5.1.2
291 @strong{Critical} vulnerability: remote peers authentication could lead
292 to incorrect identification of remote side, allowing foreign encrypted
296 Bugfix: private and public Noise keys were swapped in newly created
297 configuration files, that lead to inability to authenticate online peers.
300 Explicit directories fsync-ing for guaranteed files renaming.
305 @section Release 5.1.1
309 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
314 @section Release 5.1.0
318 @command{nncp-file} can send directories, automatically creating pax
322 Free disk space is checked during outbound packets creation.
325 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
326 file options replaced with the structure:
327 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
330 Added @option{freq.maxsize} configuration file option, forbidding of
331 freq sending larger than specified size.
334 Ability to notify about successfully executed commands (exec) with
335 @option{notify.exec} configuration file option.
340 @section Release 5.0.0
344 @strong{Incompatible} configuration file format change: YAML is
345 replaced with Hjson, due to its simplicity, without noticeable lack
346 of either functionality or convenience.
349 @strong{Incompatible} plain packet format changes. Older versions are
350 not supported. @code{zlib} compression is replaced with
351 @code{Zstandard}, due to its speed and efficiency, despite library
352 version is not mature enough.
355 Ability to call remote nodes via pipe call of external command, not only
359 @command{nncp-cfgnew} generates configuration file with many
360 comments. @option{-nocomments} option can be used for an old
364 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
365 avoid possible collisions with @file{.nncp.chunkCTR}.
368 Ability to override process umask through configuration file option.
371 Files and directories are created with 666/777 permissions by default,
372 allowing control with @command{umask}.
375 Updated dependencies.
378 Full usage of go modules for dependencies management
379 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
382 Forbid any later GNU GPL version autousage
383 (project's licence now is GNU GPLv3-only).
390 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
398 @strong{Incompatible} encrypted and eblob packet format change: AEAD
399 encryption mode with 128 KiB blocks is used now, because previously
400 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
401 decrypted data to external command. Older versions are not supported.
404 Available free space checking before copying in @command{nncp-xfer},
405 @command{nncp-daemon}, @command{nncp-call(er)}.
408 @command{nncp-call} has ability only to list packets on remote node,
409 without their transmission.
412 @command{nncp-call} has ability to transfer only specified packets.
415 Workability of @option{xxrate} preference in @option{calls}
416 configuration file section.
419 Dependant libraries are updated.
425 Begin using of @code{go.mod} subsystem.
432 @item @command{nncp-daemon} can be run as @command{inetd}-service.
440 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
441 if @file{.seen} exists and treat it like file was already downloaded.
442 Possibly it was transferred out-of-bound and remote side needs to be
446 If higher priority packet is spooled, then @command{nncp-daemon} will
447 queue its sending first, interrupting lower priority transmissions.
450 Simple packet rate limiter added to online-related tools
451 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
454 Ability to specify niceness with symbolic notation:
455 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
458 Changed default niceness levels:
459 for @command{nncp-exec} from 64 to 96,
460 for @command{nncp-freq} from 64 to 160,
461 for @command{nncp-file} from 196 to 224.
469 @strong{Incompatible} @emph{bundle} archive format changes and
470 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
471 valid tar archives, but Go 1.9 made them invalid because of long paths
472 inside. NNCP accidentally was dependant on that bug. Explicit adding of
473 @file{NNCP/} directory in archive restores workability with valid tar
481 Ability to disable relaying at all using @verb{|-via -|} command line option.
489 @strong{Incompatible} plain packet format changes. Older versions are
493 Ability to queue remote command execution, by configuring @option{exec}
494 option in configuration file and using @command{nncp-exec} command:
497 @command{nncp-mail} command is replaced with more flexible
498 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
499 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
501 @option{sendmail} configuration file option is replaced with
502 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
503 @verb{|exec: sendmail: [...]|}.
507 Ability to override @option{via} configuration option for destination
508 node via @option{-via} command line option for following commands:
509 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
512 Chunked files, having size less than specified chunk size, will be sent
513 as an ordinary single file.
516 Exec commands are invoked with additional @env{NNCP_NICE} and
517 @env{NNCP_SELF} environment variables.
520 Files, that are sent as a reply to freq, have niceness level taken from
521 the freq packet. You can set desired niceness during @command{nncp-freq}
522 invocation using @option{-replynice} option.
525 @command{nncp-toss} command can ignore specified packet types during
526 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
530 @command{nncp-file} command uses
531 @option{FreqMinSize}/@option{FreqChunked} configuration file options
532 for @option{-minsize}/@option{-chunked} by default. You can turn this
533 off by specifying zero value.
542 @strong{Incompatible} encrypted/eblob packet format changes. Older
543 versions are not supported.
546 Twofish encryption algorithm is replaced with ChaCha20. It is much more
547 faster. One cryptographic primitive less.
550 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
551 another cryptographic primitive less (assuming that BLAKE2X is nearly
552 identical to BLAKE2).
561 @strong{Incompatible} encrypted packet format changes. Older versions
565 @command{nncp-bundle} command can either create stream of encrypted
566 packets, or digest it. It is useful when dealing with
567 @code{stdin}/@code{stdout} based transmission methods (like writing to
568 CD-ROM without intermediate prepared ISO image and working with tape
572 @command{nncp-toss} is able to create @file{.seen} files preventing
573 duplicate packets receiving.
576 Single background checksum verifier worker is allowed in
577 @command{nncp-call}. This is helpful when thousands of small inbound
578 packets could create many goroutines.
581 Ability to override path to spool directory and logfile through either
582 command line argument, or environment variable.
585 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
586 @file{.part}, @file{.lock} and temporary files.
591 @section Release 0.12
593 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
597 @section Release 0.11
599 @item @command{nncp-stat}'s command output is sorted by node name.
603 @section Release 0.10
606 @command{nncp-freq}'s @file{DST} argument is optional now. Last
607 @file{SRC} path's element will be used by default.
614 Fix @option{-rx}/@option{-tx} arguments processing in
615 @command{nncp-call} command. They were ignored.
622 Little bugfix in @command{nncp-file} command, where @option{-minsize}
623 option for unchunked transfer was not in KiBs, but in bytes.
631 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
632 encrypted temporary file for that.
635 Chunked files transmission appeared with corresponding
636 @command{nncp-reass} command and @option{freqchunked} configuration file
637 entry. Useful for transferring big files over small storage devices.
640 @option{freqminsize} configuration file option, analogue to
641 @option{-minsize} one.
644 @command{nncp-xfer}'s @option{-force} option is renamed to
645 @option{-mkdir} for clarity.
648 @option{-minsize} option is specified in KiBs, not bytes, for
652 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
653 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
654 common prefix and are grouped together for convenience.
657 @command{nncp-cfgenc} command appeared, allowing configuration file
658 encryption/decryption, for keeping it safe without any either OpenPGP or
662 Cryptographic libraries (dependencies) are updated.
669 @item Small @command{nncp-rm} command appeared.
670 @item Cryptographic libraries (dependencies) are updated.
677 Trivial small fix in default niceness level of @command{nncp-file}
678 and @command{nncp-freq} commands.
686 Small fix in @command{nncp-call}, @command{nncp-caller},
687 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
691 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
692 and more convenient to use.
695 @command{nncp-mincfg} command appeared: helper allowing to create
696 minimalistic stripped down configuration file without private keys, that
697 is useful during @command{nncp-xfer} usage.
704 @item Fixed compatibility with Go 1.6.
712 @strong{Incompatible} packet's format change (magic number is changed
713 too): size field is encrypted and is not send in plaintext anymore.
716 @option{-minsize} option gives ability to automatically pad outgoing
717 packets to specified minimal size.
720 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
721 always check new @emph{tx} packets appearance in the background while
722 connected. Remote side is immediately notified.
725 @option{-onlinedeadline} option gives ability to configure timeout of
726 inactivity of online connection, when it could be disconnected. It could
727 be used to keep connection alive for a long time.
730 @option{-maxonlinetime} option gives ability to set maximal allowable
731 online connection aliveness time.
734 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
737 @command{nncp-pkt} command can decompress the data.