CTCP Version replies and blocking bots

These are old archives. They are kept for historic purposes only.
Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech »

I had some trouble from a couple of users using clonesx and flooding out the server . Best thing I found was to locate the original connection and gzline it . That stopped the flood . Bopm helped as he was using proxies and that caught a lot of em.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

aquanight wrote:Huh? All CTCPs use PRIVMSG and NOTICE...

PRIVMSG :\1PING 123\1 - CTCP request

NOTICE :\1PING 123\1 - CTCP reply
In a RAW debug window I get this for VERSION and other CTCP events.

Code: Select all

-> my.irc.server.address.org PRIVMSG nick :VERSION
<- :[email protected] PRIVMSG nick :VERSION
<- :[email protected] NOTICE nick :VERSION mIRC v6.16 Khaled Mardam-Bey
There is no CTCP argument listed, regardless .. mirc allows for total CTCP ignores without hindering DCC, actions, notices or privmsg.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

A /me is sent like this:

:w00t PRIVMSG #test :\1ACTION makes toast\1

A version request is:
:w00t PRIVMSG blahbot :\1VERSION\1

(from memory). So all CTCP does is piggyback on top of privmsg, right? Feel free to correct me.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

w00t, no, a CTCP request uses PRIVMSG. A CTCP reply uses NOTICE.
-- codemastr
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Oh! Thanks, I've only ever looked at the request side of things (never needed to see replies) but I'll file that away for when I do :P
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

codemastr wrote:w00t, no, a CTCP request uses PRIVMSG. A CTCP reply uses NOTICE.
Which was shown in my code from my last post :P
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

This thread is getting rather off-topic, I think it can be closed.
Locked