View Issue Details

IDProjectCategoryView StatusLast Update
0006045unrealupgrade-confpublic2021-12-30 11:41
ReporterAcN Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.1 
Fixed in Version6.0.2-rc1 
Summary0006045: Spamfilter.conf
DescriptionI updated on unreal 6 and I have an error :

[error] /home/acn/unrealircd/conf/spamfilter.conf:159: Failed to download 'https?://': Only https:// is supported (either rebuild UnrealIRCd with curl support or use https)

spamfilter {
  match-type regex;
    match "https?://";
    target { private; channel; };
    action warn;
};

L159 = match "https?://";
TagsNo tags attached.
3rd party modules

Activities

k4be

2021-12-30 06:45

developer   ~0022326

Replace "" with '' delimiters. That will stop unreal trying to download the url.
Is it somewhere in the examples?

syzop

2021-12-30 07:32

administrator   ~0022327

Last edited: 2021-12-30 07:33

As k4be said. Mentioned in the release notes (the last point):

Remote includes are now supported everywhere in the config file.
* Support for https:// fetching is now always available, even if you don't compile with libcurl support.
* Anywhere an URL is encountered on its own, it will be fetched automatically. This makes it work not only for includes and motd (which was already supported) but also for any other file.
* To prevent something from being interpreted as a remote include URL you can use 'value' instead of "value".

So change:
   match "https?://";

To:
   match 'https?://';


You're right, maybe we should mention it at more places, indeed.

syzop

2021-12-30 11:41

administrator   ~0022328

I've changed the default spamfilter.conf to use single quotes and added an explanation at the top of the file about why this is a good idea.
Similarly, I have done the same in the examples at https://www.unrealircd.org/docs/Spamfilter and in https://www.unrealircd.org/docs/Spamfilter_block
Hope that helps :)

Issue History

Date Modified Username Field Change
2021-12-30 02:06 AcN New Issue
2021-12-30 06:45 k4be Note Added: 0022326
2021-12-30 07:32 syzop Note Added: 0022327
2021-12-30 07:33 syzop Note Edited: 0022327
2021-12-30 11:41 syzop Assigned To => syzop
2021-12-30 11:41 syzop Status new => resolved
2021-12-30 11:41 syzop Resolution open => fixed
2021-12-30 11:41 syzop Fixed in Version => 6.0.2-rc1
2021-12-30 11:41 syzop Note Added: 0022328