4 See also this page @ref{Новости, on russian}.
11 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
14 Yet another logging refactoring and simplification.
15 Should be no visible differences to the end user.
20 @section Release 6.1.0
24 Optimization: most commands do not keep opened file descriptors now.
25 Previously you can exceed maximal number of opened files if you have got
26 many packets in the spool directory.
29 Optimization: do not close file descriptor of the file we download
30 online. Previously each chunk lead to expensive open/close calls.
33 Online downloaded files are saved with @file{.nock} (non-checksummed)
34 suffix, waiting either for @command{nncp-check}, or online daemons to
35 perform integrity check.
38 Optimization: files, that are not resumed, are checksummed immediately
39 during the online download, skipping @file{.nock}-intermediate step.
42 Ability to store encrypted packet's header in @file{.hdr} file, close to
43 the packet itself. That can greatly increase performance of packets
44 listing on filesystems with big block's size.
49 @section Release 6.0.0
53 Log uses human readable and easy machine parseable
54 @url{https://www.gnu.org/software/recutils/, recfile} format for the
55 records, instead of structured RFC 3339 lines. Old logs are not readable
56 by @command{nncp-log} anymore.
59 @option{-autotoss*} option workability with @command{nncp-daemon}'s
63 Call's @option{when-tx-exists} allows to make a call only when outbound
64 packets exists. Combined with seconds-aware cron expression that can be
65 used as some kind of auto dialler.
68 @command{nncp-cronexpr} command allows you to check validity and
69 expectations of specified cron expression.
74 @section Release 5.6.0
78 @option{-autotoss*} option runs tosser not after the call, but every
79 second while it is active.
82 @option{autotoss}, @option{autotoss-doseen},
83 @option{autotoss-nofile}, @option{autotoss-nofreq},
84 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
85 @option{calls} configuration section. You can configure per-call
86 automatic tosser options.
89 Use vendoring, instead of @env{GOPATH} overriding during tarball
90 installation, because current minimal Go's version is 1.12 and it
96 @section Release 5.5.1
100 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
101 variables in @file{config} during installation.
106 @section Release 5.5.0
110 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
111 @command{nncp-bundle} and @command{nncp-stat}.
114 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
117 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
118 options now. Uncompressed packets are not compatible with previous NNCP
122 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
123 have @option{-autotoss*} options for running tosser after call is ended.
126 Updated dependencies. Minimal required Go version is 1.12.
131 @section Release 5.4.1
135 Fixed @code{SENDMAIL} variable usage during the build.
140 @section Release 5.4.0
144 Updated dependencies.
147 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
148 This should not influence package maintainers, because minimal @command{redo}
149 implementation is included in tarball.
154 @section Release 5.3.3
158 More various error checks.
161 Updated dependencies.
166 @section Release 5.3.2
170 Fixed incorrect logic of @option{onlinedeadline} timeout, where
171 connection won't take into account incoming packets events and will
172 forcefully disconnect.
177 @section Release 5.3.1
181 Fixed @option{onlinedeadline} workability with call addresses that use
182 external commands (@verb{#"|somecmd"#}).
185 @command{nncp-stat} has @option{-pkt} option displaying information
186 about each packet in the spool.
191 @section Release 5.3.0
195 Progress messages contain prefix, describing the running action.
198 Fixed not occurring handshake messages padding.
201 Finish all SP protocol related goroutines, less memory leak.
204 SP protocol generates less socket write calls, thus generating less TCP
208 Check @option{onlinedeadline} and @option{maxonlinetime} options every
209 second, independently from socket reads (up to 10 seconds).
212 Once per minute, if no other traffic exists, PING packets are sent in
213 SP-connection. That allows faster determining of connection unworkability.
216 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
221 @section Release 5.2.1
225 Fixed SP protocol error handling, sometimes causing program panic.
230 @section Release 5.2.0
234 Most commands by default show oneline operations progress.
235 @option{-progress}, @option{-noprogress} command line options,
236 @option{noprogress} configuration file option appeared.
239 Fixed incorrect @command{nncp-check} command return code, that returned
240 bad code when everything is good.
243 Free disk space check during @command{nncp-bundle -rx} call.
248 @section Release 5.1.2
252 @strong{Critical} vulnerability: remote peers authentication could lead
253 to incorrect identification of remote side, allowing foreign encrypted
257 Bugfix: private and public Noise keys were swapped in newly created
258 configuration files, that lead to inability to authenticate online peers.
261 Explicit directories fsync-ing for guaranteed files renaming.
266 @section Release 5.1.1
270 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
275 @section Release 5.1.0
279 @command{nncp-file} can send directories, automatically creating pax
283 Free disk space is checked during outbound packets creation.
286 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
287 file options replaced with the structure:
288 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
291 Added @option{freq.maxsize} configuration file option, forbidding of
292 freq sending larger than specified size.
295 Ability to notify about successfully executed commands (exec) with
296 @option{notify.exec} configuration file option.
301 @section Release 5.0.0
305 @strong{Incompatible} configuration file format change: YAML is
306 replaced with Hjson, due to its simplicity, without noticeable lack
307 of either functionality or convenience.
310 @strong{Incompatible} plain packet format changes. Older versions are
311 not supported. @code{zlib} compression is replaced with
312 @code{Zstandard}, due to its speed and efficiency, despite library
313 version is not mature enough.
316 Ability to call remote nodes via pipe call of external command, not only
320 @command{nncp-cfgnew} generates configuration file with many
321 comments. @option{-nocomments} option can be used for an old
325 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
326 avoid possible collisions with @file{.nncp.chunkCTR}.
329 Ability to override process umask through configuration file option.
332 Files and directories are created with 666/777 permissions by default,
333 allowing control with @command{umask}.
336 Updated dependencies.
339 Full usage of go modules for dependencies management
340 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
343 Forbid any later GNU GPL version autousage
344 (project's licence now is GNU GPLv3-only).
351 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
359 @strong{Incompatible} encrypted and eblob packet format change: AEAD
360 encryption mode with 128 KiB blocks is used now, because previously
361 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
362 decrypted data to external command. Older versions are not supported.
365 Available free space checking before copying in @command{nncp-xfer},
366 @command{nncp-daemon}, @command{nncp-call(er)}.
369 @command{nncp-call} has ability only to list packets on remote node,
370 without their transmission.
373 @command{nncp-call} has ability to transfer only specified packets.
376 Workability of @option{xxrate} preference in @option{calls}
377 configuration file section.
380 Dependant libraries are updated.
386 Begin using of @code{go.mod} subsystem.
393 @item @command{nncp-daemon} can be run as @command{inetd}-service.
401 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
402 if @file{.seen} exists and treat it like file was already downloaded.
403 Possibly it was transferred out-of-bound and remote side needs to be
407 If higher priority packet is spooled, then @command{nncp-daemon} will
408 queue its sending first, interrupting lower priority transmissions.
411 Simple packet rate limiter added to online-related tools
412 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
415 Ability to specify niceness with symbolic notation:
416 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
419 Changed default niceness levels:
420 for @command{nncp-exec} from 64 to 96,
421 for @command{nncp-freq} from 64 to 160,
422 for @command{nncp-file} from 196 to 224.
430 @strong{Incompatible} @emph{bundle} archive format changes and
431 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
432 valid tar archives, but Go 1.9 made them invalid because of long paths
433 inside. NNCP accidentally was dependant on that bug. Explicit adding of
434 @file{NNCP/} directory in archive restores workability with valid tar
442 Ability to disable relaying at all using @verb{|-via -|} command line option.
450 @strong{Incompatible} plain packet format changes. Older versions are
454 Ability to queue remote command execution, by configuring @option{exec}
455 option in configuration file and using @command{nncp-exec} command:
458 @command{nncp-mail} command is replaced with more flexible
459 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
460 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
462 @option{sendmail} configuration file option is replaced with
463 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
464 @verb{|exec: sendmail: [...]|}.
468 Ability to override @option{via} configuration option for destination
469 node via @option{-via} command line option for following commands:
470 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
473 Chunked files, having size less than specified chunk size, will be sent
474 as an ordinary single file.
477 Exec commands are invoked with additional @env{NNCP_NICE} and
478 @env{NNCP_SELF} environment variables.
481 Files, that are sent as a reply to freq, have niceness level taken from
482 the freq packet. You can set desired niceness during @command{nncp-freq}
483 invocation using @option{-replynice} option.
486 @command{nncp-toss} command can ignore specified packet types during
487 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
491 @command{nncp-file} command uses
492 @option{FreqMinSize}/@option{FreqChunked} configuration file options
493 for @option{-minsize}/@option{-chunked} by default. You can turn this
494 off by specifying zero value.
503 @strong{Incompatible} encrypted/eblob packet format changes. Older
504 versions are not supported.
507 Twofish encryption algorithm is replaced with ChaCha20. It is much more
508 faster. One cryptographic primitive less.
511 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
512 another cryptographic primitive less (assuming that BLAKE2X is nearly
513 identical to BLAKE2).
522 @strong{Incompatible} encrypted packet format changes. Older versions
526 @command{nncp-bundle} command can either create stream of encrypted
527 packets, or digest it. It is useful when dealing with
528 @code{stdin}/@code{stdout} based transmission methods (like writing to
529 CD-ROM without intermediate prepared ISO image and working with tape
533 @command{nncp-toss} is able to create @file{.seen} files preventing
534 duplicate packets receiving.
537 Single background checksum verifier worker is allowed in
538 @command{nncp-call}. This is helpful when thousands of small inbound
539 packets could create many goroutines.
542 Ability to override path to spool directory and logfile through either
543 command line argument, or environment variable.
546 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
547 @file{.part}, @file{.lock} and temporary files.
552 @section Release 0.12
554 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
558 @section Release 0.11
560 @item @command{nncp-stat}'s command output is sorted by node name.
564 @section Release 0.10
567 @command{nncp-freq}'s @file{DST} argument is optional now. Last
568 @file{SRC} path's element will be used by default.
575 Fix @option{-rx}/@option{-tx} arguments processing in
576 @command{nncp-call} command. They were ignored.
583 Little bugfix in @command{nncp-file} command, where @option{-minsize}
584 option for unchunked transfer was not in KiBs, but in bytes.
592 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
593 encrypted temporary file for that.
596 Chunked files transmission appeared with corresponding
597 @command{nncp-reass} command and @option{freqchunked} configuration file
598 entry. Useful for transferring big files over small storage devices.
601 @option{freqminsize} configuration file option, analogue to
602 @option{-minsize} one.
605 @command{nncp-xfer}'s @option{-force} option is renamed to
606 @option{-mkdir} for clarity.
609 @option{-minsize} option is specified in KiBs, not bytes, for
613 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
614 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
615 common prefix and are grouped together for convenience.
618 @command{nncp-cfgenc} command appeared, allowing configuration file
619 encryption/decryption, for keeping it safe without any either OpenPGP or
623 Cryptographic libraries (dependencies) are updated.
630 @item Small @command{nncp-rm} command appeared.
631 @item Cryptographic libraries (dependencies) are updated.
638 Trivial small fix in default niceness level of @command{nncp-file}
639 and @command{nncp-freq} commands.
647 Small fix in @command{nncp-call}, @command{nncp-caller},
648 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
652 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
653 and more convenient to use.
656 @command{nncp-mincfg} command appeared: helper allowing to create
657 minimalistic stripped down configuration file without private keys, that
658 is useful during @command{nncp-xfer} usage.
665 @item Fixed compatibility with Go 1.6.
673 @strong{Incompatible} packet's format change (magic number is changed
674 too): size field is encrypted and is not send in plaintext anymore.
677 @option{-minsize} option gives ability to automatically pad outgoing
678 packets to specified minimal size.
681 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
682 always check new @emph{tx} packets appearance in the background while
683 connected. Remote side is immediately notified.
686 @option{-onlinedeadline} option gives ability to configure timeout of
687 inactivity of online connection, when it could be disconnected. It could
688 be used to keep connection alive for a long time.
691 @option{-maxonlinetime} option gives ability to set maximal allowable
692 online connection aliveness time.
695 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
698 @command{nncp-pkt} command can decompress the data.