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
Hosting Hub and using DC++ at the same time?
Moderator: Moderators
-
- Posts: 147
- Joined: 2003-01-04 02:20
- Location: Canada http://hub-link.sf.net
- Contact:
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...
This will forward an ACTIVE search request to all client connected to your hub.
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
-
- Posts: 184
- Joined: 2003-05-26 11:29
- Location: UK
-
- Posts: 53
- Joined: 2003-08-09 10:00
- Location: Wilmington, NC
- Contact: