4 See also this page @ref{Новости, on russian}.
11 Progress messages contain prefix, describing the running action.
14 Fixed not occurring handshake messages padding.
17 Finish all SP protocol related goroutines, less memory leak.
20 SP protocol generates less socket write calls, thus generating less TCP
24 Check @option{onlinedeadline} and @option{maxonlinetime} options every
25 second, independently from socket reads (up to 10 seconds).
30 @section Release 5.2.1
34 Fixed SP protocol error handling, sometimes causing program panic.
39 @section Release 5.2.0
43 Most commands by default show oneline operations progress.
44 @option{-progress}, @option{-noprogress} command line options,
45 @option{noprogress} configuration file option appeared.
48 Fixed incorrect @command{nncp-check} command return code, that returned
49 bad code when everything is good.
52 Free disk space check during @command{nncp-bundle -rx} call.
57 @section Release 5.1.2
61 @strong{Critical} vulnerability: remote peers authentication could lead
62 to incorrect identification of remote side, allowing foreign encrypted
66 Bugfix: private and public Noise keys were swapped in newly created
67 configuration files, that lead to inability to authenticate online peers.
70 Explicit directories fsync-ing for guaranteed files renaming.
75 @section Release 5.1.1
79 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
84 @section Release 5.1.0
88 @command{nncp-file} can send directories, automatically creating pax
92 Free disk space is checked during outbound packets creation.
95 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
96 file options replaced with the structure:
97 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
100 Added @option{freq.maxsize} configuration file option, forbidding of
101 freq sending larger than specified size.
104 Ability to notify about successfully executed commands (exec) with
105 @option{notify.exec} configuration file option.
110 @section Release 5.0.0
114 @strong{Incompatible} configuration file format change: YAML is
115 replaced with Hjson, due to its simplicity, without noticeable lack
116 of either functionality or convenience.
119 @strong{Incompatible} plain packet format changes. Older versions are
120 not supported. @code{zlib} compression is replaced with
121 @code{Zstandard}, due to its speed and efficiency, despite library
122 version is not mature enough.
125 Ability to call remote nodes via pipe call of external command, not only
129 @command{nncp-cfgnew} generates configuration file with many
130 comments. @option{-nocomments} option can be used for an old
134 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
135 avoid possible collisions with @file{.nncp.chunkCTR}.
138 Ability to override process umask through configuration file option.
141 Files and directories are created with 666/777 permissions by default,
142 allowing control with @command{umask}.
145 Updated dependencies.
148 Full usage of go modules for dependencies management
149 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
152 Forbid any later GNU GPL version autousage
153 (project's licence now is GNU GPLv3-only).
160 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
168 @strong{Incompatible} encrypted and eblob packet format change: AEAD
169 encryption mode with 128 KiB blocks is used now, because previously
170 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
171 decrypted data to external command. Older versions are not supported.
174 Available free space checking before copying in @command{nncp-xfer},
175 @command{nncp-daemon}, @command{nncp-call(er)}.
178 @command{nncp-call} has ability only to list packets on remote node,
179 without their transmission.
182 @command{nncp-call} has ability to transfer only specified packets.
185 Workability of @option{xxrate} preference in @option{calls}
186 configuration file section.
189 Dependant libraries are updated.
195 Begin using of @code{go.mod} subsystem.
202 @item @command{nncp-daemon} can be run as @command{inetd}-service.
210 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
211 if @file{.seen} exists and treat it like file was already downloaded.
212 Possibly it was transferred out-of-bound and remote side needs to be
216 If higher priority packet is spooled, then @command{nncp-daemon} will
217 queue its sending first, interrupting lower priority transmissions.
220 Simple packet rate limiter added to online-related tools
221 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
224 Ability to specify niceness with symbolic notation:
225 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
228 Changed default niceness levels:
229 for @command{nncp-exec} from 64 to 96,
230 for @command{nncp-freq} from 64 to 160,
231 for @command{nncp-file} from 196 to 224.
239 @strong{Incompatible} @emph{bundle} archive format changes and
240 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
241 valid tar archives, but Go 1.9 made them invalid because of long paths
242 inside. NNCP accidentally was dependant on that bug. Explicit adding of
243 @file{NNCP/} directory in archive restores workability with valid tar
251 Ability to disable relaying at all using @verb{|-via -|} command line option.
259 @strong{Incompatible} plain packet format changes. Older versions are
263 Ability to queue remote command execution, by configuring @option{exec}
264 option in configuration file and using @command{nncp-exec} command:
267 @command{nncp-mail} command is replaced with more flexible
268 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
269 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
271 @option{sendmail} configuration file option is replaced with
272 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
273 @verb{|exec: sendmail: [...]|}.
277 Ability to override @option{via} configuration option for destination
278 node via @option{-via} command line option for following commands:
279 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
282 Chunked files, having size less than specified chunk size, will be sent
283 as an ordinary single file.
286 Exec commands are invoked with additional @env{NNCP_NICE} and
287 @env{NNCP_SELF} environment variables.
290 Files, that are sent as a reply to freq, have niceness level taken from
291 the freq packet. You can set desired niceness during @command{nncp-freq}
292 invocation using @option{-replynice} option.
295 @command{nncp-toss} command can ignore specified packet types during
296 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
300 @command{nncp-file} command uses
301 @option{FreqMinSize}/@option{FreqChunked} configuration file options
302 for @option{-minsize}/@option{-chunked} by default. You can turn this
303 off by specifying zero value.
312 @strong{Incompatible} encrypted/eblob packet format changes. Older
313 versions are not supported.
316 Twofish encryption algorithm is replaced with ChaCha20. It is much more
317 faster. One cryptographic primitive less.
320 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
321 another cryptographic primitive less (assuming that BLAKE2X is nearly
322 identical to BLAKE2).
331 @strong{Incompatible} encrypted packet format changes. Older versions
335 @command{nncp-bundle} command can either create stream of encrypted
336 packets, or digest it. It is useful when dealing with stdin/stdout based
337 transmission methods (like writing to CD-ROM without intermediate
338 prepared ISO image and working with tape drives).
341 @command{nncp-toss} is able to create @file{.seen} files preventing
342 duplicate packets receiving.
345 Single background checksum verifier worker is allowed in
346 @command{nncp-call}. This is helpful when thousands of small inbound
347 packets could create many goroutines.
350 Ability to override path to spool directory and logfile through either
351 command line argument, or environment variable.
354 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
355 @file{.part}, @file{.lock} and temporary files.
360 @section Release 0.12
362 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
366 @section Release 0.11
368 @item @command{nncp-stat}'s command output is sorted by node name.
372 @section Release 0.10
375 @command{nncp-freq}'s @file{DST} argument is optional now. Last
376 @file{SRC} path's element will be used by default.
383 Fix @option{-rx}/@option{-tx} arguments processing in
384 @command{nncp-call} command. They were ignored.
391 Little bugfix in @command{nncp-file} command, where @option{-minsize}
392 option for unchunked transfer was not in KiBs, but in bytes.
400 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
401 temporary file for that.
404 Chunked files transmission appeared with corresponding
405 @command{nncp-reass} command and @option{freqchunked} configuration file
406 entry. Useful for transferring big files over small storage devices.
409 @option{freqminsize} configuration file option, analogue to
410 @option{-minsize} one.
413 @command{nncp-xfer}'s @option{-force} option is renamed to
414 @option{-mkdir} for clarity.
417 @option{-minsize} option is specified in KiBs, not bytes, for
421 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
422 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
423 common prefix and are grouped together for convenience.
426 @command{nncp-cfgenc} command appeared, allowing configuration file
427 encryption/decryption, for keeping it safe without any either OpenPGP or
431 Cryptographic libraries (dependencies) are updated.
438 @item Small @command{nncp-rm} command appeared.
439 @item Cryptographic libraries (dependencies) are updated.
446 Trivial small fix in default niceness level of @command{nncp-file}
447 and @command{nncp-freq} commands.
455 Small fix in @command{nncp-call}, @command{nncp-caller},
456 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
460 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
461 and more convenient to use.
464 @command{nncp-mincfg} command appeared: helper allowing to create
465 minimalistic stripped down configuration file without private keys, that
466 is useful during @command{nncp-xfer} usage.
473 @item Fixed compatibility with Go 1.6.
481 @strong{Incompatible} packet's format change (magic number is changed
482 too): size field is encrypted and is not send in plaintext anymore.
485 @option{-minsize} option gives ability to automatically pad outgoing
486 packets to specified minimal size.
489 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
490 always check new @emph{tx} packets appearance in the background while
491 connected. Remote side is immediately notified.
494 @option{-onlinedeadline} option gives ability to configure timeout of
495 inactivity of online connection, when it could be disconnected. It could
496 be used to keep connection alive for a long time.
499 @option{-maxonlinetime} option gives ability to set maximal allowable
500 online connection aliveness time.
503 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
506 @command{nncp-pkt} command can decompress the data.