Denying a CTM request to a bot

Discussion and questions about hub software
Post Reply
darkKlor
Senior Member
Posts: 100
Joined: 30 Dec 2008, 14:59

Denying a CTM request to a bot

Post by darkKlor » 01 Feb 2009, 04:59

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?

Pietry
Senior Member
Posts: 328
Joined: 04 Dec 2007, 07:25
Location: Bucharest
Contact:

Re: Denying a CTM request to a bot

Post by Pietry » 01 Feb 2009, 09:01

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.
Just someone

hnoor77
Newbie
Posts: 1
Joined: 11 Jan 2016, 06:01

Re: Denying a CTM request to a bot

Post by hnoor77 » 11 Jan 2016, 06:17

I simply ignore CTM requests where the target has the client type Bot flag set.
NOOR

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest