Justin Reichardt
|
8c377d6234
|
Logs static hosts
|
2021-08-26 14:57:55 -05:00 |
Justin Reichardt
|
4c443474e5
|
Added download_entries
It currently doesn't funtion
|
2021-08-26 14:53:54 -05:00 |
Justin Reichardt
|
4789384846
|
Parses the static entries from hosts
pulls the static entries and stores them in the tmp file
|
2021-08-26 14:39:50 -05:00 |
Justin Reichardt
|
89a122ed16
|
Added MAXSTRSIZE
To unify the string buffer sizes
|
2021-08-26 10:37:44 -05:00 |
Justin Reichardt
|
6ffc10a91e
|
main no longer opens files it doesn't use
|
2021-08-25 21:33:51 -05:00 |
Justin Reichardt
|
4766abd773
|
main checks for error returns
If parse_config or preserve_static_entries returns an error, main will
report it and close with an error.
|
2021-08-25 21:31:38 -05:00 |
Justin Reichardt
|
9b45bc2382
|
Created preserve_static_entries()
It opens hosts and a tmp file and then closes them
|
2021-08-25 21:28:02 -05:00 |
Justin Reichardt
|
59ac732945
|
Corrected the spelling of string.h
|
2021-08-25 21:22:05 -05:00 |
Justin Reichardt
|
a48ef05bf7
|
Cleaned up parse_config
Added comments and whitespace to make it more legible
Also added a description to determine_config_entry_value
|
2021-08-25 21:12:05 -05:00 |
Justin Reichardt
|
f318271a28
|
Parses the config file
Added parse_config and determine_config_entry_value functions and entry
types definitions in order to parse the config file
|
2021-08-25 21:02:35 -05:00 |
Justin Reichardt
|
44ce9ae07b
|
Added .gitignore
|
2021-08-24 10:33:36 -05:00 |
Justin Reichardt
|
3bf49028a4
|
Initialized the rhosts c files
|
2021-08-24 10:27:46 -05:00 |
Justin Reichardt
|
4996513636
|
Changed project to rhosts
rhosts is the new c implementation of the project. It is suppose to be
compilable for GNU/Linux and Windows minimum.
|
2021-08-24 10:26:16 -05:00 |
Justin Reichardt
|
24e04c58dd
|
Merge branch 'master' of https://gitea.jbreich.com/justin/removeadhosts
|
2021-08-15 12:14:00 -05:00 |
Justin Reichardt
|
78f61a2891
|
Cleaned up Readme
|
2021-08-15 12:12:23 -05:00 |
Justin Reichardt
|
1c601ee6c4
|
Corrected syntax
Added slash before dev
|
2021-08-11 11:52:49 -05:00 |
Justin Reichardt
|
b3c3e7a42e
|
Manages multiple listings seperately
The different listings have their own header and end and will be updated
independantly of each other.
|
2021-08-03 16:30:05 -05:00 |
Justin Reichardt
|
668732be30
|
Heads and tags each curl entry / added comments
Each entry has a header line and an end line to easily extract it using
sed
|
2021-08-03 15:16:15 -05:00 |
Justin Reichardt
|
621e9ebb2f
|
Retain adlistings if nothing new is pulled
This way if either you have no internet or all of your listing no longer
exist you will not lose everything
|
2021-08-03 15:06:17 -05:00 |
Justin Reichardt
|
76fdf17314
|
Link systemd files instead of copying
|
2021-08-03 14:02:34 -05:00 |
Justin Reichardt
|
bcebe356a1
|
Install reloads daemons
reloads systemd daemons on install
|
2021-08-03 13:57:22 -05:00 |
Justin Reichardt
|
d55ae0face
|
Waits until after network online
The service will wait until after the network is online before running
|
2021-08-03 13:56:51 -05:00 |
Justin Reichardt
|
ee227d0f15
|
Fixed initial cfgs
It still had ads.txt and not adlist.txt or adlistings.txt, corrected
this
|
2021-08-03 13:52:35 -05:00 |
Justin Reichardt
|
694ca35d27
|
Added systemd.path to update when a cfg is edited
|
2021-08-03 13:51:07 -05:00 |
Justin Reichardt
|
f9d7cd6388
|
Added GPL license
|
2021-08-02 20:20:39 -05:00 |
Justin Reichardt
|
ffe3ab15c0
|
Added a Readme
|
2021-08-02 20:19:55 -05:00 |
Justin Reichardt
|
8ce64c68ef
|
Sanity check creating dirs in Makefile
|
2021-08-02 17:00:54 -05:00 |
Justin Reichardt
|
aae6bdefda
|
Added a comment to identify custom blocks
|
2021-08-02 16:55:48 -05:00 |
Justin Reichardt
|
495be81f2e
|
Added custom ad listings
You can add any url to adlistings.txt in /etc/removeadhosts and it will
curl that directly into hosts
|
2021-08-02 16:54:18 -05:00 |
Justin Reichardt
|
1bd5822561
|
Included a custom adlist file
under /etc/removeadhosts/ is a file called adlist.txt, here you can add
any custom url to be added to the block list
|
2021-08-02 16:45:48 -05:00 |
Justin Reichardt
|
e4b7393fca
|
Reinstall also activates the program in systemd
|
2021-08-02 16:31:36 -05:00 |
Justin Reichardt
|
e82971ecc3
|
initial setup
|
2021-08-02 16:29:21 -05:00 |