4 See also this page @ref{Новости, on russian}.
11 Fixed @option{onlinedeadline} workability with call addresses that use
12 external commands (@verb{#"|somecmd"#}).
17 @section Release 5.3.0
21 Progress messages contain prefix, describing the running action.
24 Fixed not occurring handshake messages padding.
27 Finish all SP protocol related goroutines, less memory leak.
30 SP protocol generates less socket write calls, thus generating less TCP
34 Check @option{onlinedeadline} and @option{maxonlinetime} options every
35 second, independently from socket reads (up to 10 seconds).
38 Once per minute, if no other traffic exists, PING packets are sent in
39 SP-connection. That allows faster determining of connection unworkability.
42 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
47 @section Release 5.2.1
51 Fixed SP protocol error handling, sometimes causing program panic.
56 @section Release 5.2.0
60 Most commands by default show oneline operations progress.
61 @option{-progress}, @option{-noprogress} command line options,
62 @option{noprogress} configuration file option appeared.
65 Fixed incorrect @command{nncp-check} command return code, that returned
66 bad code when everything is good.
69 Free disk space check during @command{nncp-bundle -rx} call.
74 @section Release 5.1.2
78 @strong{Critical} vulnerability: remote peers authentication could lead
79 to incorrect identification of remote side, allowing foreign encrypted
83 Bugfix: private and public Noise keys were swapped in newly created
84 configuration files, that lead to inability to authenticate online peers.
87 Explicit directories fsync-ing for guaranteed files renaming.
92 @section Release 5.1.1
96 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
101 @section Release 5.1.0
105 @command{nncp-file} can send directories, automatically creating pax
109 Free disk space is checked during outbound packets creation.
112 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
113 file options replaced with the structure:
114 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
117 Added @option{freq.maxsize} configuration file option, forbidding of
118 freq sending larger than specified size.
121 Ability to notify about successfully executed commands (exec) with
122 @option{notify.exec} configuration file option.
127 @section Release 5.0.0
131 @strong{Incompatible} configuration file format change: YAML is
132 replaced with Hjson, due to its simplicity, without noticeable lack
133 of either functionality or convenience.
136 @strong{Incompatible} plain packet format changes. Older versions are
137 not supported. @code{zlib} compression is replaced with
138 @code{Zstandard}, due to its speed and efficiency, despite library
139 version is not mature enough.
142 Ability to call remote nodes via pipe call of external command, not only
146 @command{nncp-cfgnew} generates configuration file with many
147 comments. @option{-nocomments} option can be used for an old
151 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
152 avoid possible collisions with @file{.nncp.chunkCTR}.
155 Ability to override process umask through configuration file option.
158 Files and directories are created with 666/777 permissions by default,
159 allowing control with @command{umask}.
162 Updated dependencies.
165 Full usage of go modules for dependencies management
166 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
169 Forbid any later GNU GPL version autousage
170 (project's licence now is GNU GPLv3-only).
177 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
185 @strong{Incompatible} encrypted and eblob packet format change: AEAD
186 encryption mode with 128 KiB blocks is used now, because previously
187 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
188 decrypted data to external command. Older versions are not supported.
191 Available free space checking before copying in @command{nncp-xfer},
192 @command{nncp-daemon}, @command{nncp-call(er)}.
195 @command{nncp-call} has ability only to list packets on remote node,
196 without their transmission.
199 @command{nncp-call} has ability to transfer only specified packets.
202 Workability of @option{xxrate} preference in @option{calls}
203 configuration file section.
206 Dependant libraries are updated.
212 Begin using of @code{go.mod} subsystem.
219 @item @command{nncp-daemon} can be run as @command{inetd}-service.
227 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
228 if @file{.seen} exists and treat it like file was already downloaded.
229 Possibly it was transferred out-of-bound and remote side needs to be
233 If higher priority packet is spooled, then @command{nncp-daemon} will
234 queue its sending first, interrupting lower priority transmissions.
237 Simple packet rate limiter added to online-related tools
238 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
241 Ability to specify niceness with symbolic notation:
242 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
245 Changed default niceness levels:
246 for @command{nncp-exec} from 64 to 96,
247 for @command{nncp-freq} from 64 to 160,
248 for @command{nncp-file} from 196 to 224.
256 @strong{Incompatible} @emph{bundle} archive format changes and
257 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
258 valid tar archives, but Go 1.9 made them invalid because of long paths
259 inside. NNCP accidentally was dependant on that bug. Explicit adding of
260 @file{NNCP/} directory in archive restores workability with valid tar
268 Ability to disable relaying at all using @verb{|-via -|} command line option.
276 @strong{Incompatible} plain packet format changes. Older versions are
280 Ability to queue remote command execution, by configuring @option{exec}
281 option in configuration file and using @command{nncp-exec} command:
284 @command{nncp-mail} command is replaced with more flexible
285 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
286 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
288 @option{sendmail} configuration file option is replaced with
289 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
290 @verb{|exec: sendmail: [...]|}.
294 Ability to override @option{via} configuration option for destination
295 node via @option{-via} command line option for following commands:
296 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
299 Chunked files, having size less than specified chunk size, will be sent
300 as an ordinary single file.
303 Exec commands are invoked with additional @env{NNCP_NICE} and
304 @env{NNCP_SELF} environment variables.
307 Files, that are sent as a reply to freq, have niceness level taken from
308 the freq packet. You can set desired niceness during @command{nncp-freq}
309 invocation using @option{-replynice} option.
312 @command{nncp-toss} command can ignore specified packet types during
313 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
317 @command{nncp-file} command uses
318 @option{FreqMinSize}/@option{FreqChunked} configuration file options
319 for @option{-minsize}/@option{-chunked} by default. You can turn this
320 off by specifying zero value.
329 @strong{Incompatible} encrypted/eblob packet format changes. Older
330 versions are not supported.
333 Twofish encryption algorithm is replaced with ChaCha20. It is much more
334 faster. One cryptographic primitive less.
337 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
338 another cryptographic primitive less (assuming that BLAKE2X is nearly
339 identical to BLAKE2).
348 @strong{Incompatible} encrypted packet format changes. Older versions
352 @command{nncp-bundle} command can either create stream of encrypted
353 packets, or digest it. It is useful when dealing with stdin/stdout based
354 transmission methods (like writing to CD-ROM without intermediate
355 prepared ISO image and working with tape drives).
358 @command{nncp-toss} is able to create @file{.seen} files preventing
359 duplicate packets receiving.
362 Single background checksum verifier worker is allowed in
363 @command{nncp-call}. This is helpful when thousands of small inbound
364 packets could create many goroutines.
367 Ability to override path to spool directory and logfile through either
368 command line argument, or environment variable.
371 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
372 @file{.part}, @file{.lock} and temporary files.
377 @section Release 0.12
379 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
383 @section Release 0.11
385 @item @command{nncp-stat}'s command output is sorted by node name.
389 @section Release 0.10
392 @command{nncp-freq}'s @file{DST} argument is optional now. Last
393 @file{SRC} path's element will be used by default.
400 Fix @option{-rx}/@option{-tx} arguments processing in
401 @command{nncp-call} command. They were ignored.
408 Little bugfix in @command{nncp-file} command, where @option{-minsize}
409 option for unchunked transfer was not in KiBs, but in bytes.
417 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
418 temporary file for that.
421 Chunked files transmission appeared with corresponding
422 @command{nncp-reass} command and @option{freqchunked} configuration file
423 entry. Useful for transferring big files over small storage devices.
426 @option{freqminsize} configuration file option, analogue to
427 @option{-minsize} one.
430 @command{nncp-xfer}'s @option{-force} option is renamed to
431 @option{-mkdir} for clarity.
434 @option{-minsize} option is specified in KiBs, not bytes, for
438 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
439 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
440 common prefix and are grouped together for convenience.
443 @command{nncp-cfgenc} command appeared, allowing configuration file
444 encryption/decryption, for keeping it safe without any either OpenPGP or
448 Cryptographic libraries (dependencies) are updated.
455 @item Small @command{nncp-rm} command appeared.
456 @item Cryptographic libraries (dependencies) are updated.
463 Trivial small fix in default niceness level of @command{nncp-file}
464 and @command{nncp-freq} commands.
472 Small fix in @command{nncp-call}, @command{nncp-caller},
473 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
477 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
478 and more convenient to use.
481 @command{nncp-mincfg} command appeared: helper allowing to create
482 minimalistic stripped down configuration file without private keys, that
483 is useful during @command{nncp-xfer} usage.
490 @item Fixed compatibility with Go 1.6.
498 @strong{Incompatible} packet's format change (magic number is changed
499 too): size field is encrypted and is not send in plaintext anymore.
502 @option{-minsize} option gives ability to automatically pad outgoing
503 packets to specified minimal size.
506 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
507 always check new @emph{tx} packets appearance in the background while
508 connected. Remote side is immediately notified.
511 @option{-onlinedeadline} option gives ability to configure timeout of
512 inactivity of online connection, when it could be disconnected. It could
513 be used to keep connection alive for a long time.
516 @option{-maxonlinetime} option gives ability to set maximal allowable
517 online connection aliveness time.
520 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
523 @command{nncp-pkt} command can decompress the data.