4 See also this page @ref{Новости, on russian}.
11 @command{nncp-file} can send directories, automatically creating pax
15 Free disk space is checked during outbound packets creation.
18 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
19 file options replaced with the structure:
20 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
25 @section Release 5.0.0
29 @strong{Incompatible} configuration file format change: YAML is
30 replaced with Hjson, due to its simplicity, without noticeable lack
31 of either functionality or convenience.
34 @strong{Incompatible} plain packet format changes. Older versions are
35 not supported. @code{zlib} compression is replaced with
36 @code{Zstandard}, due to its speed and efficiency, despite library
37 version is not mature enough.
40 Ability to call remote nodes via pipe call of external command, not only
44 @command{nncp-cfgnew} generates configuration file with many
45 comments. @option{-nocomments} option can be used for an old
49 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
50 avoid possible collisions with @file{.nncp.chunkCTR}.
53 Ability to override process umask through configuration file option.
56 Files and directories are created with 666/777 permissions by default,
57 allowing control with @command{umask}.
63 Full usage of go modules for dependencies management
64 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
67 Forbid any later GNU GPL version autousage
68 (project's licence now is GNU GPLv3-only).
75 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
83 @strong{Incompatible} encrypted and eblob packet format change: AEAD
84 encryption mode with 128 KiB blocks is used now, because previously
85 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
86 decrypted data to external command. Older versions are not supported.
89 Available free space checking before copying in @command{nncp-xfer},
90 @command{nncp-daemon}, @command{nncp-call(er)}.
93 @command{nncp-call} has ability only to list packets on remote node,
94 without their transmission.
97 @command{nncp-call} has ability to transfer only specified packets.
100 Workability of @option{xxrate} preference in @option{calls}
101 configuration file section.
104 Dependant libraries are updated.
110 Begin using of @code{go.mod} subsystem.
117 @item @command{nncp-daemon} can be run as @command{inetd}-service.
125 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
126 if @file{.seen} exists and treat it like file was already downloaded.
127 Possibly it was transferred out-of-bound and remote side needs to be
131 If higher priority packet is spooled, then @command{nncp-daemon} will
132 queue its sending first, interrupting lower priority transmissions.
135 Simple packet rate limiter added to online-related tools
136 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
139 Ability to specify niceness with symbolic notation:
140 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
143 Changed default niceness levels:
144 for @command{nncp-exec} from 64 to 96,
145 for @command{nncp-freq} from 64 to 160,
146 for @command{nncp-file} from 196 to 224.
154 @strong{Incompatible} @emph{bundle} archive format changes and
155 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
156 valid tar archives, but Go 1.9 made them invalid because of long paths
157 inside. NNCP accidentally was dependant on that bug. Explicit adding of
158 @file{NNCP/} directory in archive restores workability with valid tar
166 Ability to disable relaying at all using @verb{|-via -|} command line option.
174 @strong{Incompatible} plain packet format changes. Older versions are
178 Ability to queue remote command execution, by configuring @option{exec}
179 option in configuration file and using @command{nncp-exec} command:
182 @command{nncp-mail} command is replaced with more flexible
183 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
184 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
186 @option{sendmail} configuration file option is replaced with
187 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
188 @verb{|exec: sendmail: [...]|}.
192 Ability to override @option{via} configuration option for destination
193 node via @option{-via} command line option for following commands:
194 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
197 Chunked files, having size less than specified chunk size, will be sent
198 as an ordinary single file.
201 Exec commands are invoked with additional @env{NNCP_NICE} and
202 @env{NNCP_SELF} environment variables.
205 Files, that are sent as a reply to freq, have niceness level taken from
206 the freq packet. You can set desired niceness during @command{nncp-freq}
207 invocation using @option{-replynice} option.
210 @command{nncp-toss} command can ignore specified packet types during
211 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
215 @command{nncp-file} command uses
216 @option{FreqMinSize}/@option{FreqChunked} configuration file options
217 for @option{-minsize}/@option{-chunked} by default. You can turn this
218 off by specifying zero value.
227 @strong{Incompatible} encrypted/eblob packet format changes. Older
228 versions are not supported.
231 Twofish encryption algorithm is replaced with ChaCha20. It is much more
232 faster. One cryptographic primitive less.
235 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
236 another cryptographic primitive less (assuming that BLAKE2X is nearly
237 identical to BLAKE2).
246 @strong{Incompatible} encrypted packet format changes. Older versions
250 @command{nncp-bundle} command can either create stream of encrypted
251 packets, or digest it. It is useful when dealing with stdin/stdout based
252 transmission methods (like writing to CD-ROM without intermediate
253 prepared ISO image and working with tape drives).
256 @command{nncp-toss} is able to create @file{.seen} files preventing
257 duplicate packets receiving.
260 Single background checksum verifier worker is allowed in
261 @command{nncp-call}. This is helpful when thousands of small inbound
262 packets could create many goroutines.
265 Ability to override path to spool directory and logfile through either
266 command line argument, or environment variable.
269 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
270 @file{.part}, @file{.lock} and temporary files.
275 @section Release 0.12
277 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
281 @section Release 0.11
283 @item @command{nncp-stat}'s command output is sorted by node name.
287 @section Release 0.10
290 @command{nncp-freq}'s @file{DST} argument is optional now. Last
291 @file{SRC} path's element will be used by default.
298 Fix @option{-rx}/@option{-tx} arguments processing in
299 @command{nncp-call} command. They were ignored.
306 Little bugfix in @command{nncp-file} command, where @option{-minsize}
307 option for unchunked transfer was not in KiBs, but in bytes.
315 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
316 temporary file for that.
319 Chunked files transmission appeared with corresponding
320 @command{nncp-reass} command and @option{freqchunked} configuration file
321 entry. Useful for transferring big files over small storage devices.
324 @option{freqminsize} configuration file option, analogue to
325 @option{-minsize} one.
328 @command{nncp-xfer}'s @option{-force} option is renamed to
329 @option{-mkdir} for clarity.
332 @option{-minsize} option is specified in KiBs, not bytes, for
336 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
337 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
338 common prefix and are grouped together for convenience.
341 @command{nncp-cfgenc} command appeared, allowing configuration file
342 encryption/decryption, for keeping it safe without any either OpenPGP or
346 Cryptographic libraries (dependencies) are updated.
353 @item Small @command{nncp-rm} command appeared.
354 @item Cryptographic libraries (dependencies) are updated.
361 Trivial small fix in default niceness level of @command{nncp-file}
362 and @command{nncp-freq} commands.
370 Small fix in @command{nncp-call}, @command{nncp-caller},
371 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
375 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
376 and more convenient to use.
379 @command{nncp-mincfg} command appeared: helper allowing to create
380 minimalistic stripped down configuration file without private keys, that
381 is useful during @command{nncp-xfer} usage.
388 @item Fixed compatibility with Go 1.6.
396 @strong{Incompatible} packet's format change (magic number is changed
397 too): size field is encrypted and is not send in plaintext anymore.
400 @option{-minsize} option gives ability to automatically pad outgoing
401 packets to specified minimal size.
404 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
405 always check new @emph{tx} packets appearance in the background while
406 connected. Remote side is immediately notified.
409 @option{-onlinedeadline} option gives ability to configure timeout of
410 inactivity of online connection, when it could be disconnected. It could
411 be used to keep connection alive for a long time.
414 @option{-maxonlinetime} option gives ability to set maximal allowable
415 online connection aliveness time.
418 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
421 @command{nncp-pkt} command can decompress the data.