Commit graph

  • 63120b0c32
    Change set::limit-svscmds default to ulines piss60 Ron Nazarov 2025-04-27 16:07:20 +01:00
  • 31ca1f5cc4
    Replace CallCommandOverride() with CALL_NEXT_COMMAND_OVERRIDE() Ron Nazarov 2025-04-27 16:04:54 +01:00
  • ec52c7e7ff
    Merge pull request #62 from unrealircd/unreal60_dev angryce 2025-04-18 16:49:44 +02:00
  • b04c402ce0
    Update shipped Jansson to 2.14.1. Bram Matthys 2025-04-16 14:18:10 +02:00
  • a6d9288a77
    Update shipped PCRE2 to 10.45. Bram Matthys 2025-04-16 14:16:51 +02:00
  • 85b9b4ddc1
    Update shipped c-ares to 1.34.5 (8-apr-2025) Bram Matthys 2025-04-16 14:00:55 +02:00
  • 9ce84fd98f
    Merge pull request #61 from unrealircd/unreal60_dev angryce 2025-04-15 22:53:17 +02:00
  • 5d7feff725
    Fix HOOKTYPE_PRE_CHANMSG refering to hooktype_can_send_to_user() Valerie Liu 2025-04-14 16:30:51 +01:00
  • 12927bca43
    Update example.pt.conf to the latest changes (#309) Rafael Grether 2025-04-14 12:29:18 -03:00
  • f7fd5b013f
    Update some release notes (no code changes) [skip ci] Bram Matthys 2025-03-30 17:19:28 +02:00
  • d6ec505840
    Merge pull request #60 from unrealircd/unreal60_dev angryce 2025-03-27 22:42:55 +01:00
  • 30ff1bf09e
    Add a TODO item Bram Matthys 2025-03-27 17:51:32 +01:00
  • 7879daa6f6 Conflict fix JTR 2025-03-27 12:15:47 +01:00
  • 641413cfa9
    Update Unicode block lists with Unicode 16.0.0 from 2024-02-02. And provide instructions on how to generate this thing. Bram Matthys 2025-03-24 09:28:10 +01:00
  • cc75840189
    Add unicode_count() crule, e.g. unicode_count('Emoticons') Bram Matthys 2025-03-23 18:04:17 +01:00
  • fafe16a673
    AntiMixedUTF8: change emoticon transition score from 1 to 0 Bram Matthys 2025-03-23 13:19:07 +01:00
  • 74e17b7a26
    Make SPAMINFO show the UTF8 block names a text uses. Example output: *** SPAMINFO *** This will show the original text and the deconfused text which can be used in a spamfilter block with input-conversion deconfused; Original spam text: ẔŽŽẐ𝞕ȤℤΖℨℨ𝒁𝓩ẒŹƵᏃŻẒŽℨŹ𝒵𝛧Ż𝝛𝛧ℨℤ𝜡Ƶ𝞕𝘡ŹẐ𝑍ẔẐẐΖ𝜡Ẕ𝜡Ẕ𝞕ꓜ𝚭ᏃẐẔ𝙕 Deconfused spam text: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ AntiMixedUTF8 points: 64 Number of Unicode characters in total: 50 Number of different Unicode blocks used: 8 Unicode Block breakdown (name: bytes [capped at 255]): - Latin Extended-A: 8 - Latin Extended-B: 3 - Greek and Coptic: 2 - Cherokee: 2 - Latin Extended Additional: 12 - Letterlike Symbols: 6 - Lisu: 1 - Mathematical Alphanumeric Symbols: 16 Bram Matthys 2025-03-23 13:03:58 +01:00
  • 6bd6e974d4
    Add num_bytes and num_unicode_characters to TextAnalysis struct. Also so you can easily put the unicode_blockmap[] in perspective e.g. if you want to do percentages. Bram Matthys 2025-03-23 12:42:36 +01:00
  • 3142b57f77
    Move text analysis to main command handler (parse2()). In CommandAdd() the flag CMD_TEXTANALYSIS now means that the last parameter of the command will run through the text analysis system. Bram Matthys 2025-03-23 12:23:02 +01:00
  • 9b89166280
    Add deconfused to TextAnalysis. Add ClientContext * to match_spamfilter(). Make match_spamfilter use the clictx->textanalysis->deconfused rather than calculating its own. The latter will probably disappear altogether. Bram Matthys 2025-03-23 12:11:47 +01:00
  • 9691a6d819
    Create TextAnalysis framework (hook), this counts the unicode block switches like antimixedutf8 did, and counts the number of characters used per unicode block. Potentially more can be added later, this is flexible and modules can add stuff (..well not yet.. the struct is missing some members..). Bram Matthys 2025-03-23 11:38:08 +01:00
  • 6fd77ae572
    Fix unreal_expand_string declaration Bram Matthys 2025-03-23 08:12:27 +01:00
  • 2c33103d28
    Fix OOB read, write and NULL dereference code from yesterday. Bram Matthys 2025-03-23 06:35:36 +01:00
  • d137a95606
    Update confusables. Generated with a python script from 2 different generators/sources plus some manual tweaking. This is not complete and not always correct. Sometimes there are simple mistakes like ф -> f because that is a cyrillic f but it should be seen as an o or something like that. Those still need to be polished out. And some other things are just plain weird but probably similar cases. In any case, with this commit things are getting better. It will never be perfect or anything close to perfect anyway! Bram Matthys 2025-03-22 15:38:07 +01:00
  • e1fac402d5
    Add spamfilter { input-conversion confusables; ..... } for UTF8 conversion of lookalike characters to simple latin characters. Bram Matthys 2025-03-22 08:31:22 +01:00
  • 9b3d219743
    Add utf8functions with utf8_convert_confusables() from July 16 2023. I started work on this back then but didn't finalize it. Now I have to figure out what was left to be done :D. Other than the obvious case of seeing some debugging code that prints out for every converted character. Not yet visible / usable by end-users! Bram Matthys 2025-03-22 07:54:05 +01:00
  • 8c21472d03
    Move allow::maxperip to its own module (maxperip), add HOOKTYPE_ALLOW_CLIENT. Also fix documentation for ~10 hooks to mention the hook name. Bram Matthys 2025-03-22 07:38:56 +01:00
  • b95c1570a9
    Add CONFIG_ALLOW_BLOCK & CONFIG_CLASS in HOOKTYPE_CONFIGTEST and HOOKTYPE_CONFIGRUN_EX. Allowing to modularize things (for us and third party modules) Bram Matthys 2025-03-22 06:39:44 +01:00
  • d15c82346e
    Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change. Bram Matthys 2025-03-21 15:35:21 +01:00
  • 5d733d50e5
    Bump version to 6.2.0-git Bram Matthys 2025-03-21 15:31:44 +01:00
  • e9e63e4041
    Allow calling mtags_to_string() with a NULL client, eg to store/serialize. Bram Matthys 2025-03-14 10:29:24 +01:00
  • 77ba83a49b
    There was still a reference to rc1 at the end of /INFO Bram Matthys 2025-03-09 08:33:56 +01:00
  • 53febc0faa
    ** UnrealIRCd 6.1.10 ** Bram Matthys 2025-03-07 14:41:41 +01:00
  • 47d479b1c9
    Import from unrealircd-6.1.9. [skip ci] Bram Matthys 2025-02-16 09:28:35 +01:00
  • 8028ca9c4a
    ** UnrealIRCd 6.1.10-rc1 ** Bram Matthys 2025-02-16 09:20:49 +01:00
  • e7ec191bf1
    Fix crash by IRCOp upon SPAMREPORT <ip> when centralblocklist is loaded. Reported by Balthazar in https://bugs.unrealircd.org/view.php?id=6497 Bram Matthys 2025-02-16 08:45:33 +01:00
  • d06f797422
    Update release notes on the two new spamfilter { } options. [skip ci] Bram Matthys 2025-02-15 12:38:49 +01:00
  • 094efeee25
    Add spamfilter::show-message-content-on-hit to override on a spamfilter basis. This works the same as set::spamfilter::show-message-content-on-hit https://www.unrealircd.org/docs/Set_block#set::spamfilter::show-message-content-on-hit but per spamfilter { } in the conf. Bram Matthys 2025-02-15 12:13:59 +01:00
  • ae166bd99e
    Add spamfilter::input-conversion none; to not use StripControlChars() for matching. Docs and release notes text will follow later. Bram Matthys 2025-02-15 11:04:38 +01:00
  • 83ddf0c79a
    TLS tests: don't use color [skip ci] Bram Matthys 2025-02-14 08:23:15 +01:00
  • 76ba0495a1
    testssl.sh: for some reason ECDSA+SHA1 is in signature algorithms, even though this makes little sense and I doubt this is getting negotiated. Bram Matthys 2025-02-10 15:01:29 +01:00
  • 8537b73253
    Add new baseline for testssl.sh tests. Bram Matthys 2025-02-10 13:47:12 +01:00
  • 35bbba2b5b
    Attempt migration from cipherscan to testssl.sh for SSL/TLS tests. [skip ci] Bram Matthys 2025-02-10 13:18:11 +01:00
  • 72af36d2a3
    Fix problem with upcoming GCC 15 that assumes C23. GCC 15 is not released yet and is scheduled for April/May 2025. Bram Matthys 2025-02-10 11:26:34 +01:00
  • aa31afe388
    Update release notes a bit, nothing exciting [skip ci] Bram Matthys 2025-02-08 09:15:51 +01:00
  • 3cc06cecb9
    Show the message type in target flood log messages (PRIVMSG/NOTICE/TAGMSG). Bram Matthys 2025-02-08 08:31:06 +01:00
  • 53e2e9473e
    Code cleanup 'config_error_flag'. Maybe a great idea but we use a different errors system. This config_error_flag thing is unused so only confusing. Bram Matthys 2025-01-26 18:12:00 +01:00
  • 9aa83edd99
    Remove useless \n in calls to config_error() and config_status(). Where did this come from? This isn't printf() or anything. Bram Matthys 2025-01-26 17:31:12 +01:00
  • 04370d72f9
    Minor code cleanup Bram Matthys 2025-01-26 17:27:05 +01:00
  • d157dc2494
    Remove some useless code that is flagged by Coverity. Bram Matthys 2025-01-26 17:14:55 +01:00
  • 8d4e9ea9b8
    Merge branch 'unreal60_dev' of github.com:unrealircd/unrealircd into unreal60_dev Bram Matthys 2025-01-26 13:24:53 +01:00
  • ce47440abd
    Make config_detect_duplicate() externally accessible. Fix some coverity warnings, mostly with regards to memory leaks if duplicate config directives are used. Eg using allow::password twice in the same allow block, or using link::outgoing::tls-options twice in the same link block. Unusual stuff. Bram Matthys 2025-01-26 13:22:09 +01:00
  • 8b8520a183
    Update help.conf (#306) TehPeGaSuS 2025-01-25 17:26:07 +01:00
  • 80ac9eb888
    Central Blocklist: include web/websocket handshake data Bram Matthys 2025-01-12 12:31:35 +01:00
  • 0887a5a4bd
    example conf: comment out link { } and ulines { } as well These are optional after all. Not everyone links multiple servers and not everyone uses Services. Fits with the rest that is //'ed out now. Indirectly suggested by jwheare. Bram Matthys 2025-01-03 17:56:30 +01:00
  • 3bfd8d3a10 Adjustments charsys.c to take upstream fix for a memory leak. alice 2025-01-03 03:40:11 +00:00
  • ead9726579 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2025-01-03 03:14:42 +00:00
  • 6464407a7f
    In the REMOTEINC ./Config question at least mention cURL when we ask to enable cURL. Bram Matthys 2024-12-30 17:39:07 +01:00
  • a2b42b081f
    Update example.tr.conf & help.tr.conf by Serkan Sepetçi Bram Matthys 2024-12-23 08:46:58 +01:00
  • f51e8c0005
    Fix make_channel() not checking minimal validity of channel names. Only an issue for (bad) remote server traffic, since we use valid_channelname() in JOIN and SAJOIN. Bram Matthys 2024-12-13 10:15:21 +01:00
  • 42caa34b5c
    Fix small memory leak if running in DEBUGMODE (mostly for me :D). Bram Matthys 2024-12-11 18:25:55 +01:00
  • a09320886b
    Add JSON logging block to example.conf. Bram Matthys 2024-12-04 18:54:19 +01:00
  • 453729068e
    Add UnrealIRCd documentation wiki as doc/unrealircd_wiki.zim This so there is an offline version of the documentation from https://www.unrealircd.org/docs/. Bram Matthys 2024-12-04 13:18:37 +01:00
  • ec489e48d2
    Create $CONFDIR so ./Config question about copying example conf doesn't fail. Reported by PeGaSuS on IRC. Bram Matthys 2024-11-27 18:41:03 +01:00
  • 1f57a606a4
    Make binarytohex() from src/misc.c available and use it in certfp code. Bram Matthys 2024-11-27 12:37:27 +01:00
  • 6c98f7224a
    Always try to maintain chronological order in chat history, and optimize stuff. Bram Matthys 2024-11-27 10:19:53 +01:00
  • d0173840a4
    If conf/unrealircd.conf doesn't exist then propose copying the example conf. Offering the list of languages, with English being the default. Bram Matthys 2024-11-25 17:00:39 +01:00
  • 48a69151ef
    Update example.conf a little to indicate required changes with "CHANGE THIS". People should preferrably go through the example conf line by line, but if they are in a hurry or just want to get started quickly initially they could CTRL+F on that. Bram Matthys 2024-11-25 16:31:54 +01:00
  • 6940272290
    Prevent early UID cut-off. This doesn't happen with current unrealircd traffic because we send 9 character uids. However, IDLEN is defined as 12 so it is natural for other people (services and other pseudo server writers) to assume you could send 12, which failed until now, as it only accepted 11 characters. Bram Matthys 2024-11-24 09:46:52 +01:00
  • 47e81fe7d3
    Set version to 6.1.10-git Bram Matthys 2024-11-24 09:46:21 +01:00
  • e782748b40
    ** UnrealIRCd 6.1.9.1 ** Bram Matthys 2024-11-21 19:30:01 +01:00
  • f953c79be4
    Update release notes Bram Matthys 2024-11-21 19:28:22 +01:00
  • 1b4560218a
    I think this is the correct fix for incorrect TLS ciphers in 6.1.9. I was dumb: with an RSA cert you need ECDHE-RSA-* and i had only included ECDHE-ECDSA-*. Long story short: TLSv1.2 didn't work if you had an RSA certificate. Reported by BlackBishop, and in hindsight also by Mi_92. Thanks for the quick reports, this should be a quick fix :-) Bram Matthys 2024-11-21 18:59:33 +01:00
  • fb9aa72f78
    Mention new UnrealIRCd PGP release signing key in release notes [skip ci] Bram Matthys 2024-11-20 11:45:01 +01:00
  • 7b0228a2c8
    ** UnrealIRCd 6.1.9 ** Bram Matthys 2024-11-20 11:17:58 +01:00
  • 3aa26ef1f1
    Publish new UnrealIRCd release signing key for 2024-2030 (don't use it yet) pub rsa4096 2024-11-18 [SC] [expires: 2030-11-17] 36E6F65706E36B0937280299101001DAF48BB56D uid UnrealIRCd releases and patches (for verification of software downloads only!) <releases@unrealircd.org> Bram Matthys 2024-11-18 13:04:49 +01:00
  • 4ef7e4ea8d
    Read settings from unrealircd-6.1.8.1 Bram Matthys 2024-11-18 13:04:22 +01:00
  • e0ec8dd720
    More release notes updates (also.. sigh.. have mentioned twice now that we 'disable TLSv1.2' when instead i meant to write 'require at least TLSv1.2'... ah well...) [skip ci] Bram Matthys 2024-11-17 13:52:02 +01:00
  • 170a27e160
    Update release notes. Let's call the SSL/TLS changes enhancements :D [skip ci] Bram Matthys 2024-11-17 13:39:42 +01:00
  • b3559b5d2c
    Update release notes a bit [skip ci] Bram Matthys 2024-11-17 13:34:46 +01:00
  • 492152f9ea
    Default TLS ciphers: drop support for AES in CBC mode, only allow AES w/GCM. Bram Matthys 2024-11-17 13:08:46 +01:00
  • 3317be3069
    When using cURL for remote includes we now explicitly disable TLSv1.2 and set our default ciphers and ciphersuites. Note that by default in UnrealIRCd 6 the built-in (non-cURL) implementation is used for remote includes, which already uses the same defaults since 6.0.0. Also note that most distros, like Ubuntu and Debian, already disabled TLSv1.2 in the default openssl conf and thus it was already disabled in cURL. Bram Matthys 2024-11-17 12:32:35 +01:00
  • cda2bcd930
    Fix ecdh-curve X25519 missing when using the defaults. Bram Matthys 2024-11-17 11:53:49 +01:00
  • 116e076f0d
    Add release notes for upcoming 6.1.9 [skip ci] Bram Matthys 2024-11-17 10:21:19 +01:00
  • 08435a5674
    Bump version to 6.1.9-git Bram Matthys 2024-11-17 09:55:05 +01:00
  • bace42dd50
    Update curl-ca-bundle.crt to Tue Sep 24 03:12:04 2024 GMT https://curl.se/docs/caextract.html [skip ci] Bram Matthys 2024-11-17 08:54:21 +01:00
  • e43b407886
    Bump shipped c-ares library from 1.33.1 to 1.34.3 https://c-ares.org/changelog.html Bram Matthys 2024-11-17 08:43:11 +01:00
  • b49cb1e720
    An additional dbuf_delete() in free_client() that should be unneeded. Bram Matthys 2024-11-17 08:11:55 +01:00
  • 2c6cea2461
    Fix problem with unsubscribing I/O, leading to 100% CPU in some cases. The IRCd is still responsive (as the bad I/O is not prioritzed) but this isn't good either. Only happens with some rare triggers. Bram Matthys 2024-11-17 08:09:50 +01:00
  • 08fb2b46ac
    Fix crash with "STATS S" if having vhosts with autologin (no login). This crash is only triggerable by IRCOps. Bram Matthys 2024-11-17 08:03:32 +01:00
  • 4e11d81d67
    Fix IPv6 hosts not resolving in UnrealIRCd 6.1.8 / 6.1.8.1. Reported by bss on IRC. Bram Matthys 2024-11-16 13:13:02 +01:00
  • 18b171a071
    Some more missing include/windows/setup.h defines. Bram Matthys 2024-11-09 12:34:19 +01:00
  • b653c68df0
    Fix error on Windows when trying to set set::tls::ecdh-curves. "[error] ecdh-curves specified but your OpenSSL/LibreSSL library does not support setting curves manually by name. Either upgrade to a newer library version or remove the 'ecdh-curves' directive from your configuration file" Bram Matthys 2024-11-09 11:53:09 +01:00
  • 1f3c9b1dd2
    Add /HELPOP EXTSERVERBANS and refer to it from GLINE/KLINE/ELINE. Bram Matthys 2024-10-23 10:09:45 +02:00
  • 30b9f66f71
    ** UnrealIRCd 6.1.8.1 ** Bram Matthys 2024-10-17 18:30:07 +02:00
  • 6d60899007
    Good idea to bump the vhost module version to 6.1.8.1 [skip ci] Bram Matthys 2024-10-17 18:22:16 +02:00
  • 019c327821
    Fix crash with new auto-vhost code. Bram Matthys 2024-10-17 17:44:50 +02:00
  • 985a591df2
    Previous commit broke "GLINE *@1.2.3.4 0 test" and had a memory leak. Bram Matthys 2024-10-16 10:18:21 +02:00
  • 8e47aff2cf
    Make *LINE behave smarter if missing reason or time value (#304) Valerie Liu 2024-10-16 16:01:12 +08:00
  • cf6718fdb2
    Fix vhosts and blacklist reasons being lowercased This was unintentional strtolower() in unreal_expand_string() Bram Matthys 2024-10-14 18:56:21 +02:00