-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MessagePack for the Unix socket API #75
Commits on Jun 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 941dfb2 - Browse repository at this point
Copy the full SHA 941dfb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c706d - Browse repository at this point
Copy the full SHA 38c706dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b99d82 - Browse repository at this point
Copy the full SHA 3b99d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03fc5be - Browse repository at this point
Copy the full SHA 03fc5beView commit details -
Configuration menu - View commit details
-
Copy full SHA for e159b56 - Browse repository at this point
Copy the full SHA e159b56View commit details -
Replace sprintf() + swrite() by the new ssend() routine. This enhance…
…ment removes the fixed buffer we used before and allows for responses having arbitraty lengths
Configuration menu - View commit details
-
Copy full SHA for 19c54b0 - Browse repository at this point
Copy the full SHA 19c54b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a1882 - Browse repository at this point
Copy the full SHA 35a1882View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4fc933 - Browse repository at this point
Copy the full SHA a4fc933View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d57a8 - Browse repository at this point
Copy the full SHA d7d57a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f84b461 - Browse repository at this point
Copy the full SHA f84b461View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ef2256 - Browse repository at this point
Copy the full SHA 0ef2256View commit details -
Add type variable to all request subroutines which can later be used …
…to decide whether the output whould be in telnet format, or JSON (possibly even "v2" JSON)
Configuration menu - View commit details
-
Copy full SHA for b2688bf - Browse repository at this point
Copy the full SHA b2688bfView commit details
Commits on Jun 13, 2017
-
Implement API JSON output for summary
Currently using the cJSON library, as it's entirely contained within one source and one header file and is very easy to use. By adding on the API output formats to the previous raw socket code, we can simply change the output format when the response type is `API` instead of `SOCKET`. As shown in the implemented summary API code, this should be very simple for most commands.
Configuration menu - View commit details
-
Copy full SHA for 1d29630 - Browse repository at this point
Copy the full SHA 1d29630View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7617293 - Browse repository at this point
Copy the full SHA 7617293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f59aff - Browse repository at this point
Copy the full SHA 5f59affView commit details -
Configuration menu - View commit details
-
Copy full SHA for e20fe2a - Browse repository at this point
Copy the full SHA e20fe2aView commit details -
Clean socket routines, move detection of what the client is asking fo…
…r into process_api_request() (request.c) much like we already do it for socket requests
Configuration menu - View commit details
-
Copy full SHA for b15f537 - Browse repository at this point
Copy the full SHA b15f537View commit details -
Added overTime statistics to API, http://pi.hole:4747/stats/overTime …
…and http://pi.hole/admin/api.php?overTimeData10mins give identical results
Configuration menu - View commit details
-
Copy full SHA for 1481176 - Browse repository at this point
Copy the full SHA 1481176View commit details -
Configuration menu - View commit details
-
Copy full SHA for 824b9e9 - Browse repository at this point
Copy the full SHA 824b9e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4643f97 - Browse repository at this point
Copy the full SHA 4643f97View commit details -
Remove cJSON files. Note that it can be re-added cleanly into the cod…
…e by reverting this commit.
Configuration menu - View commit details
-
Copy full SHA for 2b439cf - Browse repository at this point
Copy the full SHA 2b439cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 776bf43 - Browse repository at this point
Copy the full SHA 776bf43View commit details
Commits on Jun 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7af31af - Browse repository at this point
Copy the full SHA 7af31afView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 0e7f484 - Browse repository at this point
Copy the full SHA 0e7f484View commit details -
Add alias path for forward destinations
Also make query types output more like the other responses.
Configuration menu - View commit details
-
Copy full SHA for 249b9e9 - Browse repository at this point
Copy the full SHA 249b9e9View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for ea0a7cc - Browse repository at this point
Copy the full SHA ea0a7ccView commit details -
Two improvements: 1. Analyze only first line of HTTP request (before …
…the whole header was analyzed), 2. Anaylze passed GET arguments properly, e.g. allow ?limit=123, but ignore ?sfqw=123
Configuration menu - View commit details
-
Copy full SHA for 9cff885 - Browse repository at this point
Copy the full SHA 9cff885View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2f9601 - Browse repository at this point
Copy the full SHA f2f9601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48d355b - Browse repository at this point
Copy the full SHA 48d355bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5c500f - Browse repository at this point
Copy the full SHA b5c500fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2179f5d - Browse repository at this point
Copy the full SHA 2179f5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b868c56 - Browse repository at this point
Copy the full SHA b868c56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa2ff1 - Browse repository at this point
Copy the full SHA 2aa2ff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d891d5 - Browse repository at this point
Copy the full SHA 9d891d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e3b5d - Browse repository at this point
Copy the full SHA 70e3b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ea0a7 - Browse repository at this point
Copy the full SHA 38ea0a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 942250e - Browse repository at this point
Copy the full SHA 942250eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30a3f7e - Browse repository at this point
Copy the full SHA 30a3f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59fe873 - Browse repository at this point
Copy the full SHA 59fe873View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5df3233 - Browse repository at this point
Copy the full SHA 5df3233View commit details
Commits on Jun 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ecc2ef3 - Browse repository at this point
Copy the full SHA ecc2ef3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 446a1b9 - Browse repository at this point
Copy the full SHA 446a1b9View commit details -
It is no severe issue if the lists (e.g. blacklist) are not there - s…
…o we should just return an empty array.
Configuration menu - View commit details
-
Copy full SHA for cce43dc - Browse repository at this point
Copy the full SHA cce43dcView commit details -
Return data with key "blacklist" or "whitelist" instead of "data". Us…
…e predefined constants for the location of the white- and blacklist so they can easily be changed in one place, if needed.
Configuration menu - View commit details
-
Copy full SHA for 1905f9c - Browse repository at this point
Copy the full SHA 1905f9cView commit details -
Use getline() instead of the deprecated fgets() to avoid havng to use…
…d a fixed size buffer
Configuration menu - View commit details
-
Copy full SHA for 0e3f8b5 - Browse repository at this point
Copy the full SHA 0e3f8b5View commit details -
Imporve triming of newline character when reading in the lists.
The function strcspn() counts the number of characters until it hits a '\r' or a '\n' (in other words, it finds the first '\r' or '\n'). If it doesn't hit anything, it stops at the '\0' (returning the length of the string). Note that this works fine even if there is no newline, because strcspn stops at a '\0'. In that case, the entire line is simply replacing '\0' with '\0'.
Configuration menu - View commit details
-
Copy full SHA for 7cef472 - Browse repository at this point
Copy the full SHA 7cef472View commit details -
Configuration menu - View commit details
-
Copy full SHA for 364ad81 - Browse repository at this point
Copy the full SHA 364ad81View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f349d - Browse repository at this point
Copy the full SHA c8f349dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9d1cd - Browse repository at this point
Copy the full SHA cb9d1cdView commit details
Commits on Jun 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a06ecba - Browse repository at this point
Copy the full SHA a06ecbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 693e69b - Browse repository at this point
Copy the full SHA 693e69bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cab551 - Browse repository at this point
Copy the full SHA 6cab551View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29ce3b - Browse repository at this point
Copy the full SHA c29ce3bView commit details
Commits on Jun 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3f330dd - Browse repository at this point
Copy the full SHA 3f330ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8072a0 - Browse repository at this point
Copy the full SHA f8072a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec47c81 - Browse repository at this point
Copy the full SHA ec47c81View commit details
Commits on Jun 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 17a7823 - Browse repository at this point
Copy the full SHA 17a7823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9893ef6 - Browse repository at this point
Copy the full SHA 9893ef6View commit details
Commits on Jun 26, 2017
-
Change key name of forwards over time JSON
Previously, both `forward_dest` and `forward_destinations` were keys in the JSON output at the root level. Which contains the over time data, and which contains the forward destination hostnames + IP addresses? Because of this ambiguity, the over time section should be renamed to `over_time`. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5df0395 - Browse repository at this point
Copy the full SHA 5df0395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dfb855 - Browse repository at this point
Copy the full SHA 0dfb855View commit details -
Configuration menu - View commit details
-
Copy full SHA for f566fd3 - Browse repository at this point
Copy the full SHA f566fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb3df2 - Browse repository at this point
Copy the full SHA bbb3df2View commit details
Commits on Jun 27, 2017
-
Only give relevant total in top domain JSON output
If it's `top_ads`, give `ads_blocked_today`. If it's `top_domains`, give `dns_queries_tdoay`. Both are not needed at the same time. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for cfea5cf - Browse repository at this point
Copy the full SHA cfea5cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 542e26c - Browse repository at this point
Copy the full SHA 542e26cView commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5693b72 - Browse repository at this point
Copy the full SHA 5693b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f462e - Browse repository at this point
Copy the full SHA e0f462eView commit details
Commits on Jun 30, 2017
-
Rename /stats/overTime/graphs to graph
It's returning one graph, not multiple. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 08391f4 - Browse repository at this point
Copy the full SHA 08391f4View commit details -
Rename /history to /stats/history
It provides stats more than DNS functionality. However, it is in more of a gray area than, say, queries over time. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 52d3364 - Browse repository at this point
Copy the full SHA 52d3364View commit details -
Rename /dns/recent_blocked to /stats/recent_blocked
As this is also shown on chronometer, it seems to be related to stats more than anything else. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7c88707 - Browse repository at this point
Copy the full SHA 7c88707View commit details
Commits on Jul 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ccbf0ee - Browse repository at this point
Copy the full SHA ccbf0eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c2a41 - Browse repository at this point
Copy the full SHA 32c2a41View commit details
Commits on Jul 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c9de13b - Browse repository at this point
Copy the full SHA c9de13bView commit details
Commits on Jul 29, 2017
-
Sanitize domains when outputting
/stats/history
This will have to be extended to the other domain-emitting API calls in future commits. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0a6f5a5 - Browse repository at this point
Copy the full SHA 0a6f5a5View commit details -
Revert "Sanitize domains when outputting
/stats/history
"This reverts commit 0a6f5a5 The sanitizing will instead be implemented off of dev in the log parsing section. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 345ac16 - Browse repository at this point
Copy the full SHA 345ac16View commit details
Commits on Aug 6, 2017
-
Reorganize to split up API functions
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4762b8a - Browse repository at this point
Copy the full SHA 4762b8aView commit details
Commits on Aug 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f64251e - Browse repository at this point
Copy the full SHA f64251eView commit details -
We don't show "pi.hole" anymore in the results. Adjust tests (also fo…
…r the API component) accordingly. Signed-off-by: DL6ER <dl6er@dl6er.de>
Configuration menu - View commit details
-
Copy full SHA for 551351b - Browse repository at this point
Copy the full SHA 551351bView commit details
Commits on Aug 9, 2017
-
Add dummy POST handling for whitelist and blacklist
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for ebe0631 - Browse repository at this point
Copy the full SHA ebe0631View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9b98101 - Browse repository at this point
Copy the full SHA 9b98101View commit details
Commits on Aug 10, 2017
-
Implement simple JSON parsing for addList
Uses cJSON to parse, but output will still be handled directly. I implemented different API response methods to allow for different HTTP response codes to be sent. The addList code is still dumb and doesn't do anything, but it's getting there. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9ec7bd8 - Browse repository at this point
Copy the full SHA 9ec7bd8View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2f8e540 - Browse repository at this point
Copy the full SHA 2f8e540View commit details -
Actually add the domain to the list
This requires the `pihole` user to have sudo access to the `pihole` command (will require a core update). Many future API commands will have this requirement, as they too will be using the `pihole` command. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3a5752d - Browse repository at this point
Copy the full SHA 3a5752dView commit details
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a743931 - Browse repository at this point
Copy the full SHA a743931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87dc82c - Browse repository at this point
Copy the full SHA 87dc82cView commit details -
Add whitelist and blacklist deletion API endpoints
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1893aa5 - Browse repository at this point
Copy the full SHA 1893aa5View commit details
Commits on Aug 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 06be1c4 - Browse repository at this point
Copy the full SHA 06be1c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 729d5d4 - Browse repository at this point
Copy the full SHA 729d5d4View commit details
Commits on Aug 17, 2017
-
Perform better request endpoint checking
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for fb574f7 - Browse repository at this point
Copy the full SHA fb574f7View commit details
Commits on Sep 4, 2017
-
Fix broken domain verification if the domain includes numbers
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4842c16 - Browse repository at this point
Copy the full SHA 4842c16View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 834a959 - Browse repository at this point
Copy the full SHA 834a959View commit details
Commits on Sep 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e5c4d19 - Browse repository at this point
Copy the full SHA e5c4d19View commit details
Commits on Sep 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e2f2f0d - Browse repository at this point
Copy the full SHA e2f2f0dView commit details
Commits on Nov 27, 2017
-
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3331c42 - Browse repository at this point
Copy the full SHA 3331c42View commit details
Commits on Dec 23, 2017
-
Merge remote-tracking branch 'origin/development' into new/API
Signed-off-by: Mcat12 <newtoncat12@yahoo.com> # Conflicts: # request.c # test/test_suite.sh
Configuration menu - View commit details
-
Copy full SHA for 604ad7e - Browse repository at this point
Copy the full SHA 604ad7eView commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3573f54 - Browse repository at this point
Copy the full SHA 3573f54View commit details -
Fix newly merged in API functions
They were using the missing `swrite` function. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 894bd39 - Browse repository at this point
Copy the full SHA 894bd39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5ca04 - Browse repository at this point
Copy the full SHA 1f5ca04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e90a6e - Browse repository at this point
Copy the full SHA 4e90a6eView commit details -
Fix domains_being_blocked output
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2212e23 - Browse repository at this point
Copy the full SHA 2212e23View commit details
Commits on Dec 24, 2017
-
Implement simple password-protection to the HTTP API
Currently has the hardcoded password of "password". You gain a session by sending JSON to the API with the key of `password` and the value set to the password you are trying to use. Then it will return a success response with the session and will add a Set-Cookie header to set the FTL_SESSION cookie to the session number. The summary, queries graph, and status are accessible without authentication. The internal data structure used to store the sessions is valid for up to 24 minutes after the last query. If it becomes invalid then it is eligible to be reused for a new session. The garbage collection can be optimized further, but it is not a problem at the moment. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5005f28 - Browse repository at this point
Copy the full SHA 5005f28View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for ae81270 - Browse repository at this point
Copy the full SHA ae81270View commit details
Commits on Dec 25, 2017
-
Make client IPs globally available in FTL (array of strings clientip[…
…sockedidentifier]) for possible use in authentication Signed-off-by: DL6ER <dl6er@dl6er.de>
Configuration menu - View commit details
-
Copy full SHA for cd2fd11 - Browse repository at this point
Copy the full SHA cd2fd11View commit details -
Make sure the API handler ignores clients when over the limit
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for f15b9ed - Browse repository at this point
Copy the full SHA f15b9edView commit details -
Validate domain earlier in removeList
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 636183b - Browse repository at this point
Copy the full SHA 636183bView commit details
Commits on Dec 26, 2017
-
Free client IP data after API handler runs and close rejected sockets
Also added more debugclients logging. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c9e40a4 - Browse repository at this point
Copy the full SHA c9e40a4View commit details -
Add IP address into the authentication check
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6050aa5 - Browse repository at this point
Copy the full SHA 6050aa5View commit details
Commits on Jan 3, 2018
-
Merge remote-tracking branch 'origin/development' into new/API
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 8adb3d3 - Browse repository at this point
Copy the full SHA 8adb3d3View commit details -
Disable HTTP tests as authorization is not gained in the tests yet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for f62f9f0 - Browse repository at this point
Copy the full SHA f62f9f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d78cc3 - Browse repository at this point
Copy the full SHA 3d78cc3View commit details
Commits on Jan 4, 2018
-
Remove HTTP API specific code so it can be replaced with a new protocol
Adjusted tests to fit the current lack of output on the unix socket. Added TELNET enum and used it in place of the old SOCKET to better fit with the rest of the code base. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 595ab25 - Browse repository at this point
Copy the full SHA 595ab25View commit details -
Remove duplicate dnsmasq config file location
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 620bb44 - Browse repository at this point
Copy the full SHA 620bb44View commit details -
Remove extra parameter from bind_to_telnet_port
Since it has been specialized, it is only called to create the telnet port. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 97f6ac5 - Browse repository at this point
Copy the full SHA 97f6ac5View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c0048e9 - Browse repository at this point
Copy the full SHA c0048e9View commit details -
Implement getStats using MessagePack
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for e527985 - Browse repository at this point
Copy the full SHA e527985View commit details -
Don't declare variables in for loops
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 439227a - Browse repository at this point
Copy the full SHA 439227aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5c9c6e - Browse repository at this point
Copy the full SHA b5c9c6eView commit details -
It will print a warning if an error happens, like the other s* functions in socket.c Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 616b10a - Browse repository at this point
Copy the full SHA 616b10aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 203cc94 - Browse repository at this point
Copy the full SHA 203cc94View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0793be - Browse repository at this point
Copy the full SHA f0793beView commit details
Commits on Jan 6, 2018
-
Add socket implementation for getOverTime
Adds the map16 structure to msgpack.c and tightens the pack_int signature to only accept int32_t types. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for e54b391 - Browse repository at this point
Copy the full SHA e54b391View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c0022a9 - Browse repository at this point
Copy the full SHA c0022a9View commit details -
Use istelnet for getAllQueries
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for adfcacc - Browse repository at this point
Copy the full SHA adfcaccView commit details -
Remove old HTTP argument parsing from getAllQueries
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c6369dd - Browse repository at this point
Copy the full SHA c6369ddView commit details -
Tighten parameters on pack_unsigned_char
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4eaf794 - Browse repository at this point
Copy the full SHA 4eaf794View commit details -
Use uint8_t instead of unsigned char in msgpack.c
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4386138 - Browse repository at this point
Copy the full SHA 4386138View commit details -
Add socket implementation for getAllQueries
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 348a2ee - Browse repository at this point
Copy the full SHA 348a2eeView commit details -
Don't send fixarray for getAllQueries
It's unnecessary Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7d3dfb6 - Browse repository at this point
Copy the full SHA 7d3dfb6View commit details
Commits on Jan 7, 2018
-
Remove dead code in getAllQueries
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for e07786e - Browse repository at this point
Copy the full SHA e07786eView commit details -
Add socket implementation to getTopDomains and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 05f8604 - Browse repository at this point
Copy the full SHA 05f8604View commit details -
Add socket implementation to getTopClients and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 00f8877 - Browse repository at this point
Copy the full SHA 00f8877View commit details -
Add socket implementation to getForwardDestinations and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 33dd350 - Browse repository at this point
Copy the full SHA 33dd350View commit details -
Add socket implementation to getQueryTypes and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3f1ffaf - Browse repository at this point
Copy the full SHA 3f1ffafView commit details -
Add socket implementation to getRecentBlocked and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 555a0cb - Browse repository at this point
Copy the full SHA 555a0cbView commit details -
Remove extra formatting changes
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 55e18ea - Browse repository at this point
Copy the full SHA 55e18eaView commit details
Commits on Jan 8, 2018
-
Add socket implementation to getMemoryUsage and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 81200a2 - Browse repository at this point
Copy the full SHA 81200a2View commit details -
It needed to have its endianness flipped. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 89ea996 - Browse repository at this point
Copy the full SHA 89ea996View commit details -
Add socket implementation to getForwardDestinationsOverTime and istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7d0f680 - Browse repository at this point
Copy the full SHA 7d0f680View commit details -
Add socket implementation to getClientID and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0814339 - Browse repository at this point
Copy the full SHA 0814339View commit details -
Add socket implementation to getQueryTypesOverTime and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 779a824 - Browse repository at this point
Copy the full SHA 779a824View commit details -
Remove the unused
first
boolean variables (used by Json serialization)Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for bd63981 - Browse repository at this point
Copy the full SHA bd63981View commit details -
Add socket implementation of getVersion and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2671a6f - Browse repository at this point
Copy the full SHA 2671a6fView commit details -
Add socket implementation of getDBstats and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 64a1408 - Browse repository at this point
Copy the full SHA 64a1408View commit details -
Use ssend in getClientsOverTime
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for f90f6c8 - Browse repository at this point
Copy the full SHA f90f6c8View commit details -
Add socket implementation for getClientsOverTime and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for dde1602 - Browse repository at this point
Copy the full SHA dde1602View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1482742 - Browse repository at this point
Copy the full SHA 1482742View commit details -
Add socket implementation to getClientNames and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 43716b4 - Browse repository at this point
Copy the full SHA 43716b4View commit details -
Add socket implementation to getUnknownQueries and use istelnet
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for da7c354 - Browse repository at this point
Copy the full SHA da7c354View commit details -
Let socket-test take in an optional command
Example: ./socket-test travis ">stats" Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 30ae391 - Browse repository at this point
Copy the full SHA 30ae391View commit details
Commits on Jan 9, 2018
-
Don't show a warning if write() returns 0 (this isn't an error)
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4ed20a4 - Browse repository at this point
Copy the full SHA 4ed20a4View commit details -
Send forward destinations names and IP addresses alongside overTime data
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 37360bb - Browse repository at this point
Copy the full SHA 37360bbView commit details
Commits on Jan 11, 2018
-
Reimplement output for getList
Adds `>getWhitelist`, `>getBlacklist`, and `getWildlist` Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for f02c4e8 - Browse repository at this point
Copy the full SHA f02c4e8View commit details -
Reimplement output for getPiholeStatus
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for b9780dc - Browse repository at this point
Copy the full SHA b9780dcView commit details -
Most DNS endpoints will be implemented in the API to keep FTL focused on providing stats. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7d87722 - Browse repository at this point
Copy the full SHA 7d87722View commit details
Commits on Jan 12, 2018
-
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3158f17 - Browse repository at this point
Copy the full SHA 3158f17View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf2aff7 - Browse repository at this point
Copy the full SHA cf2aff7View commit details -
Remove the rest of the DNS commands and unused helpers
They now live in the API Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 071f924 - Browse repository at this point
Copy the full SHA 071f924View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1983d3d - Browse repository at this point
Copy the full SHA 1983d3dView commit details -
Update the Makefile with new API file structure
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 700a21b - Browse repository at this point
Copy the full SHA 700a21bView commit details -
Move command() up to the top of the file so it isn't as hidden
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 353e0cb - Browse repository at this point
Copy the full SHA 353e0cbView commit details -
Merge remote-tracking branch 'origin/development' into new/API
Signed-off-by: Mcat12 <newtoncat12@yahoo.com> # Conflicts: # main.c # request.c # routines.h # socket.c
Configuration menu - View commit details
-
Copy full SHA for 0013edb - Browse repository at this point
Copy the full SHA 0013edbView commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 31c422e - Browse repository at this point
Copy the full SHA 31c422eView commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9b8b232 - Browse repository at this point
Copy the full SHA 9b8b232View commit details
Commits on Jan 14, 2018
-
Add
*.
to domains in getTopDomains if it's for audit and a wildcardSigned-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c88af99 - Browse repository at this point
Copy the full SHA c88af99View commit details -
Merge remote-tracking branch 'origin/development' into new/API
Signed-off-by: Mcat12 <newtoncat12@yahoo.com> # Conflicts: # main.c # request.c # routines.h # socket.c
Configuration menu - View commit details
-
Copy full SHA for d3d7098 - Browse repository at this point
Copy the full SHA d3d7098View commit details
Commits on Jan 20, 2018
-
Reword api.c license header description
Removed reference to the HTTP API. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for cf0cdfe - Browse repository at this point
Copy the full SHA cf0cdfeView commit details -
Reword api.h license description header
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7c57b86 - Browse repository at this point
Copy the full SHA 7c57b86View commit details -
Add back detailed ssend error message
Might have been lost in a merge. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1fd7ade - Browse repository at this point
Copy the full SHA 1fd7adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 232507a - Browse repository at this point
Copy the full SHA 232507aView commit details -
Implement some of the review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
Configuration menu - View commit details
-
Copy full SHA for 0aee819 - Browse repository at this point
Copy the full SHA 0aee819View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3b049 - Browse repository at this point
Copy the full SHA df3b049View commit details -
Configuration menu - View commit details
-
Copy full SHA for 996689f - Browse repository at this point
Copy the full SHA 996689fView commit details
Commits on Jan 21, 2018
-
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9f5ae62 - Browse repository at this point
Copy the full SHA 9f5ae62View commit details -
Merge remote-tracking branch 'origin/development' into new/API
# Conflicts: # FTL.h # socket.c
Configuration menu - View commit details
-
Copy full SHA for 590f1f9 - Browse repository at this point
Copy the full SHA 590f1f9View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 173efff - Browse repository at this point
Copy the full SHA 173efffView commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 76aff45 - Browse repository at this point
Copy the full SHA 76aff45View commit details -
Fix under-allocation in getTopDomains
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for ad99f97 - Browse repository at this point
Copy the full SHA ad99f97View commit details -
Use float instead of double in getForwardDestinationsOverTime
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4e8027b - Browse repository at this point
Copy the full SHA 4e8027bView commit details -
Use float instead of double in getQueryTypesOverTime
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for be5815f - Browse repository at this point
Copy the full SHA be5815fView commit details -
Fix under-allocation in getVersion
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9007af7 - Browse repository at this point
Copy the full SHA 9007af7View commit details -
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 42bf9a4 - Browse repository at this point
Copy the full SHA 42bf9a4View commit details -
Only allow up to 2GB strings to be sent
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for b6b7b57 - Browse repository at this point
Copy the full SHA b6b7b57View commit details -
Use a static buffer for getallqueries string arguments
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9bc0562 - Browse repository at this point
Copy the full SHA 9bc0562View commit details -
Handle possible pack_fixstr or pack_str32 error
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5341b18 - Browse repository at this point
Copy the full SHA 5341b18View commit details