Denying a CTM request to a bot

Discussion and questions about hub software
darkKlor
Senior Member
Posts: 100
Joined: Tue Dec 30, 2008 2:59 pm

Denying a CTM request to a bot

Post by darkKlor » Sun Feb 01, 2009 4:59 am

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: Tue Dec 04, 2007 7:25 am
Location: Bucharest

Re: Denying a CTM request to a bot

Post by Pietry » Sun Feb 01, 2009 9:01 am

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: Mon Jan 11, 2016 6:01 am

Re: Denying a CTM request to a bot

Post by hnoor77 » Mon Jan 11, 2016 6:17 am

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

Primos
Newbie
Posts: 1
Joined: Mon Jul 31, 2017 11:02 am

Re: Denying a CTM request to a bot

Post by Primos » Sun Aug 06, 2017 6:05 am

hnoor77 wrote:
Mon Jan 11, 2016 6:17 am
I simply ignore CTM requests where the target has the client type Bot flag set.
How do you do that?
The top list of fat burners to burn fat.

Who is online

Users browsing this forum: Google (Crawler) and 0 guests