View Issue Details

IDProjectCategoryView StatusLast Update
0001747Anope Stable (2.0.x series)Generalpublic2021-10-23 22:56
Reporterallaynawilson Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0001747: operserv akill does not work with cloaked hostmask?
Descriptionlooking here at this code:

https://github.com/anope/anope/blob/2.0/modules/commands/os_akill.cpp#L152

heres what I can tell you about it

the server will add the akill
it never kills the client neither on add nor ever
even if akillonadd is set to yes

akillonadd = yes
Steps To Reproduce[Oct 23 18:05:50.918030 2021] Debug: Sent: :99XAAAAAH PRIVMSG #services :ADMIN: console!toor@100.64.64.49 (console) used $AKILL on toor@100.64.64.49 ([console] testing), expires in 5 minutes [affects 1 user(s) (12.5%)]


but it neither kills it then nor does it ever.

when specifying the cloaked mask

11:03 <@OPERSERV> ADMIN: console!toor@100.64.64.49 (console) used $AKILL on toor@clandestine-6a9.ebu.14peit.hidden ([console] testing),
                  expires in 5 minutes [affects 0 user(s) (0%)]

it does not match any users.
Additional Information11:35 -!- console [toor@clandestine-6a9.ebu.14peit.hidden]
11:35 -!- ircname : toor
11:35 -!- hostname : toor@100.64.64.49 100.64.64.49

it needs to make use of that hostname field in the whois info when calling the

User *targ = User::Find(mask, true);

donno where the problem is really, but been trying to fix this for days there's nothing I can do.
feel free to look over my configs though if you think you can spot the prob,

I think between cloaking and weird ircv3 stuff they're related because I had this anope setup working fine with Hybrid 8.4 and it neither works with Inspircd3 nor Plexus 4 now... also very mad about it lots of people are saying "told you not to use anope" which is stupid but with problems like this who am I to say they're wrong.
TagsNo tags attached.

Activities

allaynawilson

2021-10-23 22:56

reporter   ~0006877

I guess if I wasn't dying I'd probably just say fuck it and use discord but since im on my way out anyway I'll just merely point out though this is a trap, none of the ircd daemons, not even ratbox are salvageable

allaynawilson

2021-10-23 22:41

reporter   ~0006876

yeah tried turning off ircv3 / sts stuff and just be guessin wildly at shiet. not working there's def something f'''''d up with it tho you can tell by the lack of logging thats going on in that akill module xD

allaynawilson

2021-10-23 22:31

reporter   ~0006875

thsi also about as good as it gets for logs tried turning off redis even ... that error is inactionable too btw. Also I have cloaking turned off now thats no good, so theres something else wrong with it
```
[Oct 23 20:26:03.188708 2021] Debug: Sent: :99XAAAAAH PRIVMSG #services :ADMIN: console!toor@100.64.64.49 (console) used $SET DEBUG ON
[Oct 23 20:26:03.188745 2021] Debug: Sent: :99XAAAAAC NOTICE 10XAAAAAA :Services are now in debug mode.
[Oct 23 20:26:03.192366 2021] Debug: redis: notify: got modify for object id 1 of type ChannelInfo, but I am ignoring it
[Oct 23 20:26:17.159691 2021] Debug: Received: @time=2021-10-23T20:26:17.159Z;msgid=10X~1635020424~128 :10XAAAAAA PRIVMSG 99XAAAAAH :`$akill del *@100.64.64.49
[Oct 23 20:26:17.159881 2021] Debug: Sent: :99XAAAAAH NOTICE 10XAAAAAA :Unknown command `$akill del *@100.64.64.49. "/msg OPERSERV HELP" for help.
[Oct 23 20:26:19.162860 2021] Debug: Received: :10X PING 99X
[Oct 23 20:26:19.162964 2021] Debug: Sent: :99X PONG 10X
[Oct 23 20:26:28.325363 2021] Debug: Received: @time=2021-10-23T20:26:28.324Z;msgid=10X~1635020424~130 :10XAAAAAA PRIVMSG 99XAAAAAH :akill del 1
[Oct 23 20:26:28.325595 2021] ADMIN: console!toor@100.64.64.49 (console) used AKILL to remove *@100.64.64.49 from the list
[Oct 23 20:26:28.325664 2021] Debug: Sent: :99XAAAAAH PRIVMSG #services :ADMIN: console!toor@100.64.64.49 (console) used AKILL to remove *@100.64.64.49 from the list
[Oct 23 20:26:28.325707 2021] Debug: Sent: :99X DELLINE Z 100.64.64.49
[Oct 23 20:26:28.325784 2021] Debug: Sent: :99XAAAAAH NOTICE 10XAAAAAA :Deleted 1 entry from the AKILL list.
[Oct 23 20:26:29.616357 2021] Debug: Received: @time=2021-10-23T20:26:29.615Z;msgid=10X~1635020424~133 :10XAAAAAA PRIVMSG 99XAAAAAH :akill del 1
[Oct 23 20:26:29.616618 2021] Debug: Sent: :99XAAAAAH NOTICE 10XAAAAAA :AKILL list is empty.
[Oct 23 20:26:36.503973 2021] Debug: Received: @time=2021-10-23T20:26:36.503Z;msgid=10X~1635020424~135 :10XAAAAAA PRIVMSG 99XAAAAAH :akill add +5m *@100.64.64.49 somethign wrong
[Oct 23 20:26:36.504267 2021] Debug: Sent: :99X ADDLINE Z 100.64.64.49 console 1635020796 300 :[console] somethign wrong (ID: IMV366MJGH)
[Oct 23 20:26:36.504320 2021] Debug: Sent: :99XAAAAAH NOTICE 10XAAAAAA :*@100.64.64.49 added to the AKILL list.
[Oct 23 20:26:36.504373 2021] ADMIN: console!toor@100.64.64.49 (console) used AKILL on *@100.64.64.49 ([console] somethign wrong), expires in 5 minutes [affects 1 user(s) (12.5%)]
[Oct 23 20:26:36.504445 2021] Debug: Sent: :99XAAAAAH PRIVMSG #services :ADMIN: console!toor@100.64.64.49 (console) used AKILL on *@100.64.64.49 ([console] somethign wrong), expires in 5 minutes [affects 1 user(s) (12.5%)]
[Oct 23 20:26:36.506118 2021] Debug: redis: notify: got modify for object id 14 of type XLine, but I am ignoring it


```

allaynawilson

2021-10-23 21:00

reporter   ~0006874

I sure hope this isn't one of those WONTFIX bugs. I'm kind of mad right now because I just got through aruging with some youngster who thinks he knows everything about why anope is better than oregano ircd's service in terms of what it offers and tbh code quality too but he's afraid of object oriented and has cucked him self out of being able to comprehend the latter. They never even used anope, but they "know they would never use that because bro's all agree" all agree to stay ignorant in their idiotic echo chamber. But yeah I spoke too soon on this, maybe. I really need this AKILL to work for it to be worth my time. I also need OPERSERV's OPER command to work (be able to add registered users to it and able to run commands without being an OPER themselves.) Been trying to for along time now, and I'd like to just see it get done.

Issue History

Date Modified Username Field Change
2021-10-23 20:42 allaynawilson New Issue
2021-10-23 21:00 allaynawilson Note Added: 0006874
2021-10-23 22:31 allaynawilson Note Added: 0006875
2021-10-23 22:41 allaynawilson Note Added: 0006876
2021-10-23 22:56 allaynawilson Note Added: 0006877