This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Reverse DCC possible?

Old posts that have not been replied to for several years.
Locked
W
Wildfire
Voice
Posts: 11
Joined: Fri May 16, 2003 4:51 pm

Reverse DCC possible?

Post by Wildfire »

Okay, here's the situation. I have a bot that sits behind a gateway that works as an fserv. It connects fine, standard commands are working fine, I can telnet in from another box behind the gateway, no DCC because obviously it complains that I'm giving it bogus IP info, aka my internal address which my ISP address doesn't resolve to. No big deal, telnet is fine.

The DCC port range is set to 2015 to 2020, all of which are portforwarded to the box the eggdrop runs on. If I make users change their DCC settings to match, it works, but this is obviously slightly unrealistic for an fserve. Is there a way to have the bot initiate the DCC with the user as I can control the port range of the bot?
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

DCC sends are initiated by the sender...so what's the problem? Have you tried /ctcp bot CHAT?
W
Wildfire
Voice
Posts: 11
Joined: Fri May 16, 2003 4:51 pm

Post by Wildfire »

I have no idea what the problem is as I have no way of attempting to access the bot externally :) As I said before I cannot chat with the bot, DCC or ctcp, as dns obviously doesn't resolve to my internal 192.168 address and so it kicks me out with a bogus IP message in the telnet console.

[14:58] ALERT: (wildfire!~blah@blah.blah.ispaddy.net) sent a DCC request with bogus IP information of 192.168.x.x port 2015. ~blah@blah.blah.ispaddy.net does not resolve to 192.168.x.x!
[14:58] CTCP DCC: CHAT chat blahblahblah 2015 from Wildfire (~blah@blah.blah.ispaddy.net)

In IRC, I get an acknowledging request, then an unable to connect.

configuration wise,

my-ip 192.168.x.x
nat-ip my external ip of the moment
set portrange 2015:2020

router is set to forward 2015 through 2020 to 192.168.x.x of the box as well as 3334 for telnet

As I can accept DCC, and command the bot over /msg I assumed it was soley a DCC issue but perhaps not. Either way, help is always appreciated.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You are seeing the IP 192. when you DCC chat, because this si what your IRC client is sending.

You need to setup your client to send the correct address.
W
Wildfire
Voice
Posts: 11
Joined: Fri May 16, 2003 4:51 pm

Post by Wildfire »

Hmm, technically an improvement...


[20:11] ~Wildfire (~blah@blah.b;ah.ispaddy.net) - DCC Chat (external IP)
[20:11] CTCP DCC: CHAT chat blahblah 2015 from Wildfire
[20:11] DCC connection: CHAT (Wildfire!~blah@blah.blah.ispaddy.net
[20:11] Lost dcc connection to Wildfire

IRC hangs on Waiting for acknowledgement still

Reports from outside users, get an unable to create socket error and I see the above lines minus the Lost connection across the console.
Locked