4 See also this page @ref{Новости, on russian}.
11 Optimization: most commands do not keep opened file descriptors now.
12 Previously you can exceed maximal number of opened files if you have got
13 many packets in the spool directory.
16 Optimization: do not close file descriptor of the file we download
17 online. Previously each chunk lead to expensive open/close calls.
22 @section Release 6.0.0
26 Log uses human readable and easy machine parseable
27 @url{https://www.gnu.org/software/recutils/, recfile} format for the
28 records, instead of structured RFC 3339 lines. Old logs are not readable
29 by @command{nncp-log} anymore.
32 @option{-autotoss*} option workability with @command{nncp-daemon}'s
36 Call's @option{when-tx-exists} allows to make a call only when outbound
37 packets exists. Combined with seconds-aware cron expression that can be
38 used as some kind of auto dialler.
41 @command{nncp-cronexpr} command allows you to check validity and
42 expectations of specified cron expression.
47 @section Release 5.6.0
51 @option{-autotoss*} option runs tosser not after the call, but every
52 second while it is active.
55 @option{autotoss}, @option{autotoss-doseen},
56 @option{autotoss-nofile}, @option{autotoss-nofreq},
57 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
58 @option{calls} configuration section. You can configure per-call
59 automatic tosser options.
62 Use vendoring, instead of @env{GOPATH} overriding during tarball
63 installation, because current minimal Go's version is 1.12 and it
69 @section Release 5.5.1
73 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
74 variables in @file{config} during installation.
79 @section Release 5.5.0
83 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
84 @command{nncp-bundle} and @command{nncp-stat}.
87 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
90 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
91 options now. Uncompressed packets are not compatible with previous NNCP
95 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
96 have @option{-autotoss*} options for running tosser after call is ended.
99 Updated dependencies. Minimal required Go version is 1.12.
104 @section Release 5.4.1
108 Fixed @code{SENDMAIL} variable usage during the build.
113 @section Release 5.4.0
117 Updated dependencies.
120 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
121 This should not influence package maintainers, because minimal @command{redo}
122 implementation is included in tarball.
127 @section Release 5.3.3
131 More various error checks.
134 Updated dependencies.
139 @section Release 5.3.2
143 Fixed incorrect logic of @option{onlinedeadline} timeout, where
144 connection won't take into account incoming packets events and will
145 forcefully disconnect.
150 @section Release 5.3.1
154 Fixed @option{onlinedeadline} workability with call addresses that use
155 external commands (@verb{#"|somecmd"#}).
158 @command{nncp-stat} has @option{-pkt} option displaying information
159 about each packet in the spool.
164 @section Release 5.3.0
168 Progress messages contain prefix, describing the running action.
171 Fixed not occurring handshake messages padding.
174 Finish all SP protocol related goroutines, less memory leak.
177 SP protocol generates less socket write calls, thus generating less TCP
181 Check @option{onlinedeadline} and @option{maxonlinetime} options every
182 second, independently from socket reads (up to 10 seconds).
185 Once per minute, if no other traffic exists, PING packets are sent in
186 SP-connection. That allows faster determining of connection unworkability.
189 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
194 @section Release 5.2.1
198 Fixed SP protocol error handling, sometimes causing program panic.
203 @section Release 5.2.0
207 Most commands by default show oneline operations progress.
208 @option{-progress}, @option{-noprogress} command line options,
209 @option{noprogress} configuration file option appeared.
212 Fixed incorrect @command{nncp-check} command return code, that returned
213 bad code when everything is good.
216 Free disk space check during @command{nncp-bundle -rx} call.
221 @section Release 5.1.2
225 @strong{Critical} vulnerability: remote peers authentication could lead
226 to incorrect identification of remote side, allowing foreign encrypted
230 Bugfix: private and public Noise keys were swapped in newly created
231 configuration files, that lead to inability to authenticate online peers.
234 Explicit directories fsync-ing for guaranteed files renaming.
239 @section Release 5.1.1
243 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
248 @section Release 5.1.0
252 @command{nncp-file} can send directories, automatically creating pax
256 Free disk space is checked during outbound packets creation.
259 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
260 file options replaced with the structure:
261 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
264 Added @option{freq.maxsize} configuration file option, forbidding of
265 freq sending larger than specified size.
268 Ability to notify about successfully executed commands (exec) with
269 @option{notify.exec} configuration file option.
274 @section Release 5.0.0
278 @strong{Incompatible} configuration file format change: YAML is
279 replaced with Hjson, due to its simplicity, without noticeable lack
280 of either functionality or convenience.
283 @strong{Incompatible} plain packet format changes. Older versions are
284 not supported. @code{zlib} compression is replaced with
285 @code{Zstandard}, due to its speed and efficiency, despite library
286 version is not mature enough.
289 Ability to call remote nodes via pipe call of external command, not only
293 @command{nncp-cfgnew} generates configuration file with many
294 comments. @option{-nocomments} option can be used for an old
298 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
299 avoid possible collisions with @file{.nncp.chunkCTR}.
302 Ability to override process umask through configuration file option.
305 Files and directories are created with 666/777 permissions by default,
306 allowing control with @command{umask}.
309 Updated dependencies.
312 Full usage of go modules for dependencies management
313 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
316 Forbid any later GNU GPL version autousage
317 (project's licence now is GNU GPLv3-only).
324 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
332 @strong{Incompatible} encrypted and eblob packet format change: AEAD
333 encryption mode with 128 KiB blocks is used now, because previously
334 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
335 decrypted data to external command. Older versions are not supported.
338 Available free space checking before copying in @command{nncp-xfer},
339 @command{nncp-daemon}, @command{nncp-call(er)}.
342 @command{nncp-call} has ability only to list packets on remote node,
343 without their transmission.
346 @command{nncp-call} has ability to transfer only specified packets.
349 Workability of @option{xxrate} preference in @option{calls}
350 configuration file section.
353 Dependant libraries are updated.
359 Begin using of @code{go.mod} subsystem.
366 @item @command{nncp-daemon} can be run as @command{inetd}-service.
374 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
375 if @file{.seen} exists and treat it like file was already downloaded.
376 Possibly it was transferred out-of-bound and remote side needs to be
380 If higher priority packet is spooled, then @command{nncp-daemon} will
381 queue its sending first, interrupting lower priority transmissions.
384 Simple packet rate limiter added to online-related tools
385 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
388 Ability to specify niceness with symbolic notation:
389 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
392 Changed default niceness levels:
393 for @command{nncp-exec} from 64 to 96,
394 for @command{nncp-freq} from 64 to 160,
395 for @command{nncp-file} from 196 to 224.
403 @strong{Incompatible} @emph{bundle} archive format changes and
404 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
405 valid tar archives, but Go 1.9 made them invalid because of long paths
406 inside. NNCP accidentally was dependant on that bug. Explicit adding of
407 @file{NNCP/} directory in archive restores workability with valid tar
415 Ability to disable relaying at all using @verb{|-via -|} command line option.
423 @strong{Incompatible} plain packet format changes. Older versions are
427 Ability to queue remote command execution, by configuring @option{exec}
428 option in configuration file and using @command{nncp-exec} command:
431 @command{nncp-mail} command is replaced with more flexible
432 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
433 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
435 @option{sendmail} configuration file option is replaced with
436 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
437 @verb{|exec: sendmail: [...]|}.
441 Ability to override @option{via} configuration option for destination
442 node via @option{-via} command line option for following commands:
443 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
446 Chunked files, having size less than specified chunk size, will be sent
447 as an ordinary single file.
450 Exec commands are invoked with additional @env{NNCP_NICE} and
451 @env{NNCP_SELF} environment variables.
454 Files, that are sent as a reply to freq, have niceness level taken from
455 the freq packet. You can set desired niceness during @command{nncp-freq}
456 invocation using @option{-replynice} option.
459 @command{nncp-toss} command can ignore specified packet types during
460 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
464 @command{nncp-file} command uses
465 @option{FreqMinSize}/@option{FreqChunked} configuration file options
466 for @option{-minsize}/@option{-chunked} by default. You can turn this
467 off by specifying zero value.
476 @strong{Incompatible} encrypted/eblob packet format changes. Older
477 versions are not supported.
480 Twofish encryption algorithm is replaced with ChaCha20. It is much more
481 faster. One cryptographic primitive less.
484 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
485 another cryptographic primitive less (assuming that BLAKE2X is nearly
486 identical to BLAKE2).
495 @strong{Incompatible} encrypted packet format changes. Older versions
499 @command{nncp-bundle} command can either create stream of encrypted
500 packets, or digest it. It is useful when dealing with
501 @code{stdin}/@code{stdout} based transmission methods (like writing to
502 CD-ROM without intermediate prepared ISO image and working with tape
506 @command{nncp-toss} is able to create @file{.seen} files preventing
507 duplicate packets receiving.
510 Single background checksum verifier worker is allowed in
511 @command{nncp-call}. This is helpful when thousands of small inbound
512 packets could create many goroutines.
515 Ability to override path to spool directory and logfile through either
516 command line argument, or environment variable.
519 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
520 @file{.part}, @file{.lock} and temporary files.
525 @section Release 0.12
527 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
531 @section Release 0.11
533 @item @command{nncp-stat}'s command output is sorted by node name.
537 @section Release 0.10
540 @command{nncp-freq}'s @file{DST} argument is optional now. Last
541 @file{SRC} path's element will be used by default.
548 Fix @option{-rx}/@option{-tx} arguments processing in
549 @command{nncp-call} command. They were ignored.
556 Little bugfix in @command{nncp-file} command, where @option{-minsize}
557 option for unchunked transfer was not in KiBs, but in bytes.
565 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
566 encrypted temporary file for that.
569 Chunked files transmission appeared with corresponding
570 @command{nncp-reass} command and @option{freqchunked} configuration file
571 entry. Useful for transferring big files over small storage devices.
574 @option{freqminsize} configuration file option, analogue to
575 @option{-minsize} one.
578 @command{nncp-xfer}'s @option{-force} option is renamed to
579 @option{-mkdir} for clarity.
582 @option{-minsize} option is specified in KiBs, not bytes, for
586 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
587 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
588 common prefix and are grouped together for convenience.
591 @command{nncp-cfgenc} command appeared, allowing configuration file
592 encryption/decryption, for keeping it safe without any either OpenPGP or
596 Cryptographic libraries (dependencies) are updated.
603 @item Small @command{nncp-rm} command appeared.
604 @item Cryptographic libraries (dependencies) are updated.
611 Trivial small fix in default niceness level of @command{nncp-file}
612 and @command{nncp-freq} commands.
620 Small fix in @command{nncp-call}, @command{nncp-caller},
621 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
625 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
626 and more convenient to use.
629 @command{nncp-mincfg} command appeared: helper allowing to create
630 minimalistic stripped down configuration file without private keys, that
631 is useful during @command{nncp-xfer} usage.
638 @item Fixed compatibility with Go 1.6.
646 @strong{Incompatible} packet's format change (magic number is changed
647 too): size field is encrypted and is not send in plaintext anymore.
650 @option{-minsize} option gives ability to automatically pad outgoing
651 packets to specified minimal size.
654 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
655 always check new @emph{tx} packets appearance in the background while
656 connected. Remote side is immediately notified.
659 @option{-onlinedeadline} option gives ability to configure timeout of
660 inactivity of online connection, when it could be disconnected. It could
661 be used to keep connection alive for a long time.
664 @option{-maxonlinetime} option gives ability to set maximal allowable
665 online connection aliveness time.
668 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
671 @command{nncp-pkt} command can decompress the data.