4 See also this page @ref{Новости, on russian}.
11 Yet another logging refactoring and simplification.
12 Should be no visible differences to the end user.
17 @section Release 6.1.0
21 Optimization: most commands do not keep opened file descriptors now.
22 Previously you can exceed maximal number of opened files if you have got
23 many packets in the spool directory.
26 Optimization: do not close file descriptor of the file we download
27 online. Previously each chunk lead to expensive open/close calls.
30 Online downloaded files are saved with @file{.nock} (non-checksummed)
31 suffix, waiting either for @command{nncp-check}, or online daemons to
32 perform integrity check.
35 Optimization: files, that are not resumed, are checksummed immediately
36 during the online download, skipping @file{.nock}-intermediate step.
39 Ability to store encrypted packet's header in @file{.hdr} file, close to
40 the packet itself. That can greatly increase performance of packets
41 listing on filesystems with big block's size.
46 @section Release 6.0.0
50 Log uses human readable and easy machine parseable
51 @url{https://www.gnu.org/software/recutils/, recfile} format for the
52 records, instead of structured RFC 3339 lines. Old logs are not readable
53 by @command{nncp-log} anymore.
56 @option{-autotoss*} option workability with @command{nncp-daemon}'s
60 Call's @option{when-tx-exists} allows to make a call only when outbound
61 packets exists. Combined with seconds-aware cron expression that can be
62 used as some kind of auto dialler.
65 @command{nncp-cronexpr} command allows you to check validity and
66 expectations of specified cron expression.
71 @section Release 5.6.0
75 @option{-autotoss*} option runs tosser not after the call, but every
76 second while it is active.
79 @option{autotoss}, @option{autotoss-doseen},
80 @option{autotoss-nofile}, @option{autotoss-nofreq},
81 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
82 @option{calls} configuration section. You can configure per-call
83 automatic tosser options.
86 Use vendoring, instead of @env{GOPATH} overriding during tarball
87 installation, because current minimal Go's version is 1.12 and it
93 @section Release 5.5.1
97 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
98 variables in @file{config} during installation.
103 @section Release 5.5.0
107 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
108 @command{nncp-bundle} and @command{nncp-stat}.
111 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
114 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
115 options now. Uncompressed packets are not compatible with previous NNCP
119 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
120 have @option{-autotoss*} options for running tosser after call is ended.
123 Updated dependencies. Minimal required Go version is 1.12.
128 @section Release 5.4.1
132 Fixed @code{SENDMAIL} variable usage during the build.
137 @section Release 5.4.0
141 Updated dependencies.
144 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
145 This should not influence package maintainers, because minimal @command{redo}
146 implementation is included in tarball.
151 @section Release 5.3.3
155 More various error checks.
158 Updated dependencies.
163 @section Release 5.3.2
167 Fixed incorrect logic of @option{onlinedeadline} timeout, where
168 connection won't take into account incoming packets events and will
169 forcefully disconnect.
174 @section Release 5.3.1
178 Fixed @option{onlinedeadline} workability with call addresses that use
179 external commands (@verb{#"|somecmd"#}).
182 @command{nncp-stat} has @option{-pkt} option displaying information
183 about each packet in the spool.
188 @section Release 5.3.0
192 Progress messages contain prefix, describing the running action.
195 Fixed not occurring handshake messages padding.
198 Finish all SP protocol related goroutines, less memory leak.
201 SP protocol generates less socket write calls, thus generating less TCP
205 Check @option{onlinedeadline} and @option{maxonlinetime} options every
206 second, independently from socket reads (up to 10 seconds).
209 Once per minute, if no other traffic exists, PING packets are sent in
210 SP-connection. That allows faster determining of connection unworkability.
213 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
218 @section Release 5.2.1
222 Fixed SP protocol error handling, sometimes causing program panic.
227 @section Release 5.2.0
231 Most commands by default show oneline operations progress.
232 @option{-progress}, @option{-noprogress} command line options,
233 @option{noprogress} configuration file option appeared.
236 Fixed incorrect @command{nncp-check} command return code, that returned
237 bad code when everything is good.
240 Free disk space check during @command{nncp-bundle -rx} call.
245 @section Release 5.1.2
249 @strong{Critical} vulnerability: remote peers authentication could lead
250 to incorrect identification of remote side, allowing foreign encrypted
254 Bugfix: private and public Noise keys were swapped in newly created
255 configuration files, that lead to inability to authenticate online peers.
258 Explicit directories fsync-ing for guaranteed files renaming.
263 @section Release 5.1.1
267 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
272 @section Release 5.1.0
276 @command{nncp-file} can send directories, automatically creating pax
280 Free disk space is checked during outbound packets creation.
283 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
284 file options replaced with the structure:
285 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
288 Added @option{freq.maxsize} configuration file option, forbidding of
289 freq sending larger than specified size.
292 Ability to notify about successfully executed commands (exec) with
293 @option{notify.exec} configuration file option.
298 @section Release 5.0.0
302 @strong{Incompatible} configuration file format change: YAML is
303 replaced with Hjson, due to its simplicity, without noticeable lack
304 of either functionality or convenience.
307 @strong{Incompatible} plain packet format changes. Older versions are
308 not supported. @code{zlib} compression is replaced with
309 @code{Zstandard}, due to its speed and efficiency, despite library
310 version is not mature enough.
313 Ability to call remote nodes via pipe call of external command, not only
317 @command{nncp-cfgnew} generates configuration file with many
318 comments. @option{-nocomments} option can be used for an old
322 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
323 avoid possible collisions with @file{.nncp.chunkCTR}.
326 Ability to override process umask through configuration file option.
329 Files and directories are created with 666/777 permissions by default,
330 allowing control with @command{umask}.
333 Updated dependencies.
336 Full usage of go modules for dependencies management
337 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
340 Forbid any later GNU GPL version autousage
341 (project's licence now is GNU GPLv3-only).
348 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
356 @strong{Incompatible} encrypted and eblob packet format change: AEAD
357 encryption mode with 128 KiB blocks is used now, because previously
358 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
359 decrypted data to external command. Older versions are not supported.
362 Available free space checking before copying in @command{nncp-xfer},
363 @command{nncp-daemon}, @command{nncp-call(er)}.
366 @command{nncp-call} has ability only to list packets on remote node,
367 without their transmission.
370 @command{nncp-call} has ability to transfer only specified packets.
373 Workability of @option{xxrate} preference in @option{calls}
374 configuration file section.
377 Dependant libraries are updated.
383 Begin using of @code{go.mod} subsystem.
390 @item @command{nncp-daemon} can be run as @command{inetd}-service.
398 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
399 if @file{.seen} exists and treat it like file was already downloaded.
400 Possibly it was transferred out-of-bound and remote side needs to be
404 If higher priority packet is spooled, then @command{nncp-daemon} will
405 queue its sending first, interrupting lower priority transmissions.
408 Simple packet rate limiter added to online-related tools
409 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
412 Ability to specify niceness with symbolic notation:
413 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
416 Changed default niceness levels:
417 for @command{nncp-exec} from 64 to 96,
418 for @command{nncp-freq} from 64 to 160,
419 for @command{nncp-file} from 196 to 224.
427 @strong{Incompatible} @emph{bundle} archive format changes and
428 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
429 valid tar archives, but Go 1.9 made them invalid because of long paths
430 inside. NNCP accidentally was dependant on that bug. Explicit adding of
431 @file{NNCP/} directory in archive restores workability with valid tar
439 Ability to disable relaying at all using @verb{|-via -|} command line option.
447 @strong{Incompatible} plain packet format changes. Older versions are
451 Ability to queue remote command execution, by configuring @option{exec}
452 option in configuration file and using @command{nncp-exec} command:
455 @command{nncp-mail} command is replaced with more flexible
456 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
457 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
459 @option{sendmail} configuration file option is replaced with
460 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
461 @verb{|exec: sendmail: [...]|}.
465 Ability to override @option{via} configuration option for destination
466 node via @option{-via} command line option for following commands:
467 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
470 Chunked files, having size less than specified chunk size, will be sent
471 as an ordinary single file.
474 Exec commands are invoked with additional @env{NNCP_NICE} and
475 @env{NNCP_SELF} environment variables.
478 Files, that are sent as a reply to freq, have niceness level taken from
479 the freq packet. You can set desired niceness during @command{nncp-freq}
480 invocation using @option{-replynice} option.
483 @command{nncp-toss} command can ignore specified packet types during
484 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
488 @command{nncp-file} command uses
489 @option{FreqMinSize}/@option{FreqChunked} configuration file options
490 for @option{-minsize}/@option{-chunked} by default. You can turn this
491 off by specifying zero value.
500 @strong{Incompatible} encrypted/eblob packet format changes. Older
501 versions are not supported.
504 Twofish encryption algorithm is replaced with ChaCha20. It is much more
505 faster. One cryptographic primitive less.
508 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
509 another cryptographic primitive less (assuming that BLAKE2X is nearly
510 identical to BLAKE2).
519 @strong{Incompatible} encrypted packet format changes. Older versions
523 @command{nncp-bundle} command can either create stream of encrypted
524 packets, or digest it. It is useful when dealing with
525 @code{stdin}/@code{stdout} based transmission methods (like writing to
526 CD-ROM without intermediate prepared ISO image and working with tape
530 @command{nncp-toss} is able to create @file{.seen} files preventing
531 duplicate packets receiving.
534 Single background checksum verifier worker is allowed in
535 @command{nncp-call}. This is helpful when thousands of small inbound
536 packets could create many goroutines.
539 Ability to override path to spool directory and logfile through either
540 command line argument, or environment variable.
543 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
544 @file{.part}, @file{.lock} and temporary files.
549 @section Release 0.12
551 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
555 @section Release 0.11
557 @item @command{nncp-stat}'s command output is sorted by node name.
561 @section Release 0.10
564 @command{nncp-freq}'s @file{DST} argument is optional now. Last
565 @file{SRC} path's element will be used by default.
572 Fix @option{-rx}/@option{-tx} arguments processing in
573 @command{nncp-call} command. They were ignored.
580 Little bugfix in @command{nncp-file} command, where @option{-minsize}
581 option for unchunked transfer was not in KiBs, but in bytes.
589 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
590 encrypted temporary file for that.
593 Chunked files transmission appeared with corresponding
594 @command{nncp-reass} command and @option{freqchunked} configuration file
595 entry. Useful for transferring big files over small storage devices.
598 @option{freqminsize} configuration file option, analogue to
599 @option{-minsize} one.
602 @command{nncp-xfer}'s @option{-force} option is renamed to
603 @option{-mkdir} for clarity.
606 @option{-minsize} option is specified in KiBs, not bytes, for
610 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
611 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
612 common prefix and are grouped together for convenience.
615 @command{nncp-cfgenc} command appeared, allowing configuration file
616 encryption/decryption, for keeping it safe without any either OpenPGP or
620 Cryptographic libraries (dependencies) are updated.
627 @item Small @command{nncp-rm} command appeared.
628 @item Cryptographic libraries (dependencies) are updated.
635 Trivial small fix in default niceness level of @command{nncp-file}
636 and @command{nncp-freq} commands.
644 Small fix in @command{nncp-call}, @command{nncp-caller},
645 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
649 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
650 and more convenient to use.
653 @command{nncp-mincfg} command appeared: helper allowing to create
654 minimalistic stripped down configuration file without private keys, that
655 is useful during @command{nncp-xfer} usage.
662 @item Fixed compatibility with Go 1.6.
670 @strong{Incompatible} packet's format change (magic number is changed
671 too): size field is encrypted and is not send in plaintext anymore.
674 @option{-minsize} option gives ability to automatically pad outgoing
675 packets to specified minimal size.
678 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
679 always check new @emph{tx} packets appearance in the background while
680 connected. Remote side is immediately notified.
683 @option{-onlinedeadline} option gives ability to configure timeout of
684 inactivity of online connection, when it could be disconnected. It could
685 be used to keep connection alive for a long time.
688 @option{-maxonlinetime} option gives ability to set maximal allowable
689 online connection aliveness time.
692 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
695 @command{nncp-pkt} command can decompress the data.