4 See also this page @ref{Новости, on russian}.
7 * Release 7.3.0: Release 7_3_0.
8 * Release 7.2.1: Release 7_2_1.
9 * Release 7.2.0: Release 7_2_0.
10 * Release 7.1.1: Release 7_1_1.
11 * Release 7.1.0: Release 7_1_0.
12 * Release 7.0.0: Release 7_0_0.
13 * Release 6.6.0: Release 6_6_0.
14 * Release 6.5.0: Release 6_5_0.
15 * Release 6.4.0: Release 6_4_0.
16 * Release 6.3.0: Release 6_3_0.
17 * Release 6.2.1: Release 6_2_1.
18 * Release 6.2.0: Release 6_2_0.
19 * Release 6.1.0: Release 6_1_0.
20 * Release 6.0.0: Release 6_0_0.
21 * Release 5.6.0: Release 5_6_0.
22 * Release 5.5.1: Release 5_5_1.
23 * Release 5.5.0: Release 5_5_0.
24 * Release 5.4.1: Release 5_4_1.
25 * Release 5.4.0: Release 5_4_0.
26 * Release 5.3.3: Release 5_3_3.
27 * Release 5.3.2: Release 5_3_2.
28 * Release 5.3.1: Release 5_3_1.
29 * Release 5.3.0: Release 5_3_0.
30 * Release 5.2.1: Release 5_2_1.
31 * Release 5.2.0: Release 5_2_0.
32 * Release 5.1.2: Release 5_1_2.
33 * Release 5.1.1: Release 5_1_1.
34 * Release 5.1.0: Release 5_1_0.
35 * Release 5.0.0: Release 5_0_0.
36 * Release 4.1: Release 4_1.
37 * Release 4.0: Release 4_0.
38 * Release 3.4: Release 3_4.
39 * Release 3.3: Release 3_3.
40 * Release 3.2: Release 3_2.
41 * Release 3.1: Release 3_1.
42 * Release 3.0: Release 3_0.
43 * Release 2.0: Release 2_0.
44 * Release 1.0: Release 1_0.
45 * Release 0.12: Release 0_12.
46 * Release 0.11: Release 0_11.
47 * Release 0.10: Release 0_10.
48 * Release 0.9: Release 0_9.
49 * Release 0.8: Release 0_8.
50 * Release 0.7: Release 0_7.
51 * Release 0.6: Release 0_6.
52 * Release 0.5: Release 0_5.
53 * Release 0.4: Release 0_4.
54 * Release 0.3: Release 0_3.
55 * Release 0.2: Release 0_2.
59 @section Release 7.3.0
63 Ability to use directory with a bunch of files as a configuration.
64 @command{nncp-cfgdir} command appeared.
69 @section Release 7.2.1
73 Small optimizations in online commands.
78 @section Release 7.2.0
82 @command{nncp-trns} command appeared for manual transition packets creation.
85 If destination node of transitional packet has non empty @option{via}
86 route, then do not ignore, but use it.
89 Do not relay multicast packet to area message's originator, that
90 obviously has seen its own packet.
93 Much less memory usage during MTH hashing when offset is zero: when
94 packet is not resumed, but for example checked with @command{nncp-check}
100 @section Release 7.1.1
104 Fixed failing directories fsync after @file{.seen} file creation.
109 @section Release 7.1.0
113 Multicasting areas feature appeared. Implemented merely by an additional
114 plain packet type with @command{nncp-toss}, @command{nncp-file} and
115 @command{nncp-exec} commands modification.
118 Fixed workability of @command{nncp-file} and @command{nncp-exec}
119 commands, that use temporary file (stdin and @option{-use-tmp}).
122 Fixed disappearing bad return code in @command{nncp-exec} command.
125 Fixed invalid @file{.hdr} generation when transitional packets are used.
128 @option{-all} option appeared in @command{nncp-rm} command, applying to
129 all the nodes at once.
132 @option{-cycle} option appeared in @command{nncp-check} command, looping
133 the check in infinite cycle.
136 @command{nncp-rm} command can take node alias name.
139 @command{nncp-pkt} can parse @file{.hdr} files.
144 @section Release 7.0.0
148 Minimal required Go version 1.13.
151 Merkle Tree-based Hashing with BLAKE3 (MTH) is used instead of BLAKE2b.
152 Because of that, there are backward @strong{incompatible} changes of
153 encrypted files (everything laying in the spool directory) and
154 @file{.meta} files of chunked transfer.
156 Current implementation is far from being optimal: it lacks
157 parallelizable calculations and has higher memory consumption: nearly
158 512 KiB for each 1 GiB of file's data. Future performance and memory
159 size optimizations should not lead to packet's format change. But it is
160 still several times faster than BLAKE2b.
163 Resumed online downloads, because of MTH, require reading only of the
164 preceding part of file, not the whole one as was before.
167 @command{nncp-hash} utility appeared for calculating file's MTH hash.
170 BLAKE2 KDF and XOF functions are replaced with BLAKE3 in encrypted
171 packets. Lowering number of used primitives. Also, its encrypted
172 packet's header is used as an associated data during encryption.
175 MultiCast Discovery uses
176 @verb{|ff02::4e4e:4350|} address instead of @verb{|ff02::1|}.
179 @command{nncp-cfgenc} mistakenly asked passphrase three times during encryption.
182 @command{nncp-stat} reports about partly downloaded packets.
185 Updated dependencies.
190 @section Release 6.6.0
194 @command{nncp-daemon}, @command{nncp-call} and @command{nncp-caller}
195 commands wait for all background checksummers completion after
196 connection is finished.
199 Added possibility of address determining through multicast announcement
200 in local area network, so called MCD (MultiCast Discovery).
205 @section Release 6.5.0
209 Fixed segfault in @command{nncp-daemon} when SP handshake did not succeed.
212 Fixed possible bad return code ignoring in automatic tosser.
215 Fixed race during file descriptors closing when online protocol call is
216 finished, that could lead to write error of received packet fragment.
219 Kill all packet transmission progress bars in @command{nncp-daemon},
220 @command{nncp-call} and @command{nncp-caller} when call is finished.
225 @section Release 6.4.0
229 Fixed possible race in online protocol, that lead to panic.
234 @section Release 6.3.0
238 Fixed possible panic while showing progress during online protocol.
243 @section Release 6.2.1
247 Three places in logs contained excess @code{%s}.
252 @section Release 6.2.0
256 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
259 Yet another logging refactoring and simplification.
260 Should be no visible differences to the end user.
265 @section Release 6.1.0
269 Optimization: most commands do not keep opened file descriptors now.
270 Previously you can exceed maximal number of opened files if you have got
271 many packets in the spool directory.
274 Optimization: do not close file descriptor of the file we download
275 online. Previously each chunk lead to expensive open/close calls.
278 Online downloaded files are saved with @file{.nock} (non-checksummed)
279 suffix, waiting either for @command{nncp-check}, or online daemons to
280 perform integrity check.
283 Optimization: files, that are not resumed, are checksummed immediately
284 during the online download, skipping @file{.nock}-intermediate step.
287 Ability to store encrypted packet's header in @file{.hdr} file, close to
288 the packet itself. That can greatly increase performance of packets
289 listing on filesystems with big block's size.
294 @section Release 6.0.0
298 Log uses human readable and easy machine parseable
299 @url{https://www.gnu.org/software/recutils/, recfile} format for the
300 records, instead of structured RFC 3339 lines. Old logs are not readable
301 by @command{nncp-log} anymore.
304 @option{-autotoss*} option workability with @command{nncp-daemon}'s
305 @option{-inetd} mode.
308 Call's @option{when-tx-exists} allows to make a call only when outbound
309 packets exists. Combined with seconds-aware cron expression that can be
310 used as some kind of auto dialler.
313 @command{nncp-cronexpr} command allows you to check validity and
314 expectations of specified cron expression.
319 @section Release 5.6.0
323 @option{-autotoss*} option runs tosser not after the call, but every
324 second while it is active.
327 @option{autotoss}, @option{autotoss-doseen},
328 @option{autotoss-nofile}, @option{autotoss-nofreq},
329 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
330 @option{calls} configuration section. You can configure per-call
331 automatic tosser options.
334 Use vendoring, instead of @env{GOPATH} overriding during tarball
335 installation, because current minimal Go's version is 1.12 and it
341 @section Release 5.5.1
345 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
346 variables in @file{config} during installation.
351 @section Release 5.5.0
355 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
356 @command{nncp-bundle} and @command{nncp-stat}.
359 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
362 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
363 options now. Uncompressed packets are not compatible with previous NNCP
367 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
368 have @option{-autotoss*} options for running tosser after call is ended.
371 Updated dependencies. Minimal required Go version is 1.12.
376 @section Release 5.4.1
380 Fixed @code{SENDMAIL} variable usage during the build.
385 @section Release 5.4.0
389 Updated dependencies.
392 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
393 This should not influence package maintainers, because minimal @command{redo}
394 implementation is included in tarball.
399 @section Release 5.3.3
403 More various error checks.
406 Updated dependencies.
411 @section Release 5.3.2
415 Fixed incorrect logic of @option{onlinedeadline} timeout, where
416 connection won't take into account incoming packets events and will
417 forcefully disconnect.
422 @section Release 5.3.1
426 Fixed @option{onlinedeadline} workability with call addresses that use
427 external commands (@verb{#"|somecmd"#}).
430 @command{nncp-stat} has @option{-pkt} option displaying information
431 about each packet in the spool.
436 @section Release 5.3.0
440 Progress messages contain prefix, describing the running action.
443 Fixed not occurring handshake messages padding.
446 Finish all SP protocol related goroutines, less memory leak.
449 SP protocol generates less socket write calls, thus generating less TCP
453 Check @option{onlinedeadline} and @option{maxonlinetime} options every
454 second, independently from socket reads (up to 10 seconds).
457 Once per minute, if no other traffic exists, PING packets are sent in
458 SP-connection. That allows faster determining of connection unworkability.
461 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
466 @section Release 5.2.1
470 Fixed SP protocol error handling, sometimes causing program panic.
475 @section Release 5.2.0
479 Most commands by default show oneline operations progress.
480 @option{-progress}, @option{-noprogress} command line options,
481 @option{noprogress} configuration file option appeared.
484 Fixed incorrect @command{nncp-check} command return code, that returned
485 bad code when everything is good.
488 Free disk space check during @command{nncp-bundle -rx} call.
493 @section Release 5.1.2
497 @strong{Critical} vulnerability: remote peers authentication could lead
498 to incorrect identification of remote side, allowing foreign encrypted
502 Bugfix: private and public Noise keys were swapped in newly created
503 configuration files, that lead to inability to authenticate online peers.
506 Explicit directories fsync-ing for guaranteed files renaming.
511 @section Release 5.1.1
515 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
520 @section Release 5.1.0
524 @command{nncp-file} can send directories, automatically creating pax
528 Free disk space is checked during outbound packets creation.
531 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
532 file options replaced with the structure:
533 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
536 Added @option{freq.maxsize} configuration file option, forbidding of
537 freq sending larger than specified size.
540 Ability to notify about successfully executed commands (exec) with
541 @option{notify.exec} configuration file option.
546 @section Release 5.0.0
550 @strong{Incompatible} configuration file format change: YAML is
551 replaced with Hjson, due to its simplicity, without noticeable lack
552 of either functionality or convenience.
555 @strong{Incompatible} plain packet format changes. Older versions are
556 not supported. @code{zlib} compression is replaced with
557 @code{Zstandard}, due to its speed and efficiency, despite library
558 version is not mature enough.
561 Ability to call remote nodes via pipe call of external command, not only
565 @command{nncp-cfgnew} generates configuration file with many
566 comments. @option{-nocomments} option can be used for an old
570 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
571 avoid possible collisions with @file{.nncp.chunkCTR}.
574 Ability to override process umask through configuration file option.
577 Files and directories are created with 666/777 permissions by default,
578 allowing control with @command{umask}.
581 Updated dependencies.
584 Full usage of go modules for dependencies management
585 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
588 Forbid any later GNU GPL version autousage
589 (project's licence now is GNU GPLv3-only).
596 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
604 @strong{Incompatible} encrypted and eblob packet format change: AEAD
605 encryption mode with 128 KiB blocks is used now, because previously
606 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
607 decrypted data to external command. Older versions are not supported.
610 Available free space checking before copying in @command{nncp-xfer},
611 @command{nncp-daemon}, @command{nncp-call(er)}.
614 @command{nncp-call} has ability only to list packets on remote node,
615 without their transmission.
618 @command{nncp-call} has ability to transfer only specified packets.
621 Workability of @option{xxrate} preference in @option{calls}
622 configuration file section.
625 Dependant libraries are updated.
631 Begin using of @code{go.mod} subsystem.
638 @item @command{nncp-daemon} can be run as @command{inetd}-service.
646 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
647 if @file{.seen} exists and treat it like file was already downloaded.
648 Possibly it was transferred out-of-bound and remote side needs to be
652 If higher priority packet is spooled, then @command{nncp-daemon} will
653 queue its sending first, interrupting lower priority transmissions.
656 Simple packet rate limiter added to online-related tools
657 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
660 Ability to specify niceness with symbolic notation:
661 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
664 Changed default niceness levels:
665 for @command{nncp-exec} from 64 to 96,
666 for @command{nncp-freq} from 64 to 160,
667 for @command{nncp-file} from 196 to 224.
675 @strong{Incompatible} @emph{bundle} archive format changes and
676 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
677 valid tar archives, but Go 1.9 made them invalid because of long paths
678 inside. NNCP accidentally was dependant on that bug. Explicit adding of
679 @file{NNCP/} directory in archive restores workability with valid tar
687 Ability to disable relaying at all using @verb{|-via -|} command line option.
695 @strong{Incompatible} plain packet format changes. Older versions are
699 Ability to queue remote command execution, by configuring @option{exec}
700 option in configuration file and using @command{nncp-exec} command:
703 @command{nncp-mail} command is replaced with more flexible
704 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
705 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
707 @option{sendmail} configuration file option is replaced with
708 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
709 @verb{|exec: sendmail: [...]|}.
713 Ability to override @option{via} configuration option for destination
714 node via @option{-via} command line option for following commands:
715 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
718 Chunked files, having size less than specified chunk size, will be sent
719 as an ordinary single file.
722 Exec commands are invoked with additional @env{NNCP_NICE} and
723 @env{NNCP_SELF} environment variables.
726 Files, that are sent as a reply to freq, have niceness level taken from
727 the freq packet. You can set desired niceness during @command{nncp-freq}
728 invocation using @option{-replynice} option.
731 @command{nncp-toss} command can ignore specified packet types during
732 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
736 @command{nncp-file} command uses
737 @option{FreqMinSize}/@option{FreqChunked} configuration file options
738 for @option{-minsize}/@option{-chunked} by default. You can turn this
739 off by specifying zero value.
748 @strong{Incompatible} encrypted/eblob packet format changes. Older
749 versions are not supported.
752 Twofish encryption algorithm is replaced with ChaCha20. It is much more
753 faster. One cryptographic primitive less.
756 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
757 another cryptographic primitive less (assuming that BLAKE2X is nearly
758 identical to BLAKE2).
767 @strong{Incompatible} encrypted packet format changes. Older versions
771 @command{nncp-bundle} command can either create stream of encrypted
772 packets, or digest it. It is useful when dealing with
773 @code{stdin}/@code{stdout} based transmission methods (like writing to
774 CD-ROM without intermediate prepared ISO image and working with tape
778 @command{nncp-toss} is able to create @file{.seen} files preventing
779 duplicate packets receiving.
782 Single background checksum verifier worker is allowed in
783 @command{nncp-call}. This is helpful when thousands of small inbound
784 packets could create many goroutines.
787 Ability to override path to spool directory and logfile through either
788 command line argument, or environment variable.
791 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
792 @file{.part}, @file{.lock} and temporary files.
797 @section Release 0.12
799 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
803 @section Release 0.11
805 @item @command{nncp-stat}'s command output is sorted by node name.
809 @section Release 0.10
812 @command{nncp-freq}'s @file{DST} argument is optional now. Last
813 @file{SRC} path's element will be used by default.
820 Fix @option{-rx}/@option{-tx} arguments processing in
821 @command{nncp-call} command. They were ignored.
828 Little bugfix in @command{nncp-file} command, where @option{-minsize}
829 option for unchunked transfer was not in KiBs, but in bytes.
837 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
838 encrypted temporary file for that.
841 Chunked files transmission appeared with corresponding
842 @command{nncp-reass} command and @option{freqchunked} configuration file
843 entry. Useful for transferring big files over small storage devices.
846 @option{freqminsize} configuration file option, analogue to
847 @option{-minsize} one.
850 @command{nncp-xfer}'s @option{-force} option is renamed to
851 @option{-mkdir} for clarity.
854 @option{-minsize} option is specified in KiBs, not bytes, for
858 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
859 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
860 common prefix and are grouped together for convenience.
863 @command{nncp-cfgenc} command appeared, allowing configuration file
864 encryption/decryption, for keeping it safe without any either OpenPGP or
868 Cryptographic libraries (dependencies) are updated.
875 @item Small @command{nncp-rm} command appeared.
876 @item Cryptographic libraries (dependencies) are updated.
883 Trivial small fix in default niceness level of @command{nncp-file}
884 and @command{nncp-freq} commands.
892 Small fix in @command{nncp-call}, @command{nncp-caller},
893 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
897 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
898 and more convenient to use.
901 @command{nncp-mincfg} command appeared: helper allowing to create
902 minimalistic stripped down configuration file without private keys, that
903 is useful during @command{nncp-xfer} usage.
910 @item Fixed compatibility with Go 1.6.
918 @strong{Incompatible} packet's format change (magic number is changed
919 too): size field is encrypted and is not send in plaintext anymore.
922 @option{-minsize} option gives ability to automatically pad outgoing
923 packets to specified minimal size.
926 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
927 always check new @emph{tx} packets appearance in the background while
928 connected. Remote side is immediately notified.
931 @option{-onlinedeadline} option gives ability to configure timeout of
932 inactivity of online connection, when it could be disconnected. It could
933 be used to keep connection alive for a long time.
936 @option{-maxonlinetime} option gives ability to set maximal allowable
937 online connection aliveness time.
940 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
943 @command{nncp-pkt} command can decompress the data.