Commit Graph

27 Commits

Author SHA1 Message Date
curben 03ff3a9979
feat: remove URLhaus.csv
- repo is getting too big
- move URLhaus.csv to job artifact
2020-05-14 10:44:25 +01:00
curben 6129ab89bd
refactor: replace echo with printf 2020-05-13 11:37:40 +01:00
curben 52bdf0add6
fix: remove 'URLhaus' from title
- not endorsed by abuse.ch
- refactor script to reduce repetitive variable declarations
  * https://stackoverflow.com/a/38674872
- fix titles
2020-05-13 11:29:10 +01:00
curben 447826dd4b
feat: add Tranco list
- combine with Umbrella to minimise false positive
- https://tranco-list.eu/
2020-05-12 03:33:10 +01:00
curben 1ff75420f9
fix(hosts): add 'Online' to name 2020-04-20 09:18:09 +01:00
curben df9b82c90e
style: single quote if parameter has double quote 2020-04-19 14:17:20 +01:00
curben c2d806677d
feat: add unbound-compatible blocklist 2020-04-19 09:42:25 +01:00
curben f4cb2d4f5a
feat: add BIND-compatible blocklist 2020-04-19 09:02:03 +01:00
curben 7227b68ee7
refactor: drop sed '~' syntax
- use grep to exclude '#' comment, instead of using sed '~' line traversal
- busybox sed doesn't support '~'
2020-04-19 08:25:58 +01:00
curben eea4fc1220
feat: add hosts file format 2020-04-19 06:19:05 +01:00
curben 667a55b51c
fix: revert to Umbrella list
- Tranco doesn't include subdomain
- Closes #12
- Closes #11
- Closes #10
- Closes #9
- Revert bb9e8ca7cf
2020-04-02 22:46:28 +01:00
curben 8638295afb
fix: switch to curl
- busybox's wget doesn't support redirect
2020-04-01 11:30:40 +01:00
curben bb9e8ca7cf
feat: use Tranco list
- replace Cisco Umbrella
- Tranco's ranking method is open-source
  * https://github.com/DistriNet/tranco-list
  * https://tranco-list.eu/
2020-04-01 11:07:54 +01:00
curben ba7efa8cbd
fix: urlhaus db is zip-compressed 2020-04-01 10:52:12 +01:00
curben 22672a17ac feat: add dnsmasq-compatible blocklist
- Inspired by https://github.com/tanrax/maza-ad-blocking
2020-03-30 04:20:07 +01:00
curben 8167a4e833
fix: idempotent rm 2020-02-08 03:37:01 +00:00
curben 1b75e73ade
build: safer shell script
- https://sipb.mit.edu/doc/safe-shell/
2020-02-08 03:32:36 +00:00
curben 599d1105fc feat: add host-only blocklists 2019-10-01 06:58:46 +00:00
curben a01af4765d
fix: domain should have at least a dot 2019-08-04 17:24:07 +09:30
curben 303eaf8c44 fix: remove URLhaus.txt
* and use sed to properly remove comment
2019-06-16 11:51:36 +09:30
curben fb1f121c83 feat: create a smaller ruleset with online urls only
Revert (sort of) bb817d9838
incorrect offline url issue has been resolved, but may re-appear
2019-06-13 15:34:13 +09:30
curben 9f0c80248f style: remove simple comment 2019-05-29 15:34:31 +09:30
curben 60095edb75 refactor: remove '#' comment using grep
sed didn't work so well, it left a new line at the top.
2019-05-29 15:26:46 +09:30
curben c2a4f3f579 refactor: merge all scripts into script.sh
each script is too small
2019-05-29 14:45:08 +09:30
curben 5962e0ab28 Reorganise files 2018-10-10 17:14:49 +10:30
curben 4d98b65acb Add umbrella top 1m
https://umbrella.cisco.com/blog/2016/12/14/cisco-umbrella-1-million/
2018-10-10 17:00:47 +10:30
curben 55e8b284d9 Initial commit 2018-10-09 16:48:46 +10:30