4 See also this page @ref{Новости, on russian}.
7 * Release 7.3.1: Release 7_3_1.
8 * Release 7.3.0: Release 7_3_0.
9 * Release 7.2.1: Release 7_2_1.
10 * Release 7.2.0: Release 7_2_0.
11 * Release 7.1.1: Release 7_1_1.
12 * Release 7.1.0: Release 7_1_0.
13 * Release 7.0.0: Release 7_0_0.
14 * Release 6.6.0: Release 6_6_0.
15 * Release 6.5.0: Release 6_5_0.
16 * Release 6.4.0: Release 6_4_0.
17 * Release 6.3.0: Release 6_3_0.
18 * Release 6.2.1: Release 6_2_1.
19 * Release 6.2.0: Release 6_2_0.
20 * Release 6.1.0: Release 6_1_0.
21 * Release 6.0.0: Release 6_0_0.
22 * Release 5.6.0: Release 5_6_0.
23 * Release 5.5.1: Release 5_5_1.
24 * Release 5.5.0: Release 5_5_0.
25 * Release 5.4.1: Release 5_4_1.
26 * Release 5.4.0: Release 5_4_0.
27 * Release 5.3.3: Release 5_3_3.
28 * Release 5.3.2: Release 5_3_2.
29 * Release 5.3.1: Release 5_3_1.
30 * Release 5.3.0: Release 5_3_0.
31 * Release 5.2.1: Release 5_2_1.
32 * Release 5.2.0: Release 5_2_0.
33 * Release 5.1.2: Release 5_1_2.
34 * Release 5.1.1: Release 5_1_1.
35 * Release 5.1.0: Release 5_1_0.
36 * Release 5.0.0: Release 5_0_0.
37 * Release 4.1: Release 4_1.
38 * Release 4.0: Release 4_0.
39 * Release 3.4: Release 3_4.
40 * Release 3.3: Release 3_3.
41 * Release 3.2: Release 3_2.
42 * Release 3.1: Release 3_1.
43 * Release 3.0: Release 3_0.
44 * Release 2.0: Release 2_0.
45 * Release 1.0: Release 1_0.
46 * Release 0.12: Release 0_12.
47 * Release 0.11: Release 0_11.
48 * Release 0.10: Release 0_10.
49 * Release 0.9: Release 0_9.
50 * Release 0.8: Release 0_8.
51 * Release 0.7: Release 0_7.
52 * Release 0.6: Release 0_6.
53 * Release 0.5: Release 0_5.
54 * Release 0.4: Release 0_4.
55 * Release 0.3: Release 0_3.
56 * Release 0.2: Release 0_2.
60 @section Release 7.3.1
64 Fixed possibly left opened file descriptor in online commands.
67 Severely decreased memory usage of MTH hashing.
72 @section Release 7.3.0
76 Fixed some workability problems on 32-bit systems with big files.
79 Ability to use directory with a bunch of files as a configuration.
80 @command{nncp-cfgdir} command appeared.
85 @section Release 7.2.1
89 Small optimizations in online commands.
94 @section Release 7.2.0
98 @command{nncp-trns} command appeared for manual transition packets creation.
101 If destination node of transitional packet has non empty @option{via}
102 route, then do not ignore, but use it.
105 Do not relay multicast packet to area message's originator, that
106 obviously has seen its own packet.
109 Much less memory usage during MTH hashing when offset is zero: when
110 packet is not resumed, but for example checked with @command{nncp-check}
116 @section Release 7.1.1
120 Fixed failing directories fsync after @file{.seen} file creation.
125 @section Release 7.1.0
129 Multicasting areas feature appeared. Implemented merely by an additional
130 plain packet type with @command{nncp-toss}, @command{nncp-file} and
131 @command{nncp-exec} commands modification.
134 Fixed workability of @command{nncp-file} and @command{nncp-exec}
135 commands, that use temporary file (stdin and @option{-use-tmp}).
138 Fixed disappearing bad return code in @command{nncp-exec} command.
141 Fixed invalid @file{.hdr} generation when transitional packets are used.
144 @option{-all} option appeared in @command{nncp-rm} command, applying to
145 all the nodes at once.
148 @option{-cycle} option appeared in @command{nncp-check} command, looping
149 the check in infinite cycle.
152 @command{nncp-rm} command can take node alias name.
155 @command{nncp-pkt} can parse @file{.hdr} files.
160 @section Release 7.0.0
164 Minimal required Go version 1.13.
167 Merkle Tree-based Hashing with BLAKE3 (MTH) is used instead of BLAKE2b.
168 Because of that, there are backward @strong{incompatible} changes of
169 encrypted files (everything laying in the spool directory) and
170 @file{.meta} files of chunked transfer.
172 Current implementation is far from being optimal: it lacks
173 parallelizable calculations and has higher memory consumption: nearly
174 512 KiB for each 1 GiB of file's data. Future performance and memory
175 size optimizations should not lead to packet's format change. But it is
176 still several times faster than BLAKE2b.
179 Resumed online downloads, because of MTH, require reading only of the
180 preceding part of file, not the whole one as was before.
183 @command{nncp-hash} utility appeared for calculating file's MTH hash.
186 BLAKE2 KDF and XOF functions are replaced with BLAKE3 in encrypted
187 packets. Lowering number of used primitives. Also, its encrypted
188 packet's header is used as an associated data during encryption.
191 MultiCast Discovery uses
192 @verb{|ff02::4e4e:4350|} address instead of @verb{|ff02::1|}.
195 @command{nncp-cfgenc} mistakenly asked passphrase three times during encryption.
198 @command{nncp-stat} reports about partly downloaded packets.
201 Updated dependencies.
206 @section Release 6.6.0
210 @command{nncp-daemon}, @command{nncp-call} and @command{nncp-caller}
211 commands wait for all background checksummers completion after
212 connection is finished.
215 Added possibility of address determining through multicast announcement
216 in local area network, so called MCD (MultiCast Discovery).
221 @section Release 6.5.0
225 Fixed segfault in @command{nncp-daemon} when SP handshake did not succeed.
228 Fixed possible bad return code ignoring in automatic tosser.
231 Fixed race during file descriptors closing when online protocol call is
232 finished, that could lead to write error of received packet fragment.
235 Kill all packet transmission progress bars in @command{nncp-daemon},
236 @command{nncp-call} and @command{nncp-caller} when call is finished.
241 @section Release 6.4.0
245 Fixed possible race in online protocol, that lead to panic.
250 @section Release 6.3.0
254 Fixed possible panic while showing progress during online protocol.
259 @section Release 6.2.1
263 Three places in logs contained excess @code{%s}.
268 @section Release 6.2.0
272 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
275 Yet another logging refactoring and simplification.
276 Should be no visible differences to the end user.
281 @section Release 6.1.0
285 Optimization: most commands do not keep opened file descriptors now.
286 Previously you can exceed maximal number of opened files if you have got
287 many packets in the spool directory.
290 Optimization: do not close file descriptor of the file we download
291 online. Previously each chunk lead to expensive open/close calls.
294 Online downloaded files are saved with @file{.nock} (non-checksummed)
295 suffix, waiting either for @command{nncp-check}, or online daemons to
296 perform integrity check.
299 Optimization: files, that are not resumed, are checksummed immediately
300 during the online download, skipping @file{.nock}-intermediate step.
303 Ability to store encrypted packet's header in @file{.hdr} file, close to
304 the packet itself. That can greatly increase performance of packets
305 listing on filesystems with big block's size.
310 @section Release 6.0.0
314 Log uses human readable and easy machine parseable
315 @url{https://www.gnu.org/software/recutils/, recfile} format for the
316 records, instead of structured RFC 3339 lines. Old logs are not readable
317 by @command{nncp-log} anymore.
320 @option{-autotoss*} option workability with @command{nncp-daemon}'s
321 @option{-inetd} mode.
324 Call's @option{when-tx-exists} allows to make a call only when outbound
325 packets exists. Combined with seconds-aware cron expression that can be
326 used as some kind of auto dialler.
329 @command{nncp-cronexpr} command allows you to check validity and
330 expectations of specified cron expression.
335 @section Release 5.6.0
339 @option{-autotoss*} option runs tosser not after the call, but every
340 second while it is active.
343 @option{autotoss}, @option{autotoss-doseen},
344 @option{autotoss-nofile}, @option{autotoss-nofreq},
345 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
346 @option{calls} configuration section. You can configure per-call
347 automatic tosser options.
350 Use vendoring, instead of @env{GOPATH} overriding during tarball
351 installation, because current minimal Go's version is 1.12 and it
357 @section Release 5.5.1
361 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
362 variables in @file{config} during installation.
367 @section Release 5.5.0
371 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
372 @command{nncp-bundle} and @command{nncp-stat}.
375 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
378 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
379 options now. Uncompressed packets are not compatible with previous NNCP
383 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
384 have @option{-autotoss*} options for running tosser after call is ended.
387 Updated dependencies. Minimal required Go version is 1.12.
392 @section Release 5.4.1
396 Fixed @code{SENDMAIL} variable usage during the build.
401 @section Release 5.4.0
405 Updated dependencies.
408 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
409 This should not influence package maintainers, because minimal @command{redo}
410 implementation is included in tarball.
415 @section Release 5.3.3
419 More various error checks.
422 Updated dependencies.
427 @section Release 5.3.2
431 Fixed incorrect logic of @option{onlinedeadline} timeout, where
432 connection won't take into account incoming packets events and will
433 forcefully disconnect.
438 @section Release 5.3.1
442 Fixed @option{onlinedeadline} workability with call addresses that use
443 external commands (@verb{#"|somecmd"#}).
446 @command{nncp-stat} has @option{-pkt} option displaying information
447 about each packet in the spool.
452 @section Release 5.3.0
456 Progress messages contain prefix, describing the running action.
459 Fixed not occurring handshake messages padding.
462 Finish all SP protocol related goroutines, less memory leak.
465 SP protocol generates less socket write calls, thus generating less TCP
469 Check @option{onlinedeadline} and @option{maxonlinetime} options every
470 second, independently from socket reads (up to 10 seconds).
473 Once per minute, if no other traffic exists, PING packets are sent in
474 SP-connection. That allows faster determining of connection unworkability.
477 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
482 @section Release 5.2.1
486 Fixed SP protocol error handling, sometimes causing program panic.
491 @section Release 5.2.0
495 Most commands by default show oneline operations progress.
496 @option{-progress}, @option{-noprogress} command line options,
497 @option{noprogress} configuration file option appeared.
500 Fixed incorrect @command{nncp-check} command return code, that returned
501 bad code when everything is good.
504 Free disk space check during @command{nncp-bundle -rx} call.
509 @section Release 5.1.2
513 @strong{Critical} vulnerability: remote peers authentication could lead
514 to incorrect identification of remote side, allowing foreign encrypted
518 Bugfix: private and public Noise keys were swapped in newly created
519 configuration files, that lead to inability to authenticate online peers.
522 Explicit directories fsync-ing for guaranteed files renaming.
527 @section Release 5.1.1
531 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
536 @section Release 5.1.0
540 @command{nncp-file} can send directories, automatically creating pax
544 Free disk space is checked during outbound packets creation.
547 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
548 file options replaced with the structure:
549 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
552 Added @option{freq.maxsize} configuration file option, forbidding of
553 freq sending larger than specified size.
556 Ability to notify about successfully executed commands (exec) with
557 @option{notify.exec} configuration file option.
562 @section Release 5.0.0
566 @strong{Incompatible} configuration file format change: YAML is
567 replaced with Hjson, due to its simplicity, without noticeable lack
568 of either functionality or convenience.
571 @strong{Incompatible} plain packet format changes. Older versions are
572 not supported. @code{zlib} compression is replaced with
573 @code{Zstandard}, due to its speed and efficiency, despite library
574 version is not mature enough.
577 Ability to call remote nodes via pipe call of external command, not only
581 @command{nncp-cfgnew} generates configuration file with many
582 comments. @option{-nocomments} option can be used for an old
586 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
587 avoid possible collisions with @file{.nncp.chunkCTR}.
590 Ability to override process umask through configuration file option.
593 Files and directories are created with 666/777 permissions by default,
594 allowing control with @command{umask}.
597 Updated dependencies.
600 Full usage of go modules for dependencies management
601 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
604 Forbid any later GNU GPL version autousage
605 (project's licence now is GNU GPLv3-only).
612 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
620 @strong{Incompatible} encrypted and eblob packet format change: AEAD
621 encryption mode with 128 KiB blocks is used now, because previously
622 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
623 decrypted data to external command. Older versions are not supported.
626 Available free space checking before copying in @command{nncp-xfer},
627 @command{nncp-daemon}, @command{nncp-call(er)}.
630 @command{nncp-call} has ability only to list packets on remote node,
631 without their transmission.
634 @command{nncp-call} has ability to transfer only specified packets.
637 Workability of @option{xxrate} preference in @option{calls}
638 configuration file section.
641 Dependant libraries are updated.
647 Begin using of @code{go.mod} subsystem.
654 @item @command{nncp-daemon} can be run as @command{inetd}-service.
662 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
663 if @file{.seen} exists and treat it like file was already downloaded.
664 Possibly it was transferred out-of-bound and remote side needs to be
668 If higher priority packet is spooled, then @command{nncp-daemon} will
669 queue its sending first, interrupting lower priority transmissions.
672 Simple packet rate limiter added to online-related tools
673 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
676 Ability to specify niceness with symbolic notation:
677 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
680 Changed default niceness levels:
681 for @command{nncp-exec} from 64 to 96,
682 for @command{nncp-freq} from 64 to 160,
683 for @command{nncp-file} from 196 to 224.
691 @strong{Incompatible} @emph{bundle} archive format changes and
692 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
693 valid tar archives, but Go 1.9 made them invalid because of long paths
694 inside. NNCP accidentally was dependant on that bug. Explicit adding of
695 @file{NNCP/} directory in archive restores workability with valid tar
703 Ability to disable relaying at all using @verb{|-via -|} command line option.
711 @strong{Incompatible} plain packet format changes. Older versions are
715 Ability to queue remote command execution, by configuring @option{exec}
716 option in configuration file and using @command{nncp-exec} command:
719 @command{nncp-mail} command is replaced with more flexible
720 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
721 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
723 @option{sendmail} configuration file option is replaced with
724 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
725 @verb{|exec: sendmail: [...]|}.
729 Ability to override @option{via} configuration option for destination
730 node via @option{-via} command line option for following commands:
731 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
734 Chunked files, having size less than specified chunk size, will be sent
735 as an ordinary single file.
738 Exec commands are invoked with additional @env{NNCP_NICE} and
739 @env{NNCP_SELF} environment variables.
742 Files, that are sent as a reply to freq, have niceness level taken from
743 the freq packet. You can set desired niceness during @command{nncp-freq}
744 invocation using @option{-replynice} option.
747 @command{nncp-toss} command can ignore specified packet types during
748 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
752 @command{nncp-file} command uses
753 @option{FreqMinSize}/@option{FreqChunked} configuration file options
754 for @option{-minsize}/@option{-chunked} by default. You can turn this
755 off by specifying zero value.
764 @strong{Incompatible} encrypted/eblob packet format changes. Older
765 versions are not supported.
768 Twofish encryption algorithm is replaced with ChaCha20. It is much more
769 faster. One cryptographic primitive less.
772 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
773 another cryptographic primitive less (assuming that BLAKE2X is nearly
774 identical to BLAKE2).
783 @strong{Incompatible} encrypted packet format changes. Older versions
787 @command{nncp-bundle} command can either create stream of encrypted
788 packets, or digest it. It is useful when dealing with
789 @code{stdin}/@code{stdout} based transmission methods (like writing to
790 CD-ROM without intermediate prepared ISO image and working with tape
794 @command{nncp-toss} is able to create @file{.seen} files preventing
795 duplicate packets receiving.
798 Single background checksum verifier worker is allowed in
799 @command{nncp-call}. This is helpful when thousands of small inbound
800 packets could create many goroutines.
803 Ability to override path to spool directory and logfile through either
804 command line argument, or environment variable.
807 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
808 @file{.part}, @file{.lock} and temporary files.
813 @section Release 0.12
815 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
819 @section Release 0.11
821 @item @command{nncp-stat}'s command output is sorted by node name.
825 @section Release 0.10
828 @command{nncp-freq}'s @file{DST} argument is optional now. Last
829 @file{SRC} path's element will be used by default.
836 Fix @option{-rx}/@option{-tx} arguments processing in
837 @command{nncp-call} command. They were ignored.
844 Little bugfix in @command{nncp-file} command, where @option{-minsize}
845 option for unchunked transfer was not in KiBs, but in bytes.
853 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
854 encrypted temporary file for that.
857 Chunked files transmission appeared with corresponding
858 @command{nncp-reass} command and @option{freqchunked} configuration file
859 entry. Useful for transferring big files over small storage devices.
862 @option{freqminsize} configuration file option, analogue to
863 @option{-minsize} one.
866 @command{nncp-xfer}'s @option{-force} option is renamed to
867 @option{-mkdir} for clarity.
870 @option{-minsize} option is specified in KiBs, not bytes, for
874 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
875 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
876 common prefix and are grouped together for convenience.
879 @command{nncp-cfgenc} command appeared, allowing configuration file
880 encryption/decryption, for keeping it safe without any either OpenPGP or
884 Cryptographic libraries (dependencies) are updated.
891 @item Small @command{nncp-rm} command appeared.
892 @item Cryptographic libraries (dependencies) are updated.
899 Trivial small fix in default niceness level of @command{nncp-file}
900 and @command{nncp-freq} commands.
908 Small fix in @command{nncp-call}, @command{nncp-caller},
909 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
913 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
914 and more convenient to use.
917 @command{nncp-mincfg} command appeared: helper allowing to create
918 minimalistic stripped down configuration file without private keys, that
919 is useful during @command{nncp-xfer} usage.
926 @item Fixed compatibility with Go 1.6.
934 @strong{Incompatible} packet's format change (magic number is changed
935 too): size field is encrypted and is not send in plaintext anymore.
938 @option{-minsize} option gives ability to automatically pad outgoing
939 packets to specified minimal size.
942 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
943 always check new @emph{tx} packets appearance in the background while
944 connected. Remote side is immediately notified.
947 @option{-onlinedeadline} option gives ability to configure timeout of
948 inactivity of online connection, when it could be disconnected. It could
949 be used to keep connection alive for a long time.
952 @option{-maxonlinetime} option gives ability to set maximal allowable
953 online connection aliveness time.
956 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
959 @command{nncp-pkt} command can decompress the data.