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.
17 Fixed race during file descriptors closing when online protocol call is
18 finished, that could lead to write error of received packet fragment.
21 Kill all packet transmission progress bars in @command{nncp-daemon},
22 @command{nncp-call} and @command{nncp-caller} when call is finished.
27 @section Release 6.4.0
31 Fixed possible race in online protocol, that lead to panic.
36 @section Release 6.3.0
40 Fixed possible panic while showing progress during online protocol.
45 @section Release 6.2.1
49 Three places in logs contained excess @code{%s}.
54 @section Release 6.2.0
58 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
61 Yet another logging refactoring and simplification.
62 Should be no visible differences to the end user.
67 @section Release 6.1.0
71 Optimization: most commands do not keep opened file descriptors now.
72 Previously you can exceed maximal number of opened files if you have got
73 many packets in the spool directory.
76 Optimization: do not close file descriptor of the file we download
77 online. Previously each chunk lead to expensive open/close calls.
80 Online downloaded files are saved with @file{.nock} (non-checksummed)
81 suffix, waiting either for @command{nncp-check}, or online daemons to
82 perform integrity check.
85 Optimization: files, that are not resumed, are checksummed immediately
86 during the online download, skipping @file{.nock}-intermediate step.
89 Ability to store encrypted packet's header in @file{.hdr} file, close to
90 the packet itself. That can greatly increase performance of packets
91 listing on filesystems with big block's size.
96 @section Release 6.0.0
100 Log uses human readable and easy machine parseable
101 @url{https://www.gnu.org/software/recutils/, recfile} format for the
102 records, instead of structured RFC 3339 lines. Old logs are not readable
103 by @command{nncp-log} anymore.
106 @option{-autotoss*} option workability with @command{nncp-daemon}'s
107 @option{-inetd} mode.
110 Call's @option{when-tx-exists} allows to make a call only when outbound
111 packets exists. Combined with seconds-aware cron expression that can be
112 used as some kind of auto dialler.
115 @command{nncp-cronexpr} command allows you to check validity and
116 expectations of specified cron expression.
121 @section Release 5.6.0
125 @option{-autotoss*} option runs tosser not after the call, but every
126 second while it is active.
129 @option{autotoss}, @option{autotoss-doseen},
130 @option{autotoss-nofile}, @option{autotoss-nofreq},
131 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
132 @option{calls} configuration section. You can configure per-call
133 automatic tosser options.
136 Use vendoring, instead of @env{GOPATH} overriding during tarball
137 installation, because current minimal Go's version is 1.12 and it
143 @section Release 5.5.1
147 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
148 variables in @file{config} during installation.
153 @section Release 5.5.0
157 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
158 @command{nncp-bundle} and @command{nncp-stat}.
161 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
164 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
165 options now. Uncompressed packets are not compatible with previous NNCP
169 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
170 have @option{-autotoss*} options for running tosser after call is ended.
173 Updated dependencies. Minimal required Go version is 1.12.
178 @section Release 5.4.1
182 Fixed @code{SENDMAIL} variable usage during the build.
187 @section Release 5.4.0
191 Updated dependencies.
194 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
195 This should not influence package maintainers, because minimal @command{redo}
196 implementation is included in tarball.
201 @section Release 5.3.3
205 More various error checks.
208 Updated dependencies.
213 @section Release 5.3.2
217 Fixed incorrect logic of @option{onlinedeadline} timeout, where
218 connection won't take into account incoming packets events and will
219 forcefully disconnect.
224 @section Release 5.3.1
228 Fixed @option{onlinedeadline} workability with call addresses that use
229 external commands (@verb{#"|somecmd"#}).
232 @command{nncp-stat} has @option{-pkt} option displaying information
233 about each packet in the spool.
238 @section Release 5.3.0
242 Progress messages contain prefix, describing the running action.
245 Fixed not occurring handshake messages padding.
248 Finish all SP protocol related goroutines, less memory leak.
251 SP protocol generates less socket write calls, thus generating less TCP
255 Check @option{onlinedeadline} and @option{maxonlinetime} options every
256 second, independently from socket reads (up to 10 seconds).
259 Once per minute, if no other traffic exists, PING packets are sent in
260 SP-connection. That allows faster determining of connection unworkability.
263 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
268 @section Release 5.2.1
272 Fixed SP protocol error handling, sometimes causing program panic.
277 @section Release 5.2.0
281 Most commands by default show oneline operations progress.
282 @option{-progress}, @option{-noprogress} command line options,
283 @option{noprogress} configuration file option appeared.
286 Fixed incorrect @command{nncp-check} command return code, that returned
287 bad code when everything is good.
290 Free disk space check during @command{nncp-bundle -rx} call.
295 @section Release 5.1.2
299 @strong{Critical} vulnerability: remote peers authentication could lead
300 to incorrect identification of remote side, allowing foreign encrypted
304 Bugfix: private and public Noise keys were swapped in newly created
305 configuration files, that lead to inability to authenticate online peers.
308 Explicit directories fsync-ing for guaranteed files renaming.
313 @section Release 5.1.1
317 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
322 @section Release 5.1.0
326 @command{nncp-file} can send directories, automatically creating pax
330 Free disk space is checked during outbound packets creation.
333 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
334 file options replaced with the structure:
335 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
338 Added @option{freq.maxsize} configuration file option, forbidding of
339 freq sending larger than specified size.
342 Ability to notify about successfully executed commands (exec) with
343 @option{notify.exec} configuration file option.
348 @section Release 5.0.0
352 @strong{Incompatible} configuration file format change: YAML is
353 replaced with Hjson, due to its simplicity, without noticeable lack
354 of either functionality or convenience.
357 @strong{Incompatible} plain packet format changes. Older versions are
358 not supported. @code{zlib} compression is replaced with
359 @code{Zstandard}, due to its speed and efficiency, despite library
360 version is not mature enough.
363 Ability to call remote nodes via pipe call of external command, not only
367 @command{nncp-cfgnew} generates configuration file with many
368 comments. @option{-nocomments} option can be used for an old
372 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
373 avoid possible collisions with @file{.nncp.chunkCTR}.
376 Ability to override process umask through configuration file option.
379 Files and directories are created with 666/777 permissions by default,
380 allowing control with @command{umask}.
383 Updated dependencies.
386 Full usage of go modules for dependencies management
387 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
390 Forbid any later GNU GPL version autousage
391 (project's licence now is GNU GPLv3-only).
398 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
406 @strong{Incompatible} encrypted and eblob packet format change: AEAD
407 encryption mode with 128 KiB blocks is used now, because previously
408 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
409 decrypted data to external command. Older versions are not supported.
412 Available free space checking before copying in @command{nncp-xfer},
413 @command{nncp-daemon}, @command{nncp-call(er)}.
416 @command{nncp-call} has ability only to list packets on remote node,
417 without their transmission.
420 @command{nncp-call} has ability to transfer only specified packets.
423 Workability of @option{xxrate} preference in @option{calls}
424 configuration file section.
427 Dependant libraries are updated.
433 Begin using of @code{go.mod} subsystem.
440 @item @command{nncp-daemon} can be run as @command{inetd}-service.
448 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
449 if @file{.seen} exists and treat it like file was already downloaded.
450 Possibly it was transferred out-of-bound and remote side needs to be
454 If higher priority packet is spooled, then @command{nncp-daemon} will
455 queue its sending first, interrupting lower priority transmissions.
458 Simple packet rate limiter added to online-related tools
459 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
462 Ability to specify niceness with symbolic notation:
463 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
466 Changed default niceness levels:
467 for @command{nncp-exec} from 64 to 96,
468 for @command{nncp-freq} from 64 to 160,
469 for @command{nncp-file} from 196 to 224.
477 @strong{Incompatible} @emph{bundle} archive format changes and
478 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
479 valid tar archives, but Go 1.9 made them invalid because of long paths
480 inside. NNCP accidentally was dependant on that bug. Explicit adding of
481 @file{NNCP/} directory in archive restores workability with valid tar
489 Ability to disable relaying at all using @verb{|-via -|} command line option.
497 @strong{Incompatible} plain packet format changes. Older versions are
501 Ability to queue remote command execution, by configuring @option{exec}
502 option in configuration file and using @command{nncp-exec} command:
505 @command{nncp-mail} command is replaced with more flexible
506 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
507 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
509 @option{sendmail} configuration file option is replaced with
510 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
511 @verb{|exec: sendmail: [...]|}.
515 Ability to override @option{via} configuration option for destination
516 node via @option{-via} command line option for following commands:
517 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
520 Chunked files, having size less than specified chunk size, will be sent
521 as an ordinary single file.
524 Exec commands are invoked with additional @env{NNCP_NICE} and
525 @env{NNCP_SELF} environment variables.
528 Files, that are sent as a reply to freq, have niceness level taken from
529 the freq packet. You can set desired niceness during @command{nncp-freq}
530 invocation using @option{-replynice} option.
533 @command{nncp-toss} command can ignore specified packet types during
534 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
538 @command{nncp-file} command uses
539 @option{FreqMinSize}/@option{FreqChunked} configuration file options
540 for @option{-minsize}/@option{-chunked} by default. You can turn this
541 off by specifying zero value.
550 @strong{Incompatible} encrypted/eblob packet format changes. Older
551 versions are not supported.
554 Twofish encryption algorithm is replaced with ChaCha20. It is much more
555 faster. One cryptographic primitive less.
558 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
559 another cryptographic primitive less (assuming that BLAKE2X is nearly
560 identical to BLAKE2).
569 @strong{Incompatible} encrypted packet format changes. Older versions
573 @command{nncp-bundle} command can either create stream of encrypted
574 packets, or digest it. It is useful when dealing with
575 @code{stdin}/@code{stdout} based transmission methods (like writing to
576 CD-ROM without intermediate prepared ISO image and working with tape
580 @command{nncp-toss} is able to create @file{.seen} files preventing
581 duplicate packets receiving.
584 Single background checksum verifier worker is allowed in
585 @command{nncp-call}. This is helpful when thousands of small inbound
586 packets could create many goroutines.
589 Ability to override path to spool directory and logfile through either
590 command line argument, or environment variable.
593 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
594 @file{.part}, @file{.lock} and temporary files.
599 @section Release 0.12
601 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
605 @section Release 0.11
607 @item @command{nncp-stat}'s command output is sorted by node name.
611 @section Release 0.10
614 @command{nncp-freq}'s @file{DST} argument is optional now. Last
615 @file{SRC} path's element will be used by default.
622 Fix @option{-rx}/@option{-tx} arguments processing in
623 @command{nncp-call} command. They were ignored.
630 Little bugfix in @command{nncp-file} command, where @option{-minsize}
631 option for unchunked transfer was not in KiBs, but in bytes.
639 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
640 encrypted temporary file for that.
643 Chunked files transmission appeared with corresponding
644 @command{nncp-reass} command and @option{freqchunked} configuration file
645 entry. Useful for transferring big files over small storage devices.
648 @option{freqminsize} configuration file option, analogue to
649 @option{-minsize} one.
652 @command{nncp-xfer}'s @option{-force} option is renamed to
653 @option{-mkdir} for clarity.
656 @option{-minsize} option is specified in KiBs, not bytes, for
660 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
661 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
662 common prefix and are grouped together for convenience.
665 @command{nncp-cfgenc} command appeared, allowing configuration file
666 encryption/decryption, for keeping it safe without any either OpenPGP or
670 Cryptographic libraries (dependencies) are updated.
677 @item Small @command{nncp-rm} command appeared.
678 @item Cryptographic libraries (dependencies) are updated.
685 Trivial small fix in default niceness level of @command{nncp-file}
686 and @command{nncp-freq} commands.
694 Small fix in @command{nncp-call}, @command{nncp-caller},
695 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
699 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
700 and more convenient to use.
703 @command{nncp-mincfg} command appeared: helper allowing to create
704 minimalistic stripped down configuration file without private keys, that
705 is useful during @command{nncp-xfer} usage.
712 @item Fixed compatibility with Go 1.6.
720 @strong{Incompatible} packet's format change (magic number is changed
721 too): size field is encrypted and is not send in plaintext anymore.
724 @option{-minsize} option gives ability to automatically pad outgoing
725 packets to specified minimal size.
728 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
729 always check new @emph{tx} packets appearance in the background while
730 connected. Remote side is immediately notified.
733 @option{-onlinedeadline} option gives ability to configure timeout of
734 inactivity of online connection, when it could be disconnected. It could
735 be used to keep connection alive for a long time.
738 @option{-maxonlinetime} option gives ability to set maximal allowable
739 online connection aliveness time.
742 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
745 @command{nncp-pkt} command can decompress the data.