4 See also this page @ref{Новости, on russian}.
11 @option{-autotoss*} option workability with @command{nncp-daemon}'s
17 @section Release 5.6.0
21 @option{-autotoss*} option runs tosser not after the call, but every
22 second while it is active.
25 @option{autotoss}, @option{autotoss-doseen},
26 @option{autotoss-nofile}, @option{autotoss-nofreq},
27 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
28 @option{calls} configuration section. You can configure per-call
29 automatic tosser options.
32 Use vendoring, instead of @env{GOPATH} overriding during tarball
33 installation, because current minimal Go's version is 1.12 and it
39 @section Release 5.5.1
43 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
44 variables in @file{config} during installation.
49 @section Release 5.5.0
53 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
54 @command{nncp-bundle} and @command{nncp-stat}.
57 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
60 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
61 options now. Uncompressed packets are not compatible with previous NNCP
65 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
66 have @option{-autotoss*} options for running tosser after call is ended.
69 Updated dependencies. Minimal required Go version is 1.12.
74 @section Release 5.4.1
78 Fixed @code{SENDMAIL} variable usage during the build.
83 @section Release 5.4.0
90 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
91 This should not influence package maintainers, because minimal @command{redo}
92 implementation is included in tarball.
97 @section Release 5.3.3
101 More various error checks.
104 Updated dependencies.
109 @section Release 5.3.2
113 Fixed incorrect logic of @option{onlinedeadline} timeout, where
114 connection won't take into account incoming packets events and will
115 forcefully disconnect.
120 @section Release 5.3.1
124 Fixed @option{onlinedeadline} workability with call addresses that use
125 external commands (@verb{#"|somecmd"#}).
128 @command{nncp-stat} has @option{-pkt} option displaying information
129 about each packet in the spool.
134 @section Release 5.3.0
138 Progress messages contain prefix, describing the running action.
141 Fixed not occurring handshake messages padding.
144 Finish all SP protocol related goroutines, less memory leak.
147 SP protocol generates less socket write calls, thus generating less TCP
151 Check @option{onlinedeadline} and @option{maxonlinetime} options every
152 second, independently from socket reads (up to 10 seconds).
155 Once per minute, if no other traffic exists, PING packets are sent in
156 SP-connection. That allows faster determining of connection unworkability.
159 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
164 @section Release 5.2.1
168 Fixed SP protocol error handling, sometimes causing program panic.
173 @section Release 5.2.0
177 Most commands by default show oneline operations progress.
178 @option{-progress}, @option{-noprogress} command line options,
179 @option{noprogress} configuration file option appeared.
182 Fixed incorrect @command{nncp-check} command return code, that returned
183 bad code when everything is good.
186 Free disk space check during @command{nncp-bundle -rx} call.
191 @section Release 5.1.2
195 @strong{Critical} vulnerability: remote peers authentication could lead
196 to incorrect identification of remote side, allowing foreign encrypted
200 Bugfix: private and public Noise keys were swapped in newly created
201 configuration files, that lead to inability to authenticate online peers.
204 Explicit directories fsync-ing for guaranteed files renaming.
209 @section Release 5.1.1
213 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
218 @section Release 5.1.0
222 @command{nncp-file} can send directories, automatically creating pax
226 Free disk space is checked during outbound packets creation.
229 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
230 file options replaced with the structure:
231 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
234 Added @option{freq.maxsize} configuration file option, forbidding of
235 freq sending larger than specified size.
238 Ability to notify about successfully executed commands (exec) with
239 @option{notify.exec} configuration file option.
244 @section Release 5.0.0
248 @strong{Incompatible} configuration file format change: YAML is
249 replaced with Hjson, due to its simplicity, without noticeable lack
250 of either functionality or convenience.
253 @strong{Incompatible} plain packet format changes. Older versions are
254 not supported. @code{zlib} compression is replaced with
255 @code{Zstandard}, due to its speed and efficiency, despite library
256 version is not mature enough.
259 Ability to call remote nodes via pipe call of external command, not only
263 @command{nncp-cfgnew} generates configuration file with many
264 comments. @option{-nocomments} option can be used for an old
268 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
269 avoid possible collisions with @file{.nncp.chunkCTR}.
272 Ability to override process umask through configuration file option.
275 Files and directories are created with 666/777 permissions by default,
276 allowing control with @command{umask}.
279 Updated dependencies.
282 Full usage of go modules for dependencies management
283 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
286 Forbid any later GNU GPL version autousage
287 (project's licence now is GNU GPLv3-only).
294 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
302 @strong{Incompatible} encrypted and eblob packet format change: AEAD
303 encryption mode with 128 KiB blocks is used now, because previously
304 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
305 decrypted data to external command. Older versions are not supported.
308 Available free space checking before copying in @command{nncp-xfer},
309 @command{nncp-daemon}, @command{nncp-call(er)}.
312 @command{nncp-call} has ability only to list packets on remote node,
313 without their transmission.
316 @command{nncp-call} has ability to transfer only specified packets.
319 Workability of @option{xxrate} preference in @option{calls}
320 configuration file section.
323 Dependant libraries are updated.
329 Begin using of @code{go.mod} subsystem.
336 @item @command{nncp-daemon} can be run as @command{inetd}-service.
344 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
345 if @file{.seen} exists and treat it like file was already downloaded.
346 Possibly it was transferred out-of-bound and remote side needs to be
350 If higher priority packet is spooled, then @command{nncp-daemon} will
351 queue its sending first, interrupting lower priority transmissions.
354 Simple packet rate limiter added to online-related tools
355 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
358 Ability to specify niceness with symbolic notation:
359 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
362 Changed default niceness levels:
363 for @command{nncp-exec} from 64 to 96,
364 for @command{nncp-freq} from 64 to 160,
365 for @command{nncp-file} from 196 to 224.
373 @strong{Incompatible} @emph{bundle} archive format changes and
374 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
375 valid tar archives, but Go 1.9 made them invalid because of long paths
376 inside. NNCP accidentally was dependant on that bug. Explicit adding of
377 @file{NNCP/} directory in archive restores workability with valid tar
385 Ability to disable relaying at all using @verb{|-via -|} command line option.
393 @strong{Incompatible} plain packet format changes. Older versions are
397 Ability to queue remote command execution, by configuring @option{exec}
398 option in configuration file and using @command{nncp-exec} command:
401 @command{nncp-mail} command is replaced with more flexible
402 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
403 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
405 @option{sendmail} configuration file option is replaced with
406 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
407 @verb{|exec: sendmail: [...]|}.
411 Ability to override @option{via} configuration option for destination
412 node via @option{-via} command line option for following commands:
413 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
416 Chunked files, having size less than specified chunk size, will be sent
417 as an ordinary single file.
420 Exec commands are invoked with additional @env{NNCP_NICE} and
421 @env{NNCP_SELF} environment variables.
424 Files, that are sent as a reply to freq, have niceness level taken from
425 the freq packet. You can set desired niceness during @command{nncp-freq}
426 invocation using @option{-replynice} option.
429 @command{nncp-toss} command can ignore specified packet types during
430 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
434 @command{nncp-file} command uses
435 @option{FreqMinSize}/@option{FreqChunked} configuration file options
436 for @option{-minsize}/@option{-chunked} by default. You can turn this
437 off by specifying zero value.
446 @strong{Incompatible} encrypted/eblob packet format changes. Older
447 versions are not supported.
450 Twofish encryption algorithm is replaced with ChaCha20. It is much more
451 faster. One cryptographic primitive less.
454 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
455 another cryptographic primitive less (assuming that BLAKE2X is nearly
456 identical to BLAKE2).
465 @strong{Incompatible} encrypted packet format changes. Older versions
469 @command{nncp-bundle} command can either create stream of encrypted
470 packets, or digest it. It is useful when dealing with
471 @code{stdin}/@code{stdout} based transmission methods (like writing to
472 CD-ROM without intermediate prepared ISO image and working with tape
476 @command{nncp-toss} is able to create @file{.seen} files preventing
477 duplicate packets receiving.
480 Single background checksum verifier worker is allowed in
481 @command{nncp-call}. This is helpful when thousands of small inbound
482 packets could create many goroutines.
485 Ability to override path to spool directory and logfile through either
486 command line argument, or environment variable.
489 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
490 @file{.part}, @file{.lock} and temporary files.
495 @section Release 0.12
497 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
501 @section Release 0.11
503 @item @command{nncp-stat}'s command output is sorted by node name.
507 @section Release 0.10
510 @command{nncp-freq}'s @file{DST} argument is optional now. Last
511 @file{SRC} path's element will be used by default.
518 Fix @option{-rx}/@option{-tx} arguments processing in
519 @command{nncp-call} command. They were ignored.
526 Little bugfix in @command{nncp-file} command, where @option{-minsize}
527 option for unchunked transfer was not in KiBs, but in bytes.
535 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
536 encrypted temporary file for that.
539 Chunked files transmission appeared with corresponding
540 @command{nncp-reass} command and @option{freqchunked} configuration file
541 entry. Useful for transferring big files over small storage devices.
544 @option{freqminsize} configuration file option, analogue to
545 @option{-minsize} one.
548 @command{nncp-xfer}'s @option{-force} option is renamed to
549 @option{-mkdir} for clarity.
552 @option{-minsize} option is specified in KiBs, not bytes, for
556 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
557 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
558 common prefix and are grouped together for convenience.
561 @command{nncp-cfgenc} command appeared, allowing configuration file
562 encryption/decryption, for keeping it safe without any either OpenPGP or
566 Cryptographic libraries (dependencies) are updated.
573 @item Small @command{nncp-rm} command appeared.
574 @item Cryptographic libraries (dependencies) are updated.
581 Trivial small fix in default niceness level of @command{nncp-file}
582 and @command{nncp-freq} commands.
590 Small fix in @command{nncp-call}, @command{nncp-caller},
591 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
595 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
596 and more convenient to use.
599 @command{nncp-mincfg} command appeared: helper allowing to create
600 minimalistic stripped down configuration file without private keys, that
601 is useful during @command{nncp-xfer} usage.
608 @item Fixed compatibility with Go 1.6.
616 @strong{Incompatible} packet's format change (magic number is changed
617 too): size field is encrypted and is not send in plaintext anymore.
620 @option{-minsize} option gives ability to automatically pad outgoing
621 packets to specified minimal size.
624 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
625 always check new @emph{tx} packets appearance in the background while
626 connected. Remote side is immediately notified.
629 @option{-onlinedeadline} option gives ability to configure timeout of
630 inactivity of online connection, when it could be disconnected. It could
631 be used to keep connection alive for a long time.
634 @option{-maxonlinetime} option gives ability to set maximal allowable
635 online connection aliveness time.
638 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
641 @command{nncp-pkt} command can decompress the data.