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).
28 Once per minute, if no other traffic exists, PING packets are sent in
29 SP-connection. That allows faster determining of connection unworkability.
32 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
37 @section Release 5.2.1
41 Fixed SP protocol error handling, sometimes causing program panic.
46 @section Release 5.2.0
50 Most commands by default show oneline operations progress.
51 @option{-progress}, @option{-noprogress} command line options,
52 @option{noprogress} configuration file option appeared.
55 Fixed incorrect @command{nncp-check} command return code, that returned
56 bad code when everything is good.
59 Free disk space check during @command{nncp-bundle -rx} call.
64 @section Release 5.1.2
68 @strong{Critical} vulnerability: remote peers authentication could lead
69 to incorrect identification of remote side, allowing foreign encrypted
73 Bugfix: private and public Noise keys were swapped in newly created
74 configuration files, that lead to inability to authenticate online peers.
77 Explicit directories fsync-ing for guaranteed files renaming.
82 @section Release 5.1.1
86 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
91 @section Release 5.1.0
95 @command{nncp-file} can send directories, automatically creating pax
99 Free disk space is checked during outbound packets creation.
102 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
103 file options replaced with the structure:
104 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
107 Added @option{freq.maxsize} configuration file option, forbidding of
108 freq sending larger than specified size.
111 Ability to notify about successfully executed commands (exec) with
112 @option{notify.exec} configuration file option.
117 @section Release 5.0.0
121 @strong{Incompatible} configuration file format change: YAML is
122 replaced with Hjson, due to its simplicity, without noticeable lack
123 of either functionality or convenience.
126 @strong{Incompatible} plain packet format changes. Older versions are
127 not supported. @code{zlib} compression is replaced with
128 @code{Zstandard}, due to its speed and efficiency, despite library
129 version is not mature enough.
132 Ability to call remote nodes via pipe call of external command, not only
136 @command{nncp-cfgnew} generates configuration file with many
137 comments. @option{-nocomments} option can be used for an old
141 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
142 avoid possible collisions with @file{.nncp.chunkCTR}.
145 Ability to override process umask through configuration file option.
148 Files and directories are created with 666/777 permissions by default,
149 allowing control with @command{umask}.
152 Updated dependencies.
155 Full usage of go modules for dependencies management
156 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
159 Forbid any later GNU GPL version autousage
160 (project's licence now is GNU GPLv3-only).
167 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
175 @strong{Incompatible} encrypted and eblob packet format change: AEAD
176 encryption mode with 128 KiB blocks is used now, because previously
177 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
178 decrypted data to external command. Older versions are not supported.
181 Available free space checking before copying in @command{nncp-xfer},
182 @command{nncp-daemon}, @command{nncp-call(er)}.
185 @command{nncp-call} has ability only to list packets on remote node,
186 without their transmission.
189 @command{nncp-call} has ability to transfer only specified packets.
192 Workability of @option{xxrate} preference in @option{calls}
193 configuration file section.
196 Dependant libraries are updated.
202 Begin using of @code{go.mod} subsystem.
209 @item @command{nncp-daemon} can be run as @command{inetd}-service.
217 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
218 if @file{.seen} exists and treat it like file was already downloaded.
219 Possibly it was transferred out-of-bound and remote side needs to be
223 If higher priority packet is spooled, then @command{nncp-daemon} will
224 queue its sending first, interrupting lower priority transmissions.
227 Simple packet rate limiter added to online-related tools
228 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
231 Ability to specify niceness with symbolic notation:
232 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
235 Changed default niceness levels:
236 for @command{nncp-exec} from 64 to 96,
237 for @command{nncp-freq} from 64 to 160,
238 for @command{nncp-file} from 196 to 224.
246 @strong{Incompatible} @emph{bundle} archive format changes and
247 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
248 valid tar archives, but Go 1.9 made them invalid because of long paths
249 inside. NNCP accidentally was dependant on that bug. Explicit adding of
250 @file{NNCP/} directory in archive restores workability with valid tar
258 Ability to disable relaying at all using @verb{|-via -|} command line option.
266 @strong{Incompatible} plain packet format changes. Older versions are
270 Ability to queue remote command execution, by configuring @option{exec}
271 option in configuration file and using @command{nncp-exec} command:
274 @command{nncp-mail} command is replaced with more flexible
275 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
276 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
278 @option{sendmail} configuration file option is replaced with
279 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
280 @verb{|exec: sendmail: [...]|}.
284 Ability to override @option{via} configuration option for destination
285 node via @option{-via} command line option for following commands:
286 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
289 Chunked files, having size less than specified chunk size, will be sent
290 as an ordinary single file.
293 Exec commands are invoked with additional @env{NNCP_NICE} and
294 @env{NNCP_SELF} environment variables.
297 Files, that are sent as a reply to freq, have niceness level taken from
298 the freq packet. You can set desired niceness during @command{nncp-freq}
299 invocation using @option{-replynice} option.
302 @command{nncp-toss} command can ignore specified packet types during
303 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
307 @command{nncp-file} command uses
308 @option{FreqMinSize}/@option{FreqChunked} configuration file options
309 for @option{-minsize}/@option{-chunked} by default. You can turn this
310 off by specifying zero value.
319 @strong{Incompatible} encrypted/eblob packet format changes. Older
320 versions are not supported.
323 Twofish encryption algorithm is replaced with ChaCha20. It is much more
324 faster. One cryptographic primitive less.
327 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
328 another cryptographic primitive less (assuming that BLAKE2X is nearly
329 identical to BLAKE2).
338 @strong{Incompatible} encrypted packet format changes. Older versions
342 @command{nncp-bundle} command can either create stream of encrypted
343 packets, or digest it. It is useful when dealing with stdin/stdout based
344 transmission methods (like writing to CD-ROM without intermediate
345 prepared ISO image and working with tape drives).
348 @command{nncp-toss} is able to create @file{.seen} files preventing
349 duplicate packets receiving.
352 Single background checksum verifier worker is allowed in
353 @command{nncp-call}. This is helpful when thousands of small inbound
354 packets could create many goroutines.
357 Ability to override path to spool directory and logfile through either
358 command line argument, or environment variable.
361 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
362 @file{.part}, @file{.lock} and temporary files.
367 @section Release 0.12
369 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
373 @section Release 0.11
375 @item @command{nncp-stat}'s command output is sorted by node name.
379 @section Release 0.10
382 @command{nncp-freq}'s @file{DST} argument is optional now. Last
383 @file{SRC} path's element will be used by default.
390 Fix @option{-rx}/@option{-tx} arguments processing in
391 @command{nncp-call} command. They were ignored.
398 Little bugfix in @command{nncp-file} command, where @option{-minsize}
399 option for unchunked transfer was not in KiBs, but in bytes.
407 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
408 temporary file for that.
411 Chunked files transmission appeared with corresponding
412 @command{nncp-reass} command and @option{freqchunked} configuration file
413 entry. Useful for transferring big files over small storage devices.
416 @option{freqminsize} configuration file option, analogue to
417 @option{-minsize} one.
420 @command{nncp-xfer}'s @option{-force} option is renamed to
421 @option{-mkdir} for clarity.
424 @option{-minsize} option is specified in KiBs, not bytes, for
428 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
429 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
430 common prefix and are grouped together for convenience.
433 @command{nncp-cfgenc} command appeared, allowing configuration file
434 encryption/decryption, for keeping it safe without any either OpenPGP or
438 Cryptographic libraries (dependencies) are updated.
445 @item Small @command{nncp-rm} command appeared.
446 @item Cryptographic libraries (dependencies) are updated.
453 Trivial small fix in default niceness level of @command{nncp-file}
454 and @command{nncp-freq} commands.
462 Small fix in @command{nncp-call}, @command{nncp-caller},
463 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
467 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
468 and more convenient to use.
471 @command{nncp-mincfg} command appeared: helper allowing to create
472 minimalistic stripped down configuration file without private keys, that
473 is useful during @command{nncp-xfer} usage.
480 @item Fixed compatibility with Go 1.6.
488 @strong{Incompatible} packet's format change (magic number is changed
489 too): size field is encrypted and is not send in plaintext anymore.
492 @option{-minsize} option gives ability to automatically pad outgoing
493 packets to specified minimal size.
496 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
497 always check new @emph{tx} packets appearance in the background while
498 connected. Remote side is immediately notified.
501 @option{-onlinedeadline} option gives ability to configure timeout of
502 inactivity of online connection, when it could be disconnected. It could
503 be used to keep connection alive for a long time.
506 @option{-maxonlinetime} option gives ability to set maximal allowable
507 online connection aliveness time.
510 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
513 @command{nncp-pkt} command can decompress the data.