Commit graph

  • 9fbd7f33fc
    The set::webredir block should be commented out by default. [skip ci] Bram Matthys 2019-08-17 12:48:30 +02:00
  • c941c529c3
    Load 'reputation' and 'connthrottle' by default. Add to example.conf. Bram Matthys 2019-08-17 12:46:43 +02:00
  • 143d747e66
    Rename 'cmdrestrict' to 'restrict-commands'. Load the module by default so you can use set::restrict-commands without having to loadmodule. Restrict the LIST and INVITE commands in the example.conf, which is often a good idea. Finally, document the configuration/usage at: https://www.unrealircd.org/docs/Set_block#set::restrict-commands Bram Matthys 2019-08-17 12:34:14 +02:00
  • 6c02c896d9
    add +H to HELPOP CHMODES Bram Matthys 2019-08-17 12:06:05 +02:00
  • 8ae9e85a9a
    Channel history: set default playback on join lines to 15. Bram Matthys 2019-08-17 12:05:23 +02:00
  • 5f99586982
    And another fix for 0d2d4d5bca. Bram Matthys 2019-08-17 09:36:29 +02:00
  • f10ec9aebc
    Fix for previous commit (0d2d4d5bca) Bram Matthys 2019-08-17 09:31:58 +02:00
  • 0d2d4d5bca
    Rename match() and _match() to match_simple() -AND- invert the return value of match_simple() and match_esc(). So, developers, be aware, this is how you should use the function in a correct way: if (match_simple("*fun*", str)) printf("It was fun\n"); Bram Matthys 2019-08-17 09:20:49 +02:00
  • e1fcc3a667
    Rename match() and _match() both to match_simple() and get rid of the "bahamut optimized version". Stage 1 of 2. Bram Matthys 2019-08-17 09:07:22 +02:00
  • c01c9248f5
    Revert e428c77c47 (only to try again later) Bram Matthys 2019-08-17 09:05:09 +02:00
  • e428c77c47
    match() -> match_nuh() and _match -> match_simple() Bram Matthys 2019-08-17 08:49:43 +02:00
  • 870f10b8a5
    Extban ~T:block:something is now auto-converted to ~T:block:*something* since this is pretty much always what you want. Otherwise it's just too confusing that things don't match. Bram Matthys 2019-08-17 08:36:59 +02:00
  • 29a3994d24
    Fix some logic in add_listmode_ex(). Probably not terribly important but theoretically one could have seen a "ban list full" error message multiple times in rare cases. Bram Matthys 2019-08-16 20:15:42 +02:00
  • 0f7a172c30
    Rename who to who_old, since whox is now loaded by default and loading who_old should only be done if you want the classic old WHO. Bram Matthys 2019-08-16 18:14:30 +02:00
  • ccb534c3e9
    res.{c,h} -> dns.{c,h} and moddata.c -> api-moddata.c Bram Matthys 2019-08-16 18:09:25 +02:00
  • dfcd465103
    Rename some api-*.c files to be more descriptive. Bram Matthys 2019-08-16 18:00:26 +02:00
  • fffd459bf9
    src/extbans.c -> src/api-extbans.c, and the same for extcmodes and umodes. I suppose what is and what is not an API can be considered a bit arbitrary but for us it is the stuff we expose via the module api. We now have: api-clicap api-command api-event api-extbans api-extcmodes api-history-backend api-isupport api-mtag api-umodes Bram Matthys 2019-08-16 17:52:49 +02:00
  • fd37f050b8
    Rename src/events.c to src/api-event.c for consistency. Bram Matthys 2019-08-16 17:47:07 +02:00
  • 4e0f1f5ffa
    Re-indent events.c and remove ancient event system locking routines. Bram Matthys 2019-08-16 17:45:35 +02:00
  • 41051cf3c7
    Remove some unused variables [skip ci] Bram Matthys 2019-08-16 17:37:36 +02:00
  • a408b61f32
    For some unknown reason del_ListItem() iterated the entire list. Weird. Bram Matthys 2019-08-16 17:36:15 +02:00
  • 08b4844050
    Update credits for UnrealIRCd 5. Bram Matthys 2019-08-16 15:18:58 +02:00
  • 3a454e3eb3
    free_mtags() -> free_message_tags() Bram Matthys 2019-08-16 14:54:28 +02:00
  • 887cf24fd7
    Add channeldb module (loaded by default): this saves all channel settings such as name, creationtime, modes, topic, bans/exempts/invex to a database and restores it on-boot. It only does this for +P (persistent) channels. Bram Matthys 2019-08-16 14:42:25 +02:00
  • d8f839ed44
    floodprot (source code): use proper variable names. Not sure why I didn't do this back in 2003... ah well, that was 16 years ago, I forgive myself :D Bram Matthys 2019-08-15 18:56:08 +02:00
  • 7193600a08
    Force buildbot.. Bram Matthys 2019-08-15 12:09:21 +02:00
  • e22000ed48
    Buildbot test... Bram Matthys 2019-08-15 12:02:11 +02:00
  • d91f21a687
    Update more old references to U4.. Bram Matthys 2019-08-15 11:55:18 +02:00
  • 9e1556a6f7
    Dumdeedum Bram Matthys 2019-08-15 11:44:20 +02:00
  • 6dc7aac372
    Update some unrealircd-4 references to unrealircd-5. .. or actually I just want to test buildbot :D Bram Matthys 2019-08-15 11:26:20 +02:00
  • 16f3b797e4
    Use different OpenSSL functions that are more of a hassle but also exist in older versions such as 1.0.1. Bram Matthys 2019-08-15 09:02:42 +02:00
  • ced8b0935d
    Check for and refuse to run with <2048 bits RSA keys. I hope nobody is using 1024 bit RSA keys in 2019, but always better to check and inform the admin about such a big mistake. Bram Matthys 2019-08-15 08:52:28 +02:00
  • f58fff47d4
    Small text change [skip ci] Bram Matthys 2019-08-14 09:28:14 +02:00
  • 2127a36f61
    Remove ~R extban as it is redundant now that we have ~a. All services should have account names by now. Bram Matthys 2019-08-13 21:08:22 +02:00
  • a32e285d63
    Document ~f extban in helpop. [skip ci] Bram Matthys 2019-08-13 21:01:49 +02:00
  • e5b40f13df
    Change the new extban from ~L to ~f:#forward:*!*@*. ... this just to annoy Gottem. Bram Matthys 2019-08-13 20:56:38 +02:00
  • 4d74ca9d9a
    Take out labeled-response until it is unbroken (as in: don't load by default for now). Not a high priority item at the moment. Bram Matthys 2019-08-13 18:49:18 +02:00
  • 4f4a867b58
    Update prototype of HOOKTYPE_CHANMSG to include sendflags, prefix and target. I needed the target for echo-message, and also in the history module we no longer save to the history any @#channel messages, since otherwise they could be played back to people we shouldn't see them ;) Bram Matthys 2019-08-13 18:45:38 +02:00
  • 4c8fe6e8d9
    Add CAP echo-message. Bram Matthys 2019-08-13 18:36:25 +02:00
  • 912eea52d7
    More NULs are always a good thing. [skip ci] Bram Matthys 2019-08-13 18:13:01 +02:00
  • 5279212b30
    More SSL to TLS changes Bram Matthys 2019-08-13 13:09:49 +02:00
  • 39bb0299f1
    /REHASH -ssl -> /REHASH -tls Bram Matthys 2019-08-13 12:59:56 +02:00
  • 135b4808d0
    Update example configs to use tls instead of ssl Bram Matthys 2019-08-13 12:58:10 +02:00
  • c4b276d2d8
    Windows: another conf\ssl to conf\tls instance (in the installer) [skip ci] Bram Matthys 2019-08-12 14:54:50 +02:00
  • 7fa2b8be05
    More ssl -> tls moves. Also recommend to use 'certfp' rather than the longer 'sslcertfp' or 'tlscertfp', we already support this since 4.0 so... updated the documentation as well. Bram Matthys 2019-08-12 14:53:29 +02:00
  • 8ff6ad17ee
    Part 4 of ssl/tls rename (not important) [skip ci] Bram Matthys 2019-08-12 14:44:14 +02:00
  • b6c786d2c0
    gplplusssl.rtf should mention LibreSSL, not OpenSSL. [skip ci] Bram Matthys 2019-08-12 14:42:49 +02:00
  • ef739331b0
    Rename ssl_antidos to tls_antidos. Bram Matthys 2019-08-12 14:40:11 +02:00
  • 2b0afacdf0
    Rename of "ssl" to "tls" part 2 Bram Matthys 2019-08-12 14:35:32 +02:00
  • 09cf485d6c
    Mass rename of "ssl" to "tls" everywhere. Including conf/ssl to conf/tls. If you are upgrading then conf/ssl will be renamed to conf/tls and a symlink will be added (so certbot etc won't fail). This is part 1... Bram Matthys 2019-08-12 14:26:31 +02:00
  • 86844c3c2b
    Replace UnrealIRCd 4 -> UnrealIRCd 5 Bram Matthys 2019-08-12 13:49:21 +02:00
  • 684baf9e59
    Add a note to ./autogen.sh that this is only for devs, not end-users. [skip ci] Bram Matthys 2019-08-12 13:44:45 +02:00
  • 2976c488b0
    Delete appveyor.yml, as we are now using buildbot. [skip ci] Bram Matthys 2019-08-12 13:42:58 +02:00
  • e44f572725
    Rename makefile.windows -> Makefile.windows, consistent with Makefile.in [skip ci] Bram Matthys 2019-08-12 13:41:55 +02:00
  • 7f903b422c
    Strip m_ prefix in modules (part II). Bump reported module version of each module to 5.0 (or the ones that previously were 4.2, anyway). Bram Matthys 2019-08-12 13:36:03 +02:00
  • fc5569408d
    Drop the m_ prefix from modules. So rename src/modules/m_*.c to src/modules/*.c and update makefiles and modules.default.conf. Also remove m_ at various places in the source files, but not the CMD_FUNC(), just the module name. Bram Matthys 2019-08-12 13:27:45 +02:00
  • 5701fbed20
    Update installer script to reflect new windows paths [skip ci] Bram Matthys 2019-08-11 18:16:16 +02:00
  • 4488819e69
    Oops... [skip ci] Bram Matthys 2019-08-11 18:08:56 +02:00
  • 61cf5f16d3
    Ok.. I get it. [skip ci] Bram Matthys 2019-08-11 18:02:13 +02:00
  • 63cfdb4b68
    src/windows/win.h -> include/windows/win.h and update the include name @skipci Bram Matthys 2019-08-11 17:58:53 +02:00
  • 3d7117ea77
    Whatever this is, I'm not leaving it alone :D @skipci Bram Matthys 2019-08-11 17:56:25 +02:00
  • c68b0e9ab4
    Rename windows.{c,h} -> win.{c,h} to avoid confusion Bram Matthys 2019-08-11 17:51:48 +02:00
  • 645989e602
    Rename makefile.win32 to makefile.windows, among several other changes. (Would surprise me if this compiles without failure, tho) @skipci Bram Matthys 2019-08-11 17:46:12 +02:00
  • 1498f1e716
    Rename directories from 'win32' to 'windows' Bram Matthys 2019-08-11 17:40:08 +02:00
  • 3a29677c79
    Windows build fix, just rename the damn file. Bram Matthys 2019-08-11 17:35:44 +02:00
  • 6c398c58fc
    Windows makefile: you are weird. Bram Matthys 2019-08-11 17:21:17 +02:00
  • a53316d256
    Rename src/s_svs.c to src/aliases.c, since that is what it contains. Bram Matthys 2019-08-11 17:19:42 +02:00
  • 03e095cd92
    Rename src/s_*.c files: drop the useless s_ prefix. Bram Matthys 2019-08-11 17:15:14 +02:00
  • 0cd6b9bea1
    Integrate s_auth.c into s_bsd.c (only 200 lines and the place fits well) Bram Matthys 2019-08-11 17:09:22 +02:00
  • 25687c2bed
    New efuncs: tkl_ip_hash() and tkl_ip_hash_type(), for the rmtkl module. Bram Matthys 2019-08-11 14:48:07 +02:00
  • ae8c0af51c Ported rmtkl (remove TKLs in bulk) while waiting for Syzop to implement some changes (compiles with a warning at the moment) GottemHams 2019-08-10 21:55:34 +02:00
  • f6df735291 floodprot: Floodtype 'r' for handling per-user repeated PRIVMSGs (CTCP/notice/ACTION/regular message) + action 'd' for dropping stuff for floodtypes 't' (per-user text) and 'r' GottemHams 2019-08-10 19:25:51 +02:00
  • 3c47e22b75
    These TODO/FIXME's can be removed (well, except 1) @skipci Bram Matthys 2019-08-10 14:14:40 +02:00
  • 5af31c4a30
    These FIXME's can be removed. @skipci Bram Matthys 2019-08-10 14:12:29 +02:00
  • c50f65c5bf
    Update two small FIXME's (nothing worth mentioning) Bram Matthys 2019-08-10 14:09:00 +02:00
  • 1cbfc85352
    This FIXME was resolved AFAICT. In message-tags.c we do: if (m->clicap_handler && (acptr->local->caps & m->clicap_handler->cap)) return 1; ... so if messagetaghandler->clicap_handler is NULL then this won't be 1. Bram Matthys 2019-08-10 13:34:01 +02:00
  • 4d105afcf2
    Update comments (duplicate words, blah) @skipci Bram Matthys 2019-08-10 13:29:14 +02:00
  • a185e341e6
    Update client_accepts_tag() to use the mtags API rather than hardcoded if() statements. Bram Matthys 2019-08-10 13:21:04 +02:00
  • bcf21c9d7e
    Add fix for "bug" caught by fuzzer (incorrect @time in S2S traffic). Bram Matthys 2019-08-07 17:32:44 +02:00
  • 2c8f909759 Ported a major chunk of m_forward's functionality to chanmodes/link, with a bunch of improvements =] GottemHams 2019-07-27 21:10:13 +02:00
  • af2ef7d186 Updated cmdrestrict example configuration to reflect recent changes GottemHams 2019-07-27 14:02:15 +02:00
  • 3a1ae06345 cmdrestrict should be able to override any command, also couple of minor improvements GottemHams 2019-07-27 13:56:30 +02:00
  • 8c11ebd0e7 Make allow {} block always continue when there were no password or wrong password was specified. i 2019-07-18 18:47:05 +03:00
  • c9908a55c9 Added HOOKTYPE_CONFIGPOSTTEST for webredir module, to check if there is no set::webredir. i 2019-07-16 01:18:41 +03:00
  • e30de7b7a6 Removed default url for webredir module and refuse to load without url. i 2019-07-15 21:59:41 +03:00
  • 1079cded02 Nested comment blocks don't work anymore :D GottemHams 2019-07-15 18:36:15 +02:00
  • 19aad17d4e cfgstruct is not necessary for cmdrestrict :D GottemHams 2019-07-14 23:08:42 +02:00
  • 655027f5db Merge branch 'unreal50' of github.com:syzop/unrealircd-next into unreal50 GottemHams 2019-07-14 23:05:08 +02:00
  • e5cfc5d798 cmdrestrict v1.0: Restrict specific commands until certain conditions have been met =] GottemHams 2019-07-14 23:04:15 +02:00
  • 53146f252c New module webredir (do 301 redirect for HEAD/GET/POST/PUT commands to the specified URL). i 2019-07-14 22:37:55 +03:00
  • 2894c16638
    Lower set::ident::read-timeout to 7 seconds, which should be plenty on the Internet of today. Bram Matthys 2019-07-14 19:22:36 +02:00
  • 1c5c501dc1
    Remove m_nopost module as it is no longer useful. UnrealIRCd already protects (for maaaany years) with ping cookies against this attack. Making the m_nopost redundant. Also, another module may be more useful (more on this soon...). Bram Matthys 2019-07-14 19:07:32 +02:00
  • d22a2a20f0 Make usermode +T block channel CTCP's as well. i 2019-07-14 19:01:31 +03:00
  • d9bd18c483
    Remove TODO comment, now that it has been done [skip ci] Bram Matthys 2019-07-13 16:00:49 +02:00
  • c2445fa9c6
    Add history_backend_null, which can be useful on servers where you explicitly do not want to remember any channel history, such as on a hub server to save memory. Also, on Windows, ensure to compile all history_backend_*.c Bram Matthys 2019-07-13 15:53:23 +02:00
  • 3b67e83275
    Add some FIXME's to labeled-response. Not going to work on that right now, since there is more important things to do... [skip ci] Bram Matthys 2019-07-13 15:40:58 +02:00
  • 806256e9c2
    Move generate_batch_id() to core. Use chathistory BATCH type, if supported. Bram Matthys 2019-07-13 15:25:56 +02:00
  • ccfeac6eae
    Don't re-order mtags on history playback Strictly, this is not a problem, but.. for our test framework it is better and it looks cleaner too. Bram Matthys 2019-07-13 08:20:12 +02:00
  • 65b5e21464
    Fix double 'time' mtag on history playback Bram Matthys 2019-07-13 08:18:53 +02:00
  • 0cda60301d
    Add set::broadcast-channel-messages [auto|always|never]: This determines when UnrealIRCd will use broadcast instead of multicast for delivering channel messages to servers. The default is 'auto' which uses multicast but switches to broadcast when channel mode +H is set. This is what people should normally use. If you set it to 'never' then +H will not work properly if there are servers with 0 users on them. Bram Matthys 2019-07-13 07:59:12 +02:00