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.

dcc chat timeout setting

Old posts that have not been replied to for several years.
Locked
User avatar
agathodaimon
Voice
Posts: 29
Joined: Sun Aug 21, 2005 12:33 pm

dcc chat timeout setting

Post by agathodaimon »

when i dcc chat with the bot after i while it dies..that means it doesnt answer to the commands..and i have to open a new chat...how do i change this..? any ideas?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

get a better ISP or shell provider
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

rather sounds like a router problem, some routers use very low timeouts for DCC sessions. Use telnet or /ctcp <bot> chat instead if you cannot fix it.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

De Kus wrote:rather sounds like a router problem, some routers use very low timeouts for DCC sessions. Use telnet or /ctcp <bot> chat instead if you cannot fix it.
what makes you think it's a router problem? you know a DCC-aware router? there's no information to base that guess upon; if the guy have said he's having the same problem with any TCP connection, then you would have enough info to guess it sounds like a router problem

/ctcp bot chat will establish exactly the same type of connection, and connection deterioration is very unlikely to depend on who initialized it, so that most likely won't help - if it helps, that would mean the connection parameters somehow depend on port number/range, and if that's the case, you (or rather that guy) should ditch the provider anyway

using telnet might help, if the telnet client have the ability to periodically send keepalive packets - if it helps, you can also script some keepalive activity for your DCC sessions
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

demond wrote:what makes you think it's a router problem? you know a DCC-aware router? there's no information to base that guess upon; if the guy have said he's having the same problem with any TCP connection, then you would have enough info to guess it sounds like a router problem
I think that way, because I have the same problem, since I heared from others they dont have that problem to that shell, I'm sure the only cause that it left is the DCC implementation of my router.
demond wrote:/ctcp bot chat will establish exactly the same type of connection, and connection deterioration is very unlikely to depend on who initialized it, so that most likely won't help - if it helps, that would mean the connection parameters somehow depend on port number/range, and if that's the case, you (or rather that guy) should ditch the provider anyway
the only time you really make a DCC connection is, when using /dcc <bot>, you can avoid it by using /ctcp <bot> chat, since that way, you wont establish a DCC connection, but in fact a telnet connection to your bot, just your client will think its DCC ^.^.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

De Kus wrote:
demond wrote:what makes you think it's a router problem? you know a DCC-aware router? there's no information to base that guess upon; if the guy have said he's having the same problem with any TCP connection, then you would have enough info to guess it sounds like a router problem
I think that way, because I have the same problem, since I heared from others they dont have that problem to that shell, I'm sure the only cause that it left is the DCC implementation of my router.
routers know nothing about DCC, they know about network-level protocols like TCP, not application-level; read again my post
demond wrote:/ctcp bot chat will establish exactly the same type of connection, and connection deterioration is very unlikely to depend on who initialized it, so that most likely won't help - if it helps, that would mean the connection parameters somehow depend on port number/range, and if that's the case, you (or rather that guy) should ditch the provider anyway
the only time you really make a DCC connection is, when using /dcc <bot>, you can avoid it by using /ctcp <bot> chat, since that way, you wont establish a DCC connection, but in fact a telnet connection to your bot, just your client will think its DCC ^.^.
you are confused; /ctcp bot chat makes your bot to initiate DCC connection with you - offer you DCC CHAT; either way, it's a TCP connection; DCC itself is only a mean of automatically negotiating TCP connection on IRC
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

have you ever heared about the "DCC module" for iptables?
do a search for 'ip_nat_irc' or 'router "direct client to client"' on google and you will find a lot of infos related to DCC. in fact the router will manupulate the CTCP DCC packet confirming it contains the external IP and opens a new port.
If I do a dcc chat it will look like that on the bot:

Code: Select all

<StarZ|Clan> [10:46:54] tcl: evaluate (.tcl): exec netstat -na
<StarZ|Clan> Tcl: Active Internet connections (including servers)
<StarZ|Clan> Tcl: Proto Recv-Q Send-Q Local Address Foreign Address (state)
<StarZ|Clan> Tcl: tcp 0 0 192.168.1.104.6285 84.173.x.x.64415 ESTABLISHED
...
but it will look like that on my computer:

Code: Select all

C:\Dokumente und Einstellungen\De Kus>netstat -na

Aktive Verbindungen

  Proto  Lokale Adresse         Remoteadresse          Status
...
  TCP    192.168.178.4:20150    84.173.x.x:64416    HERGESTELLT
...
(privat IP censored)
If I do a "/ctcp <bot> chat" it will be a single "normal" TCP connection without a tunnel. The shell I used as example currently has port forwarding problems, so I can't give new logs, but you can try yourself, in fact your bot will make mIRC to connect to the telnet port and not one of the reserved DCC (file) ports. This might be caused because the kernel of the shell has no DCC module installed, but its always worth a try, because it makes a diffrence which way you establish the connection for the timeout.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

De Kus wrote:have you ever heared about the "DCC module" for iptables?
since I wrote about it in the top sticky topic of this forum, I must have heard about it, don't you think?
do a search for 'ip_nat_irc' or 'router "direct client to client"' on google and you will find a lot of infos related to DCC. in fact the router will manupulate the CTCP DCC packet confirming it contains the external IP and opens a new port.
I would have never guessed that if it wasn't for you to enlighten me

dude, I've been running firewall and packet filtering software likely before you got on the Internet for the first time; and I know how it works, I don't need to google for it

iptables isn't router, iptables is kernel software framework that provides packet filtering, NAT, and other packet mangling; router is a device that handles packet transfers between computer systems, not an iptables module that knows about CTCP DCC, okay?
If I do a "/ctcp <bot> chat" it will be a single "normal" TCP connection without a tunnel. The shell I used as example currently has port forwarding problems, so I can't give new logs, but you can try yourself, in fact your bot will make mIRC to connect to the telnet port and not one of the reserved DCC (file) ports. This might be caused because the kernel of the shell has no DCC module installed, but its always worth a try, because it makes a diffrence which way you establish the connection for the timeout.
you simply don't know what you are talking about

a tunnel? what tunnel?? that's totally irrelevant

and you can't speculate about the difference in connection quality depending on initiating end point - observing such effect on your system doesn't mean anything in general
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:you simply don't know what you are talking about
Would appear there's not much understanding.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked