Hosting Hub and using DC++ at the same time?

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
timiano
Posts: 4
Joined: 2003-11-11 20:36
Contact:

Hosting Hub and using DC++ at the same time?

Post by timiano » 2003-11-16 12:55

Hi all,

Here's my situ. I'm hosting a hub on my internal network listening on 411. Traffic is forwarded using smoothie from external interface to internal address of server with hub. All works lovely, got guys on there, we're chatting, seeing each other etc etc, nice!

I'm running DC++ on a laptop on the same network. The client is set up in active mode, with the external interface of the smoothie firewall entered into the client settings on port 16120. Smoothie is configured to redirect 16120 on the external interface to 16120 on my laptop nic. All out bound traffic is enabled.

So far I'm only in testing stages before my hub goes live, so I've got one mate on his connection joining into my hub, and we're testing between each other.

What I can do!

I can download file list of remote user on my hub
I can download files from user list (This to my indicates that the TCP forwarding is doing its job at his end)
Remote user on my hub can download my file list
Remote user on my hub can search for files off of me (and UDP at my end seems to working dandy too)
(This all sounds great yeh? But.......................)

What I can't do!!!???

Search for files on the remote user from my client?

Is there a limitation of hosting your own hub and running the client behind the same network?

In face what part does the hub play in searching? I was under the impression that the hub was just like a directory service, in that its just a big ass address book saying, hi I'm on this address and port, and then any searching or downloading is negotiated directly with the information that is published on the hub (by connecting to it). Correct me if I'm wrong.

Thanks in advance for anyanswers you may have

Timiano

TheNOP
Posts: 275
Joined: 2003-07-07 21:41
Location: Quebec

Post by TheNOP » 2003-11-16 13:34

"smoothie" is also forwarding UDP to the hub?

hubs broadcast search requests to all users.
TheNOP

Have you read the FAQ?
Or the sticky ? It might give you idea.

timiano
Posts: 4
Joined: 2003-11-11 20:36
Contact:

Post by timiano » 2003-11-16 14:19

As in port 411 UDP to hub?

Thanks

Timiano

TheNOP
Posts: 275
Joined: 2003-07-07 21:41
Location: Quebec

Post by TheNOP » 2003-11-16 16:23

timiano wrote:As in port 411 UDP to hub?

Thanks

Timiano
yes
hub also need to listen to UDP to work correctly... i think... this was an assomption from my part.
but it's worth a try.

can someone confirm this?
as i'm not sure anymore if hub<-->client need UDP :?
TheNOP

Have you read the FAQ?
Or the sticky ? It might give you idea.

HaArD
Posts: 147
Joined: 2003-01-04 02:20
Location: Canada http://hub-link.sf.net
Contact:

Post by HaArD » 2003-11-16 18:58

This has come up a lot for anyone hosting a hub behind a router....

When you connect to your hub, it sees you LAN IP 192.168.xxx.xxx but your ACTIVE search requests say to send the results to your INTENET IP so the hub won't send them out.

You could switch to PASSIVE but that's not good enough, so here's a script that solves it. Install it in the scripts dir and reboot the hub, be sure to change the username to the one you use to log into the hub...

Code: Select all

'Hub owner active search script by FRANKE aka [DK]FRANKE
'Version 0.00123 Build 12.4 Beta Alfa release 5
'January 19, 2003 01:04:25

'This script enables hubowners to do a active search on lan !
'For this script to work, you have to make the "right" settings 
'in your DC client, all the script does is forward the search string.

'PS: it works !   :]

'Thanks To HaArD for bringing my attention to this problem :)

Dim strName

Sub Main()
  strName = "UserName"
End Sub

Sub DataArival(curUser, sCurData)
   If curUser.sName = strName Then
      If Left(sCurData, 7) = "$Search" And Left(sCurData, 11) <> "$Search Hub" then
         For Each User in ColUsers
            User.SendData CStr(sCurData & "|")
         Next
      End If
   End If
End Sub

'No copyright, no GNU, no nothing
This will forward an ACTIVE search request to all client connected to your hub.

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2003-11-16 19:26

I really like this bit:
'PS: it works ! :]

'Thanks To HaArD for bringing my attention to this problem :)
:lol:
Always remember you're unique, just like everyone else.

Lightning Man
Posts: 53
Joined: 2003-08-09 10:00
Location: Wilmington, NC
Contact:

Post by Lightning Man » 2003-11-18 13:00

Indeed it does work. Now I no longer have to rely on my ops to check people's files. Thanks.

Locked