4 See also this page @ref{Новости, on russian}.
11 @option{-autotoss*} option workability with @command{nncp-daemon}'s
15 Call's @option{when-tx-exists} allows to make a call only when outbound
16 packets exists. Combined with seconds-aware cron expression that can be
17 used as some kind of auto dialler.
20 @command{nncp-cronexpr} command allows you to check validity and
21 expectations of specified cron expression.
26 @section Release 5.6.0
30 @option{-autotoss*} option runs tosser not after the call, but every
31 second while it is active.
34 @option{autotoss}, @option{autotoss-doseen},
35 @option{autotoss-nofile}, @option{autotoss-nofreq},
36 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
37 @option{calls} configuration section. You can configure per-call
38 automatic tosser options.
41 Use vendoring, instead of @env{GOPATH} overriding during tarball
42 installation, because current minimal Go's version is 1.12 and it
48 @section Release 5.5.1
52 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
53 variables in @file{config} during installation.
58 @section Release 5.5.0
62 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
63 @command{nncp-bundle} and @command{nncp-stat}.
66 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
69 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
70 options now. Uncompressed packets are not compatible with previous NNCP
74 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
75 have @option{-autotoss*} options for running tosser after call is ended.
78 Updated dependencies. Minimal required Go version is 1.12.
83 @section Release 5.4.1
87 Fixed @code{SENDMAIL} variable usage during the build.
92 @section Release 5.4.0
99 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
100 This should not influence package maintainers, because minimal @command{redo}
101 implementation is included in tarball.
106 @section Release 5.3.3
110 More various error checks.
113 Updated dependencies.
118 @section Release 5.3.2
122 Fixed incorrect logic of @option{onlinedeadline} timeout, where
123 connection won't take into account incoming packets events and will
124 forcefully disconnect.
129 @section Release 5.3.1
133 Fixed @option{onlinedeadline} workability with call addresses that use
134 external commands (@verb{#"|somecmd"#}).
137 @command{nncp-stat} has @option{-pkt} option displaying information
138 about each packet in the spool.
143 @section Release 5.3.0
147 Progress messages contain prefix, describing the running action.
150 Fixed not occurring handshake messages padding.
153 Finish all SP protocol related goroutines, less memory leak.
156 SP protocol generates less socket write calls, thus generating less TCP
160 Check @option{onlinedeadline} and @option{maxonlinetime} options every
161 second, independently from socket reads (up to 10 seconds).
164 Once per minute, if no other traffic exists, PING packets are sent in
165 SP-connection. That allows faster determining of connection unworkability.
168 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
173 @section Release 5.2.1
177 Fixed SP protocol error handling, sometimes causing program panic.
182 @section Release 5.2.0
186 Most commands by default show oneline operations progress.
187 @option{-progress}, @option{-noprogress} command line options,
188 @option{noprogress} configuration file option appeared.
191 Fixed incorrect @command{nncp-check} command return code, that returned
192 bad code when everything is good.
195 Free disk space check during @command{nncp-bundle -rx} call.
200 @section Release 5.1.2
204 @strong{Critical} vulnerability: remote peers authentication could lead
205 to incorrect identification of remote side, allowing foreign encrypted
209 Bugfix: private and public Noise keys were swapped in newly created
210 configuration files, that lead to inability to authenticate online peers.
213 Explicit directories fsync-ing for guaranteed files renaming.
218 @section Release 5.1.1
222 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
227 @section Release 5.1.0
231 @command{nncp-file} can send directories, automatically creating pax
235 Free disk space is checked during outbound packets creation.
238 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
239 file options replaced with the structure:
240 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
243 Added @option{freq.maxsize} configuration file option, forbidding of
244 freq sending larger than specified size.
247 Ability to notify about successfully executed commands (exec) with
248 @option{notify.exec} configuration file option.
253 @section Release 5.0.0
257 @strong{Incompatible} configuration file format change: YAML is
258 replaced with Hjson, due to its simplicity, without noticeable lack
259 of either functionality or convenience.
262 @strong{Incompatible} plain packet format changes. Older versions are
263 not supported. @code{zlib} compression is replaced with
264 @code{Zstandard}, due to its speed and efficiency, despite library
265 version is not mature enough.
268 Ability to call remote nodes via pipe call of external command, not only
272 @command{nncp-cfgnew} generates configuration file with many
273 comments. @option{-nocomments} option can be used for an old
277 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
278 avoid possible collisions with @file{.nncp.chunkCTR}.
281 Ability to override process umask through configuration file option.
284 Files and directories are created with 666/777 permissions by default,
285 allowing control with @command{umask}.
288 Updated dependencies.
291 Full usage of go modules for dependencies management
292 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
295 Forbid any later GNU GPL version autousage
296 (project's licence now is GNU GPLv3-only).
303 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
311 @strong{Incompatible} encrypted and eblob packet format change: AEAD
312 encryption mode with 128 KiB blocks is used now, because previously
313 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
314 decrypted data to external command. Older versions are not supported.
317 Available free space checking before copying in @command{nncp-xfer},
318 @command{nncp-daemon}, @command{nncp-call(er)}.
321 @command{nncp-call} has ability only to list packets on remote node,
322 without their transmission.
325 @command{nncp-call} has ability to transfer only specified packets.
328 Workability of @option{xxrate} preference in @option{calls}
329 configuration file section.
332 Dependant libraries are updated.
338 Begin using of @code{go.mod} subsystem.
345 @item @command{nncp-daemon} can be run as @command{inetd}-service.
353 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
354 if @file{.seen} exists and treat it like file was already downloaded.
355 Possibly it was transferred out-of-bound and remote side needs to be
359 If higher priority packet is spooled, then @command{nncp-daemon} will
360 queue its sending first, interrupting lower priority transmissions.
363 Simple packet rate limiter added to online-related tools
364 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
367 Ability to specify niceness with symbolic notation:
368 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
371 Changed default niceness levels:
372 for @command{nncp-exec} from 64 to 96,
373 for @command{nncp-freq} from 64 to 160,
374 for @command{nncp-file} from 196 to 224.
382 @strong{Incompatible} @emph{bundle} archive format changes and
383 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
384 valid tar archives, but Go 1.9 made them invalid because of long paths
385 inside. NNCP accidentally was dependant on that bug. Explicit adding of
386 @file{NNCP/} directory in archive restores workability with valid tar
394 Ability to disable relaying at all using @verb{|-via -|} command line option.
402 @strong{Incompatible} plain packet format changes. Older versions are
406 Ability to queue remote command execution, by configuring @option{exec}
407 option in configuration file and using @command{nncp-exec} command:
410 @command{nncp-mail} command is replaced with more flexible
411 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
412 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
414 @option{sendmail} configuration file option is replaced with
415 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
416 @verb{|exec: sendmail: [...]|}.
420 Ability to override @option{via} configuration option for destination
421 node via @option{-via} command line option for following commands:
422 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
425 Chunked files, having size less than specified chunk size, will be sent
426 as an ordinary single file.
429 Exec commands are invoked with additional @env{NNCP_NICE} and
430 @env{NNCP_SELF} environment variables.
433 Files, that are sent as a reply to freq, have niceness level taken from
434 the freq packet. You can set desired niceness during @command{nncp-freq}
435 invocation using @option{-replynice} option.
438 @command{nncp-toss} command can ignore specified packet types during
439 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
443 @command{nncp-file} command uses
444 @option{FreqMinSize}/@option{FreqChunked} configuration file options
445 for @option{-minsize}/@option{-chunked} by default. You can turn this
446 off by specifying zero value.
455 @strong{Incompatible} encrypted/eblob packet format changes. Older
456 versions are not supported.
459 Twofish encryption algorithm is replaced with ChaCha20. It is much more
460 faster. One cryptographic primitive less.
463 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
464 another cryptographic primitive less (assuming that BLAKE2X is nearly
465 identical to BLAKE2).
474 @strong{Incompatible} encrypted packet format changes. Older versions
478 @command{nncp-bundle} command can either create stream of encrypted
479 packets, or digest it. It is useful when dealing with
480 @code{stdin}/@code{stdout} based transmission methods (like writing to
481 CD-ROM without intermediate prepared ISO image and working with tape
485 @command{nncp-toss} is able to create @file{.seen} files preventing
486 duplicate packets receiving.
489 Single background checksum verifier worker is allowed in
490 @command{nncp-call}. This is helpful when thousands of small inbound
491 packets could create many goroutines.
494 Ability to override path to spool directory and logfile through either
495 command line argument, or environment variable.
498 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
499 @file{.part}, @file{.lock} and temporary files.
504 @section Release 0.12
506 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
510 @section Release 0.11
512 @item @command{nncp-stat}'s command output is sorted by node name.
516 @section Release 0.10
519 @command{nncp-freq}'s @file{DST} argument is optional now. Last
520 @file{SRC} path's element will be used by default.
527 Fix @option{-rx}/@option{-tx} arguments processing in
528 @command{nncp-call} command. They were ignored.
535 Little bugfix in @command{nncp-file} command, where @option{-minsize}
536 option for unchunked transfer was not in KiBs, but in bytes.
544 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
545 encrypted temporary file for that.
548 Chunked files transmission appeared with corresponding
549 @command{nncp-reass} command and @option{freqchunked} configuration file
550 entry. Useful for transferring big files over small storage devices.
553 @option{freqminsize} configuration file option, analogue to
554 @option{-minsize} one.
557 @command{nncp-xfer}'s @option{-force} option is renamed to
558 @option{-mkdir} for clarity.
561 @option{-minsize} option is specified in KiBs, not bytes, for
565 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
566 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
567 common prefix and are grouped together for convenience.
570 @command{nncp-cfgenc} command appeared, allowing configuration file
571 encryption/decryption, for keeping it safe without any either OpenPGP or
575 Cryptographic libraries (dependencies) are updated.
582 @item Small @command{nncp-rm} command appeared.
583 @item Cryptographic libraries (dependencies) are updated.
590 Trivial small fix in default niceness level of @command{nncp-file}
591 and @command{nncp-freq} commands.
599 Small fix in @command{nncp-call}, @command{nncp-caller},
600 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
604 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
605 and more convenient to use.
608 @command{nncp-mincfg} command appeared: helper allowing to create
609 minimalistic stripped down configuration file without private keys, that
610 is useful during @command{nncp-xfer} usage.
617 @item Fixed compatibility with Go 1.6.
625 @strong{Incompatible} packet's format change (magic number is changed
626 too): size field is encrypted and is not send in plaintext anymore.
629 @option{-minsize} option gives ability to automatically pad outgoing
630 packets to specified minimal size.
633 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
634 always check new @emph{tx} packets appearance in the background while
635 connected. Remote side is immediately notified.
638 @option{-onlinedeadline} option gives ability to configure timeout of
639 inactivity of online connection, when it could be disconnected. It could
640 be used to keep connection alive for a long time.
643 @option{-maxonlinetime} option gives ability to set maximal allowable
644 online connection aliveness time.
647 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
650 @command{nncp-pkt} command can decompress the data.