4 See also this page @ref{Новости, on russian}.
11 Fixed possible panic while showing progress during online protocol.
16 @section Release 6.2.1
20 Three places in logs contained excess @code{%s}.
25 @section Release 6.2.0
29 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
32 Yet another logging refactoring and simplification.
33 Should be no visible differences to the end user.
38 @section Release 6.1.0
42 Optimization: most commands do not keep opened file descriptors now.
43 Previously you can exceed maximal number of opened files if you have got
44 many packets in the spool directory.
47 Optimization: do not close file descriptor of the file we download
48 online. Previously each chunk lead to expensive open/close calls.
51 Online downloaded files are saved with @file{.nock} (non-checksummed)
52 suffix, waiting either for @command{nncp-check}, or online daemons to
53 perform integrity check.
56 Optimization: files, that are not resumed, are checksummed immediately
57 during the online download, skipping @file{.nock}-intermediate step.
60 Ability to store encrypted packet's header in @file{.hdr} file, close to
61 the packet itself. That can greatly increase performance of packets
62 listing on filesystems with big block's size.
67 @section Release 6.0.0
71 Log uses human readable and easy machine parseable
72 @url{https://www.gnu.org/software/recutils/, recfile} format for the
73 records, instead of structured RFC 3339 lines. Old logs are not readable
74 by @command{nncp-log} anymore.
77 @option{-autotoss*} option workability with @command{nncp-daemon}'s
81 Call's @option{when-tx-exists} allows to make a call only when outbound
82 packets exists. Combined with seconds-aware cron expression that can be
83 used as some kind of auto dialler.
86 @command{nncp-cronexpr} command allows you to check validity and
87 expectations of specified cron expression.
92 @section Release 5.6.0
96 @option{-autotoss*} option runs tosser not after the call, but every
97 second while it is active.
100 @option{autotoss}, @option{autotoss-doseen},
101 @option{autotoss-nofile}, @option{autotoss-nofreq},
102 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
103 @option{calls} configuration section. You can configure per-call
104 automatic tosser options.
107 Use vendoring, instead of @env{GOPATH} overriding during tarball
108 installation, because current minimal Go's version is 1.12 and it
114 @section Release 5.5.1
118 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
119 variables in @file{config} during installation.
124 @section Release 5.5.0
128 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
129 @command{nncp-bundle} and @command{nncp-stat}.
132 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
135 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
136 options now. Uncompressed packets are not compatible with previous NNCP
140 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
141 have @option{-autotoss*} options for running tosser after call is ended.
144 Updated dependencies. Minimal required Go version is 1.12.
149 @section Release 5.4.1
153 Fixed @code{SENDMAIL} variable usage during the build.
158 @section Release 5.4.0
162 Updated dependencies.
165 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
166 This should not influence package maintainers, because minimal @command{redo}
167 implementation is included in tarball.
172 @section Release 5.3.3
176 More various error checks.
179 Updated dependencies.
184 @section Release 5.3.2
188 Fixed incorrect logic of @option{onlinedeadline} timeout, where
189 connection won't take into account incoming packets events and will
190 forcefully disconnect.
195 @section Release 5.3.1
199 Fixed @option{onlinedeadline} workability with call addresses that use
200 external commands (@verb{#"|somecmd"#}).
203 @command{nncp-stat} has @option{-pkt} option displaying information
204 about each packet in the spool.
209 @section Release 5.3.0
213 Progress messages contain prefix, describing the running action.
216 Fixed not occurring handshake messages padding.
219 Finish all SP protocol related goroutines, less memory leak.
222 SP protocol generates less socket write calls, thus generating less TCP
226 Check @option{onlinedeadline} and @option{maxonlinetime} options every
227 second, independently from socket reads (up to 10 seconds).
230 Once per minute, if no other traffic exists, PING packets are sent in
231 SP-connection. That allows faster determining of connection unworkability.
234 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
239 @section Release 5.2.1
243 Fixed SP protocol error handling, sometimes causing program panic.
248 @section Release 5.2.0
252 Most commands by default show oneline operations progress.
253 @option{-progress}, @option{-noprogress} command line options,
254 @option{noprogress} configuration file option appeared.
257 Fixed incorrect @command{nncp-check} command return code, that returned
258 bad code when everything is good.
261 Free disk space check during @command{nncp-bundle -rx} call.
266 @section Release 5.1.2
270 @strong{Critical} vulnerability: remote peers authentication could lead
271 to incorrect identification of remote side, allowing foreign encrypted
275 Bugfix: private and public Noise keys were swapped in newly created
276 configuration files, that lead to inability to authenticate online peers.
279 Explicit directories fsync-ing for guaranteed files renaming.
284 @section Release 5.1.1
288 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
293 @section Release 5.1.0
297 @command{nncp-file} can send directories, automatically creating pax
301 Free disk space is checked during outbound packets creation.
304 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
305 file options replaced with the structure:
306 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
309 Added @option{freq.maxsize} configuration file option, forbidding of
310 freq sending larger than specified size.
313 Ability to notify about successfully executed commands (exec) with
314 @option{notify.exec} configuration file option.
319 @section Release 5.0.0
323 @strong{Incompatible} configuration file format change: YAML is
324 replaced with Hjson, due to its simplicity, without noticeable lack
325 of either functionality or convenience.
328 @strong{Incompatible} plain packet format changes. Older versions are
329 not supported. @code{zlib} compression is replaced with
330 @code{Zstandard}, due to its speed and efficiency, despite library
331 version is not mature enough.
334 Ability to call remote nodes via pipe call of external command, not only
338 @command{nncp-cfgnew} generates configuration file with many
339 comments. @option{-nocomments} option can be used for an old
343 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
344 avoid possible collisions with @file{.nncp.chunkCTR}.
347 Ability to override process umask through configuration file option.
350 Files and directories are created with 666/777 permissions by default,
351 allowing control with @command{umask}.
354 Updated dependencies.
357 Full usage of go modules for dependencies management
358 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
361 Forbid any later GNU GPL version autousage
362 (project's licence now is GNU GPLv3-only).
369 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
377 @strong{Incompatible} encrypted and eblob packet format change: AEAD
378 encryption mode with 128 KiB blocks is used now, because previously
379 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
380 decrypted data to external command. Older versions are not supported.
383 Available free space checking before copying in @command{nncp-xfer},
384 @command{nncp-daemon}, @command{nncp-call(er)}.
387 @command{nncp-call} has ability only to list packets on remote node,
388 without their transmission.
391 @command{nncp-call} has ability to transfer only specified packets.
394 Workability of @option{xxrate} preference in @option{calls}
395 configuration file section.
398 Dependant libraries are updated.
404 Begin using of @code{go.mod} subsystem.
411 @item @command{nncp-daemon} can be run as @command{inetd}-service.
419 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
420 if @file{.seen} exists and treat it like file was already downloaded.
421 Possibly it was transferred out-of-bound and remote side needs to be
425 If higher priority packet is spooled, then @command{nncp-daemon} will
426 queue its sending first, interrupting lower priority transmissions.
429 Simple packet rate limiter added to online-related tools
430 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
433 Ability to specify niceness with symbolic notation:
434 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
437 Changed default niceness levels:
438 for @command{nncp-exec} from 64 to 96,
439 for @command{nncp-freq} from 64 to 160,
440 for @command{nncp-file} from 196 to 224.
448 @strong{Incompatible} @emph{bundle} archive format changes and
449 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
450 valid tar archives, but Go 1.9 made them invalid because of long paths
451 inside. NNCP accidentally was dependant on that bug. Explicit adding of
452 @file{NNCP/} directory in archive restores workability with valid tar
460 Ability to disable relaying at all using @verb{|-via -|} command line option.
468 @strong{Incompatible} plain packet format changes. Older versions are
472 Ability to queue remote command execution, by configuring @option{exec}
473 option in configuration file and using @command{nncp-exec} command:
476 @command{nncp-mail} command is replaced with more flexible
477 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
478 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
480 @option{sendmail} configuration file option is replaced with
481 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
482 @verb{|exec: sendmail: [...]|}.
486 Ability to override @option{via} configuration option for destination
487 node via @option{-via} command line option for following commands:
488 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
491 Chunked files, having size less than specified chunk size, will be sent
492 as an ordinary single file.
495 Exec commands are invoked with additional @env{NNCP_NICE} and
496 @env{NNCP_SELF} environment variables.
499 Files, that are sent as a reply to freq, have niceness level taken from
500 the freq packet. You can set desired niceness during @command{nncp-freq}
501 invocation using @option{-replynice} option.
504 @command{nncp-toss} command can ignore specified packet types during
505 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
509 @command{nncp-file} command uses
510 @option{FreqMinSize}/@option{FreqChunked} configuration file options
511 for @option{-minsize}/@option{-chunked} by default. You can turn this
512 off by specifying zero value.
521 @strong{Incompatible} encrypted/eblob packet format changes. Older
522 versions are not supported.
525 Twofish encryption algorithm is replaced with ChaCha20. It is much more
526 faster. One cryptographic primitive less.
529 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
530 another cryptographic primitive less (assuming that BLAKE2X is nearly
531 identical to BLAKE2).
540 @strong{Incompatible} encrypted packet format changes. Older versions
544 @command{nncp-bundle} command can either create stream of encrypted
545 packets, or digest it. It is useful when dealing with
546 @code{stdin}/@code{stdout} based transmission methods (like writing to
547 CD-ROM without intermediate prepared ISO image and working with tape
551 @command{nncp-toss} is able to create @file{.seen} files preventing
552 duplicate packets receiving.
555 Single background checksum verifier worker is allowed in
556 @command{nncp-call}. This is helpful when thousands of small inbound
557 packets could create many goroutines.
560 Ability to override path to spool directory and logfile through either
561 command line argument, or environment variable.
564 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
565 @file{.part}, @file{.lock} and temporary files.
570 @section Release 0.12
572 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
576 @section Release 0.11
578 @item @command{nncp-stat}'s command output is sorted by node name.
582 @section Release 0.10
585 @command{nncp-freq}'s @file{DST} argument is optional now. Last
586 @file{SRC} path's element will be used by default.
593 Fix @option{-rx}/@option{-tx} arguments processing in
594 @command{nncp-call} command. They were ignored.
601 Little bugfix in @command{nncp-file} command, where @option{-minsize}
602 option for unchunked transfer was not in KiBs, but in bytes.
610 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
611 encrypted temporary file for that.
614 Chunked files transmission appeared with corresponding
615 @command{nncp-reass} command and @option{freqchunked} configuration file
616 entry. Useful for transferring big files over small storage devices.
619 @option{freqminsize} configuration file option, analogue to
620 @option{-minsize} one.
623 @command{nncp-xfer}'s @option{-force} option is renamed to
624 @option{-mkdir} for clarity.
627 @option{-minsize} option is specified in KiBs, not bytes, for
631 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
632 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
633 common prefix and are grouped together for convenience.
636 @command{nncp-cfgenc} command appeared, allowing configuration file
637 encryption/decryption, for keeping it safe without any either OpenPGP or
641 Cryptographic libraries (dependencies) are updated.
648 @item Small @command{nncp-rm} command appeared.
649 @item Cryptographic libraries (dependencies) are updated.
656 Trivial small fix in default niceness level of @command{nncp-file}
657 and @command{nncp-freq} commands.
665 Small fix in @command{nncp-call}, @command{nncp-caller},
666 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
670 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
671 and more convenient to use.
674 @command{nncp-mincfg} command appeared: helper allowing to create
675 minimalistic stripped down configuration file without private keys, that
676 is useful during @command{nncp-xfer} usage.
683 @item Fixed compatibility with Go 1.6.
691 @strong{Incompatible} packet's format change (magic number is changed
692 too): size field is encrypted and is not send in plaintext anymore.
695 @option{-minsize} option gives ability to automatically pad outgoing
696 packets to specified minimal size.
699 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
700 always check new @emph{tx} packets appearance in the background while
701 connected. Remote side is immediately notified.
704 @option{-onlinedeadline} option gives ability to configure timeout of
705 inactivity of online connection, when it could be disconnected. It could
706 be used to keep connection alive for a long time.
709 @option{-maxonlinetime} option gives ability to set maximal allowable
710 online connection aliveness time.
713 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
716 @command{nncp-pkt} command can decompress the data.