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.
27 @section Release 6.0.0
31 Log uses human readable and easy machine parseable
32 @url{https://www.gnu.org/software/recutils/, recfile} format for the
33 records, instead of structured RFC 3339 lines. Old logs are not readable
34 by @command{nncp-log} anymore.
37 @option{-autotoss*} option workability with @command{nncp-daemon}'s
41 Call's @option{when-tx-exists} allows to make a call only when outbound
42 packets exists. Combined with seconds-aware cron expression that can be
43 used as some kind of auto dialler.
46 @command{nncp-cronexpr} command allows you to check validity and
47 expectations of specified cron expression.
52 @section Release 5.6.0
56 @option{-autotoss*} option runs tosser not after the call, but every
57 second while it is active.
60 @option{autotoss}, @option{autotoss-doseen},
61 @option{autotoss-nofile}, @option{autotoss-nofreq},
62 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
63 @option{calls} configuration section. You can configure per-call
64 automatic tosser options.
67 Use vendoring, instead of @env{GOPATH} overriding during tarball
68 installation, because current minimal Go's version is 1.12 and it
74 @section Release 5.5.1
78 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
79 variables in @file{config} during installation.
84 @section Release 5.5.0
88 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
89 @command{nncp-bundle} and @command{nncp-stat}.
92 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
95 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
96 options now. Uncompressed packets are not compatible with previous NNCP
100 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
101 have @option{-autotoss*} options for running tosser after call is ended.
104 Updated dependencies. Minimal required Go version is 1.12.
109 @section Release 5.4.1
113 Fixed @code{SENDMAIL} variable usage during the build.
118 @section Release 5.4.0
122 Updated dependencies.
125 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
126 This should not influence package maintainers, because minimal @command{redo}
127 implementation is included in tarball.
132 @section Release 5.3.3
136 More various error checks.
139 Updated dependencies.
144 @section Release 5.3.2
148 Fixed incorrect logic of @option{onlinedeadline} timeout, where
149 connection won't take into account incoming packets events and will
150 forcefully disconnect.
155 @section Release 5.3.1
159 Fixed @option{onlinedeadline} workability with call addresses that use
160 external commands (@verb{#"|somecmd"#}).
163 @command{nncp-stat} has @option{-pkt} option displaying information
164 about each packet in the spool.
169 @section Release 5.3.0
173 Progress messages contain prefix, describing the running action.
176 Fixed not occurring handshake messages padding.
179 Finish all SP protocol related goroutines, less memory leak.
182 SP protocol generates less socket write calls, thus generating less TCP
186 Check @option{onlinedeadline} and @option{maxonlinetime} options every
187 second, independently from socket reads (up to 10 seconds).
190 Once per minute, if no other traffic exists, PING packets are sent in
191 SP-connection. That allows faster determining of connection unworkability.
194 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
199 @section Release 5.2.1
203 Fixed SP protocol error handling, sometimes causing program panic.
208 @section Release 5.2.0
212 Most commands by default show oneline operations progress.
213 @option{-progress}, @option{-noprogress} command line options,
214 @option{noprogress} configuration file option appeared.
217 Fixed incorrect @command{nncp-check} command return code, that returned
218 bad code when everything is good.
221 Free disk space check during @command{nncp-bundle -rx} call.
226 @section Release 5.1.2
230 @strong{Critical} vulnerability: remote peers authentication could lead
231 to incorrect identification of remote side, allowing foreign encrypted
235 Bugfix: private and public Noise keys were swapped in newly created
236 configuration files, that lead to inability to authenticate online peers.
239 Explicit directories fsync-ing for guaranteed files renaming.
244 @section Release 5.1.1
248 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
253 @section Release 5.1.0
257 @command{nncp-file} can send directories, automatically creating pax
261 Free disk space is checked during outbound packets creation.
264 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
265 file options replaced with the structure:
266 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
269 Added @option{freq.maxsize} configuration file option, forbidding of
270 freq sending larger than specified size.
273 Ability to notify about successfully executed commands (exec) with
274 @option{notify.exec} configuration file option.
279 @section Release 5.0.0
283 @strong{Incompatible} configuration file format change: YAML is
284 replaced with Hjson, due to its simplicity, without noticeable lack
285 of either functionality or convenience.
288 @strong{Incompatible} plain packet format changes. Older versions are
289 not supported. @code{zlib} compression is replaced with
290 @code{Zstandard}, due to its speed and efficiency, despite library
291 version is not mature enough.
294 Ability to call remote nodes via pipe call of external command, not only
298 @command{nncp-cfgnew} generates configuration file with many
299 comments. @option{-nocomments} option can be used for an old
303 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
304 avoid possible collisions with @file{.nncp.chunkCTR}.
307 Ability to override process umask through configuration file option.
310 Files and directories are created with 666/777 permissions by default,
311 allowing control with @command{umask}.
314 Updated dependencies.
317 Full usage of go modules for dependencies management
318 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
321 Forbid any later GNU GPL version autousage
322 (project's licence now is GNU GPLv3-only).
329 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
337 @strong{Incompatible} encrypted and eblob packet format change: AEAD
338 encryption mode with 128 KiB blocks is used now, because previously
339 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
340 decrypted data to external command. Older versions are not supported.
343 Available free space checking before copying in @command{nncp-xfer},
344 @command{nncp-daemon}, @command{nncp-call(er)}.
347 @command{nncp-call} has ability only to list packets on remote node,
348 without their transmission.
351 @command{nncp-call} has ability to transfer only specified packets.
354 Workability of @option{xxrate} preference in @option{calls}
355 configuration file section.
358 Dependant libraries are updated.
364 Begin using of @code{go.mod} subsystem.
371 @item @command{nncp-daemon} can be run as @command{inetd}-service.
379 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
380 if @file{.seen} exists and treat it like file was already downloaded.
381 Possibly it was transferred out-of-bound and remote side needs to be
385 If higher priority packet is spooled, then @command{nncp-daemon} will
386 queue its sending first, interrupting lower priority transmissions.
389 Simple packet rate limiter added to online-related tools
390 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
393 Ability to specify niceness with symbolic notation:
394 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
397 Changed default niceness levels:
398 for @command{nncp-exec} from 64 to 96,
399 for @command{nncp-freq} from 64 to 160,
400 for @command{nncp-file} from 196 to 224.
408 @strong{Incompatible} @emph{bundle} archive format changes and
409 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
410 valid tar archives, but Go 1.9 made them invalid because of long paths
411 inside. NNCP accidentally was dependant on that bug. Explicit adding of
412 @file{NNCP/} directory in archive restores workability with valid tar
420 Ability to disable relaying at all using @verb{|-via -|} command line option.
428 @strong{Incompatible} plain packet format changes. Older versions are
432 Ability to queue remote command execution, by configuring @option{exec}
433 option in configuration file and using @command{nncp-exec} command:
436 @command{nncp-mail} command is replaced with more flexible
437 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
438 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
440 @option{sendmail} configuration file option is replaced with
441 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
442 @verb{|exec: sendmail: [...]|}.
446 Ability to override @option{via} configuration option for destination
447 node via @option{-via} command line option for following commands:
448 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
451 Chunked files, having size less than specified chunk size, will be sent
452 as an ordinary single file.
455 Exec commands are invoked with additional @env{NNCP_NICE} and
456 @env{NNCP_SELF} environment variables.
459 Files, that are sent as a reply to freq, have niceness level taken from
460 the freq packet. You can set desired niceness during @command{nncp-freq}
461 invocation using @option{-replynice} option.
464 @command{nncp-toss} command can ignore specified packet types during
465 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
469 @command{nncp-file} command uses
470 @option{FreqMinSize}/@option{FreqChunked} configuration file options
471 for @option{-minsize}/@option{-chunked} by default. You can turn this
472 off by specifying zero value.
481 @strong{Incompatible} encrypted/eblob packet format changes. Older
482 versions are not supported.
485 Twofish encryption algorithm is replaced with ChaCha20. It is much more
486 faster. One cryptographic primitive less.
489 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
490 another cryptographic primitive less (assuming that BLAKE2X is nearly
491 identical to BLAKE2).
500 @strong{Incompatible} encrypted packet format changes. Older versions
504 @command{nncp-bundle} command can either create stream of encrypted
505 packets, or digest it. It is useful when dealing with
506 @code{stdin}/@code{stdout} based transmission methods (like writing to
507 CD-ROM without intermediate prepared ISO image and working with tape
511 @command{nncp-toss} is able to create @file{.seen} files preventing
512 duplicate packets receiving.
515 Single background checksum verifier worker is allowed in
516 @command{nncp-call}. This is helpful when thousands of small inbound
517 packets could create many goroutines.
520 Ability to override path to spool directory and logfile through either
521 command line argument, or environment variable.
524 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
525 @file{.part}, @file{.lock} and temporary files.
530 @section Release 0.12
532 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
536 @section Release 0.11
538 @item @command{nncp-stat}'s command output is sorted by node name.
542 @section Release 0.10
545 @command{nncp-freq}'s @file{DST} argument is optional now. Last
546 @file{SRC} path's element will be used by default.
553 Fix @option{-rx}/@option{-tx} arguments processing in
554 @command{nncp-call} command. They were ignored.
561 Little bugfix in @command{nncp-file} command, where @option{-minsize}
562 option for unchunked transfer was not in KiBs, but in bytes.
570 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
571 encrypted temporary file for that.
574 Chunked files transmission appeared with corresponding
575 @command{nncp-reass} command and @option{freqchunked} configuration file
576 entry. Useful for transferring big files over small storage devices.
579 @option{freqminsize} configuration file option, analogue to
580 @option{-minsize} one.
583 @command{nncp-xfer}'s @option{-force} option is renamed to
584 @option{-mkdir} for clarity.
587 @option{-minsize} option is specified in KiBs, not bytes, for
591 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
592 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
593 common prefix and are grouped together for convenience.
596 @command{nncp-cfgenc} command appeared, allowing configuration file
597 encryption/decryption, for keeping it safe without any either OpenPGP or
601 Cryptographic libraries (dependencies) are updated.
608 @item Small @command{nncp-rm} command appeared.
609 @item Cryptographic libraries (dependencies) are updated.
616 Trivial small fix in default niceness level of @command{nncp-file}
617 and @command{nncp-freq} commands.
625 Small fix in @command{nncp-call}, @command{nncp-caller},
626 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
630 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
631 and more convenient to use.
634 @command{nncp-mincfg} command appeared: helper allowing to create
635 minimalistic stripped down configuration file without private keys, that
636 is useful during @command{nncp-xfer} usage.
643 @item Fixed compatibility with Go 1.6.
651 @strong{Incompatible} packet's format change (magic number is changed
652 too): size field is encrypted and is not send in plaintext anymore.
655 @option{-minsize} option gives ability to automatically pad outgoing
656 packets to specified minimal size.
659 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
660 always check new @emph{tx} packets appearance in the background while
661 connected. Remote side is immediately notified.
664 @option{-onlinedeadline} option gives ability to configure timeout of
665 inactivity of online connection, when it could be disconnected. It could
666 be used to keep connection alive for a long time.
669 @option{-maxonlinetime} option gives ability to set maximal allowable
670 online connection aliveness time.
673 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
676 @command{nncp-pkt} command can decompress the data.