Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 ... 10
 1 
 on: Today at 10:33:20 PM 
Started by Mcgiwer - Last post by Lord255
hello.

BotServ already exists in anope.
/msg botserv help for more details.
(( i guess you didn't read through your default config (example.conf -> services.conf). ))
https://github.com/anope/anope/blob/2.0/data/botserv.example.conf

HelpServ: this should be handled by your ircd i presume. with unrealircd you can use /helpop ? and so you will get lots of hints and suggestions.
services also respond to "help";
examples:
/msg nickserv help
/msg chanserv help

etc..

HostServ: already built in anope. i guess you didn't read through your default config (example.conf -> services.conf).
https://github.com/anope/anope/blob/2.0/data/hostserv.example.conf

RootServ: it's called OperServ in anope. see oper block in services.conf. you can set yourself as services root, login to operserv and have lots of useful commands. see /msg operserv help for more details.
https://github.com/anope/anope/blob/c5a4e8337c3c1315821cb9434db89aac059a17c0/data/example.conf#L894-L920

SpamServ: such things are built in ircd side, see like flood protection, antirandom, connthrottle, etc.. also see help and hints in botserv, those bots also can have some secu features.




 2 
 on: Today at 05:32:38 PM 
Started by Mcgiwer - Last post by Mcgiwer
Hello. I would like to propose to add following services support in Anope:
  • BotServ, a bot which allows channel operators to assign bots to their channels
  • HelpServ, the help service bot, is used to provide help on a variety of IRC topics
  • HostServ, a host service bot, is used to allow general users to register a vhost so that their real IP address on IRC is hidden.
  • RootServ, used on specific networks, is utilized by Services Root Administrators to perform Root Administrative functions for the IRC Network and Services Program.
  • SpamServ, used to protect channels against spam.
This would make it easier to manage the IRC servers

 3 
 on: January 11, 2021, 01:32:58 AM 
Started by Gallaxial - Last post by Gallaxial
Hi, there

I install Unrealircd 5.0.8 with Anope 2.0.9 Work Very Fine No Problem also work with Link
The Think Bother/ Do not Like is Each Channel Permanent  (+P)  have a User Call &Chanserv
also /msg chanserv help make the Fonction Display in this these Channels, 1 By Line <- like it

Ca be Remove no Display in Channel ?
Can also the /msg chanserv help  Be display With OUT every 2 Lines ? (Not +P) Channels

Thanks

 4 
 on: January 02, 2021, 08:32:16 PM 
Started by Gary - Last post by Lord255
and to sadie. :)
yw

 5 
 on: January 02, 2021, 08:30:19 PM 
Started by Gary - Last post by Gary
Thx Lord now is work

 6 
 on: January 02, 2021, 08:28:19 PM 
Started by Gary - Last post by Lord255
just to have this documented (we solved this via irc):

solution:
/os sqline add +0 /(?!Malena\b\s^[a-z].+$|malena$)[^a-z\d\n]*[Mm]+[^a-z\d\n]*[a4@]+[^a-z\d\n]*[Il|]+[^a-z\d\n]*[e3]+[^a-z\d\n]*n+[^a-z\d\n]*[a4@]+[^a-z\d\n]*/ Test

instead of space, you have to use \s

/(?!Malena\b ^[a-z].+$|malena$) ..
   vs.
/(?!Malena\b\s^[a-z].+$|malena$) ..

 7 
 on: January 02, 2021, 08:08:25 PM 
Started by Gary - Last post by Gary
/os sqline add +0 /(?!Malena\b ^[a-z].+$|malena$)[^a-z\d\n]*[Mm]+[^a-z\d\n]*[a4@]+[^a-z\d\n]*[Il|]+[^a-z\d\n]*[e3]+[^a-z\d\n]*n+[^a-z\d\n]*[a4@]+[^a-z\d\n]*/ Test

issue

Permanent Q-Line added for /(?!Malena\b on Sat Jan 2 20:06:28 2021 GMT (from *********: [army] ^[a-z].+$|malena$)[^a-z\d\n]*[Mm]+[^a-z\d\n]*[a4@]+[^a-z\d\n]*[Il|]+[^a-z\d\n]*[e3]+[^a-z\d\n]*n+[^a-z\d\n]*[a4@]+[^a-z\d\n]*/ Test (ID: 7ZL8OJN9W4))

[22:06:32] -OperServ- Current SQLINE list:
[22:06:32] -OperServ- Number  Mask          Reason
[22:06:32] -OperServ- 1       /(?!Malena\b  [army] ^[a-z].+$|malena$)[^a-z\d\n]*[Mm]+[^a-z\d\n]*[a4@]+[^a-z\d\n]*[Il|]+[^a-z\d\n]*[e3]+[^a-z\d\n]*n+[^a-z\d\n]*[a4@]+[^a-z\d\n]*/ Test



is add time date who added inside the regex and the regex is not function as i want

someone have any idea how to fix this issue ?

 8 
 on: December 16, 2020, 09:17:24 PM 
Started by Maksim - Last post by Maksim
I need help! I am unable to run Anope on my host. When starting anope, it gives an error that I do not have the MSVCP140.dll file. The host has Microsoft Visual C ++ installed. Anope has been reinstalled several times. The host operating system is Windows Server 2008 R2 x64.

 9 
 on: December 16, 2020, 12:02:04 AM 
Started by David - Last post by David
Did you activate the debug mode to see the queries?

Hello!

I have indeed run a few debug versions, including piping out the debug log to review later. Here is what I found:

1) The database seems to (by default) store information such as MEMO_SIGNON and MEMO_RECEIVE as NULL, which causes the following error type approximately 1,170 times.
Code: [Select]
[Dec 15 22:56:48.946058 2020] Debug: Extend for nonexistent type MEMO_RECEIVE on 0x55a46a10b268 This appears to be the intended use, however it does fill up quite a large section of the logs so I have my doubts.

2) There seems to be a lot of places where TIMESTAMP is NULL. Again, this appears to be how data is stored in the DB by default but I don't know if this is actually intentional or what this should be by default set to. Example queries include the following lines:

Code: [Select]
[Dec 15 22:56:49.032728 2020] Debug: SQL-live got 619 rows for SELECT * FROM `anope_db_NickAlias` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Dec 15 22:56:48.944371 2020] Debug: SQL-live got 585 rows for SELECT * FROM `anope_db_NickCore` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)

3) It appears anytime anope_db_NickAlias's nc row has a name with an underscore in it (ex, user_one, my_name_here, username_, etc) the database throws a fit. I don't know what the source of this is, because from what I can tell underscores ARE valid characters in Anope and therefore should be accepted in the database.

This is noticeable for me because the following line repeats several times for a user with their username with an underscore appears several (at least 12) time:

Code: [Select]
Debug: SQL-live got 0 rows for UPDATE `anope_db_NickAlias` SET `timestamp` = FROM_UNIXTIME(1608073023) WHERE `id` = 301
4) Similarly, it appears that Anope does not create every table it looks for, or it only generates/creates tables as required. Hence, the log is full of issues such as:
Code: [Select]
[Dec 15 22:56:49.104504 2020] Debug: SQL-live got error Table 'ircDB.anope_db_IgnoreData' doesn't exist for SELECT * FROM `anope_db_IgnoreData` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Dec 15 22:56:49.104827 2020] Debug: SQL-live got error Table 'ircDB.anope_db_LogSetting' doesn't exist for SELECT * FROM `anope_db_LogSetting` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Dec 15 22:56:49.105134 2020] Debug: SQL-live got error Table 'ircDB.anope_db_Memo' doesn't exist for SELECT * FROM `anope_db_Memo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)

5) There are several entries that look similar to the following, but I can't tell what they are for (some data sniped) or if they are in the proper format.

Code: [Select]
[Dec 15 22:56:53.640307 2020] Debug: SQL-live got 0 rows for INSERT INTO `anope_db_ChannelInfo` (`id`,`BS_FANTASY`,`BS_GREET`,`CS_KEEP_MODES`,`CS_NO_EXPIRE`,`CS_PRIVATE`,`CS_SECURE`,`KEEPTOPIC`,`PEACE`,`PERSIST`,`RESTRICTED`,`SECUREFOUNDER`,`SIGNKICK`,`TOPICLOCK`,`banexpire`,`bantype`,`bi`,`capsmin`,`capspercent`,`description`,`floodlines`,`floodsecs`,`founder`,`kickerdata:amsgs`,`kickerdata:badwords`,`kickerdata:bolds`,`kickerdata:caps`,`kickerdata:colors`,`kickerdata:flood`,`kickerdata:italics`,`kickerdata:repeat`,`kickerdata:reverses`,`kickerdata:underlines`,`last_modes`,`last_topic`,`last_topic_setter`,`last_topic_time`,`last_used`,`levels`,`memomax`,`name`,`repeattimes`,`time_registered`,`ttb`) VALUES (SNIPPED VALUES HERE)
5) Most directly related to the issue, is the following:

When I register a new name through the form, and change my nickname while logged in, I have something along the following happen (some personal data snipped)

Of note that DEL_FLAG is a custom added field the SQLDB - nothing could be found saying we COULDN'T add our own fields to the DB, so we did. (If this is not allowed, there really should be indicated somewhere)

Log is too long to put here. Put in Pastebin for reference: https://pastebin.com/AULkgTHL

However, while the name is in the DB, I lose +r on the nick change and cannot regain it. The name is never truly recognized by the server, even after os restarts and ns updates.

ns update command log:
Code: [Select]
[Dec 15 22:58:34.896637 2020] Debug: Received: :TGH52 PRIVMSG nickserv@services.[SNIPPED] :update
[Dec 15 22:58:34.897832 2020] Debug: SQL-live got 0 rows for SELECT * FROM `anope_db_BotInfo` WHERE (`timestamp` >= FROM_UNIXTIME(1608073109) OR `timestamp` IS NULL)
[Dec 15 22:58:34.898938 2020] Debug: SQL-live got 0 rows for SELECT * FROM `anope_db_NickCore` WHERE (`timestamp` >= FROM_UNIXTIME(1608073109) OR `timestamp` IS NULL)
[Dec 15 22:58:34.899930 2020] Debug: SQL-live got 3 rows for SELECT * FROM `anope_db_NickAlias` WHERE (`timestamp` >= FROM_UNIXTIME(1608073109) OR `timestamp` IS NULL)
[Dec 15 22:58:34.901354 2020] Debug: SQL-live got 0 rows for UPDATE `anope_db_NickAlias` SET `timestamp` = FROM_UNIXTIME(1608073114) WHERE `id` = 301
[Dec 15 22:58:34.902800 2020] Debug: SQL-live got 0 rows for UPDATE `anope_db_NickAlias` SET `timestamp` = FROM_UNIXTIME(1608073114) WHERE `id` = 512
[Dec 15 22:58:34.903902 2020] Debug: SQL-live got 0 rows for UPDATE `anope_db_NickAlias` SET `timestamp` = FROM_UNIXTIME(1608073114) WHERE `id` = 1108
[Dec 15 22:58:34.904142 2020] Debug: Setting correct user modes for TGH52 on #[SNIPPED] (giving modes)
[Dec 15 22:58:34.904821 2020] Debug: SQL-live got 0 rows for SELECT * FROM `anope_db_ChannelInfo` WHERE (`timestamp` >= FROM_UNIXTIME(1608073032) OR `timestamp` IS NULL)
[Dec 15 22:58:34.905284 2020] Debug: SQL-live got 0 rows for SELECT * FROM `anope_db_ChanAccess` WHERE (`timestamp` >= FROM_UNIXTIME(1608073032) OR `timestamp` IS NULL)
[Dec 15 22:58:34.905377 2020] Debug: Setting correct user modes for TGH52 on #[Channel] (giving modes)

I don't know enough about nickserv and anope's coding to know if this is the expected correct result.

I'm sorry this is so long, and if I did not include the sections of the logs needed. Please let me know what other sections I need to add to help with the diagnosis of this issue.


 10 
 on: December 15, 2020, 08:41:17 AM 
Started by Can - Last post by CrazyCat
The file is well documented, we can't explain more that what is inline.

Pages: [1] 2 3 ... 10