4 See also this page @ref{Новости, on russian}.
11 @command{nncp-file} can send directories, automatically creating pax
17 @section Release 5.0.0
21 @strong{Incompatible} configuration file format change: YAML is
22 replaced with Hjson, due to its simplicity, without noticeable lack
23 of either functionality or convenience.
26 @strong{Incompatible} plain packet format changes. Older versions are
27 not supported. @code{zlib} compression is replaced with
28 @code{Zstandard}, due to its speed and efficiency, despite library
29 version is not mature enough.
32 Ability to call remote nodes via pipe call of external command, not only
36 @command{nncp-cfgnew} generates configuration file with many
37 comments. @option{-nocomments} option can be used for an old
41 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
42 avoid possible collisions with @file{.nncp.chunkCTR}.
45 Ability to override process umask through configuration file option.
48 Files and directories are created with 666/777 permissions by default,
49 allowing control with @command{umask}.
55 Full usage of go modules for dependencies management
56 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
59 Forbid any later GNU GPL version autousage
60 (project's licence now is GNU GPLv3-only).
67 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
75 @strong{Incompatible} encrypted and eblob packet format change: AEAD
76 encryption mode with 128 KiB blocks is used now, because previously
77 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
78 decrypted data to external command. Older versions are not supported.
81 Available free space checking before copying in @command{nncp-xfer},
82 @command{nncp-daemon}, @command{nncp-call(er)}.
85 @command{nncp-call} has ability only to list packets on remote node,
86 without their transmission.
89 @command{nncp-call} has ability to transfer only specified packets.
92 Workability of @option{xxrate} preference in @option{calls}
93 configuration file section.
96 Dependant libraries are updated.
102 Begin using of @code{go.mod} subsystem.
109 @item @command{nncp-daemon} can be run as @command{inetd}-service.
117 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
118 if @file{.seen} exists and treat it like file was already downloaded.
119 Possibly it was transferred out-of-bound and remote side needs to be
123 If higher priority packet is spooled, then @command{nncp-daemon} will
124 queue its sending first, interrupting lower priority transmissions.
127 Simple packet rate limiter added to online-related tools
128 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
131 Ability to specify niceness with symbolic notation:
132 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
135 Changed default niceness levels:
136 for @command{nncp-exec} from 64 to 96,
137 for @command{nncp-freq} from 64 to 160,
138 for @command{nncp-file} from 196 to 224.
146 @strong{Incompatible} @emph{bundle} archive format changes and
147 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
148 valid tar archives, but Go 1.9 made them invalid because of long paths
149 inside. NNCP accidentally was dependant on that bug. Explicit adding of
150 @file{NNCP/} directory in archive restores workability with valid tar
158 Ability to disable relaying at all using @verb{|-via -|} command line option.
166 @strong{Incompatible} plain packet format changes. Older versions are
170 Ability to queue remote command execution, by configuring @option{exec}
171 option in configuration file and using @command{nncp-exec} command:
174 @command{nncp-mail} command is replaced with more flexible
175 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
176 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
178 @option{sendmail} configuration file option is replaced with
179 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
180 @verb{|exec: sendmail: [...]|}.
184 Ability to override @option{via} configuration option for destination
185 node via @option{-via} command line option for following commands:
186 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
189 Chunked files, having size less than specified chunk size, will be sent
190 as an ordinary single file.
193 Exec commands are invoked with additional @env{NNCP_NICE} and
194 @env{NNCP_SELF} environment variables.
197 Files, that are sent as a reply to freq, have niceness level taken from
198 the freq packet. You can set desired niceness during @command{nncp-freq}
199 invocation using @option{-replynice} option.
202 @command{nncp-toss} command can ignore specified packet types during
203 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
207 @command{nncp-file} command uses
208 @option{FreqMinSize}/@option{FreqChunked} configuration file options
209 for @option{-minsize}/@option{-chunked} by default. You can turn this
210 off by specifying zero value.
219 @strong{Incompatible} encrypted/eblob packet format changes. Older
220 versions are not supported.
223 Twofish encryption algorithm is replaced with ChaCha20. It is much more
224 faster. One cryptographic primitive less.
227 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
228 another cryptographic primitive less (assuming that BLAKE2X is nearly
229 identical to BLAKE2).
238 @strong{Incompatible} encrypted packet format changes. Older versions
242 @command{nncp-bundle} command can either create stream of encrypted
243 packets, or digest it. It is useful when dealing with stdin/stdout based
244 transmission methods (like writing to CD-ROM without intermediate
245 prepared ISO image and working with tape drives).
248 @command{nncp-toss} is able to create @file{.seen} files preventing
249 duplicate packets receiving.
252 Single background checksum verifier worker is allowed in
253 @command{nncp-call}. This is helpful when thousands of small inbound
254 packets could create many goroutines.
257 Ability to override path to spool directory and logfile through either
258 command line argument, or environment variable.
261 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
262 @file{.part}, @file{.lock} and temporary files.
267 @section Release 0.12
269 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
273 @section Release 0.11
275 @item @command{nncp-stat}'s command output is sorted by node name.
279 @section Release 0.10
282 @command{nncp-freq}'s @file{DST} argument is optional now. Last
283 @file{SRC} path's element will be used by default.
290 Fix @option{-rx}/@option{-tx} arguments processing in
291 @command{nncp-call} command. They were ignored.
298 Little bugfix in @command{nncp-file} command, where @option{-minsize}
299 option for unchunked transfer was not in KiBs, but in bytes.
307 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
308 temporary file for that.
311 Chunked files transmission appeared with corresponding
312 @command{nncp-reass} command and @option{freqchunked} configuration file
313 entry. Useful for transferring big files over small storage devices.
316 @option{freqminsize} configuration file option, analogue to
317 @option{-minsize} one.
320 @command{nncp-xfer}'s @option{-force} option is renamed to
321 @option{-mkdir} for clarity.
324 @option{-minsize} option is specified in KiBs, not bytes, for
328 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
329 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
330 common prefix and are grouped together for convenience.
333 @command{nncp-cfgenc} command appeared, allowing configuration file
334 encryption/decryption, for keeping it safe without any either OpenPGP or
338 Cryptographic libraries (dependencies) are updated.
345 @item Small @command{nncp-rm} command appeared.
346 @item Cryptographic libraries (dependencies) are updated.
353 Trivial small fix in default niceness level of @command{nncp-file}
354 and @command{nncp-freq} commands.
362 Small fix in @command{nncp-call}, @command{nncp-caller},
363 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
367 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
368 and more convenient to use.
371 @command{nncp-mincfg} command appeared: helper allowing to create
372 minimalistic stripped down configuration file without private keys, that
373 is useful during @command{nncp-xfer} usage.
380 @item Fixed compatibility with Go 1.6.
388 @strong{Incompatible} packet's format change (magic number is changed
389 too): size field is encrypted and is not send in plaintext anymore.
392 @option{-minsize} option gives ability to automatically pad outgoing
393 packets to specified minimal size.
396 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
397 always check new @emph{tx} packets appearance in the background while
398 connected. Remote side is immediately notified.
401 @option{-onlinedeadline} option gives ability to configure timeout of
402 inactivity of online connection, when it could be disconnected. It could
403 be used to keep connection alive for a long time.
406 @option{-maxonlinetime} option gives ability to set maximal allowable
407 online connection aliveness time.
410 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
413 @command{nncp-pkt} command can decompress the data.