4 See also this page @ref{Новости, on russian}.
11 Fixed @code{SENDMAIL} variable usage during the build.
16 @section Release 5.4.0
23 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
24 This should not influence package maintainers, because minimal @command{redo}
25 implementation is included in tarball.
30 @section Release 5.3.3
34 More various error checks.
42 @section Release 5.3.2
46 Fixed incorrect logic of @option{onlinedeadline} timeout, where
47 connection won't take into account incoming packets events and will
48 forcefully disconnect.
53 @section Release 5.3.1
57 Fixed @option{onlinedeadline} workability with call addresses that use
58 external commands (@verb{#"|somecmd"#}).
61 @command{nncp-stat} has @option{-pkt} option displaying information
62 about each packet in the spool.
67 @section Release 5.3.0
71 Progress messages contain prefix, describing the running action.
74 Fixed not occurring handshake messages padding.
77 Finish all SP protocol related goroutines, less memory leak.
80 SP protocol generates less socket write calls, thus generating less TCP
84 Check @option{onlinedeadline} and @option{maxonlinetime} options every
85 second, independently from socket reads (up to 10 seconds).
88 Once per minute, if no other traffic exists, PING packets are sent in
89 SP-connection. That allows faster determining of connection unworkability.
92 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
97 @section Release 5.2.1
101 Fixed SP protocol error handling, sometimes causing program panic.
106 @section Release 5.2.0
110 Most commands by default show oneline operations progress.
111 @option{-progress}, @option{-noprogress} command line options,
112 @option{noprogress} configuration file option appeared.
115 Fixed incorrect @command{nncp-check} command return code, that returned
116 bad code when everything is good.
119 Free disk space check during @command{nncp-bundle -rx} call.
124 @section Release 5.1.2
128 @strong{Critical} vulnerability: remote peers authentication could lead
129 to incorrect identification of remote side, allowing foreign encrypted
133 Bugfix: private and public Noise keys were swapped in newly created
134 configuration files, that lead to inability to authenticate online peers.
137 Explicit directories fsync-ing for guaranteed files renaming.
142 @section Release 5.1.1
146 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
151 @section Release 5.1.0
155 @command{nncp-file} can send directories, automatically creating pax
159 Free disk space is checked during outbound packets creation.
162 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
163 file options replaced with the structure:
164 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
167 Added @option{freq.maxsize} configuration file option, forbidding of
168 freq sending larger than specified size.
171 Ability to notify about successfully executed commands (exec) with
172 @option{notify.exec} configuration file option.
177 @section Release 5.0.0
181 @strong{Incompatible} configuration file format change: YAML is
182 replaced with Hjson, due to its simplicity, without noticeable lack
183 of either functionality or convenience.
186 @strong{Incompatible} plain packet format changes. Older versions are
187 not supported. @code{zlib} compression is replaced with
188 @code{Zstandard}, due to its speed and efficiency, despite library
189 version is not mature enough.
192 Ability to call remote nodes via pipe call of external command, not only
196 @command{nncp-cfgnew} generates configuration file with many
197 comments. @option{-nocomments} option can be used for an old
201 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
202 avoid possible collisions with @file{.nncp.chunkCTR}.
205 Ability to override process umask through configuration file option.
208 Files and directories are created with 666/777 permissions by default,
209 allowing control with @command{umask}.
212 Updated dependencies.
215 Full usage of go modules for dependencies management
216 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
219 Forbid any later GNU GPL version autousage
220 (project's licence now is GNU GPLv3-only).
227 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
235 @strong{Incompatible} encrypted and eblob packet format change: AEAD
236 encryption mode with 128 KiB blocks is used now, because previously
237 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
238 decrypted data to external command. Older versions are not supported.
241 Available free space checking before copying in @command{nncp-xfer},
242 @command{nncp-daemon}, @command{nncp-call(er)}.
245 @command{nncp-call} has ability only to list packets on remote node,
246 without their transmission.
249 @command{nncp-call} has ability to transfer only specified packets.
252 Workability of @option{xxrate} preference in @option{calls}
253 configuration file section.
256 Dependant libraries are updated.
262 Begin using of @code{go.mod} subsystem.
269 @item @command{nncp-daemon} can be run as @command{inetd}-service.
277 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
278 if @file{.seen} exists and treat it like file was already downloaded.
279 Possibly it was transferred out-of-bound and remote side needs to be
283 If higher priority packet is spooled, then @command{nncp-daemon} will
284 queue its sending first, interrupting lower priority transmissions.
287 Simple packet rate limiter added to online-related tools
288 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
291 Ability to specify niceness with symbolic notation:
292 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
295 Changed default niceness levels:
296 for @command{nncp-exec} from 64 to 96,
297 for @command{nncp-freq} from 64 to 160,
298 for @command{nncp-file} from 196 to 224.
306 @strong{Incompatible} @emph{bundle} archive format changes and
307 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
308 valid tar archives, but Go 1.9 made them invalid because of long paths
309 inside. NNCP accidentally was dependant on that bug. Explicit adding of
310 @file{NNCP/} directory in archive restores workability with valid tar
318 Ability to disable relaying at all using @verb{|-via -|} command line option.
326 @strong{Incompatible} plain packet format changes. Older versions are
330 Ability to queue remote command execution, by configuring @option{exec}
331 option in configuration file and using @command{nncp-exec} command:
334 @command{nncp-mail} command is replaced with more flexible
335 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
336 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
338 @option{sendmail} configuration file option is replaced with
339 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
340 @verb{|exec: sendmail: [...]|}.
344 Ability to override @option{via} configuration option for destination
345 node via @option{-via} command line option for following commands:
346 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
349 Chunked files, having size less than specified chunk size, will be sent
350 as an ordinary single file.
353 Exec commands are invoked with additional @env{NNCP_NICE} and
354 @env{NNCP_SELF} environment variables.
357 Files, that are sent as a reply to freq, have niceness level taken from
358 the freq packet. You can set desired niceness during @command{nncp-freq}
359 invocation using @option{-replynice} option.
362 @command{nncp-toss} command can ignore specified packet types during
363 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
367 @command{nncp-file} command uses
368 @option{FreqMinSize}/@option{FreqChunked} configuration file options
369 for @option{-minsize}/@option{-chunked} by default. You can turn this
370 off by specifying zero value.
379 @strong{Incompatible} encrypted/eblob packet format changes. Older
380 versions are not supported.
383 Twofish encryption algorithm is replaced with ChaCha20. It is much more
384 faster. One cryptographic primitive less.
387 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
388 another cryptographic primitive less (assuming that BLAKE2X is nearly
389 identical to BLAKE2).
398 @strong{Incompatible} encrypted packet format changes. Older versions
402 @command{nncp-bundle} command can either create stream of encrypted
403 packets, or digest it. It is useful when dealing with stdin/stdout based
404 transmission methods (like writing to CD-ROM without intermediate
405 prepared ISO image and working with tape drives).
408 @command{nncp-toss} is able to create @file{.seen} files preventing
409 duplicate packets receiving.
412 Single background checksum verifier worker is allowed in
413 @command{nncp-call}. This is helpful when thousands of small inbound
414 packets could create many goroutines.
417 Ability to override path to spool directory and logfile through either
418 command line argument, or environment variable.
421 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
422 @file{.part}, @file{.lock} and temporary files.
427 @section Release 0.12
429 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
433 @section Release 0.11
435 @item @command{nncp-stat}'s command output is sorted by node name.
439 @section Release 0.10
442 @command{nncp-freq}'s @file{DST} argument is optional now. Last
443 @file{SRC} path's element will be used by default.
450 Fix @option{-rx}/@option{-tx} arguments processing in
451 @command{nncp-call} command. They were ignored.
458 Little bugfix in @command{nncp-file} command, where @option{-minsize}
459 option for unchunked transfer was not in KiBs, but in bytes.
467 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
468 temporary file for that.
471 Chunked files transmission appeared with corresponding
472 @command{nncp-reass} command and @option{freqchunked} configuration file
473 entry. Useful for transferring big files over small storage devices.
476 @option{freqminsize} configuration file option, analogue to
477 @option{-minsize} one.
480 @command{nncp-xfer}'s @option{-force} option is renamed to
481 @option{-mkdir} for clarity.
484 @option{-minsize} option is specified in KiBs, not bytes, for
488 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
489 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
490 common prefix and are grouped together for convenience.
493 @command{nncp-cfgenc} command appeared, allowing configuration file
494 encryption/decryption, for keeping it safe without any either OpenPGP or
498 Cryptographic libraries (dependencies) are updated.
505 @item Small @command{nncp-rm} command appeared.
506 @item Cryptographic libraries (dependencies) are updated.
513 Trivial small fix in default niceness level of @command{nncp-file}
514 and @command{nncp-freq} commands.
522 Small fix in @command{nncp-call}, @command{nncp-caller},
523 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
527 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
528 and more convenient to use.
531 @command{nncp-mincfg} command appeared: helper allowing to create
532 minimalistic stripped down configuration file without private keys, that
533 is useful during @command{nncp-xfer} usage.
540 @item Fixed compatibility with Go 1.6.
548 @strong{Incompatible} packet's format change (magic number is changed
549 too): size field is encrypted and is not send in plaintext anymore.
552 @option{-minsize} option gives ability to automatically pad outgoing
553 packets to specified minimal size.
556 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
557 always check new @emph{tx} packets appearance in the background while
558 connected. Remote side is immediately notified.
561 @option{-onlinedeadline} option gives ability to configure timeout of
562 inactivity of online connection, when it could be disconnected. It could
563 be used to keep connection alive for a long time.
566 @option{-maxonlinetime} option gives ability to set maximal allowable
567 online connection aliveness time.
570 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
573 @command{nncp-pkt} command can decompress the data.