4 See also this page @ref{Новости, on russian}.
11 Most commands by default show oneline operations progress.
12 @option{-progress}, @option{-noprogress} command line options,
13 @option{noprogress} configuration file option appeared.
16 Fixed incorrect @command{nncp-check} command return code, that returned
17 bad code when everything is good.
22 @section Release 5.1.2
26 @strong{Critical} vulnerability: remote peers authentication could lead
27 to incorrect identification of remote side, allowing foreign encrypted
31 Bugfix: private and public Noise keys were swapped in newly created
32 configuration files, that lead to inability to authenticate online peers.
35 Explicit directories fsync-ing for guaranteed files renaming.
40 @section Release 5.1.1
44 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
49 @section Release 5.1.0
53 @command{nncp-file} can send directories, automatically creating pax
57 Free disk space is checked during outbound packets creation.
60 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
61 file options replaced with the structure:
62 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
65 Added @option{freq.maxsize} configuration file option, forbidding of
66 freq sending larger than specified size.
69 Ability to notify about successfully executed commands (exec) with
70 @option{notify.exec} configuration file option.
75 @section Release 5.0.0
79 @strong{Incompatible} configuration file format change: YAML is
80 replaced with Hjson, due to its simplicity, without noticeable lack
81 of either functionality or convenience.
84 @strong{Incompatible} plain packet format changes. Older versions are
85 not supported. @code{zlib} compression is replaced with
86 @code{Zstandard}, due to its speed and efficiency, despite library
87 version is not mature enough.
90 Ability to call remote nodes via pipe call of external command, not only
94 @command{nncp-cfgnew} generates configuration file with many
95 comments. @option{-nocomments} option can be used for an old
99 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
100 avoid possible collisions with @file{.nncp.chunkCTR}.
103 Ability to override process umask through configuration file option.
106 Files and directories are created with 666/777 permissions by default,
107 allowing control with @command{umask}.
110 Updated dependencies.
113 Full usage of go modules for dependencies management
114 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
117 Forbid any later GNU GPL version autousage
118 (project's licence now is GNU GPLv3-only).
125 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
133 @strong{Incompatible} encrypted and eblob packet format change: AEAD
134 encryption mode with 128 KiB blocks is used now, because previously
135 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
136 decrypted data to external command. Older versions are not supported.
139 Available free space checking before copying in @command{nncp-xfer},
140 @command{nncp-daemon}, @command{nncp-call(er)}.
143 @command{nncp-call} has ability only to list packets on remote node,
144 without their transmission.
147 @command{nncp-call} has ability to transfer only specified packets.
150 Workability of @option{xxrate} preference in @option{calls}
151 configuration file section.
154 Dependant libraries are updated.
160 Begin using of @code{go.mod} subsystem.
167 @item @command{nncp-daemon} can be run as @command{inetd}-service.
175 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
176 if @file{.seen} exists and treat it like file was already downloaded.
177 Possibly it was transferred out-of-bound and remote side needs to be
181 If higher priority packet is spooled, then @command{nncp-daemon} will
182 queue its sending first, interrupting lower priority transmissions.
185 Simple packet rate limiter added to online-related tools
186 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
189 Ability to specify niceness with symbolic notation:
190 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
193 Changed default niceness levels:
194 for @command{nncp-exec} from 64 to 96,
195 for @command{nncp-freq} from 64 to 160,
196 for @command{nncp-file} from 196 to 224.
204 @strong{Incompatible} @emph{bundle} archive format changes and
205 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
206 valid tar archives, but Go 1.9 made them invalid because of long paths
207 inside. NNCP accidentally was dependant on that bug. Explicit adding of
208 @file{NNCP/} directory in archive restores workability with valid tar
216 Ability to disable relaying at all using @verb{|-via -|} command line option.
224 @strong{Incompatible} plain packet format changes. Older versions are
228 Ability to queue remote command execution, by configuring @option{exec}
229 option in configuration file and using @command{nncp-exec} command:
232 @command{nncp-mail} command is replaced with more flexible
233 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
234 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
236 @option{sendmail} configuration file option is replaced with
237 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
238 @verb{|exec: sendmail: [...]|}.
242 Ability to override @option{via} configuration option for destination
243 node via @option{-via} command line option for following commands:
244 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
247 Chunked files, having size less than specified chunk size, will be sent
248 as an ordinary single file.
251 Exec commands are invoked with additional @env{NNCP_NICE} and
252 @env{NNCP_SELF} environment variables.
255 Files, that are sent as a reply to freq, have niceness level taken from
256 the freq packet. You can set desired niceness during @command{nncp-freq}
257 invocation using @option{-replynice} option.
260 @command{nncp-toss} command can ignore specified packet types during
261 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
265 @command{nncp-file} command uses
266 @option{FreqMinSize}/@option{FreqChunked} configuration file options
267 for @option{-minsize}/@option{-chunked} by default. You can turn this
268 off by specifying zero value.
277 @strong{Incompatible} encrypted/eblob packet format changes. Older
278 versions are not supported.
281 Twofish encryption algorithm is replaced with ChaCha20. It is much more
282 faster. One cryptographic primitive less.
285 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
286 another cryptographic primitive less (assuming that BLAKE2X is nearly
287 identical to BLAKE2).
296 @strong{Incompatible} encrypted packet format changes. Older versions
300 @command{nncp-bundle} command can either create stream of encrypted
301 packets, or digest it. It is useful when dealing with stdin/stdout based
302 transmission methods (like writing to CD-ROM without intermediate
303 prepared ISO image and working with tape drives).
306 @command{nncp-toss} is able to create @file{.seen} files preventing
307 duplicate packets receiving.
310 Single background checksum verifier worker is allowed in
311 @command{nncp-call}. This is helpful when thousands of small inbound
312 packets could create many goroutines.
315 Ability to override path to spool directory and logfile through either
316 command line argument, or environment variable.
319 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
320 @file{.part}, @file{.lock} and temporary files.
325 @section Release 0.12
327 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
331 @section Release 0.11
333 @item @command{nncp-stat}'s command output is sorted by node name.
337 @section Release 0.10
340 @command{nncp-freq}'s @file{DST} argument is optional now. Last
341 @file{SRC} path's element will be used by default.
348 Fix @option{-rx}/@option{-tx} arguments processing in
349 @command{nncp-call} command. They were ignored.
356 Little bugfix in @command{nncp-file} command, where @option{-minsize}
357 option for unchunked transfer was not in KiBs, but in bytes.
365 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
366 temporary file for that.
369 Chunked files transmission appeared with corresponding
370 @command{nncp-reass} command and @option{freqchunked} configuration file
371 entry. Useful for transferring big files over small storage devices.
374 @option{freqminsize} configuration file option, analogue to
375 @option{-minsize} one.
378 @command{nncp-xfer}'s @option{-force} option is renamed to
379 @option{-mkdir} for clarity.
382 @option{-minsize} option is specified in KiBs, not bytes, for
386 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
387 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
388 common prefix and are grouped together for convenience.
391 @command{nncp-cfgenc} command appeared, allowing configuration file
392 encryption/decryption, for keeping it safe without any either OpenPGP or
396 Cryptographic libraries (dependencies) are updated.
403 @item Small @command{nncp-rm} command appeared.
404 @item Cryptographic libraries (dependencies) are updated.
411 Trivial small fix in default niceness level of @command{nncp-file}
412 and @command{nncp-freq} commands.
420 Small fix in @command{nncp-call}, @command{nncp-caller},
421 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
425 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
426 and more convenient to use.
429 @command{nncp-mincfg} command appeared: helper allowing to create
430 minimalistic stripped down configuration file without private keys, that
431 is useful during @command{nncp-xfer} usage.
438 @item Fixed compatibility with Go 1.6.
446 @strong{Incompatible} packet's format change (magic number is changed
447 too): size field is encrypted and is not send in plaintext anymore.
450 @option{-minsize} option gives ability to automatically pad outgoing
451 packets to specified minimal size.
454 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
455 always check new @emph{tx} packets appearance in the background while
456 connected. Remote side is immediately notified.
459 @option{-onlinedeadline} option gives ability to configure timeout of
460 inactivity of online connection, when it could be disconnected. It could
461 be used to keep connection alive for a long time.
464 @option{-maxonlinetime} option gives ability to set maximal allowable
465 online connection aliveness time.
468 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
471 @command{nncp-pkt} command can decompress the data.