4 See also this page @ref{Новости, on russian}.
7 * Release 7.2.1: Release 7_2_1.
8 * Release 7.2.0: Release 7_2_0.
9 * Release 7.1.1: Release 7_1_1.
10 * Release 7.1.0: Release 7_1_0.
11 * Release 7.0.0: Release 7_0_0.
12 * Release 6.6.0: Release 6_6_0.
13 * Release 6.5.0: Release 6_5_0.
14 * Release 6.4.0: Release 6_4_0.
15 * Release 6.3.0: Release 6_3_0.
16 * Release 6.2.1: Release 6_2_1.
17 * Release 6.2.0: Release 6_2_0.
18 * Release 6.1.0: Release 6_1_0.
19 * Release 6.0.0: Release 6_0_0.
20 * Release 5.6.0: Release 5_6_0.
21 * Release 5.5.1: Release 5_5_1.
22 * Release 5.5.0: Release 5_5_0.
23 * Release 5.4.1: Release 5_4_1.
24 * Release 5.4.0: Release 5_4_0.
25 * Release 5.3.3: Release 5_3_3.
26 * Release 5.3.2: Release 5_3_2.
27 * Release 5.3.1: Release 5_3_1.
28 * Release 5.3.0: Release 5_3_0.
29 * Release 5.2.1: Release 5_2_1.
30 * Release 5.2.0: Release 5_2_0.
31 * Release 5.1.2: Release 5_1_2.
32 * Release 5.1.1: Release 5_1_1.
33 * Release 5.1.0: Release 5_1_0.
34 * Release 5.0.0: Release 5_0_0.
35 * Release 4.1: Release 4_1.
36 * Release 4.0: Release 4_0.
37 * Release 3.4: Release 3_4.
38 * Release 3.3: Release 3_3.
39 * Release 3.2: Release 3_2.
40 * Release 3.1: Release 3_1.
41 * Release 3.0: Release 3_0.
42 * Release 2.0: Release 2_0.
43 * Release 1.0: Release 1_0.
44 * Release 0.12: Release 0_12.
45 * Release 0.11: Release 0_11.
46 * Release 0.10: Release 0_10.
47 * Release 0.9: Release 0_9.
48 * Release 0.8: Release 0_8.
49 * Release 0.7: Release 0_7.
50 * Release 0.6: Release 0_6.
51 * Release 0.5: Release 0_5.
52 * Release 0.4: Release 0_4.
53 * Release 0.3: Release 0_3.
54 * Release 0.2: Release 0_2.
58 @section Release 7.2.1
62 Small optimizations in online commands.
67 @section Release 7.2.0
71 @command{nncp-trns} command appeared for manual transition packets creation.
74 If destination node of transitional packet has non empty @option{via}
75 route, then do not ignore, but use it.
78 Do not relay multicast packet to area message's originator, that
79 obviously has seen its own packet.
82 Much less memory usage during MTH hashing when offset is zero: when
83 packet is not resumed, but for example checked with @command{nncp-check}
89 @section Release 7.1.1
93 Fixed failing directories fsync after @file{.seen} file creation.
98 @section Release 7.1.0
102 Multicasting areas feature appeared. Implemented merely by an additional
103 plain packet type with @command{nncp-toss}, @command{nncp-file} and
104 @command{nncp-exec} commands modification.
107 Fixed workability of @command{nncp-file} and @command{nncp-exec}
108 commands, that use temporary file (stdin and @option{-use-tmp}).
111 Fixed disappearing bad return code in @command{nncp-exec} command.
114 Fixed invalid @file{.hdr} generation when transitional packets are used.
117 @option{-all} option appeared in @command{nncp-rm} command, applying to
118 all the nodes at once.
121 @option{-cycle} option appeared in @command{nncp-check} command, looping
122 the check in infinite cycle.
125 @command{nncp-rm} command can take node alias name.
128 @command{nncp-pkt} can parse @file{.hdr} files.
133 @section Release 7.0.0
137 Minimal required Go version 1.13.
140 Merkle Tree-based Hashing with BLAKE3 (MTH) is used instead of BLAKE2b.
141 Because of that, there are backward @strong{incompatible} changes of
142 encrypted files (everything laying in the spool directory) and
143 @file{.meta} files of chunked transfer.
145 Current implementation is far from being optimal: it lacks
146 parallelizable calculations and has higher memory consumption: nearly
147 512 KiB for each 1 GiB of file's data. Future performance and memory
148 size optimizations should not lead to packet's format change. But it is
149 still several times faster than BLAKE2b.
152 Resumed online downloads, because of MTH, require reading only of the
153 preceding part of file, not the whole one as was before.
156 @command{nncp-hash} utility appeared for calculating file's MTH hash.
159 BLAKE2 KDF and XOF functions are replaced with BLAKE3 in encrypted
160 packets. Lowering number of used primitives. Also, its encrypted
161 packet's header is used as an associated data during encryption.
164 MultiCast Discovery uses
165 @verb{|ff02::4e4e:4350|} address instead of @verb{|ff02::1|}.
168 @command{nncp-cfgenc} mistakenly asked passphrase three times during encryption.
171 @command{nncp-stat} reports about partly downloaded packets.
174 Updated dependencies.
179 @section Release 6.6.0
183 @command{nncp-daemon}, @command{nncp-call} and @command{nncp-caller}
184 commands wait for all background checksummers completion after
185 connection is finished.
188 Added possibility of address determining through multicast announcement
189 in local area network, so called MCD (MultiCast Discovery).
194 @section Release 6.5.0
198 Fixed segfault in @command{nncp-daemon} when SP handshake did not succeed.
201 Fixed possible bad return code ignoring in automatic tosser.
204 Fixed race during file descriptors closing when online protocol call is
205 finished, that could lead to write error of received packet fragment.
208 Kill all packet transmission progress bars in @command{nncp-daemon},
209 @command{nncp-call} and @command{nncp-caller} when call is finished.
214 @section Release 6.4.0
218 Fixed possible race in online protocol, that lead to panic.
223 @section Release 6.3.0
227 Fixed possible panic while showing progress during online protocol.
232 @section Release 6.2.1
236 Three places in logs contained excess @code{%s}.
241 @section Release 6.2.0
245 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
248 Yet another logging refactoring and simplification.
249 Should be no visible differences to the end user.
254 @section Release 6.1.0
258 Optimization: most commands do not keep opened file descriptors now.
259 Previously you can exceed maximal number of opened files if you have got
260 many packets in the spool directory.
263 Optimization: do not close file descriptor of the file we download
264 online. Previously each chunk lead to expensive open/close calls.
267 Online downloaded files are saved with @file{.nock} (non-checksummed)
268 suffix, waiting either for @command{nncp-check}, or online daemons to
269 perform integrity check.
272 Optimization: files, that are not resumed, are checksummed immediately
273 during the online download, skipping @file{.nock}-intermediate step.
276 Ability to store encrypted packet's header in @file{.hdr} file, close to
277 the packet itself. That can greatly increase performance of packets
278 listing on filesystems with big block's size.
283 @section Release 6.0.0
287 Log uses human readable and easy machine parseable
288 @url{https://www.gnu.org/software/recutils/, recfile} format for the
289 records, instead of structured RFC 3339 lines. Old logs are not readable
290 by @command{nncp-log} anymore.
293 @option{-autotoss*} option workability with @command{nncp-daemon}'s
294 @option{-inetd} mode.
297 Call's @option{when-tx-exists} allows to make a call only when outbound
298 packets exists. Combined with seconds-aware cron expression that can be
299 used as some kind of auto dialler.
302 @command{nncp-cronexpr} command allows you to check validity and
303 expectations of specified cron expression.
308 @section Release 5.6.0
312 @option{-autotoss*} option runs tosser not after the call, but every
313 second while it is active.
316 @option{autotoss}, @option{autotoss-doseen},
317 @option{autotoss-nofile}, @option{autotoss-nofreq},
318 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
319 @option{calls} configuration section. You can configure per-call
320 automatic tosser options.
323 Use vendoring, instead of @env{GOPATH} overriding during tarball
324 installation, because current minimal Go's version is 1.12 and it
330 @section Release 5.5.1
334 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
335 variables in @file{config} during installation.
340 @section Release 5.5.0
344 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
345 @command{nncp-bundle} and @command{nncp-stat}.
348 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
351 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
352 options now. Uncompressed packets are not compatible with previous NNCP
356 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
357 have @option{-autotoss*} options for running tosser after call is ended.
360 Updated dependencies. Minimal required Go version is 1.12.
365 @section Release 5.4.1
369 Fixed @code{SENDMAIL} variable usage during the build.
374 @section Release 5.4.0
378 Updated dependencies.
381 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
382 This should not influence package maintainers, because minimal @command{redo}
383 implementation is included in tarball.
388 @section Release 5.3.3
392 More various error checks.
395 Updated dependencies.
400 @section Release 5.3.2
404 Fixed incorrect logic of @option{onlinedeadline} timeout, where
405 connection won't take into account incoming packets events and will
406 forcefully disconnect.
411 @section Release 5.3.1
415 Fixed @option{onlinedeadline} workability with call addresses that use
416 external commands (@verb{#"|somecmd"#}).
419 @command{nncp-stat} has @option{-pkt} option displaying information
420 about each packet in the spool.
425 @section Release 5.3.0
429 Progress messages contain prefix, describing the running action.
432 Fixed not occurring handshake messages padding.
435 Finish all SP protocol related goroutines, less memory leak.
438 SP protocol generates less socket write calls, thus generating less TCP
442 Check @option{onlinedeadline} and @option{maxonlinetime} options every
443 second, independently from socket reads (up to 10 seconds).
446 Once per minute, if no other traffic exists, PING packets are sent in
447 SP-connection. That allows faster determining of connection unworkability.
450 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
455 @section Release 5.2.1
459 Fixed SP protocol error handling, sometimes causing program panic.
464 @section Release 5.2.0
468 Most commands by default show oneline operations progress.
469 @option{-progress}, @option{-noprogress} command line options,
470 @option{noprogress} configuration file option appeared.
473 Fixed incorrect @command{nncp-check} command return code, that returned
474 bad code when everything is good.
477 Free disk space check during @command{nncp-bundle -rx} call.
482 @section Release 5.1.2
486 @strong{Critical} vulnerability: remote peers authentication could lead
487 to incorrect identification of remote side, allowing foreign encrypted
491 Bugfix: private and public Noise keys were swapped in newly created
492 configuration files, that lead to inability to authenticate online peers.
495 Explicit directories fsync-ing for guaranteed files renaming.
500 @section Release 5.1.1
504 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
509 @section Release 5.1.0
513 @command{nncp-file} can send directories, automatically creating pax
517 Free disk space is checked during outbound packets creation.
520 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
521 file options replaced with the structure:
522 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
525 Added @option{freq.maxsize} configuration file option, forbidding of
526 freq sending larger than specified size.
529 Ability to notify about successfully executed commands (exec) with
530 @option{notify.exec} configuration file option.
535 @section Release 5.0.0
539 @strong{Incompatible} configuration file format change: YAML is
540 replaced with Hjson, due to its simplicity, without noticeable lack
541 of either functionality or convenience.
544 @strong{Incompatible} plain packet format changes. Older versions are
545 not supported. @code{zlib} compression is replaced with
546 @code{Zstandard}, due to its speed and efficiency, despite library
547 version is not mature enough.
550 Ability to call remote nodes via pipe call of external command, not only
554 @command{nncp-cfgnew} generates configuration file with many
555 comments. @option{-nocomments} option can be used for an old
559 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
560 avoid possible collisions with @file{.nncp.chunkCTR}.
563 Ability to override process umask through configuration file option.
566 Files and directories are created with 666/777 permissions by default,
567 allowing control with @command{umask}.
570 Updated dependencies.
573 Full usage of go modules for dependencies management
574 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
577 Forbid any later GNU GPL version autousage
578 (project's licence now is GNU GPLv3-only).
585 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
593 @strong{Incompatible} encrypted and eblob packet format change: AEAD
594 encryption mode with 128 KiB blocks is used now, because previously
595 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
596 decrypted data to external command. Older versions are not supported.
599 Available free space checking before copying in @command{nncp-xfer},
600 @command{nncp-daemon}, @command{nncp-call(er)}.
603 @command{nncp-call} has ability only to list packets on remote node,
604 without their transmission.
607 @command{nncp-call} has ability to transfer only specified packets.
610 Workability of @option{xxrate} preference in @option{calls}
611 configuration file section.
614 Dependant libraries are updated.
620 Begin using of @code{go.mod} subsystem.
627 @item @command{nncp-daemon} can be run as @command{inetd}-service.
635 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
636 if @file{.seen} exists and treat it like file was already downloaded.
637 Possibly it was transferred out-of-bound and remote side needs to be
641 If higher priority packet is spooled, then @command{nncp-daemon} will
642 queue its sending first, interrupting lower priority transmissions.
645 Simple packet rate limiter added to online-related tools
646 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
649 Ability to specify niceness with symbolic notation:
650 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
653 Changed default niceness levels:
654 for @command{nncp-exec} from 64 to 96,
655 for @command{nncp-freq} from 64 to 160,
656 for @command{nncp-file} from 196 to 224.
664 @strong{Incompatible} @emph{bundle} archive format changes and
665 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
666 valid tar archives, but Go 1.9 made them invalid because of long paths
667 inside. NNCP accidentally was dependant on that bug. Explicit adding of
668 @file{NNCP/} directory in archive restores workability with valid tar
676 Ability to disable relaying at all using @verb{|-via -|} command line option.
684 @strong{Incompatible} plain packet format changes. Older versions are
688 Ability to queue remote command execution, by configuring @option{exec}
689 option in configuration file and using @command{nncp-exec} command:
692 @command{nncp-mail} command is replaced with more flexible
693 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
694 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
696 @option{sendmail} configuration file option is replaced with
697 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
698 @verb{|exec: sendmail: [...]|}.
702 Ability to override @option{via} configuration option for destination
703 node via @option{-via} command line option for following commands:
704 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
707 Chunked files, having size less than specified chunk size, will be sent
708 as an ordinary single file.
711 Exec commands are invoked with additional @env{NNCP_NICE} and
712 @env{NNCP_SELF} environment variables.
715 Files, that are sent as a reply to freq, have niceness level taken from
716 the freq packet. You can set desired niceness during @command{nncp-freq}
717 invocation using @option{-replynice} option.
720 @command{nncp-toss} command can ignore specified packet types during
721 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
725 @command{nncp-file} command uses
726 @option{FreqMinSize}/@option{FreqChunked} configuration file options
727 for @option{-minsize}/@option{-chunked} by default. You can turn this
728 off by specifying zero value.
737 @strong{Incompatible} encrypted/eblob packet format changes. Older
738 versions are not supported.
741 Twofish encryption algorithm is replaced with ChaCha20. It is much more
742 faster. One cryptographic primitive less.
745 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
746 another cryptographic primitive less (assuming that BLAKE2X is nearly
747 identical to BLAKE2).
756 @strong{Incompatible} encrypted packet format changes. Older versions
760 @command{nncp-bundle} command can either create stream of encrypted
761 packets, or digest it. It is useful when dealing with
762 @code{stdin}/@code{stdout} based transmission methods (like writing to
763 CD-ROM without intermediate prepared ISO image and working with tape
767 @command{nncp-toss} is able to create @file{.seen} files preventing
768 duplicate packets receiving.
771 Single background checksum verifier worker is allowed in
772 @command{nncp-call}. This is helpful when thousands of small inbound
773 packets could create many goroutines.
776 Ability to override path to spool directory and logfile through either
777 command line argument, or environment variable.
780 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
781 @file{.part}, @file{.lock} and temporary files.
786 @section Release 0.12
788 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
792 @section Release 0.11
794 @item @command{nncp-stat}'s command output is sorted by node name.
798 @section Release 0.10
801 @command{nncp-freq}'s @file{DST} argument is optional now. Last
802 @file{SRC} path's element will be used by default.
809 Fix @option{-rx}/@option{-tx} arguments processing in
810 @command{nncp-call} command. They were ignored.
817 Little bugfix in @command{nncp-file} command, where @option{-minsize}
818 option for unchunked transfer was not in KiBs, but in bytes.
826 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
827 encrypted temporary file for that.
830 Chunked files transmission appeared with corresponding
831 @command{nncp-reass} command and @option{freqchunked} configuration file
832 entry. Useful for transferring big files over small storage devices.
835 @option{freqminsize} configuration file option, analogue to
836 @option{-minsize} one.
839 @command{nncp-xfer}'s @option{-force} option is renamed to
840 @option{-mkdir} for clarity.
843 @option{-minsize} option is specified in KiBs, not bytes, for
847 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
848 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
849 common prefix and are grouped together for convenience.
852 @command{nncp-cfgenc} command appeared, allowing configuration file
853 encryption/decryption, for keeping it safe without any either OpenPGP or
857 Cryptographic libraries (dependencies) are updated.
864 @item Small @command{nncp-rm} command appeared.
865 @item Cryptographic libraries (dependencies) are updated.
872 Trivial small fix in default niceness level of @command{nncp-file}
873 and @command{nncp-freq} commands.
881 Small fix in @command{nncp-call}, @command{nncp-caller},
882 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
886 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
887 and more convenient to use.
890 @command{nncp-mincfg} command appeared: helper allowing to create
891 minimalistic stripped down configuration file without private keys, that
892 is useful during @command{nncp-xfer} usage.
899 @item Fixed compatibility with Go 1.6.
907 @strong{Incompatible} packet's format change (magic number is changed
908 too): size field is encrypted and is not send in plaintext anymore.
911 @option{-minsize} option gives ability to automatically pad outgoing
912 packets to specified minimal size.
915 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
916 always check new @emph{tx} packets appearance in the background while
917 connected. Remote side is immediately notified.
920 @option{-onlinedeadline} option gives ability to configure timeout of
921 inactivity of online connection, when it could be disconnected. It could
922 be used to keep connection alive for a long time.
925 @option{-maxonlinetime} option gives ability to set maximal allowable
926 online connection aliveness time.
929 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
932 @command{nncp-pkt} command can decompress the data.