4 See also this page @ref{Новости, on russian}.
11 @strong{Critical} vulnerability: remote peers authentication could lead
12 to incorrect identification of remote side, allowing foreign encrypted
16 Bugfix: private and public Noise keys were swapped in newly created
17 configuration files, that lead to inability to authenticate online peers.
20 Explicit directories fsync-ing for guaranteed files renaming.
25 @section Release 5.1.1
29 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
34 @section Release 5.1.0
38 @command{nncp-file} can send directories, automatically creating pax
42 Free disk space is checked during outbound packets creation.
45 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
46 file options replaced with the structure:
47 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
50 Added @option{freq.maxsize} configuration file option, forbidding of
51 freq sending larger than specified size.
54 Ability to notify about successfully executed commands (exec) with
55 @option{notify.exec} configuration file option.
60 @section Release 5.0.0
64 @strong{Incompatible} configuration file format change: YAML is
65 replaced with Hjson, due to its simplicity, without noticeable lack
66 of either functionality or convenience.
69 @strong{Incompatible} plain packet format changes. Older versions are
70 not supported. @code{zlib} compression is replaced with
71 @code{Zstandard}, due to its speed and efficiency, despite library
72 version is not mature enough.
75 Ability to call remote nodes via pipe call of external command, not only
79 @command{nncp-cfgnew} generates configuration file with many
80 comments. @option{-nocomments} option can be used for an old
84 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
85 avoid possible collisions with @file{.nncp.chunkCTR}.
88 Ability to override process umask through configuration file option.
91 Files and directories are created with 666/777 permissions by default,
92 allowing control with @command{umask}.
98 Full usage of go modules for dependencies management
99 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
102 Forbid any later GNU GPL version autousage
103 (project's licence now is GNU GPLv3-only).
110 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
118 @strong{Incompatible} encrypted and eblob packet format change: AEAD
119 encryption mode with 128 KiB blocks is used now, because previously
120 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
121 decrypted data to external command. Older versions are not supported.
124 Available free space checking before copying in @command{nncp-xfer},
125 @command{nncp-daemon}, @command{nncp-call(er)}.
128 @command{nncp-call} has ability only to list packets on remote node,
129 without their transmission.
132 @command{nncp-call} has ability to transfer only specified packets.
135 Workability of @option{xxrate} preference in @option{calls}
136 configuration file section.
139 Dependant libraries are updated.
145 Begin using of @code{go.mod} subsystem.
152 @item @command{nncp-daemon} can be run as @command{inetd}-service.
160 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
161 if @file{.seen} exists and treat it like file was already downloaded.
162 Possibly it was transferred out-of-bound and remote side needs to be
166 If higher priority packet is spooled, then @command{nncp-daemon} will
167 queue its sending first, interrupting lower priority transmissions.
170 Simple packet rate limiter added to online-related tools
171 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
174 Ability to specify niceness with symbolic notation:
175 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
178 Changed default niceness levels:
179 for @command{nncp-exec} from 64 to 96,
180 for @command{nncp-freq} from 64 to 160,
181 for @command{nncp-file} from 196 to 224.
189 @strong{Incompatible} @emph{bundle} archive format changes and
190 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
191 valid tar archives, but Go 1.9 made them invalid because of long paths
192 inside. NNCP accidentally was dependant on that bug. Explicit adding of
193 @file{NNCP/} directory in archive restores workability with valid tar
201 Ability to disable relaying at all using @verb{|-via -|} command line option.
209 @strong{Incompatible} plain packet format changes. Older versions are
213 Ability to queue remote command execution, by configuring @option{exec}
214 option in configuration file and using @command{nncp-exec} command:
217 @command{nncp-mail} command is replaced with more flexible
218 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
219 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
221 @option{sendmail} configuration file option is replaced with
222 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
223 @verb{|exec: sendmail: [...]|}.
227 Ability to override @option{via} configuration option for destination
228 node via @option{-via} command line option for following commands:
229 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
232 Chunked files, having size less than specified chunk size, will be sent
233 as an ordinary single file.
236 Exec commands are invoked with additional @env{NNCP_NICE} and
237 @env{NNCP_SELF} environment variables.
240 Files, that are sent as a reply to freq, have niceness level taken from
241 the freq packet. You can set desired niceness during @command{nncp-freq}
242 invocation using @option{-replynice} option.
245 @command{nncp-toss} command can ignore specified packet types during
246 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
250 @command{nncp-file} command uses
251 @option{FreqMinSize}/@option{FreqChunked} configuration file options
252 for @option{-minsize}/@option{-chunked} by default. You can turn this
253 off by specifying zero value.
262 @strong{Incompatible} encrypted/eblob packet format changes. Older
263 versions are not supported.
266 Twofish encryption algorithm is replaced with ChaCha20. It is much more
267 faster. One cryptographic primitive less.
270 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
271 another cryptographic primitive less (assuming that BLAKE2X is nearly
272 identical to BLAKE2).
281 @strong{Incompatible} encrypted packet format changes. Older versions
285 @command{nncp-bundle} command can either create stream of encrypted
286 packets, or digest it. It is useful when dealing with stdin/stdout based
287 transmission methods (like writing to CD-ROM without intermediate
288 prepared ISO image and working with tape drives).
291 @command{nncp-toss} is able to create @file{.seen} files preventing
292 duplicate packets receiving.
295 Single background checksum verifier worker is allowed in
296 @command{nncp-call}. This is helpful when thousands of small inbound
297 packets could create many goroutines.
300 Ability to override path to spool directory and logfile through either
301 command line argument, or environment variable.
304 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
305 @file{.part}, @file{.lock} and temporary files.
310 @section Release 0.12
312 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
316 @section Release 0.11
318 @item @command{nncp-stat}'s command output is sorted by node name.
322 @section Release 0.10
325 @command{nncp-freq}'s @file{DST} argument is optional now. Last
326 @file{SRC} path's element will be used by default.
333 Fix @option{-rx}/@option{-tx} arguments processing in
334 @command{nncp-call} command. They were ignored.
341 Little bugfix in @command{nncp-file} command, where @option{-minsize}
342 option for unchunked transfer was not in KiBs, but in bytes.
350 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
351 temporary file for that.
354 Chunked files transmission appeared with corresponding
355 @command{nncp-reass} command and @option{freqchunked} configuration file
356 entry. Useful for transferring big files over small storage devices.
359 @option{freqminsize} configuration file option, analogue to
360 @option{-minsize} one.
363 @command{nncp-xfer}'s @option{-force} option is renamed to
364 @option{-mkdir} for clarity.
367 @option{-minsize} option is specified in KiBs, not bytes, for
371 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
372 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
373 common prefix and are grouped together for convenience.
376 @command{nncp-cfgenc} command appeared, allowing configuration file
377 encryption/decryption, for keeping it safe without any either OpenPGP or
381 Cryptographic libraries (dependencies) are updated.
388 @item Small @command{nncp-rm} command appeared.
389 @item Cryptographic libraries (dependencies) are updated.
396 Trivial small fix in default niceness level of @command{nncp-file}
397 and @command{nncp-freq} commands.
405 Small fix in @command{nncp-call}, @command{nncp-caller},
406 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
410 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
411 and more convenient to use.
414 @command{nncp-mincfg} command appeared: helper allowing to create
415 minimalistic stripped down configuration file without private keys, that
416 is useful during @command{nncp-xfer} usage.
423 @item Fixed compatibility with Go 1.6.
431 @strong{Incompatible} packet's format change (magic number is changed
432 too): size field is encrypted and is not send in plaintext anymore.
435 @option{-minsize} option gives ability to automatically pad outgoing
436 packets to specified minimal size.
439 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
440 always check new @emph{tx} packets appearance in the background while
441 connected. Remote side is immediately notified.
444 @option{-onlinedeadline} option gives ability to configure timeout of
445 inactivity of online connection, when it could be disconnected. It could
446 be used to keep connection alive for a long time.
449 @option{-maxonlinetime} option gives ability to set maximal allowable
450 online connection aliveness time.
453 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
456 @command{nncp-pkt} command can decompress the data.