Advanced Use

:warning: Note: This page is still heavily under construction! It will most likely change at great frequency!

Favourite Hubs

The Favourites Hubs feature allows you to keep a list of hubs that you visit most often. The Favourite Hubs window is shown here. This feature also enables you to use different nicknames on different hubs as well as store any passwords required for those hubs.

Favourite Hub PropertiesAdding a favourite

A hub can be added as a favourite in any of the following ways:

  • Typing /fav in the hub's window.
  • Right clicking on the hub's tab and choosing "Add To Favourites".
  • Manually entering the hub's details in the Favourite Hubs window.

If you are already in a hub, then the first two ways are the easiest. If however you need (or want) to enter a hub manually, click on the Add button in the Favourite Hubs window. This will bring up the hub properties window which is shown on the right.

The only field that is always needed is Address which will hold the address of the hub. Name and Description are optional. If you would like to use a different name while in the hub (due to being registered, or hub naming conventions) then enter the relevant information in the Identification section.


Favourite Users

The Favourites Users feature allows you to keep a list of your favourite users. The Favourite Users window is shown here. This window will keep track of when and where the user was last seen. It will also allow you to automatically grant particular users slots if you wish.

Adding a favourite

A favourite user can be added by clicking on "Add To Favorites" in the context (right click) menu of any of the following sections:

  • The user list in a hub window
  • The transfer window
  • Search results in the search window

Unlike a favourite hub, a favourite user cannot be manually added.

Once a favourite user has been added, a description can be added for them selecting Properties after right clicking on the user. The description window is shown below.

Favourite User Description


Active mode and Passive mode

Active mode and Passive mode are two different connection methods that determine how you connect to other users, in order to download files.

Passive mode is the simplest mode to use and should work under almost all circumstances. This simplicity comes at a price though. Passive mode has limitations in connectivity (passive users cannot connect to other passive users) and also causes strain on hubs as all passive mode communication must go through the hub. This mode is therefore a compatibility mode and should only ever be used if you cannot use active mode.

Active method is the "standard" way of connecting to others but depending on your network topology, it may be difficult to enable. This will be covered in a later section.

Comparison

The following table shows the differences between the two connection modes.

  Active Mode Passive Mode
Search requests Directly to/from other users Routed via hub
Search results Maximum of 10 from each user Maximum of 5 from each user
Connection limitations None Passive users cannot connect to other Passive users
Configuration needed Router configuration needed, if one is used None

Configuring Active mode

Due to the large number of network topologies that exist, giving universal details of how to configure Active mode is difficult. I will therefore describe the three most common topologies and give instructions for them.

Topology A

This consists of a single computer connected directly to the internet via a "modem" (analog, ISDN, DSL, etc) with either a dynamic or static IP address.

Topology A

This topology generally does not need any configuration other than enabling Active mode in Settings → Connection Settings. DC++ will automatically detect your IP address and use an available port.

If you use a firewall, you may need to choose a particular port for DC++ to use. Pick any free port number between 1024 and 65535 and enter this into Settings → Connection Settings. In your firewall, allow DC++ to accept connections on that port.

Topology B

This consists of a computer as part of a network that accesses the Internet via a router. All computers on the network have static, routable IP addresses. These addresses are publicly accessible and the router is not providing any address translation service such as NAT. This topology is most likely in university/work scenarios.

Topology B

The active mode configuration for this topology is the same as topology A.

Topology C

This consists of a computer either as a part of a network or by itself, that accesses the Internet via a router or gateway device that has NAT (Network Address Translation) capabilities. NAT is an addressing system that allows a network of computers to exist behind a single IP address. The computers within the network will all have non-routable private IP addresses (addresses of the form 192.168.*.*, 10.*.*.* or 172.[16-31].*.*).

Home networks will most likely be of this type. Some office networks may also use this topology.

Topology C

Active mode configuration for this topology requires two steps:

  • Configuring port forwarding in the router/gateway.
  • Configuring the Active mode settings in DC++.
Configuring port forwarding

Unfortunately this process is called different things by different vendors. It can be called port mapping, virtual servers as well as various other similar names. No matter the name though, the concept is the same throughout. The idea is to access the router settings and setting up a rule to ensure that all connections made to a specific port of the router (port number chosen by you) get forwarded to a particular machine on the network. This machine will be the one running DC++.

More detailed instructions for the process and examples for a number of routers can be found here and here.

Configuring DC++ settings

Under Settings → Connection Settings, active mode needs to be selected. The external IP address needs to be entered. This can be obtained from the router or via a website like www.whatismyip.com. A port number also needs to be entered. This is the port that was forwarded in the previous section.

More topologies to be added.