4 See also this page @ref{Новости, on russian}.
11 More various error checks.
19 @section Release 5.3.2
23 Fixed incorrect logic of @option{onlinedeadline} timeout, where
24 connection won't take into account incoming packets events and will
25 forcefully disconnect.
30 @section Release 5.3.1
34 Fixed @option{onlinedeadline} workability with call addresses that use
35 external commands (@verb{#"|somecmd"#}).
38 @command{nncp-stat} has @option{-pkt} option displaying information
39 about each packet in the spool.
44 @section Release 5.3.0
48 Progress messages contain prefix, describing the running action.
51 Fixed not occurring handshake messages padding.
54 Finish all SP protocol related goroutines, less memory leak.
57 SP protocol generates less socket write calls, thus generating less TCP
61 Check @option{onlinedeadline} and @option{maxonlinetime} options every
62 second, independently from socket reads (up to 10 seconds).
65 Once per minute, if no other traffic exists, PING packets are sent in
66 SP-connection. That allows faster determining of connection unworkability.
69 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
74 @section Release 5.2.1
78 Fixed SP protocol error handling, sometimes causing program panic.
83 @section Release 5.2.0
87 Most commands by default show oneline operations progress.
88 @option{-progress}, @option{-noprogress} command line options,
89 @option{noprogress} configuration file option appeared.
92 Fixed incorrect @command{nncp-check} command return code, that returned
93 bad code when everything is good.
96 Free disk space check during @command{nncp-bundle -rx} call.
101 @section Release 5.1.2
105 @strong{Critical} vulnerability: remote peers authentication could lead
106 to incorrect identification of remote side, allowing foreign encrypted
110 Bugfix: private and public Noise keys were swapped in newly created
111 configuration files, that lead to inability to authenticate online peers.
114 Explicit directories fsync-ing for guaranteed files renaming.
119 @section Release 5.1.1
123 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
128 @section Release 5.1.0
132 @command{nncp-file} can send directories, automatically creating pax
136 Free disk space is checked during outbound packets creation.
139 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
140 file options replaced with the structure:
141 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
144 Added @option{freq.maxsize} configuration file option, forbidding of
145 freq sending larger than specified size.
148 Ability to notify about successfully executed commands (exec) with
149 @option{notify.exec} configuration file option.
154 @section Release 5.0.0
158 @strong{Incompatible} configuration file format change: YAML is
159 replaced with Hjson, due to its simplicity, without noticeable lack
160 of either functionality or convenience.
163 @strong{Incompatible} plain packet format changes. Older versions are
164 not supported. @code{zlib} compression is replaced with
165 @code{Zstandard}, due to its speed and efficiency, despite library
166 version is not mature enough.
169 Ability to call remote nodes via pipe call of external command, not only
173 @command{nncp-cfgnew} generates configuration file with many
174 comments. @option{-nocomments} option can be used for an old
178 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
179 avoid possible collisions with @file{.nncp.chunkCTR}.
182 Ability to override process umask through configuration file option.
185 Files and directories are created with 666/777 permissions by default,
186 allowing control with @command{umask}.
189 Updated dependencies.
192 Full usage of go modules for dependencies management
193 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
196 Forbid any later GNU GPL version autousage
197 (project's licence now is GNU GPLv3-only).
204 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
212 @strong{Incompatible} encrypted and eblob packet format change: AEAD
213 encryption mode with 128 KiB blocks is used now, because previously
214 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
215 decrypted data to external command. Older versions are not supported.
218 Available free space checking before copying in @command{nncp-xfer},
219 @command{nncp-daemon}, @command{nncp-call(er)}.
222 @command{nncp-call} has ability only to list packets on remote node,
223 without their transmission.
226 @command{nncp-call} has ability to transfer only specified packets.
229 Workability of @option{xxrate} preference in @option{calls}
230 configuration file section.
233 Dependant libraries are updated.
239 Begin using of @code{go.mod} subsystem.
246 @item @command{nncp-daemon} can be run as @command{inetd}-service.
254 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
255 if @file{.seen} exists and treat it like file was already downloaded.
256 Possibly it was transferred out-of-bound and remote side needs to be
260 If higher priority packet is spooled, then @command{nncp-daemon} will
261 queue its sending first, interrupting lower priority transmissions.
264 Simple packet rate limiter added to online-related tools
265 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
268 Ability to specify niceness with symbolic notation:
269 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
272 Changed default niceness levels:
273 for @command{nncp-exec} from 64 to 96,
274 for @command{nncp-freq} from 64 to 160,
275 for @command{nncp-file} from 196 to 224.
283 @strong{Incompatible} @emph{bundle} archive format changes and
284 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
285 valid tar archives, but Go 1.9 made them invalid because of long paths
286 inside. NNCP accidentally was dependant on that bug. Explicit adding of
287 @file{NNCP/} directory in archive restores workability with valid tar
295 Ability to disable relaying at all using @verb{|-via -|} command line option.
303 @strong{Incompatible} plain packet format changes. Older versions are
307 Ability to queue remote command execution, by configuring @option{exec}
308 option in configuration file and using @command{nncp-exec} command:
311 @command{nncp-mail} command is replaced with more flexible
312 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
313 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
315 @option{sendmail} configuration file option is replaced with
316 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
317 @verb{|exec: sendmail: [...]|}.
321 Ability to override @option{via} configuration option for destination
322 node via @option{-via} command line option for following commands:
323 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
326 Chunked files, having size less than specified chunk size, will be sent
327 as an ordinary single file.
330 Exec commands are invoked with additional @env{NNCP_NICE} and
331 @env{NNCP_SELF} environment variables.
334 Files, that are sent as a reply to freq, have niceness level taken from
335 the freq packet. You can set desired niceness during @command{nncp-freq}
336 invocation using @option{-replynice} option.
339 @command{nncp-toss} command can ignore specified packet types during
340 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
344 @command{nncp-file} command uses
345 @option{FreqMinSize}/@option{FreqChunked} configuration file options
346 for @option{-minsize}/@option{-chunked} by default. You can turn this
347 off by specifying zero value.
356 @strong{Incompatible} encrypted/eblob packet format changes. Older
357 versions are not supported.
360 Twofish encryption algorithm is replaced with ChaCha20. It is much more
361 faster. One cryptographic primitive less.
364 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
365 another cryptographic primitive less (assuming that BLAKE2X is nearly
366 identical to BLAKE2).
375 @strong{Incompatible} encrypted packet format changes. Older versions
379 @command{nncp-bundle} command can either create stream of encrypted
380 packets, or digest it. It is useful when dealing with stdin/stdout based
381 transmission methods (like writing to CD-ROM without intermediate
382 prepared ISO image and working with tape drives).
385 @command{nncp-toss} is able to create @file{.seen} files preventing
386 duplicate packets receiving.
389 Single background checksum verifier worker is allowed in
390 @command{nncp-call}. This is helpful when thousands of small inbound
391 packets could create many goroutines.
394 Ability to override path to spool directory and logfile through either
395 command line argument, or environment variable.
398 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
399 @file{.part}, @file{.lock} and temporary files.
404 @section Release 0.12
406 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
410 @section Release 0.11
412 @item @command{nncp-stat}'s command output is sorted by node name.
416 @section Release 0.10
419 @command{nncp-freq}'s @file{DST} argument is optional now. Last
420 @file{SRC} path's element will be used by default.
427 Fix @option{-rx}/@option{-tx} arguments processing in
428 @command{nncp-call} command. They were ignored.
435 Little bugfix in @command{nncp-file} command, where @option{-minsize}
436 option for unchunked transfer was not in KiBs, but in bytes.
444 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
445 temporary file for that.
448 Chunked files transmission appeared with corresponding
449 @command{nncp-reass} command and @option{freqchunked} configuration file
450 entry. Useful for transferring big files over small storage devices.
453 @option{freqminsize} configuration file option, analogue to
454 @option{-minsize} one.
457 @command{nncp-xfer}'s @option{-force} option is renamed to
458 @option{-mkdir} for clarity.
461 @option{-minsize} option is specified in KiBs, not bytes, for
465 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
466 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
467 common prefix and are grouped together for convenience.
470 @command{nncp-cfgenc} command appeared, allowing configuration file
471 encryption/decryption, for keeping it safe without any either OpenPGP or
475 Cryptographic libraries (dependencies) are updated.
482 @item Small @command{nncp-rm} command appeared.
483 @item Cryptographic libraries (dependencies) are updated.
490 Trivial small fix in default niceness level of @command{nncp-file}
491 and @command{nncp-freq} commands.
499 Small fix in @command{nncp-call}, @command{nncp-caller},
500 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
504 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
505 and more convenient to use.
508 @command{nncp-mincfg} command appeared: helper allowing to create
509 minimalistic stripped down configuration file without private keys, that
510 is useful during @command{nncp-xfer} usage.
517 @item Fixed compatibility with Go 1.6.
525 @strong{Incompatible} packet's format change (magic number is changed
526 too): size field is encrypted and is not send in plaintext anymore.
529 @option{-minsize} option gives ability to automatically pad outgoing
530 packets to specified minimal size.
533 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
534 always check new @emph{tx} packets appearance in the background while
535 connected. Remote side is immediately notified.
538 @option{-onlinedeadline} option gives ability to configure timeout of
539 inactivity of online connection, when it could be disconnected. It could
540 be used to keep connection alive for a long time.
543 @option{-maxonlinetime} option gives ability to set maximal allowable
544 online connection aliveness time.
547 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
550 @command{nncp-pkt} command can decompress the data.