4 See also this page @ref{Новости, on russian}.
11 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
12 @command{nncp-bundle} and @command{nncp-stat}.
15 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
18 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
19 options now. Uncompressed packets are not compatible with previous NNCP
23 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
24 have @option{-autotoss*} options for running tosser after call is ended.
32 @section Release 5.4.1
36 Fixed @code{SENDMAIL} variable usage during the build.
41 @section Release 5.4.0
48 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
49 This should not influence package maintainers, because minimal @command{redo}
50 implementation is included in tarball.
55 @section Release 5.3.3
59 More various error checks.
67 @section Release 5.3.2
71 Fixed incorrect logic of @option{onlinedeadline} timeout, where
72 connection won't take into account incoming packets events and will
73 forcefully disconnect.
78 @section Release 5.3.1
82 Fixed @option{onlinedeadline} workability with call addresses that use
83 external commands (@verb{#"|somecmd"#}).
86 @command{nncp-stat} has @option{-pkt} option displaying information
87 about each packet in the spool.
92 @section Release 5.3.0
96 Progress messages contain prefix, describing the running action.
99 Fixed not occurring handshake messages padding.
102 Finish all SP protocol related goroutines, less memory leak.
105 SP protocol generates less socket write calls, thus generating less TCP
109 Check @option{onlinedeadline} and @option{maxonlinetime} options every
110 second, independently from socket reads (up to 10 seconds).
113 Once per minute, if no other traffic exists, PING packets are sent in
114 SP-connection. That allows faster determining of connection unworkability.
117 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
122 @section Release 5.2.1
126 Fixed SP protocol error handling, sometimes causing program panic.
131 @section Release 5.2.0
135 Most commands by default show oneline operations progress.
136 @option{-progress}, @option{-noprogress} command line options,
137 @option{noprogress} configuration file option appeared.
140 Fixed incorrect @command{nncp-check} command return code, that returned
141 bad code when everything is good.
144 Free disk space check during @command{nncp-bundle -rx} call.
149 @section Release 5.1.2
153 @strong{Critical} vulnerability: remote peers authentication could lead
154 to incorrect identification of remote side, allowing foreign encrypted
158 Bugfix: private and public Noise keys were swapped in newly created
159 configuration files, that lead to inability to authenticate online peers.
162 Explicit directories fsync-ing for guaranteed files renaming.
167 @section Release 5.1.1
171 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
176 @section Release 5.1.0
180 @command{nncp-file} can send directories, automatically creating pax
184 Free disk space is checked during outbound packets creation.
187 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
188 file options replaced with the structure:
189 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
192 Added @option{freq.maxsize} configuration file option, forbidding of
193 freq sending larger than specified size.
196 Ability to notify about successfully executed commands (exec) with
197 @option{notify.exec} configuration file option.
202 @section Release 5.0.0
206 @strong{Incompatible} configuration file format change: YAML is
207 replaced with Hjson, due to its simplicity, without noticeable lack
208 of either functionality or convenience.
211 @strong{Incompatible} plain packet format changes. Older versions are
212 not supported. @code{zlib} compression is replaced with
213 @code{Zstandard}, due to its speed and efficiency, despite library
214 version is not mature enough.
217 Ability to call remote nodes via pipe call of external command, not only
221 @command{nncp-cfgnew} generates configuration file with many
222 comments. @option{-nocomments} option can be used for an old
226 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
227 avoid possible collisions with @file{.nncp.chunkCTR}.
230 Ability to override process umask through configuration file option.
233 Files and directories are created with 666/777 permissions by default,
234 allowing control with @command{umask}.
237 Updated dependencies.
240 Full usage of go modules for dependencies management
241 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
244 Forbid any later GNU GPL version autousage
245 (project's licence now is GNU GPLv3-only).
252 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
260 @strong{Incompatible} encrypted and eblob packet format change: AEAD
261 encryption mode with 128 KiB blocks is used now, because previously
262 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
263 decrypted data to external command. Older versions are not supported.
266 Available free space checking before copying in @command{nncp-xfer},
267 @command{nncp-daemon}, @command{nncp-call(er)}.
270 @command{nncp-call} has ability only to list packets on remote node,
271 without their transmission.
274 @command{nncp-call} has ability to transfer only specified packets.
277 Workability of @option{xxrate} preference in @option{calls}
278 configuration file section.
281 Dependant libraries are updated.
287 Begin using of @code{go.mod} subsystem.
294 @item @command{nncp-daemon} can be run as @command{inetd}-service.
302 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
303 if @file{.seen} exists and treat it like file was already downloaded.
304 Possibly it was transferred out-of-bound and remote side needs to be
308 If higher priority packet is spooled, then @command{nncp-daemon} will
309 queue its sending first, interrupting lower priority transmissions.
312 Simple packet rate limiter added to online-related tools
313 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
316 Ability to specify niceness with symbolic notation:
317 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
320 Changed default niceness levels:
321 for @command{nncp-exec} from 64 to 96,
322 for @command{nncp-freq} from 64 to 160,
323 for @command{nncp-file} from 196 to 224.
331 @strong{Incompatible} @emph{bundle} archive format changes and
332 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
333 valid tar archives, but Go 1.9 made them invalid because of long paths
334 inside. NNCP accidentally was dependant on that bug. Explicit adding of
335 @file{NNCP/} directory in archive restores workability with valid tar
343 Ability to disable relaying at all using @verb{|-via -|} command line option.
351 @strong{Incompatible} plain packet format changes. Older versions are
355 Ability to queue remote command execution, by configuring @option{exec}
356 option in configuration file and using @command{nncp-exec} command:
359 @command{nncp-mail} command is replaced with more flexible
360 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
361 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
363 @option{sendmail} configuration file option is replaced with
364 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
365 @verb{|exec: sendmail: [...]|}.
369 Ability to override @option{via} configuration option for destination
370 node via @option{-via} command line option for following commands:
371 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
374 Chunked files, having size less than specified chunk size, will be sent
375 as an ordinary single file.
378 Exec commands are invoked with additional @env{NNCP_NICE} and
379 @env{NNCP_SELF} environment variables.
382 Files, that are sent as a reply to freq, have niceness level taken from
383 the freq packet. You can set desired niceness during @command{nncp-freq}
384 invocation using @option{-replynice} option.
387 @command{nncp-toss} command can ignore specified packet types during
388 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
392 @command{nncp-file} command uses
393 @option{FreqMinSize}/@option{FreqChunked} configuration file options
394 for @option{-minsize}/@option{-chunked} by default. You can turn this
395 off by specifying zero value.
404 @strong{Incompatible} encrypted/eblob packet format changes. Older
405 versions are not supported.
408 Twofish encryption algorithm is replaced with ChaCha20. It is much more
409 faster. One cryptographic primitive less.
412 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
413 another cryptographic primitive less (assuming that BLAKE2X is nearly
414 identical to BLAKE2).
423 @strong{Incompatible} encrypted packet format changes. Older versions
427 @command{nncp-bundle} command can either create stream of encrypted
428 packets, or digest it. It is useful when dealing with stdin/stdout based
429 transmission methods (like writing to CD-ROM without intermediate
430 prepared ISO image and working with tape drives).
433 @command{nncp-toss} is able to create @file{.seen} files preventing
434 duplicate packets receiving.
437 Single background checksum verifier worker is allowed in
438 @command{nncp-call}. This is helpful when thousands of small inbound
439 packets could create many goroutines.
442 Ability to override path to spool directory and logfile through either
443 command line argument, or environment variable.
446 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
447 @file{.part}, @file{.lock} and temporary files.
452 @section Release 0.12
454 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
458 @section Release 0.11
460 @item @command{nncp-stat}'s command output is sorted by node name.
464 @section Release 0.10
467 @command{nncp-freq}'s @file{DST} argument is optional now. Last
468 @file{SRC} path's element will be used by default.
475 Fix @option{-rx}/@option{-tx} arguments processing in
476 @command{nncp-call} command. They were ignored.
483 Little bugfix in @command{nncp-file} command, where @option{-minsize}
484 option for unchunked transfer was not in KiBs, but in bytes.
492 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
493 temporary file for that.
496 Chunked files transmission appeared with corresponding
497 @command{nncp-reass} command and @option{freqchunked} configuration file
498 entry. Useful for transferring big files over small storage devices.
501 @option{freqminsize} configuration file option, analogue to
502 @option{-minsize} one.
505 @command{nncp-xfer}'s @option{-force} option is renamed to
506 @option{-mkdir} for clarity.
509 @option{-minsize} option is specified in KiBs, not bytes, for
513 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
514 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
515 common prefix and are grouped together for convenience.
518 @command{nncp-cfgenc} command appeared, allowing configuration file
519 encryption/decryption, for keeping it safe without any either OpenPGP or
523 Cryptographic libraries (dependencies) are updated.
530 @item Small @command{nncp-rm} command appeared.
531 @item Cryptographic libraries (dependencies) are updated.
538 Trivial small fix in default niceness level of @command{nncp-file}
539 and @command{nncp-freq} commands.
547 Small fix in @command{nncp-call}, @command{nncp-caller},
548 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
552 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
553 and more convenient to use.
556 @command{nncp-mincfg} command appeared: helper allowing to create
557 minimalistic stripped down configuration file without private keys, that
558 is useful during @command{nncp-xfer} usage.
565 @item Fixed compatibility with Go 1.6.
573 @strong{Incompatible} packet's format change (magic number is changed
574 too): size field is encrypted and is not send in plaintext anymore.
577 @option{-minsize} option gives ability to automatically pad outgoing
578 packets to specified minimal size.
581 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
582 always check new @emph{tx} packets appearance in the background while
583 connected. Remote side is immediately notified.
586 @option{-onlinedeadline} option gives ability to configure timeout of
587 inactivity of online connection, when it could be disconnected. It could
588 be used to keep connection alive for a long time.
591 @option{-maxonlinetime} option gives ability to set maximal allowable
592 online connection aliveness time.
595 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
598 @command{nncp-pkt} command can decompress the data.