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: ...@}}.
23 Added @option{freq.maxsize} configuration file option, forbidding of
24 freq sending larger than specified size.
27 Ability to notify about successfully executed commands (exec) with
28 @option{notify.exec} configuration file option.
33 @section Release 5.0.0
37 @strong{Incompatible} configuration file format change: YAML is
38 replaced with Hjson, due to its simplicity, without noticeable lack
39 of either functionality or convenience.
42 @strong{Incompatible} plain packet format changes. Older versions are
43 not supported. @code{zlib} compression is replaced with
44 @code{Zstandard}, due to its speed and efficiency, despite library
45 version is not mature enough.
48 Ability to call remote nodes via pipe call of external command, not only
52 @command{nncp-cfgnew} generates configuration file with many
53 comments. @option{-nocomments} option can be used for an old
57 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
58 avoid possible collisions with @file{.nncp.chunkCTR}.
61 Ability to override process umask through configuration file option.
64 Files and directories are created with 666/777 permissions by default,
65 allowing control with @command{umask}.
71 Full usage of go modules for dependencies management
72 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
75 Forbid any later GNU GPL version autousage
76 (project's licence now is GNU GPLv3-only).
83 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
91 @strong{Incompatible} encrypted and eblob packet format change: AEAD
92 encryption mode with 128 KiB blocks is used now, because previously
93 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
94 decrypted data to external command. Older versions are not supported.
97 Available free space checking before copying in @command{nncp-xfer},
98 @command{nncp-daemon}, @command{nncp-call(er)}.
101 @command{nncp-call} has ability only to list packets on remote node,
102 without their transmission.
105 @command{nncp-call} has ability to transfer only specified packets.
108 Workability of @option{xxrate} preference in @option{calls}
109 configuration file section.
112 Dependant libraries are updated.
118 Begin using of @code{go.mod} subsystem.
125 @item @command{nncp-daemon} can be run as @command{inetd}-service.
133 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
134 if @file{.seen} exists and treat it like file was already downloaded.
135 Possibly it was transferred out-of-bound and remote side needs to be
139 If higher priority packet is spooled, then @command{nncp-daemon} will
140 queue its sending first, interrupting lower priority transmissions.
143 Simple packet rate limiter added to online-related tools
144 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
147 Ability to specify niceness with symbolic notation:
148 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
151 Changed default niceness levels:
152 for @command{nncp-exec} from 64 to 96,
153 for @command{nncp-freq} from 64 to 160,
154 for @command{nncp-file} from 196 to 224.
162 @strong{Incompatible} @emph{bundle} archive format changes and
163 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
164 valid tar archives, but Go 1.9 made them invalid because of long paths
165 inside. NNCP accidentally was dependant on that bug. Explicit adding of
166 @file{NNCP/} directory in archive restores workability with valid tar
174 Ability to disable relaying at all using @verb{|-via -|} command line option.
182 @strong{Incompatible} plain packet format changes. Older versions are
186 Ability to queue remote command execution, by configuring @option{exec}
187 option in configuration file and using @command{nncp-exec} command:
190 @command{nncp-mail} command is replaced with more flexible
191 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
192 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
194 @option{sendmail} configuration file option is replaced with
195 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
196 @verb{|exec: sendmail: [...]|}.
200 Ability to override @option{via} configuration option for destination
201 node via @option{-via} command line option for following commands:
202 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
205 Chunked files, having size less than specified chunk size, will be sent
206 as an ordinary single file.
209 Exec commands are invoked with additional @env{NNCP_NICE} and
210 @env{NNCP_SELF} environment variables.
213 Files, that are sent as a reply to freq, have niceness level taken from
214 the freq packet. You can set desired niceness during @command{nncp-freq}
215 invocation using @option{-replynice} option.
218 @command{nncp-toss} command can ignore specified packet types during
219 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
223 @command{nncp-file} command uses
224 @option{FreqMinSize}/@option{FreqChunked} configuration file options
225 for @option{-minsize}/@option{-chunked} by default. You can turn this
226 off by specifying zero value.
235 @strong{Incompatible} encrypted/eblob packet format changes. Older
236 versions are not supported.
239 Twofish encryption algorithm is replaced with ChaCha20. It is much more
240 faster. One cryptographic primitive less.
243 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
244 another cryptographic primitive less (assuming that BLAKE2X is nearly
245 identical to BLAKE2).
254 @strong{Incompatible} encrypted packet format changes. Older versions
258 @command{nncp-bundle} command can either create stream of encrypted
259 packets, or digest it. It is useful when dealing with stdin/stdout based
260 transmission methods (like writing to CD-ROM without intermediate
261 prepared ISO image and working with tape drives).
264 @command{nncp-toss} is able to create @file{.seen} files preventing
265 duplicate packets receiving.
268 Single background checksum verifier worker is allowed in
269 @command{nncp-call}. This is helpful when thousands of small inbound
270 packets could create many goroutines.
273 Ability to override path to spool directory and logfile through either
274 command line argument, or environment variable.
277 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
278 @file{.part}, @file{.lock} and temporary files.
283 @section Release 0.12
285 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
289 @section Release 0.11
291 @item @command{nncp-stat}'s command output is sorted by node name.
295 @section Release 0.10
298 @command{nncp-freq}'s @file{DST} argument is optional now. Last
299 @file{SRC} path's element will be used by default.
306 Fix @option{-rx}/@option{-tx} arguments processing in
307 @command{nncp-call} command. They were ignored.
314 Little bugfix in @command{nncp-file} command, where @option{-minsize}
315 option for unchunked transfer was not in KiBs, but in bytes.
323 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
324 temporary file for that.
327 Chunked files transmission appeared with corresponding
328 @command{nncp-reass} command and @option{freqchunked} configuration file
329 entry. Useful for transferring big files over small storage devices.
332 @option{freqminsize} configuration file option, analogue to
333 @option{-minsize} one.
336 @command{nncp-xfer}'s @option{-force} option is renamed to
337 @option{-mkdir} for clarity.
340 @option{-minsize} option is specified in KiBs, not bytes, for
344 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
345 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
346 common prefix and are grouped together for convenience.
349 @command{nncp-cfgenc} command appeared, allowing configuration file
350 encryption/decryption, for keeping it safe without any either OpenPGP or
354 Cryptographic libraries (dependencies) are updated.
361 @item Small @command{nncp-rm} command appeared.
362 @item Cryptographic libraries (dependencies) are updated.
369 Trivial small fix in default niceness level of @command{nncp-file}
370 and @command{nncp-freq} commands.
378 Small fix in @command{nncp-call}, @command{nncp-caller},
379 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
383 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
384 and more convenient to use.
387 @command{nncp-mincfg} command appeared: helper allowing to create
388 minimalistic stripped down configuration file without private keys, that
389 is useful during @command{nncp-xfer} usage.
396 @item Fixed compatibility with Go 1.6.
404 @strong{Incompatible} packet's format change (magic number is changed
405 too): size field is encrypted and is not send in plaintext anymore.
408 @option{-minsize} option gives ability to automatically pad outgoing
409 packets to specified minimal size.
412 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
413 always check new @emph{tx} packets appearance in the background while
414 connected. Remote side is immediately notified.
417 @option{-onlinedeadline} option gives ability to configure timeout of
418 inactivity of online connection, when it could be disconnected. It could
419 be used to keep connection alive for a long time.
422 @option{-maxonlinetime} option gives ability to set maximal allowable
423 online connection aliveness time.
426 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
429 @command{nncp-pkt} command can decompress the data.