4 See also this page @ref{Новости, on russian}.
11 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon} and
12 @command{nncp-bundle}.
15 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
23 @section Release 5.4.1
27 Fixed @code{SENDMAIL} variable usage during the build.
32 @section Release 5.4.0
39 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
40 This should not influence package maintainers, because minimal @command{redo}
41 implementation is included in tarball.
46 @section Release 5.3.3
50 More various error checks.
58 @section Release 5.3.2
62 Fixed incorrect logic of @option{onlinedeadline} timeout, where
63 connection won't take into account incoming packets events and will
64 forcefully disconnect.
69 @section Release 5.3.1
73 Fixed @option{onlinedeadline} workability with call addresses that use
74 external commands (@verb{#"|somecmd"#}).
77 @command{nncp-stat} has @option{-pkt} option displaying information
78 about each packet in the spool.
83 @section Release 5.3.0
87 Progress messages contain prefix, describing the running action.
90 Fixed not occurring handshake messages padding.
93 Finish all SP protocol related goroutines, less memory leak.
96 SP protocol generates less socket write calls, thus generating less TCP
100 Check @option{onlinedeadline} and @option{maxonlinetime} options every
101 second, independently from socket reads (up to 10 seconds).
104 Once per minute, if no other traffic exists, PING packets are sent in
105 SP-connection. That allows faster determining of connection unworkability.
108 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
113 @section Release 5.2.1
117 Fixed SP protocol error handling, sometimes causing program panic.
122 @section Release 5.2.0
126 Most commands by default show oneline operations progress.
127 @option{-progress}, @option{-noprogress} command line options,
128 @option{noprogress} configuration file option appeared.
131 Fixed incorrect @command{nncp-check} command return code, that returned
132 bad code when everything is good.
135 Free disk space check during @command{nncp-bundle -rx} call.
140 @section Release 5.1.2
144 @strong{Critical} vulnerability: remote peers authentication could lead
145 to incorrect identification of remote side, allowing foreign encrypted
149 Bugfix: private and public Noise keys were swapped in newly created
150 configuration files, that lead to inability to authenticate online peers.
153 Explicit directories fsync-ing for guaranteed files renaming.
158 @section Release 5.1.1
162 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
167 @section Release 5.1.0
171 @command{nncp-file} can send directories, automatically creating pax
175 Free disk space is checked during outbound packets creation.
178 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
179 file options replaced with the structure:
180 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
183 Added @option{freq.maxsize} configuration file option, forbidding of
184 freq sending larger than specified size.
187 Ability to notify about successfully executed commands (exec) with
188 @option{notify.exec} configuration file option.
193 @section Release 5.0.0
197 @strong{Incompatible} configuration file format change: YAML is
198 replaced with Hjson, due to its simplicity, without noticeable lack
199 of either functionality or convenience.
202 @strong{Incompatible} plain packet format changes. Older versions are
203 not supported. @code{zlib} compression is replaced with
204 @code{Zstandard}, due to its speed and efficiency, despite library
205 version is not mature enough.
208 Ability to call remote nodes via pipe call of external command, not only
212 @command{nncp-cfgnew} generates configuration file with many
213 comments. @option{-nocomments} option can be used for an old
217 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
218 avoid possible collisions with @file{.nncp.chunkCTR}.
221 Ability to override process umask through configuration file option.
224 Files and directories are created with 666/777 permissions by default,
225 allowing control with @command{umask}.
228 Updated dependencies.
231 Full usage of go modules for dependencies management
232 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
235 Forbid any later GNU GPL version autousage
236 (project's licence now is GNU GPLv3-only).
243 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
251 @strong{Incompatible} encrypted and eblob packet format change: AEAD
252 encryption mode with 128 KiB blocks is used now, because previously
253 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
254 decrypted data to external command. Older versions are not supported.
257 Available free space checking before copying in @command{nncp-xfer},
258 @command{nncp-daemon}, @command{nncp-call(er)}.
261 @command{nncp-call} has ability only to list packets on remote node,
262 without their transmission.
265 @command{nncp-call} has ability to transfer only specified packets.
268 Workability of @option{xxrate} preference in @option{calls}
269 configuration file section.
272 Dependant libraries are updated.
278 Begin using of @code{go.mod} subsystem.
285 @item @command{nncp-daemon} can be run as @command{inetd}-service.
293 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
294 if @file{.seen} exists and treat it like file was already downloaded.
295 Possibly it was transferred out-of-bound and remote side needs to be
299 If higher priority packet is spooled, then @command{nncp-daemon} will
300 queue its sending first, interrupting lower priority transmissions.
303 Simple packet rate limiter added to online-related tools
304 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
307 Ability to specify niceness with symbolic notation:
308 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
311 Changed default niceness levels:
312 for @command{nncp-exec} from 64 to 96,
313 for @command{nncp-freq} from 64 to 160,
314 for @command{nncp-file} from 196 to 224.
322 @strong{Incompatible} @emph{bundle} archive format changes and
323 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
324 valid tar archives, but Go 1.9 made them invalid because of long paths
325 inside. NNCP accidentally was dependant on that bug. Explicit adding of
326 @file{NNCP/} directory in archive restores workability with valid tar
334 Ability to disable relaying at all using @verb{|-via -|} command line option.
342 @strong{Incompatible} plain packet format changes. Older versions are
346 Ability to queue remote command execution, by configuring @option{exec}
347 option in configuration file and using @command{nncp-exec} command:
350 @command{nncp-mail} command is replaced with more flexible
351 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
352 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
354 @option{sendmail} configuration file option is replaced with
355 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
356 @verb{|exec: sendmail: [...]|}.
360 Ability to override @option{via} configuration option for destination
361 node via @option{-via} command line option for following commands:
362 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
365 Chunked files, having size less than specified chunk size, will be sent
366 as an ordinary single file.
369 Exec commands are invoked with additional @env{NNCP_NICE} and
370 @env{NNCP_SELF} environment variables.
373 Files, that are sent as a reply to freq, have niceness level taken from
374 the freq packet. You can set desired niceness during @command{nncp-freq}
375 invocation using @option{-replynice} option.
378 @command{nncp-toss} command can ignore specified packet types during
379 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
383 @command{nncp-file} command uses
384 @option{FreqMinSize}/@option{FreqChunked} configuration file options
385 for @option{-minsize}/@option{-chunked} by default. You can turn this
386 off by specifying zero value.
395 @strong{Incompatible} encrypted/eblob packet format changes. Older
396 versions are not supported.
399 Twofish encryption algorithm is replaced with ChaCha20. It is much more
400 faster. One cryptographic primitive less.
403 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
404 another cryptographic primitive less (assuming that BLAKE2X is nearly
405 identical to BLAKE2).
414 @strong{Incompatible} encrypted packet format changes. Older versions
418 @command{nncp-bundle} command can either create stream of encrypted
419 packets, or digest it. It is useful when dealing with stdin/stdout based
420 transmission methods (like writing to CD-ROM without intermediate
421 prepared ISO image and working with tape drives).
424 @command{nncp-toss} is able to create @file{.seen} files preventing
425 duplicate packets receiving.
428 Single background checksum verifier worker is allowed in
429 @command{nncp-call}. This is helpful when thousands of small inbound
430 packets could create many goroutines.
433 Ability to override path to spool directory and logfile through either
434 command line argument, or environment variable.
437 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
438 @file{.part}, @file{.lock} and temporary files.
443 @section Release 0.12
445 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
449 @section Release 0.11
451 @item @command{nncp-stat}'s command output is sorted by node name.
455 @section Release 0.10
458 @command{nncp-freq}'s @file{DST} argument is optional now. Last
459 @file{SRC} path's element will be used by default.
466 Fix @option{-rx}/@option{-tx} arguments processing in
467 @command{nncp-call} command. They were ignored.
474 Little bugfix in @command{nncp-file} command, where @option{-minsize}
475 option for unchunked transfer was not in KiBs, but in bytes.
483 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
484 temporary file for that.
487 Chunked files transmission appeared with corresponding
488 @command{nncp-reass} command and @option{freqchunked} configuration file
489 entry. Useful for transferring big files over small storage devices.
492 @option{freqminsize} configuration file option, analogue to
493 @option{-minsize} one.
496 @command{nncp-xfer}'s @option{-force} option is renamed to
497 @option{-mkdir} for clarity.
500 @option{-minsize} option is specified in KiBs, not bytes, for
504 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
505 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
506 common prefix and are grouped together for convenience.
509 @command{nncp-cfgenc} command appeared, allowing configuration file
510 encryption/decryption, for keeping it safe without any either OpenPGP or
514 Cryptographic libraries (dependencies) are updated.
521 @item Small @command{nncp-rm} command appeared.
522 @item Cryptographic libraries (dependencies) are updated.
529 Trivial small fix in default niceness level of @command{nncp-file}
530 and @command{nncp-freq} commands.
538 Small fix in @command{nncp-call}, @command{nncp-caller},
539 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
543 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
544 and more convenient to use.
547 @command{nncp-mincfg} command appeared: helper allowing to create
548 minimalistic stripped down configuration file without private keys, that
549 is useful during @command{nncp-xfer} usage.
556 @item Fixed compatibility with Go 1.6.
564 @strong{Incompatible} packet's format change (magic number is changed
565 too): size field is encrypted and is not send in plaintext anymore.
568 @option{-minsize} option gives ability to automatically pad outgoing
569 packets to specified minimal size.
572 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
573 always check new @emph{tx} packets appearance in the background while
574 connected. Remote side is immediately notified.
577 @option{-onlinedeadline} option gives ability to configure timeout of
578 inactivity of online connection, when it could be disconnected. It could
579 be used to keep connection alive for a long time.
582 @option{-maxonlinetime} option gives ability to set maximal allowable
583 online connection aliveness time.
586 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
589 @command{nncp-pkt} command can decompress the data.