ncdc 1.14 released
This commit is contained in:
parent
971c5ad51d
commit
e5fe5c859a
8 changed files with 103 additions and 17 deletions
12
dat/ncdc
12
dat/ncdc
|
|
@ -10,17 +10,21 @@ ncurses interface.
|
|||
|
||||
=item Latest version
|
||||
|
||||
1.13 ([dllink ncdc-1.13.tar.gz download]
|
||||
1.14 ([dllink ncdc-1.14.tar.gz download]
|
||||
- L<changes|http://dev.yorhel.nl/ncdc/changes>
|
||||
- L<mirror|https://sourceforge.net/projects/ncdc/files/ncdc/>)
|
||||
|
||||
Convenient static binaries for Linux:
|
||||
L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.13.tar.gz> -
|
||||
L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.13.tar.gz> -
|
||||
L<ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.13.tar.gz>.
|
||||
L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.14.tar.gz> -
|
||||
L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.14.tar.gz> -
|
||||
L<ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.14.tar.gz>.
|
||||
Check the L<installation instructions|http://dev.yorhel.nl/ncdc/install> for
|
||||
more info.
|
||||
|
||||
B<Note:> Compilation against glib versions older than 2.26.0 is broken in the
|
||||
1.14 release. Use the binaries above, compile the git version, or apply L<this
|
||||
patch|http://g.blicky.net/ncdc.git/commit?id=e6e0bc4> if you are affected.
|
||||
|
||||
=item Development version
|
||||
|
||||
The latest development version is available from git and can be cloned using
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
1.14 - 2012-11-04
|
||||
- Added BLOM support for ADC ('/hset adc_blom true' to enable it)
|
||||
- Added section on connection settings to man page
|
||||
- Fix incorrect char signedness assumption on ARM
|
||||
- Fix possible crash when downloading small files
|
||||
- Fix hub counts reported to the hub on login on ADC
|
||||
- Fix local time display issue when built against musl (0.9.6)
|
||||
- Removed legacy ncdc-db-upgrade utility
|
||||
|
||||
1.13 - 2012-08-16
|
||||
- zlib library added as a required dependency
|
||||
- Purge empty directories from share by default
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@ compiling and/or installing it, I also offer statically linked binaries:
|
|||
|
||||
=over
|
||||
|
||||
=item * L<Linux, 64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.13.tar.gz>
|
||||
=item * L<Linux, 64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.14.tar.gz>
|
||||
|
||||
=item * L<Linux, 32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.13.tar.gz>
|
||||
=item * L<Linux, 32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.14.tar.gz>
|
||||
|
||||
=item * L<Linux, ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.13.tar.gz>
|
||||
=item * L<Linux, ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.14.tar.gz>
|
||||
|
||||
=back
|
||||
|
||||
|
|
@ -119,9 +119,9 @@ First install some required packages (as root):
|
|||
|
||||
Then, fetch the ncdc source tarball, extract and build as follows:
|
||||
|
||||
wget http://dev.yorhel.nl/download/ncdc-1.13.tar.gz
|
||||
tar -xf ncdc-1.13.tar.gz
|
||||
cd ncdc-1.13
|
||||
wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz
|
||||
tar -xf ncdc-1.14.tar.gz
|
||||
cd ncdc-1.14
|
||||
export PATH="$PATH:/usr/perl5/5.10.0/bin"
|
||||
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
|
||||
make
|
||||
|
|
@ -169,9 +169,9 @@ required libraries:
|
|||
|
||||
Then run the following commands to download and install ncdc:
|
||||
|
||||
wget http://dev.yorhel.nl/download/ncdc-1.13.tar.gz
|
||||
tar -xf ncdc-1.13.tar.gz
|
||||
cd ncdc-1.13
|
||||
wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz
|
||||
tar -xf ncdc-1.14.tar.gz
|
||||
cd ncdc-1.14
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
sudo make install
|
||||
|
|
@ -213,8 +213,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 http://dev.yorhel.nl/download/ncdc-1.13.tar.gz
|
||||
tar -xf ncdc-1.13.tar.gz
|
||||
cd ncdc-1.13
|
||||
wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz
|
||||
tar -xf ncdc-1.14.tar.gz
|
||||
cd ncdc-1.14
|
||||
./configure --prefix=/usr
|
||||
make install
|
||||
|
|
|
|||
55
dat/ncdc-man
55
dat/ncdc-man
|
|
@ -33,7 +33,6 @@ to setup some basic information and settings:
|
|||
And if you have a direct connection to the internet or if your router allows
|
||||
port forwarding, you may also want to enable active mode:
|
||||
|
||||
/set active_ip 13.33.33.7
|
||||
/set active_port 34194
|
||||
/set active true
|
||||
|
||||
|
|
@ -89,6 +88,56 @@ Display ncdc version.
|
|||
=back
|
||||
|
||||
|
||||
=head1 GETTING CONNECTED
|
||||
|
||||
As with most file sharing clients, ncdc supports two modes of being connected:
|
||||
I<active> and I<passive>. In passive mode (the default), you can connect to the
|
||||
outside world but nobody can connect (directly) to you. When passive, you will
|
||||
only be able to transfer files with people who are in active mode. In active
|
||||
mode, however, you will have some port open to the rest of the network to which
|
||||
other clients can connect. When active, you will be able to transfer files with
|
||||
everyone and you may get more and faster search results. Configuring active
|
||||
mode is therefore recommended.
|
||||
|
||||
In many setups, all you need to do to switch to active mode is to set a TCP/UDP
|
||||
port and enable the C<active> setting:
|
||||
|
||||
/set active_port 34194
|
||||
/set active true
|
||||
|
||||
When you connect to a hub, the status bar will tell you whether you are active
|
||||
or passive on that particular hub, and what IP address is being used to allow
|
||||
others to connect to you. For most hubs, your IP address will be detected
|
||||
automatically, but in the event that this fails, you can also set it yourself:
|
||||
|
||||
/set active_ip 13.33.33.7
|
||||
|
||||
If you are behind a NAT or firewall, you have to ensure that the port you
|
||||
configured is somehow allowed and/or forwarded. You have a lot of freedom in
|
||||
configuring ports within ncdc: The C<active_udp_port> setting is used for
|
||||
incoming UDP messages, the C<active_tls_port> setting is used for incoming
|
||||
encrypted TCP connections, and the C<active_port> setting is used as a default
|
||||
for the other two and for all incoming and unencrypted connections. Unlike
|
||||
other currently available Direct Connect clients, ncdc allows the TLS and TCP
|
||||
port to be the same, which tends to ease NAT configuration.
|
||||
|
||||
The C</listen> command can tell you which ports it expects to be forwarded, and
|
||||
for which hubs these ports will be used. It only lists hubs on which you are
|
||||
currently active, so the output will change when you open or close a hub
|
||||
connection.
|
||||
|
||||
If you have multiple network interfaces, you can force ncdc to use only a
|
||||
single interface by setting the C<local_address> setting to the address of that
|
||||
interface. This affects both outgoing connections (they will be forced to go
|
||||
through the configured interface) and incoming connections (the ports will be
|
||||
bound to the configured interface).
|
||||
|
||||
All of the previously mentioned settings can be set globally (with C</set>) and
|
||||
on a per-hub basis (with C</hset>). This allows you to be active on an internet
|
||||
hub and a LAN-only hub at the same time. It also allows you to be active in one
|
||||
hub while passive in another, or to use different ports for each hub.
|
||||
|
||||
|
||||
=head1 INTERACTIVE COMMANDS
|
||||
|
||||
The following is the list of commands that can be used within ncdc. The /help
|
||||
|
|
@ -339,6 +388,10 @@ The listen port for incoming TLS connections in active mode. Incoming TLS connec
|
|||
|
||||
The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number of `active_port' is not set.
|
||||
|
||||
=item B<adc_blom> <boolean>
|
||||
|
||||
Whether to support the BLOM extension on ADC hubs. This may decrease the bandwidth usage on the hub connection, in exchange for a bit of computational overhead. Some hubs require this setting to be enabled. This setting requires a reconnect with the hub to be active.
|
||||
|
||||
=item B<autoconnect> <boolean>
|
||||
|
||||
Set to true to automatically connect to the current hub when ncdc starts up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue