4 See also this page @ref{Новости, on russian}.
9 @item @strong{Incompatible} configuration file format change: YAML is
10 replaced with Hjson, due to its simplicity, without noticeable lack
11 of either functionality or convenience.
12 @strong{Incompatible} plain packet format changes. Older versions are
13 not supported. @code{zlib} compression is replaced with
14 @code{Zstandard}, due to its speed and efficiency, however library
15 version is not mature enough.
16 @item @command{nncp-cfgnew} generates configuration file with many
17 comments. @option{-nocomments} option can be used for an old
19 @item Duplicate filenames have @file{.CTR} suffix, instead of
20 @file{CTR}, to avoid possible collisions with @file{.nncp.chunkCTR}.
21 @item Files and directories are created with 666/777 permissions by
22 default, allowing control with @command{umask}.
23 @item Updated dependencies.
24 @item Full usage of go modules for dependencies management
25 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
32 Workability on GNU/Linux systems and Go 1.10 is fixed.
39 @strong{Incompatible} encrypted and eblob packet format change: AEAD
40 encryption mode with 128 KiB blocks is used now, because previously
41 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
42 decrypted data to external command. Older versions are not supported.
44 Available free space checking before copying in @command{nncp-xfer},
45 @command{nncp-daemon}, @command{nncp-call(er)}.
47 @command{nncp-call} has ability only to list packets on remote node,
48 without their transmission.
50 @command{nncp-call} has ability to transfer only specified packets.
52 Workability of @option{xxrate} preference in @option{calls}
53 configuration file section.
55 Dependant libraries are updated.
59 Begin using of @code{go.mod} subsystem.
66 @command{nncp-daemon} can be run as @command{inetd}-service.
73 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
74 if @file{.seen} exists and treat it like file was already downloaded.
75 Possibly it was transferred out-of-bound and remote side needs to be
78 If higher priority packet is spooled, then @command{nncp-daemon} will
79 queue its sending first, interrupting lower priority transmissions.
81 Simple packet rate limiter added to online-related tools
82 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
84 Ability to specify niceness with symbolic notation:
85 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
87 Changed default niceness levels:
88 for @command{nncp-exec} from 64 to 96,
89 for @command{nncp-freq} from 64 to 160,
90 for @command{nncp-file} from 196 to 224.
97 @strong{Incompatible} @emph{bundle} archive format changes and
98 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
99 valid tar archives, but Go 1.9 made them invalid because of long paths
100 inside. NNCP accidentally was dependant on that bug. Explicit adding of
101 @file{NNCP/} directory in archive restores workability with valid tar
109 Ability to disable relaying at all using @verb{|-via -|} command line option.
116 @strong{Incompatible} plain packet format changes. Older versions are
119 Ability to queue remote command execution, by configuring @option{exec}
120 option in configuration file and using @command{nncp-exec} command:
123 @command{nncp-mail} command is replaced with more flexible
124 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
125 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
127 @option{sendmail} configuration file option is replaced with
128 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
129 @verb{|exec: sendmail: [...]|}.
132 Ability to override @option{via} configuration option for destination
133 node via @option{-via} command line option for following commands:
134 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
136 Chunked files, having size less than specified chunk size, will be sent
137 as an ordinary single file.
139 Exec commands are invoked with additional @env{NNCP_NICE} and
140 @env{NNCP_SELF} environment variables.
142 Files, that are sent as a reply to freq, have niceness level taken from
143 the freq packet. You can set desired niceness during @command{nncp-freq}
144 invocation using @option{-replynice} option.
146 @command{nncp-toss} command can ignore specified packet types during
147 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
150 @command{nncp-file} command uses
151 @option{FreqMinSize}/@option{FreqChunked} configuration file options
152 for @option{-minsize}/@option{-chunked} by default. You can turn this
153 off by specifying zero value.
160 @strong{Incompatible} encrypted/eblob packet format changes. Older
161 versions are not supported.
163 Twofish encryption algorithm is replaced with ChaCha20. It is much more
164 faster. One cryptographic primitive less.
166 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
167 another cryptographic primitive less (assuming that BLAKE2X is nearly
168 identical to BLAKE2).
175 @strong{Incompatible} encrypted packet format changes. Older versions
178 @command{nncp-bundle} command can either create stream of encrypted
179 packets, or digest it. It is useful when dealing with stdin/stdout based
180 transmission methods (like writing to CD-ROM without intermediate
181 prepared ISO image and working with tape drives).
183 @command{nncp-toss} is able to create @file{.seen} files preventing
184 duplicate packets receiving.
186 Single background checksum verifier worker is allowed in
187 @command{nncp-call}. This is helpful when thousands of small inbound
188 packets could create many goroutines.
190 Ability to override path to spool directory and logfile through either
191 command line argument, or environment variable.
193 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
194 @file{.part}, @file{.lock} and temporary files.
198 @section Release 0.12
201 Sendmail command is called with @env{NNCP_SENDER} environment variable.
205 @section Release 0.11
208 @command{nncp-stat}'s command output is sorted by node name.
212 @section Release 0.10
215 @command{nncp-freq}'s @file{DST} argument is optional now. Last
216 @file{SRC} path's element will be used by default.
223 Fix @option{-rx}/@option{-tx} arguments processing in
224 @command{nncp-call} command. They were ignored.
231 Little bugfix in @command{nncp-file} command, where @option{-minsize}
232 option for unchunked transfer was not in KiBs, but in bytes.
239 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
240 temporary file for that.
243 Chunked files transmission appeared with corresponding
244 @command{nncp-reass} command and @option{freqchunked} configuration file
245 entry. Useful for transferring big files over small storage devices.
248 @option{freqminsize} configuration file option, analogue to
249 @option{-minsize} one.
252 @command{nncp-xfer}'s @option{-force} option is renamed to
253 @option{-mkdir} for clarity.
256 @option{-minsize} option is specified in KiBs, not bytes, for
260 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
261 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
262 common prefix and are grouped together for convenience.
265 @command{nncp-cfgenc} command appeared, allowing configuration file
266 encryption/decryption, for keeping it safe without any either OpenPGP or
270 Cryptographic libraries (dependencies) are updated.
276 @item Small @command{nncp-rm} command appeared.
277 @item Cryptographic libraries (dependencies) are updated.
283 @item Trivial small fix in default niceness level of @command{nncp-file}
284 and @command{nncp-freq} commands.
290 @item Small fix in @command{nncp-call}, @command{nncp-caller},
291 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
293 @item @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is
294 shorter and more convenient to use.
295 @item @command{nncp-mincfg} command appeared: helper allowing to create
296 minimalistic stripped down configuration file without private keys,
297 that is useful during @command{nncp-xfer} usage.
302 Fixed compatibility with Go 1.6.
307 @item @strong{Incompatible} packet's format change (magic number is
308 changed too): size field is encrypted and is not send in plaintext
310 @item @option{-minsize} option gives ability to automatically pad
311 outgoing packets to specified minimal size.
312 @item @command{nncp-daemon} and
313 @command{nncp-call}/@command{nncp-caller} always check new @emph{tx}
314 packets appearance in the background while connected. Remote side is
315 immediately notified.
316 @item @option{-onlinedeadline} option gives ability to configure timeout
317 of inactivity of online connection, when it could be disconnected. It
318 could be used to keep connection alive for a long time.
319 @item @option{-maxonlinetime} option gives ability to set maximal
320 allowable online connection aliveness time.
321 @item @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
322 @item @command{nncp-pkt} command can decompress the data.