4 See also this page @ref{Новости, on russian}.
10 @item Log uses human readable and easy machine parseable
11 @url{https://www.gnu.org/software/recutils/, recfile} format for the
12 records, instead of structured RFC 3339 lines. Old logs are not readable
13 by @command{nncp-log} anymore.
16 @option{-autotoss*} option workability with @command{nncp-daemon}'s
20 Call's @option{when-tx-exists} allows to make a call only when outbound
21 packets exists. Combined with seconds-aware cron expression that can be
22 used as some kind of auto dialler.
25 @command{nncp-cronexpr} command allows you to check validity and
26 expectations of specified cron expression.
31 @section Release 5.6.0
35 @option{-autotoss*} option runs tosser not after the call, but every
36 second while it is active.
39 @option{autotoss}, @option{autotoss-doseen},
40 @option{autotoss-nofile}, @option{autotoss-nofreq},
41 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
42 @option{calls} configuration section. You can configure per-call
43 automatic tosser options.
46 Use vendoring, instead of @env{GOPATH} overriding during tarball
47 installation, because current minimal Go's version is 1.12 and it
53 @section Release 5.5.1
57 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
58 variables in @file{config} during installation.
63 @section Release 5.5.0
67 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
68 @command{nncp-bundle} and @command{nncp-stat}.
71 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
74 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
75 options now. Uncompressed packets are not compatible with previous NNCP
79 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
80 have @option{-autotoss*} options for running tosser after call is ended.
83 Updated dependencies. Minimal required Go version is 1.12.
88 @section Release 5.4.1
92 Fixed @code{SENDMAIL} variable usage during the build.
97 @section Release 5.4.0
101 Updated dependencies.
104 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
105 This should not influence package maintainers, because minimal @command{redo}
106 implementation is included in tarball.
111 @section Release 5.3.3
115 More various error checks.
118 Updated dependencies.
123 @section Release 5.3.2
127 Fixed incorrect logic of @option{onlinedeadline} timeout, where
128 connection won't take into account incoming packets events and will
129 forcefully disconnect.
134 @section Release 5.3.1
138 Fixed @option{onlinedeadline} workability with call addresses that use
139 external commands (@verb{#"|somecmd"#}).
142 @command{nncp-stat} has @option{-pkt} option displaying information
143 about each packet in the spool.
148 @section Release 5.3.0
152 Progress messages contain prefix, describing the running action.
155 Fixed not occurring handshake messages padding.
158 Finish all SP protocol related goroutines, less memory leak.
161 SP protocol generates less socket write calls, thus generating less TCP
165 Check @option{onlinedeadline} and @option{maxonlinetime} options every
166 second, independently from socket reads (up to 10 seconds).
169 Once per minute, if no other traffic exists, PING packets are sent in
170 SP-connection. That allows faster determining of connection unworkability.
173 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
178 @section Release 5.2.1
182 Fixed SP protocol error handling, sometimes causing program panic.
187 @section Release 5.2.0
191 Most commands by default show oneline operations progress.
192 @option{-progress}, @option{-noprogress} command line options,
193 @option{noprogress} configuration file option appeared.
196 Fixed incorrect @command{nncp-check} command return code, that returned
197 bad code when everything is good.
200 Free disk space check during @command{nncp-bundle -rx} call.
205 @section Release 5.1.2
209 @strong{Critical} vulnerability: remote peers authentication could lead
210 to incorrect identification of remote side, allowing foreign encrypted
214 Bugfix: private and public Noise keys were swapped in newly created
215 configuration files, that lead to inability to authenticate online peers.
218 Explicit directories fsync-ing for guaranteed files renaming.
223 @section Release 5.1.1
227 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
232 @section Release 5.1.0
236 @command{nncp-file} can send directories, automatically creating pax
240 Free disk space is checked during outbound packets creation.
243 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
244 file options replaced with the structure:
245 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
248 Added @option{freq.maxsize} configuration file option, forbidding of
249 freq sending larger than specified size.
252 Ability to notify about successfully executed commands (exec) with
253 @option{notify.exec} configuration file option.
258 @section Release 5.0.0
262 @strong{Incompatible} configuration file format change: YAML is
263 replaced with Hjson, due to its simplicity, without noticeable lack
264 of either functionality or convenience.
267 @strong{Incompatible} plain packet format changes. Older versions are
268 not supported. @code{zlib} compression is replaced with
269 @code{Zstandard}, due to its speed and efficiency, despite library
270 version is not mature enough.
273 Ability to call remote nodes via pipe call of external command, not only
277 @command{nncp-cfgnew} generates configuration file with many
278 comments. @option{-nocomments} option can be used for an old
282 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
283 avoid possible collisions with @file{.nncp.chunkCTR}.
286 Ability to override process umask through configuration file option.
289 Files and directories are created with 666/777 permissions by default,
290 allowing control with @command{umask}.
293 Updated dependencies.
296 Full usage of go modules for dependencies management
297 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
300 Forbid any later GNU GPL version autousage
301 (project's licence now is GNU GPLv3-only).
308 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
316 @strong{Incompatible} encrypted and eblob packet format change: AEAD
317 encryption mode with 128 KiB blocks is used now, because previously
318 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
319 decrypted data to external command. Older versions are not supported.
322 Available free space checking before copying in @command{nncp-xfer},
323 @command{nncp-daemon}, @command{nncp-call(er)}.
326 @command{nncp-call} has ability only to list packets on remote node,
327 without their transmission.
330 @command{nncp-call} has ability to transfer only specified packets.
333 Workability of @option{xxrate} preference in @option{calls}
334 configuration file section.
337 Dependant libraries are updated.
343 Begin using of @code{go.mod} subsystem.
350 @item @command{nncp-daemon} can be run as @command{inetd}-service.
358 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
359 if @file{.seen} exists and treat it like file was already downloaded.
360 Possibly it was transferred out-of-bound and remote side needs to be
364 If higher priority packet is spooled, then @command{nncp-daemon} will
365 queue its sending first, interrupting lower priority transmissions.
368 Simple packet rate limiter added to online-related tools
369 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
372 Ability to specify niceness with symbolic notation:
373 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
376 Changed default niceness levels:
377 for @command{nncp-exec} from 64 to 96,
378 for @command{nncp-freq} from 64 to 160,
379 for @command{nncp-file} from 196 to 224.
387 @strong{Incompatible} @emph{bundle} archive format changes and
388 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
389 valid tar archives, but Go 1.9 made them invalid because of long paths
390 inside. NNCP accidentally was dependant on that bug. Explicit adding of
391 @file{NNCP/} directory in archive restores workability with valid tar
399 Ability to disable relaying at all using @verb{|-via -|} command line option.
407 @strong{Incompatible} plain packet format changes. Older versions are
411 Ability to queue remote command execution, by configuring @option{exec}
412 option in configuration file and using @command{nncp-exec} command:
415 @command{nncp-mail} command is replaced with more flexible
416 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
417 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
419 @option{sendmail} configuration file option is replaced with
420 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
421 @verb{|exec: sendmail: [...]|}.
425 Ability to override @option{via} configuration option for destination
426 node via @option{-via} command line option for following commands:
427 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
430 Chunked files, having size less than specified chunk size, will be sent
431 as an ordinary single file.
434 Exec commands are invoked with additional @env{NNCP_NICE} and
435 @env{NNCP_SELF} environment variables.
438 Files, that are sent as a reply to freq, have niceness level taken from
439 the freq packet. You can set desired niceness during @command{nncp-freq}
440 invocation using @option{-replynice} option.
443 @command{nncp-toss} command can ignore specified packet types during
444 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
448 @command{nncp-file} command uses
449 @option{FreqMinSize}/@option{FreqChunked} configuration file options
450 for @option{-minsize}/@option{-chunked} by default. You can turn this
451 off by specifying zero value.
460 @strong{Incompatible} encrypted/eblob packet format changes. Older
461 versions are not supported.
464 Twofish encryption algorithm is replaced with ChaCha20. It is much more
465 faster. One cryptographic primitive less.
468 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
469 another cryptographic primitive less (assuming that BLAKE2X is nearly
470 identical to BLAKE2).
479 @strong{Incompatible} encrypted packet format changes. Older versions
483 @command{nncp-bundle} command can either create stream of encrypted
484 packets, or digest it. It is useful when dealing with
485 @code{stdin}/@code{stdout} based transmission methods (like writing to
486 CD-ROM without intermediate prepared ISO image and working with tape
490 @command{nncp-toss} is able to create @file{.seen} files preventing
491 duplicate packets receiving.
494 Single background checksum verifier worker is allowed in
495 @command{nncp-call}. This is helpful when thousands of small inbound
496 packets could create many goroutines.
499 Ability to override path to spool directory and logfile through either
500 command line argument, or environment variable.
503 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
504 @file{.part}, @file{.lock} and temporary files.
509 @section Release 0.12
511 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
515 @section Release 0.11
517 @item @command{nncp-stat}'s command output is sorted by node name.
521 @section Release 0.10
524 @command{nncp-freq}'s @file{DST} argument is optional now. Last
525 @file{SRC} path's element will be used by default.
532 Fix @option{-rx}/@option{-tx} arguments processing in
533 @command{nncp-call} command. They were ignored.
540 Little bugfix in @command{nncp-file} command, where @option{-minsize}
541 option for unchunked transfer was not in KiBs, but in bytes.
549 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
550 encrypted temporary file for that.
553 Chunked files transmission appeared with corresponding
554 @command{nncp-reass} command and @option{freqchunked} configuration file
555 entry. Useful for transferring big files over small storage devices.
558 @option{freqminsize} configuration file option, analogue to
559 @option{-minsize} one.
562 @command{nncp-xfer}'s @option{-force} option is renamed to
563 @option{-mkdir} for clarity.
566 @option{-minsize} option is specified in KiBs, not bytes, for
570 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
571 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
572 common prefix and are grouped together for convenience.
575 @command{nncp-cfgenc} command appeared, allowing configuration file
576 encryption/decryption, for keeping it safe without any either OpenPGP or
580 Cryptographic libraries (dependencies) are updated.
587 @item Small @command{nncp-rm} command appeared.
588 @item Cryptographic libraries (dependencies) are updated.
595 Trivial small fix in default niceness level of @command{nncp-file}
596 and @command{nncp-freq} commands.
604 Small fix in @command{nncp-call}, @command{nncp-caller},
605 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
609 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
610 and more convenient to use.
613 @command{nncp-mincfg} command appeared: helper allowing to create
614 minimalistic stripped down configuration file without private keys, that
615 is useful during @command{nncp-xfer} usage.
622 @item Fixed compatibility with Go 1.6.
630 @strong{Incompatible} packet's format change (magic number is changed
631 too): size field is encrypted and is not send in plaintext anymore.
634 @option{-minsize} option gives ability to automatically pad outgoing
635 packets to specified minimal size.
638 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
639 always check new @emph{tx} packets appearance in the background while
640 connected. Remote side is immediately notified.
643 @option{-onlinedeadline} option gives ability to configure timeout of
644 inactivity of online connection, when it could be disconnected. It could
645 be used to keep connection alive for a long time.
648 @option{-maxonlinetime} option gives ability to set maximal allowable
649 online connection aliveness time.
652 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
655 @command{nncp-pkt} command can decompress the data.