Page 1 of 1
Denying a CTM request to a bot
Posted: 01 Feb 2009, 04:59
by darkKlor
I'm writing a hub and am unsure of what to do in the CTM handler. At the moment I simply ignore CTM requests where the target has the client type Bot flag set. That is, I do not dispatch the CTM at all. The trouble with this is the client doesn't give up, so every 90 seconds (I think) the client sends another CTM request.
What STA should I send to make DC++ stop trying to connect?
Re: Denying a CTM request to a bot
Posted: 01 Feb 2009, 09:01
by Pietry
I guess STA 125 FCDCTM or something ( Access denied ) , but afaik DC++ does not check all the STA messages so probably it will send the CTM again. But if your hub is in the line of the protocol don't worry about what DC++ is doing or is not doing, just respect what the protocol says.
Re: Denying a CTM request to a bot
Posted: 11 Jan 2016, 06:17
by hnoor77
I simply ignore CTM requests where the target has the client type Bot flag set.
Re: Denying a CTM request to a bot
Posted: 06 Aug 2017, 06:05
by Primos
hnoor77 wrote: ↑11 Jan 2016, 06:17
I simply ignore CTM requests where the target has the client type Bot flag set.
How do you do that?