Bram Matthys
52a7478bd0
Comment it out like this so we can use -D
2017-10-23 16:37:00 +02:00
Bram Matthys
1dfcac9794
Travis-CI: Blah.
2017-10-23 14:14:58 +02:00
Bram Matthys
0318edbad0
Reinstall git during run-tests (may have been removed earlier in 'local-curl' test)
2017-10-23 13:42:16 +02:00
Bram Matthys
cec74b0208
Use MAKE="make -j3" to make ./Config run faster as well.
2017-10-23 12:38:57 +02:00
Bram Matthys
13740a7d13
Travis-CI: Generate TLS certificate during test build (needed for testing further on)
2017-10-23 12:34:41 +02:00
Bram Matthys
821ad6ec06
Add some clear marker between compile tests and other tests
2017-10-23 12:05:33 +02:00
Bram Matthys
5f3f6aa827
Travis-CI: run-tests: install 'rake'
2017-10-23 12:02:52 +02:00
Bram Matthys
e1590fc8bc
Run make with -j3. Add +x to extras/build-tests/nix/run-tests (:D)
2017-10-23 11:53:50 +02:00
Bram Matthys
866a060533
Use 'set -e' and try to run test framework
2017-10-23 11:49:06 +02:00
Bram Matthys
b23a3ff7b9
Travis-CI: path changes
2017-10-23 11:16:05 +02:00
Bram Matthys
4dc5324e57
Travis-CI: cleanup / new dir structure
2017-10-23 11:13:05 +02:00
Bram Matthys
77234b2b8d
API change for HOOKTYPE_PRE_INVITE and fix #5023 :
...
* API change for HOOKTYPE_PRE_INVITE:
(aClient *sptr, aClient *target, aChannel *chptr, int *override)
Modules must now send the error message instead of only returning
HOOK_DENY. Also check for operoverride and set *override=1.
This so modules can send their own error messages instead of the
default message being sent ("channel is +V" - which is not true).
Reported by Gottem (#5023 ).
2017-10-23 10:07:33 +02:00
Bram Matthys
d11484c2cf
Add build status badge for Windows (AppVeyor)
2017-10-23 09:00:14 +02:00
Bram Matthys
8981b87c72
Update libressl paths for VS2017
...
(or actually current unreal w/o rollback for vs2012)
2017-10-22 18:11:24 +02:00
Bram Matthys
8a17f5aad2
I've stopped trying to understand this.
...
Apparently there's a difference between sed 3.x and sed 4.x
2017-10-22 17:11:45 +02:00
Bram Matthys
a55aa2a39a
1) From double escaping to single escaping, such joy.
...
2) Use 'iscc' rather than 'compil32' since the latter pops up a
dialog box which blocks the entire build process.
3) Apparently the VS2017 image has a broken VS2012 since it bails
on winsock.h. So try to use different images for both builds.
2017-10-22 16:41:23 +02:00
Bram Matthys
a9a94652ec
Be consistent when setting WINVER. This fixes a compile issue
...
with Visual Studio 2017.
2017-10-22 16:23:52 +02:00
Bram Matthys
7527de3820
Silence rar extraction stuff - way too noisy
2017-10-22 16:18:50 +02:00
Bram Matthys
81e8ef3b49
Tell AppVeyor to use VS2017 image, apparently not the default.
2017-10-22 16:17:40 +02:00
Bram Matthys
1a434963b7
Duh 3
2017-10-22 16:11:24 +02:00
Bram Matthys
b3480c3b42
Duh 2
2017-10-22 16:07:32 +02:00
Bram Matthys
a6049add32
Duh.
2017-10-22 16:06:54 +02:00
Bram Matthys
99f9d1aa7c
AppVeyor: restructuring, add vs2017 target, ..
2017-10-22 16:02:48 +02:00
Bram Matthys
b941b184f0
Let's try an environment (build config)
2017-10-22 14:47:38 +02:00
Bram Matthys
e505a4b99c
Something tells me error checking won't work in batch files without this..
2017-10-22 14:41:54 +02:00
Bram Matthys
5510f6dc0d
Ah no.
2017-10-22 14:38:19 +02:00
Bram Matthys
25864b9cb6
Nevermind, use external batch file.
2017-10-22 14:34:41 +02:00
Bram Matthys
5ec84b1629
Try 5001
2017-10-22 14:31:54 +02:00
Bram Matthys
593cacbc90
Hm CRLF shit?
2017-10-22 14:28:23 +02:00
Bram Matthys
40d8fe9376
Initial appveyor file for automated Windows build.
2017-10-22 14:25:54 +02:00
Bram Matthys
6ab81ab7b4
Fix bug caused by 5124e60b7c a few days ago:
...
channel MODE without parameters being sent when force-rejoin is in use.
2017-10-18 17:39:54 +02:00
Bram Matthys
d67de82786
Add extra 6 second fake lag penalty on /INVITE.
2017-10-18 15:56:06 +02:00
Bram Matthys
5bedeaa9bf
Set cptr->name after EAUTH. Fixes bug #4915 reported by Eman:
...
missing server name in link rejection message (clock mismatch).
2017-10-18 15:43:13 +02:00
Bram Matthys
f8cab0d093
isupport does not update maxbans. Reported by dyfrgi ( #4882 ).
2017-10-18 15:22:33 +02:00
Bram Matthys
a716e3ccaa
The default oper snomask now includes 'S' (spamfilter notices).
2017-10-18 15:11:12 +02:00
Bram Matthys
70b64c2ad8
If you have any blacklist { } block then UnrealIRCd will set an
...
set::handshake-delay of 2 seconds by default. This will allow (most)
DNSBL checking to be finished before the user comes online, while
still allowing a smooth user experience.
If your DNS(BL) is slow then you could raise this setting slightly.
2017-10-18 15:03:12 +02:00
Bram Matthys
e4f4336f15
Add set::handshake-delay https://www.unrealircd.org/docs/Set_block#set::handshake-delay
2017-10-18 14:57:35 +02:00
Bram Matthys
b56c5b985f
This check is already present in parse_client_queued()
2017-10-18 14:31:35 +02:00
Bram Matthys
3aa6adcbfc
Rename 'draft/sts' to 'sts'.
2017-10-17 18:12:13 +02:00
Bram Matthys
98b4832b27
clarify
2017-10-12 20:18:24 +02:00
Bram Matthys
c2d80028b3
Update release notes to reflect latest changes.
2017-10-12 20:16:42 +02:00
Bram Matthys
307243ff7a
Show (previously hidden) umode -r to user on nickchange.
...
Reported by Mewsito (#4949 ).
2017-10-11 18:25:58 +02:00
Bram Matthys
1d659296c2
Fix Windows compile problem
2017-10-11 17:33:39 +02:00
Bram Matthys
b7b8e41ac4
CAP chghost: also send CHGHOST message to "self" (impacted user)
...
https://github.com/ircv3/ircv3-specifications/issues/324
2017-10-11 10:29:00 +02:00
Bram Matthys
df5ed0884e
Use spkifp instead of sslclientcertfp in example conf.
...
Add example link block for services (but reject if user does not
change the default password)
2017-10-09 15:10:37 +02:00
Bram Matthys
9e1160b74f
Add './unrealircd spkifp' which will output the SPKI fingerprint
...
along with the exact password section to use in the link block
on the other side of the link.
Also used in tutorial now at
https://www.unrealircd.org/docs/Tutorial:_Linking_servers
2017-10-09 14:59:19 +02:00
Bram Matthys
55e4c8ea03
Tell admins to verify the SSL/TLS certificates of their server links.
...
https://www.unrealircd.org/docs/Link_verification
This is only outputted if both sides are 4.0.16+ so we can use spkifp
and use the same instruction on both sides of the link.
(If we would do it for previous versions then we would only give
half of the instructions to the users, which makes no sense)
2017-10-09 14:17:35 +02:00
Bram Matthys
16faccb777
Add support for 'spki' authtype. Example:
...
password "AHMYBevUxXKU/S3pdBSjXP4zi4VOetYQQVJXoNYiBR0=" { spkifp; };
This value will stay the same even for new SSL/TLS certificates,
as long as the key stays the same. This can be useful in case of
Let's Encrypt (if you use a tool that keeps the same key, that is,
certbot does not at the moment). Suggested by grawity (#5014 ).
Also make auth type 'sslclientcert' available as 'cert' and
make 'sslclientcertfp' available as 'certfp'.
2017-10-09 12:28:08 +02:00
Bram Matthys
75ab9a766c
Dumdeedum
2017-10-08 18:21:43 +02:00
Bram Matthys
f2603cdc49
When booting the IRCd and the log is full (log::maxfilesize), the IRCd
...
would not write the appropriate 'Max file size reached' message to the
old log file. Reported by NoMiaus (#4919 ).
2017-10-08 18:19:16 +02:00