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?
Denying a CTM request to a bot
-
darkKlor
- Senior Member
- Posts: 100
- Joined: Tue Dec 30, 2008 2:59 pm
-
Pietry
- Senior Member
- Posts: 328
- Joined: Tue Dec 04, 2007 7:25 am
- Location: Bucharest
Re: Denying a CTM request to a bot
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
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
Who is online
Users browsing this forum: Google (Crawler) and 0 guests