4 See also this page @ref{Новости, on russian}.
11 Explicit directories fsync-ing for guaranteed files renaming.
16 @section Release 5.1.1
20 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
25 @section Release 5.1.0
29 @command{nncp-file} can send directories, automatically creating pax
33 Free disk space is checked during outbound packets creation.
36 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
37 file options replaced with the structure:
38 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
41 Added @option{freq.maxsize} configuration file option, forbidding of
42 freq sending larger than specified size.
45 Ability to notify about successfully executed commands (exec) with
46 @option{notify.exec} configuration file option.
51 @section Release 5.0.0
55 @strong{Incompatible} configuration file format change: YAML is
56 replaced with Hjson, due to its simplicity, without noticeable lack
57 of either functionality or convenience.
60 @strong{Incompatible} plain packet format changes. Older versions are
61 not supported. @code{zlib} compression is replaced with
62 @code{Zstandard}, due to its speed and efficiency, despite library
63 version is not mature enough.
66 Ability to call remote nodes via pipe call of external command, not only
70 @command{nncp-cfgnew} generates configuration file with many
71 comments. @option{-nocomments} option can be used for an old
75 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
76 avoid possible collisions with @file{.nncp.chunkCTR}.
79 Ability to override process umask through configuration file option.
82 Files and directories are created with 666/777 permissions by default,
83 allowing control with @command{umask}.
89 Full usage of go modules for dependencies management
90 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
93 Forbid any later GNU GPL version autousage
94 (project's licence now is GNU GPLv3-only).
101 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
109 @strong{Incompatible} encrypted and eblob packet format change: AEAD
110 encryption mode with 128 KiB blocks is used now, because previously
111 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
112 decrypted data to external command. Older versions are not supported.
115 Available free space checking before copying in @command{nncp-xfer},
116 @command{nncp-daemon}, @command{nncp-call(er)}.
119 @command{nncp-call} has ability only to list packets on remote node,
120 without their transmission.
123 @command{nncp-call} has ability to transfer only specified packets.
126 Workability of @option{xxrate} preference in @option{calls}
127 configuration file section.
130 Dependant libraries are updated.
136 Begin using of @code{go.mod} subsystem.
143 @item @command{nncp-daemon} can be run as @command{inetd}-service.
151 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
152 if @file{.seen} exists and treat it like file was already downloaded.
153 Possibly it was transferred out-of-bound and remote side needs to be
157 If higher priority packet is spooled, then @command{nncp-daemon} will
158 queue its sending first, interrupting lower priority transmissions.
161 Simple packet rate limiter added to online-related tools
162 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
165 Ability to specify niceness with symbolic notation:
166 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
169 Changed default niceness levels:
170 for @command{nncp-exec} from 64 to 96,
171 for @command{nncp-freq} from 64 to 160,
172 for @command{nncp-file} from 196 to 224.
180 @strong{Incompatible} @emph{bundle} archive format changes and
181 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
182 valid tar archives, but Go 1.9 made them invalid because of long paths
183 inside. NNCP accidentally was dependant on that bug. Explicit adding of
184 @file{NNCP/} directory in archive restores workability with valid tar
192 Ability to disable relaying at all using @verb{|-via -|} command line option.
200 @strong{Incompatible} plain packet format changes. Older versions are
204 Ability to queue remote command execution, by configuring @option{exec}
205 option in configuration file and using @command{nncp-exec} command:
208 @command{nncp-mail} command is replaced with more flexible
209 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
210 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
212 @option{sendmail} configuration file option is replaced with
213 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
214 @verb{|exec: sendmail: [...]|}.
218 Ability to override @option{via} configuration option for destination
219 node via @option{-via} command line option for following commands:
220 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
223 Chunked files, having size less than specified chunk size, will be sent
224 as an ordinary single file.
227 Exec commands are invoked with additional @env{NNCP_NICE} and
228 @env{NNCP_SELF} environment variables.
231 Files, that are sent as a reply to freq, have niceness level taken from
232 the freq packet. You can set desired niceness during @command{nncp-freq}
233 invocation using @option{-replynice} option.
236 @command{nncp-toss} command can ignore specified packet types during
237 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
241 @command{nncp-file} command uses
242 @option{FreqMinSize}/@option{FreqChunked} configuration file options
243 for @option{-minsize}/@option{-chunked} by default. You can turn this
244 off by specifying zero value.
253 @strong{Incompatible} encrypted/eblob packet format changes. Older
254 versions are not supported.
257 Twofish encryption algorithm is replaced with ChaCha20. It is much more
258 faster. One cryptographic primitive less.
261 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
262 another cryptographic primitive less (assuming that BLAKE2X is nearly
263 identical to BLAKE2).
272 @strong{Incompatible} encrypted packet format changes. Older versions
276 @command{nncp-bundle} command can either create stream of encrypted
277 packets, or digest it. It is useful when dealing with stdin/stdout based
278 transmission methods (like writing to CD-ROM without intermediate
279 prepared ISO image and working with tape drives).
282 @command{nncp-toss} is able to create @file{.seen} files preventing
283 duplicate packets receiving.
286 Single background checksum verifier worker is allowed in
287 @command{nncp-call}. This is helpful when thousands of small inbound
288 packets could create many goroutines.
291 Ability to override path to spool directory and logfile through either
292 command line argument, or environment variable.
295 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
296 @file{.part}, @file{.lock} and temporary files.
301 @section Release 0.12
303 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
307 @section Release 0.11
309 @item @command{nncp-stat}'s command output is sorted by node name.
313 @section Release 0.10
316 @command{nncp-freq}'s @file{DST} argument is optional now. Last
317 @file{SRC} path's element will be used by default.
324 Fix @option{-rx}/@option{-tx} arguments processing in
325 @command{nncp-call} command. They were ignored.
332 Little bugfix in @command{nncp-file} command, where @option{-minsize}
333 option for unchunked transfer was not in KiBs, but in bytes.
341 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
342 temporary file for that.
345 Chunked files transmission appeared with corresponding
346 @command{nncp-reass} command and @option{freqchunked} configuration file
347 entry. Useful for transferring big files over small storage devices.
350 @option{freqminsize} configuration file option, analogue to
351 @option{-minsize} one.
354 @command{nncp-xfer}'s @option{-force} option is renamed to
355 @option{-mkdir} for clarity.
358 @option{-minsize} option is specified in KiBs, not bytes, for
362 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
363 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
364 common prefix and are grouped together for convenience.
367 @command{nncp-cfgenc} command appeared, allowing configuration file
368 encryption/decryption, for keeping it safe without any either OpenPGP or
372 Cryptographic libraries (dependencies) are updated.
379 @item Small @command{nncp-rm} command appeared.
380 @item Cryptographic libraries (dependencies) are updated.
387 Trivial small fix in default niceness level of @command{nncp-file}
388 and @command{nncp-freq} commands.
396 Small fix in @command{nncp-call}, @command{nncp-caller},
397 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
401 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
402 and more convenient to use.
405 @command{nncp-mincfg} command appeared: helper allowing to create
406 minimalistic stripped down configuration file without private keys, that
407 is useful during @command{nncp-xfer} usage.
414 @item Fixed compatibility with Go 1.6.
422 @strong{Incompatible} packet's format change (magic number is changed
423 too): size field is encrypted and is not send in plaintext anymore.
426 @option{-minsize} option gives ability to automatically pad outgoing
427 packets to specified minimal size.
430 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
431 always check new @emph{tx} packets appearance in the background while
432 connected. Remote side is immediately notified.
435 @option{-onlinedeadline} option gives ability to configure timeout of
436 inactivity of online connection, when it could be disconnected. It could
437 be used to keep connection alive for a long time.
440 @option{-maxonlinetime} option gives ability to set maximal allowable
441 online connection aliveness time.
444 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
447 @command{nncp-pkt} command can decompress the data.