|
708278be7d
|
Merge branch 'feature/delete-host' of jacob.windle/hb into master
|
2020-01-18 13:13:14 +00:00 |
|
|
7a49b40b3e
|
Small change to filemode
|
2020-01-18 08:12:48 -05:00 |
|
|
b35703d936
|
Merge branch 'feature/delete-host' of jacob.windle/hb into master
|
2020-01-18 12:43:37 +00:00 |
|
|
91c01dd192
|
Wrong place to close hosts file
|
2020-01-18 07:43:02 -05:00 |
|
|
fea10c2d6e
|
Documentation
|
2020-01-18 07:38:32 -05:00 |
|
|
cb36f1790a
|
More refactorings, pretty much done!
|
2020-01-18 07:32:50 -05:00 |
|
|
76feb40f1a
|
Merge branch 'feature/delete-host' of jacob.windle/hb into master
|
2020-01-17 13:24:26 +00:00 |
|
|
31186418c3
|
Cleanup, implements delete functionality
|
2020-01-17 08:21:19 -05:00 |
|
|
fac37b8b40
|
Cleanup, renaming other fn to be general.
|
2020-01-17 08:12:05 -05:00 |
|
|
f5036783f9
|
Implementing deleteHost
|
2020-01-17 08:08:11 -05:00 |
|
|
ccb0e90d3b
|
Delete/replace/add hosts within config reading loop.
|
2020-01-16 14:30:30 -05:00 |
|
|
fbe5e18f9d
|
Fix bug with replace host zeroing out file.
|
2020-01-15 09:58:00 -05:00 |
|
|
b7ca669b3a
|
Usage and docs update
|
2020-01-14 14:37:12 -05:00 |
|
|
af4051dfbe
|
Working read_config_file function
|
2020-01-14 14:26:12 -05:00 |
|
|
b0d75ae57c
|
clean up runloop, use procmask for SIG_BLOCK.
|
2020-01-14 10:54:09 -05:00 |
|
|
a9cd8a4b15
|
First attempt at running as a daemon.
|
2020-01-14 10:40:13 -05:00 |
|
|
1b6d185d39
|
Working on a signal handling loop.
|
2020-01-14 09:05:40 -05:00 |
|
|
e8e14eab28
|
Exhaust the linked list and free remaining nodes.
|
2020-01-14 09:01:00 -05:00 |
|
|
bdca3cf572
|
Macro for command line argument handling
|
2020-01-13 12:24:31 -05:00 |
|
|
e5f4dd5637
|
Reuse memory where we can!
|
2020-01-13 12:07:24 -05:00 |
|
|
c89f53cc62
|
Overwrite hosts, and only reallocate memory if needed.
|
2020-01-13 12:02:14 -05:00 |
|
|
8164fa121e
|
Read config file if we use config option
|
2020-01-12 17:32:36 -05:00 |
|
|
4db5215166
|
Working on method that reads config file.
|
2020-01-10 22:17:21 -05:00 |
|
|
c8aef321b4
|
Sighup handler for reloading configuration file.
|
2020-01-09 09:48:02 -05:00 |
|
|
753b086e4f
|
Created a "free_list" method to free up allocated memory.
|
2020-01-09 09:46:41 -05:00 |
|
|
7d57550c06
|
Fixing our linked list methods.
|
2020-01-09 09:37:24 -05:00 |
|
|
cdc3a90605
|
Switching to using the doubly indirect pointer due to the C
pass-by-value semantics.
|
2019-12-20 17:33:20 -05:00 |
|
|
f1dad4e3e3
|
Correcting out linkedlist add function.
|
2019-12-19 13:47:31 -05:00 |
|
|
f367d3a319
|
Working on linked list data structure for hosts.
|
2019-12-18 13:46:16 -05:00 |
|
|
7f78683035
|
Remove JSON library dependency.
|
2019-12-16 14:45:02 -05:00 |
|
|
7418c743fe
|
Integrating configuration parsing
|
2019-12-16 12:39:38 -05:00 |
|
|
f088536f6e
|
Starting config file reading routine
|
2019-12-16 09:14:41 -05:00 |
|
|
4638106059
|
Adding in CMAKE commands for linking JSON-C
|
2019-12-16 09:08:16 -05:00 |
|
|
188bb8c7be
|
Starting config file reading method
|
2019-12-14 12:26:09 -05:00 |
|
|
ee9bc42f8c
|
Cleaning up C code now that I'm more skilled
|
2019-12-13 16:28:11 -05:00 |
|
|
dbc49e15a6
|
Documentation and signal handling.
|
2019-12-13 09:29:27 -05:00 |
|
|
3da1ee4f25
|
Set EOF, defined failure handling macro.
|
2019-12-13 09:19:39 -05:00 |
|
|
7f5d4502a9
|
TIme to fork off and die if we are the parent.
|
2019-12-12 19:10:29 -05:00 |
|
|
323fd19544
|
Working on host replacement method
|
2019-12-12 16:08:27 -05:00 |
|
|
7989bf9278
|
Fix segfault when missing host on add subcommand
|
2019-11-27 13:26:07 -05:00 |
|
|
ed0ba08d66
|
Trying to fix the reading routine
|
2019-04-17 21:06:55 -04:00 |
|
|
51b2a4e7d0
|
Starting work on daemonizing the process
|
2019-04-17 15:04:58 -04:00 |
|
|
7a440dedff
|
Working on edit functionality, also reading to a host.
|
2019-04-17 15:01:04 -04:00 |
|
|
8935ad2e54
|
Adding to README, adding in new code for reading to a host in file
|
2019-04-17 14:57:07 -04:00 |
|
|
258e2c8de3
|
Use execv to cat out hosts list to see who's been blocked.
|
2019-02-28 19:25:58 -05:00 |
|
|
7c0f494f40
|
Attempting to show the hosts file
|
2019-02-23 19:41:47 -05:00 |
|
|
aa7697833e
|
Add a usage function
|
2019-02-23 19:33:54 -05:00 |
|
|
7d38e2bf78
|
First commit
|
2019-02-23 13:08:32 -05:00 |
|