ncdc 1.25

This commit is contained in:
Yorhel 2025-03-04 18:45:21 +01:00
parent 5acc8eee92
commit aab7836077
28 changed files with 149 additions and 33 deletions

View file

@ -27,10 +27,10 @@ this page are of course highly welcomed as well. :-)
If you just want to get ncdc running without going through the trouble of
compiling and/or installing it, I also offer statically linked binaries:
- [Linux, x86-64](/download/ncdc-linux-x86_64-1.24.tar.gz)
- [Linux, i486](/download/ncdc-linux-i486-1.24.tar.gz)
- [Linux, ARM](/download/ncdc-linux-arm-1.24.tar.gz)
- [Linux, AArch64](/download/ncdc-linux-aarch64-1.24.tar.gz)
- [Linux, x86-64](/download/ncdc-linux-x86_64-1.25.tar.gz)
- [Linux, i486](/download/ncdc-linux-i486-1.25.tar.gz)
- [Linux, ARM](/download/ncdc-linux-arm-1.25.tar.gz)
- [Linux, AArch64](/download/ncdc-linux-aarch64-1.25.tar.gz)
To use them, simply download and extract the tarball, and then run `./ncdc` on
the command line.
@ -42,6 +42,9 @@ architecture, please bug me and I'll see what I can do.
# System-specific instructions
(These instructions have not been tested in a long time, there's a good chance
they may not work anymore)
## Android
An [convenient installer](http://code.ivysaur.me/ncdcinstaller.html) is
@ -88,9 +91,9 @@ Ncdc is available in [Homebrew](https://formulae.brew.sh/formula/ncdc).
Compile & install from source:
doas pkg_add -i glib2
ftp https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar zxvf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
ftp https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar zxvf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure NCURSES_CFLAGS="-lncurses" NCURSES_LIBS="-lncursesw"\
CPPFLAGS="-I/usr/include -I/usr/local/include"\
LDFLAGS="-L/usr/lib -L/usr/local/lib"
@ -107,9 +110,9 @@ First install some required packages (as root):
Then, fetch the ncdc source tarball, extract and build as follows:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
export PATH="$PATH:/usr/perl5/5.10.0/bin"
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
make
@ -140,9 +143,9 @@ install the required libraries:
Then run the following commands to download and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure --prefix=/usr
make
sudo make install
@ -168,8 +171,8 @@ website](http://cygwin.com/) and use it to install the following packages:
Then open a Cygwin terminal and run the following commands to download,
compile, and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure --prefix=/usr
make install

View file

@ -501,7 +501,7 @@ Tell the OS to flush the file (disk) cache for file contents read while hashing
=item B<geoip_cc> <path>|disabled
Path to the GeoIP2 Country database file (GeoLite2-Country.mmdb), or 'disabled' to disable GeoIP lookups. The database can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/.
Path to the GeoIP2 Country database file (GeoLite2-Country.mmdb), or 'disabled' to disable GeoIP lookups through maxmind. The database can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/.
=item B<hash_rate> <speed>
@ -521,6 +521,10 @@ Specifies the address of the local network interface to use for connecting to th
If no IPv4 address is specified, '0.0.0.0' is added automatically. Similarly, if no IPv6 address is specified, '::' is added automatically. The address that is actually used depends on the IP version actually used. That is, if you're on an IPv6 hub, then ncdc will listen on the specified IPv6 address. Note that, even if the hub you're on is on IPv6, ncdc may still try to connect to another client over IPv4, at which point the socket will be bound to the configured IPv4 address.
=item B<location_db> <path>|disabled
Path to the IPFire location database, or 'disabled' to disable GeoIP lookups through libloc. The database can be downloaded from https://www.ipfire.org/location/install.
=item B<log_debug> <boolean>
Log debug messages to stderr.log in the session directory. It is highly recommended to enable this setting if you wish to debug or hack ncdc. Be warned, however, that this may generate a lot of data if you're connected to a large hub.
@ -994,7 +998,7 @@ see the same uploaded file several times with a different file offset.
=head1 LICENSE
Copyright (C) Yoran Heling <projects@yorhel.nl>
Copyright (C) Yorhel <projects@yorhel.nl>
ncdc is distributed under the MIT license, please read the COPYING file for
more information.
@ -1008,6 +1012,6 @@ support and discussions.
=head1 AUTHOR
ncdc is written by Yoran Heling <projects@yorhel.nl>
ncdc is written by Yorhel <projects@yorhel.nl>
Web: L<https://dev.yorhel.nl/ncdc>