Deny version not working?
Posted: Fri Sep 10, 2004 10:02 pm
Maybe I'm doing something wrong. Maybe it's a bug. I dunno. But when I try to use deny version, a server matching both conditions can still connect.
I tested this with telnet, since I don't have a 3.2 IRCd laying around, so here's what I sent:
(BTW, the O after the dash might look like a 0, but it is most certainly an O
. Silly strange monospace font
.)
The deny version I have is:
And ...
When I did my thing, the connection succeeded! Even flipping the !s around it succeeded (with the same text sent).
I've tried other things like sending PROTOCTL first, sending PROTOCTL with a : in front of the tokens. As I said, I don't have a real IRCd I need to test with, so I'm working off telnet :/ .
Of course, I could be doing something wrong.
Also, is deny version::flags and deny version::version an "either or" match (fails one gets dropped), or a "must match both" match (must fail both to be dropped).
I tested this with telnet, since I don't have a 3.2 IRCd laying around, so here's what I sent:
Code: Select all
PASS :<removed>
PROTOCTL VL
SERVER services.<removed> 1 :U2303-OThe deny version I have is:
Code: Select all
deny version {
mask "*";
version <2304;
flags "XneZE!O!C!D!K!6";
};Code: Select all
V <2304 XneZE!O!C!D!K!6 *
End of /STATS report
[15:51:42] -irc.<removed>- Stats 'v' requested by aquanight (aquanight@netadmin.<removed>)I've tried other things like sending PROTOCTL first, sending PROTOCTL with a : in front of the tokens. As I said, I don't have a real IRCd I need to test with, so I'm working off telnet :/ .
Of course, I could be doing something wrong.
Also, is deny version::flags and deny version::version an "either or" match (fails one gets dropped), or a "must match both" match (must fail both to be dropped).