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.
20 Online downloaded files are saved with @file{.nock} (non-checksummed)
21 suffix, waiting either for @command{nncp-check}, or online daemons to
22 perform integrity check.
25 Optimization: files, that are not resumed, are checksummed immediately
26 during the online download, skipping @file{.nock}-intermediate step.
31 @section Release 6.0.0
35 Log uses human readable and easy machine parseable
36 @url{https://www.gnu.org/software/recutils/, recfile} format for the
37 records, instead of structured RFC 3339 lines. Old logs are not readable
38 by @command{nncp-log} anymore.
41 @option{-autotoss*} option workability with @command{nncp-daemon}'s
45 Call's @option{when-tx-exists} allows to make a call only when outbound
46 packets exists. Combined with seconds-aware cron expression that can be
47 used as some kind of auto dialler.
50 @command{nncp-cronexpr} command allows you to check validity and
51 expectations of specified cron expression.
56 @section Release 5.6.0
60 @option{-autotoss*} option runs tosser not after the call, but every
61 second while it is active.
64 @option{autotoss}, @option{autotoss-doseen},
65 @option{autotoss-nofile}, @option{autotoss-nofreq},
66 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
67 @option{calls} configuration section. You can configure per-call
68 automatic tosser options.
71 Use vendoring, instead of @env{GOPATH} overriding during tarball
72 installation, because current minimal Go's version is 1.12 and it
78 @section Release 5.5.1
82 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
83 variables in @file{config} during installation.
88 @section Release 5.5.0
92 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
93 @command{nncp-bundle} and @command{nncp-stat}.
96 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
99 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
100 options now. Uncompressed packets are not compatible with previous NNCP
104 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
105 have @option{-autotoss*} options for running tosser after call is ended.
108 Updated dependencies. Minimal required Go version is 1.12.
113 @section Release 5.4.1
117 Fixed @code{SENDMAIL} variable usage during the build.
122 @section Release 5.4.0
126 Updated dependencies.
129 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
130 This should not influence package maintainers, because minimal @command{redo}
131 implementation is included in tarball.
136 @section Release 5.3.3
140 More various error checks.
143 Updated dependencies.
148 @section Release 5.3.2
152 Fixed incorrect logic of @option{onlinedeadline} timeout, where
153 connection won't take into account incoming packets events and will
154 forcefully disconnect.
159 @section Release 5.3.1
163 Fixed @option{onlinedeadline} workability with call addresses that use
164 external commands (@verb{#"|somecmd"#}).
167 @command{nncp-stat} has @option{-pkt} option displaying information
168 about each packet in the spool.
173 @section Release 5.3.0
177 Progress messages contain prefix, describing the running action.
180 Fixed not occurring handshake messages padding.
183 Finish all SP protocol related goroutines, less memory leak.
186 SP protocol generates less socket write calls, thus generating less TCP
190 Check @option{onlinedeadline} and @option{maxonlinetime} options every
191 second, independently from socket reads (up to 10 seconds).
194 Once per minute, if no other traffic exists, PING packets are sent in
195 SP-connection. That allows faster determining of connection unworkability.
198 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
203 @section Release 5.2.1
207 Fixed SP protocol error handling, sometimes causing program panic.
212 @section Release 5.2.0
216 Most commands by default show oneline operations progress.
217 @option{-progress}, @option{-noprogress} command line options,
218 @option{noprogress} configuration file option appeared.
221 Fixed incorrect @command{nncp-check} command return code, that returned
222 bad code when everything is good.
225 Free disk space check during @command{nncp-bundle -rx} call.
230 @section Release 5.1.2
234 @strong{Critical} vulnerability: remote peers authentication could lead
235 to incorrect identification of remote side, allowing foreign encrypted
239 Bugfix: private and public Noise keys were swapped in newly created
240 configuration files, that lead to inability to authenticate online peers.
243 Explicit directories fsync-ing for guaranteed files renaming.
248 @section Release 5.1.1
252 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
257 @section Release 5.1.0
261 @command{nncp-file} can send directories, automatically creating pax
265 Free disk space is checked during outbound packets creation.
268 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
269 file options replaced with the structure:
270 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
273 Added @option{freq.maxsize} configuration file option, forbidding of
274 freq sending larger than specified size.
277 Ability to notify about successfully executed commands (exec) with
278 @option{notify.exec} configuration file option.
283 @section Release 5.0.0
287 @strong{Incompatible} configuration file format change: YAML is
288 replaced with Hjson, due to its simplicity, without noticeable lack
289 of either functionality or convenience.
292 @strong{Incompatible} plain packet format changes. Older versions are
293 not supported. @code{zlib} compression is replaced with
294 @code{Zstandard}, due to its speed and efficiency, despite library
295 version is not mature enough.
298 Ability to call remote nodes via pipe call of external command, not only
302 @command{nncp-cfgnew} generates configuration file with many
303 comments. @option{-nocomments} option can be used for an old
307 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
308 avoid possible collisions with @file{.nncp.chunkCTR}.
311 Ability to override process umask through configuration file option.
314 Files and directories are created with 666/777 permissions by default,
315 allowing control with @command{umask}.
318 Updated dependencies.
321 Full usage of go modules for dependencies management
322 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
325 Forbid any later GNU GPL version autousage
326 (project's licence now is GNU GPLv3-only).
333 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
341 @strong{Incompatible} encrypted and eblob packet format change: AEAD
342 encryption mode with 128 KiB blocks is used now, because previously
343 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
344 decrypted data to external command. Older versions are not supported.
347 Available free space checking before copying in @command{nncp-xfer},
348 @command{nncp-daemon}, @command{nncp-call(er)}.
351 @command{nncp-call} has ability only to list packets on remote node,
352 without their transmission.
355 @command{nncp-call} has ability to transfer only specified packets.
358 Workability of @option{xxrate} preference in @option{calls}
359 configuration file section.
362 Dependant libraries are updated.
368 Begin using of @code{go.mod} subsystem.
375 @item @command{nncp-daemon} can be run as @command{inetd}-service.
383 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
384 if @file{.seen} exists and treat it like file was already downloaded.
385 Possibly it was transferred out-of-bound and remote side needs to be
389 If higher priority packet is spooled, then @command{nncp-daemon} will
390 queue its sending first, interrupting lower priority transmissions.
393 Simple packet rate limiter added to online-related tools
394 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
397 Ability to specify niceness with symbolic notation:
398 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
401 Changed default niceness levels:
402 for @command{nncp-exec} from 64 to 96,
403 for @command{nncp-freq} from 64 to 160,
404 for @command{nncp-file} from 196 to 224.
412 @strong{Incompatible} @emph{bundle} archive format changes and
413 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
414 valid tar archives, but Go 1.9 made them invalid because of long paths
415 inside. NNCP accidentally was dependant on that bug. Explicit adding of
416 @file{NNCP/} directory in archive restores workability with valid tar
424 Ability to disable relaying at all using @verb{|-via -|} command line option.
432 @strong{Incompatible} plain packet format changes. Older versions are
436 Ability to queue remote command execution, by configuring @option{exec}
437 option in configuration file and using @command{nncp-exec} command:
440 @command{nncp-mail} command is replaced with more flexible
441 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
442 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
444 @option{sendmail} configuration file option is replaced with
445 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
446 @verb{|exec: sendmail: [...]|}.
450 Ability to override @option{via} configuration option for destination
451 node via @option{-via} command line option for following commands:
452 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
455 Chunked files, having size less than specified chunk size, will be sent
456 as an ordinary single file.
459 Exec commands are invoked with additional @env{NNCP_NICE} and
460 @env{NNCP_SELF} environment variables.
463 Files, that are sent as a reply to freq, have niceness level taken from
464 the freq packet. You can set desired niceness during @command{nncp-freq}
465 invocation using @option{-replynice} option.
468 @command{nncp-toss} command can ignore specified packet types during
469 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
473 @command{nncp-file} command uses
474 @option{FreqMinSize}/@option{FreqChunked} configuration file options
475 for @option{-minsize}/@option{-chunked} by default. You can turn this
476 off by specifying zero value.
485 @strong{Incompatible} encrypted/eblob packet format changes. Older
486 versions are not supported.
489 Twofish encryption algorithm is replaced with ChaCha20. It is much more
490 faster. One cryptographic primitive less.
493 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
494 another cryptographic primitive less (assuming that BLAKE2X is nearly
495 identical to BLAKE2).
504 @strong{Incompatible} encrypted packet format changes. Older versions
508 @command{nncp-bundle} command can either create stream of encrypted
509 packets, or digest it. It is useful when dealing with
510 @code{stdin}/@code{stdout} based transmission methods (like writing to
511 CD-ROM without intermediate prepared ISO image and working with tape
515 @command{nncp-toss} is able to create @file{.seen} files preventing
516 duplicate packets receiving.
519 Single background checksum verifier worker is allowed in
520 @command{nncp-call}. This is helpful when thousands of small inbound
521 packets could create many goroutines.
524 Ability to override path to spool directory and logfile through either
525 command line argument, or environment variable.
528 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
529 @file{.part}, @file{.lock} and temporary files.
534 @section Release 0.12
536 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
540 @section Release 0.11
542 @item @command{nncp-stat}'s command output is sorted by node name.
546 @section Release 0.10
549 @command{nncp-freq}'s @file{DST} argument is optional now. Last
550 @file{SRC} path's element will be used by default.
557 Fix @option{-rx}/@option{-tx} arguments processing in
558 @command{nncp-call} command. They were ignored.
565 Little bugfix in @command{nncp-file} command, where @option{-minsize}
566 option for unchunked transfer was not in KiBs, but in bytes.
574 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
575 encrypted temporary file for that.
578 Chunked files transmission appeared with corresponding
579 @command{nncp-reass} command and @option{freqchunked} configuration file
580 entry. Useful for transferring big files over small storage devices.
583 @option{freqminsize} configuration file option, analogue to
584 @option{-minsize} one.
587 @command{nncp-xfer}'s @option{-force} option is renamed to
588 @option{-mkdir} for clarity.
591 @option{-minsize} option is specified in KiBs, not bytes, for
595 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
596 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
597 common prefix and are grouped together for convenience.
600 @command{nncp-cfgenc} command appeared, allowing configuration file
601 encryption/decryption, for keeping it safe without any either OpenPGP or
605 Cryptographic libraries (dependencies) are updated.
612 @item Small @command{nncp-rm} command appeared.
613 @item Cryptographic libraries (dependencies) are updated.
620 Trivial small fix in default niceness level of @command{nncp-file}
621 and @command{nncp-freq} commands.
629 Small fix in @command{nncp-call}, @command{nncp-caller},
630 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
634 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
635 and more convenient to use.
638 @command{nncp-mincfg} command appeared: helper allowing to create
639 minimalistic stripped down configuration file without private keys, that
640 is useful during @command{nncp-xfer} usage.
647 @item Fixed compatibility with Go 1.6.
655 @strong{Incompatible} packet's format change (magic number is changed
656 too): size field is encrypted and is not send in plaintext anymore.
659 @option{-minsize} option gives ability to automatically pad outgoing
660 packets to specified minimal size.
663 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
664 always check new @emph{tx} packets appearance in the background while
665 connected. Remote side is immediately notified.
668 @option{-onlinedeadline} option gives ability to configure timeout of
669 inactivity of online connection, when it could be disconnected. It could
670 be used to keep connection alive for a long time.
673 @option{-maxonlinetime} option gives ability to set maximal allowable
674 online connection aliveness time.
677 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
680 @command{nncp-pkt} command can decompress the data.