Commit Graph

3543 Commits

Author SHA1 Message Date
funilrys
8fc7f948a8
Remove any potential invalid entries.
- Anything that looks like an IP will be ignored.
- Anything that doesn't containt dots will be ignored.
2023-09-03 13:12:41 +02:00
funilrys
15da4c8406
Merge remote-tracking branch 'upstream/master' into issue-2347 2023-09-03 11:31:09 +02:00
funilrys
b3f93f1528
Add an regexless alternative.
This "regexless" alternative just try to implement a more
"generic" solution to the actual "problem".

Please note that this commit will fail tests, because this commit
assume that IPs are not correct rules.

Please also note that the following test will also fail because
the new implementation assume that is actually a parsable
rule. @StevenBlack need to take a decision regarding that one rule.

	0.0.0 google

Also:
  * My editor "blacked" the file.
2023-09-03 11:22:38 +02:00
Steven Black
85cc9dff95
Merge pull request #2425 from toastal/rm-flake-utils
flake: rm `numtide/flake-utils` dependency
2023-08-29 08:58:04 -04:00
toastal
34ba3638fb flake: rm flake-utils dependency
Pulling in an entire dependency to call a for-loop is wasteful & largely
useless.

When user adds this module to their config, flake-utils & all of its
subdependencies will be pulled into the user’s flake.lock file. This
for-loop was only being used for the developer shell to which a lot of
folks probably aren’t doing active developments in this project as the
module itself doesn’t require it. Potentially damagingly is that this
project lacks its own flake.lock so the latest flake-utils will always
be downloaded regardless of if it that version is compatible or not.
Additionally, flake-utils’ default system list doesn’t include
i686-linux which upstream Python3 in Nixpkgs does.

The alternative solution to these problems is to remove the dependency
& just write a for-loop in this project. This solution could be more or
less robust, but it is an extensible version of that loop that could
handle overlays or config changes if needed in the future.
2023-08-29 11:06:48 +07:00
Steven Black
87950f72ee
Release 3.13.26 2023-08-28 18:56:29 -04:00
Steven Black
eb73e9a07a
Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-08-28 18:56:06 -04:00
Steven Black
4579444412
Updating KADhosts size history and graph. 2023-08-27 12:07:25 -04:00
Steven Black
fb03756f6b
Release 3.13.25 2023-08-26 18:00:03 -04:00
Steven Black
66f6e9c3d3
Updates from URLhaus and KADhosts. 2023-08-26 17:59:31 -04:00
Steven Black
3e7548ea87
Release 3.13.24 2023-08-22 14:54:45 -04:00
Steven Black
bca2e76b4f
Updates from sinfonietta, URLHaus, and KADhosts. 2023-08-22 14:54:12 -04:00
Steven Black
ca08e62e5b
Release 3.13.23 2023-08-21 17:27:31 -04:00
Steven Black
1c25bd1693
Updates from BigDargon, URLHaus, someonewhocares.org, KADHosts, and hostsVN. 2023-08-21 17:27:05 -04:00
Steven Black
03e1e33213
Release 3.13.22 2023-08-17 14:59:32 -04:00
Steven Black
94c0ac2cdf
Updates from BigDargon, URLHaus, and KADhosts. 2023-08-17 14:59:05 -04:00
Steven Black
7311969c45
Issue #2403: add madqudden.com. 2023-08-16 11:06:40 -04:00
Steven Black
23b74c7756
Release 3.13.21 2023-08-13 21:43:56 -04:00
Steven Black
479b5923a3
Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-08-13 21:43:15 -04:00
funilrys
560615dd7f
Add support for exotic TLDs.
Indeed, before this patch, we were not supporting TLD which
contains digits and dashes (-) when "puny-encoded".
2023-08-10 16:35:38 +02:00
mulhern
2415078892
Add s2.bl-1.com to hosts file 2023-08-10 16:35:38 +02:00
Steven Black
4574a4a48c
Release 3.13.20 2023-08-10 16:35:38 +02:00
Steven Black
616408666f
Updates from Sinfonietta, URLHaus, and KADhosts. 2023-08-10 16:35:37 +02:00
Steven Black
f0b6120075
Issue #2402: add five new domains. 2023-08-10 16:35:37 +02:00
Steven Black
369b483787
Issue #2398: add ms4.applvn.com. 2023-08-10 16:35:37 +02:00
Steven Black
0bf24bb5b0
Release 3.13.19 2023-08-10 16:35:37 +02:00
Steven Black
df85659d54
Update graph. 2023-08-10 16:35:37 +02:00
Steven Black
b52e6db372
Updates from URLHaus and KADhosts. 2023-08-10 16:35:36 +02:00
Steven Black
7ecb84e53b
Merge pull request #2404 from mulkieran/add_s2.bl-1
Add s2.bl-1.com to hosts file
2023-08-10 10:02:58 -04:00
mulhern
682bb73b6d Add s2.bl-1.com to hosts file 2023-08-09 10:04:15 -04:00
Steven Black
e9f679312b
Release 3.13.20 2023-08-08 09:56:59 -04:00
Steven Black
17b5fcb344
Updates from Sinfonietta, URLHaus, and KADhosts. 2023-08-08 09:56:25 -04:00
Steven Black
96a0e1bf72
Issue #2402: add five new domains. 2023-08-08 09:48:55 -04:00
Steven Black
1aa462c141
Issue #2398: add ms4.applvn.com. 2023-08-08 09:46:24 -04:00
Steven Black
8695605224
Release 3.13.19 2023-08-05 20:29:59 -04:00
Steven Black
17f6bb4d88
Update graph. 2023-08-05 20:29:10 -04:00
Steven Black
497e52d7a4
Updates from URLHaus and KADhosts. 2023-08-05 20:28:18 -04:00
funilrys
3b2c9dda2b
Add new test case.
Indeed, even with the original regex, the following test doesn't
pass. Therefore, it is necessary to add it into the tests.

	www.example-3045.foobar.com
2023-08-05 21:00:55 +02:00
funilrys
1f3f3236ed
2nd Iter: Ensure that hostnames without dots are excluded.
This patch fixes #2347.

Indeed, my previous patch was missing domains with dashes (-).
2023-08-05 20:43:10 +02:00
Steven Black
8f208abb74
Release 3.13.18 2023-08-04 18:02:21 -04:00
Steven Black
ef9a61fec0
Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-08-04 18:02:03 -04:00
Steven Black
072062f9e8
Merge pull request #2397 from Lateralus138/master
Added links and information to and about the hosts-compression-script…
2023-08-04 12:43:25 -04:00
Lateralus138
35ea9abbb4 Added links and information to and about the hosts-compression-scripts repository to readme_template.md - 08/04/2023 04:53:18 UTC 2023-08-03 23:53:20 -05:00
Steven Black
439665cb9a
Release 3.13.17 2023-08-01 16:47:16 -04:00
Steven Black
726763af69
Updates fron BigDargon, URLHaus, and KADhosts. 2023-08-01 16:46:51 -04:00
Steven Black
19478b8a0d
Release 3.13.16 2023-07-27 15:38:30 -04:00
Steven Black
178907f54e
Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-07-27 15:36:06 -04:00
Steven Black
1892e80aa4
Reverting changes in PR ##2391. 2023-07-27 15:34:13 -04:00
Steven Black
a3f202074b
Merge pull request #2391 from funilrys/issue-2347
Ensure that hostnames without dots are excluded.
2023-07-27 14:21:07 -04:00
funilrys
7e25ed039a
Ensure that hostnames without dots are excluded.
This patch fixes #2347.
2023-07-26 15:06:21 +02:00