e6597fb | Jens Finkhaeuser | 15 April 2022, 17:00:57 UTC | Merge branch 'leb128-varint' into 'master' Exchange varint implementation with LEB128 See merge request interpeer/liberate!4 | 15 April 2022, 17:00:57 UTC |
aa09834 | Jens Finkhaeuser | 15 April 2022, 17:00:51 UTC | This is WIP, why is this in master | 15 April 2022, 17:00:51 UTC |
0aa7624 | Jens Finkhaeuser | 15 April 2022, 16:54:32 UTC | Exchange varint implementation with LEB128 | 15 April 2022, 16:54:32 UTC |
b7794c0 | Jens Finkhaeuser | 18 March 2022, 14:05:08 UTC | Add include for to_posix_path | 18 March 2022, 14:05:08 UTC |
1954bd1 | Jens Finkhaeuser | 17 March 2022, 19:38:13 UTC | Remove superfluous include again | 17 March 2022, 19:38:13 UTC |
9f7a90e | Jens Finkhaeuser | 17 March 2022, 19:27:54 UTC | Move check for end of buffer to an earlier point. By moving the check past decoding the byte, we're exiting due to end-of-buffer before we can evaluate whether the last byte has been reached. This leads to errors where the last byte is at the end of the input buffer. Let's not do this. | 17 March 2022, 19:27:54 UTC |
f79d0aa | Jens Finkhaeuser | 14 March 2022, 10:10:47 UTC | Update .gitlab-ci.yml file | 14 March 2022, 10:10:47 UTC |
e95295c | Jens Finkhaeuser | 11 March 2022, 17:29:37 UTC | Merge branch 'SAST' into 'master' Add SAST See merge request interpeer/liberate!3 | 11 March 2022, 17:29:37 UTC |
388ee80 | Jens Finkhaeuser | 11 March 2022, 17:21:08 UTC | CWE-377: add fixes, but ultimately not everything can be fixed here | 11 March 2022, 17:21:08 UTC |
833015e | Jens Finkhaeuser | 11 March 2022, 17:04:48 UTC | CWE-120: already checked | 11 March 2022, 17:04:48 UTC |
762ceb1 | Jens Finkhaeuser | 11 March 2022, 17:03:59 UTC | CWE-807, CWE-20: fixed | 11 March 2022, 17:03:59 UTC |
a271edb | Jens Finkhaeuser | 11 March 2022, 17:03:30 UTC | Fix typo | 11 March 2022, 17:03:30 UTC |
7c9fc06 | Jens Finkhaeuser | 11 March 2022, 16:56:36 UTC | CWE-327: not a security context, and it is called unsafe | 11 March 2022, 16:56:36 UTC |
a15890d | Jens Finkhaeuser | 11 March 2022, 16:55:23 UTC | CWE-120: is already checked | 11 March 2022, 16:55:23 UTC |
d4279d2 | Jens Finkhaeuser | 11 March 2022, 16:54:32 UTC | CWE-190: one fixed, one is already checked | 11 March 2022, 16:54:32 UTC |
4dbb111 | Jens Finkhaeuser | 11 March 2022, 16:52:20 UTC | CWE-120: is checked | 11 March 2022, 16:52:20 UTC |
c45f373 | Jens Finkhaeuser | 11 March 2022, 16:50:41 UTC | CWE-120: is checked | 11 March 2022, 16:50:41 UTC |
30296b0 | Jens Finkhaeuser | 11 March 2022, 16:49:09 UTC | CWE-120: is checked | 11 March 2022, 16:49:09 UTC |
3827f76 | Jens Finkhaeuser | 11 March 2022, 16:48:26 UTC | Ignore a bunch of memcpy() related issues; the buffer size is always checked in this code. | 11 March 2022, 16:48:26 UTC |
98676ba | Jens Finkhaeuser | 11 March 2022, 16:38:07 UTC | Review buffer over-read conditions; looks safe to ignore | 11 March 2022, 16:38:07 UTC |
8a46c36 | Jens Finkhaeuser | 11 March 2022, 16:29:09 UTC | Apparently, that didn't do anything, so we might as well remove it | 11 March 2022, 16:29:09 UTC |
525bd4f | Jens Finkhaeuser | 11 March 2022, 16:23:03 UTC | Search for cross files in standard location | 11 March 2022, 16:23:03 UTC |
0bc4c16 | Jens Finkhaeuser | 11 March 2022, 16:19:03 UTC | Try to make SAST only dependent on clang already having run (it's a minimal sanity check), and ask it not to compile | 11 March 2022, 16:19:03 UTC |
b332bfd | Jens Finkhaeuser | 11 March 2022, 16:10:04 UTC | This could fix loguru related errors | 11 March 2022, 16:10:04 UTC |
2c6727d | Jens Finkhaeuser | 11 March 2022, 16:08:13 UTC | Add SAST | 11 March 2022, 16:08:13 UTC |
d29d898 | Jens Finkhaeuser | 11 March 2022, 16:06:05 UTC | Update gtest dependency | 11 March 2022, 16:06:05 UTC |
43912db | Jens Finkhaeuser | 14 January 2022, 08:42:56 UTC | Don't need and shouldn't use the preprocessor define. | 14 January 2022, 08:42:56 UTC |
470ee52 | Jens Finkhaeuser | 14 January 2022, 07:41:15 UTC | Avoid warnings about duplicate definitions | 14 January 2022, 07:41:15 UTC |
42ada02 | Jens Finkhaeuser | 14 January 2022, 07:35:56 UTC | Bump spdlog version | 14 January 2022, 07:35:56 UTC |
d5697b0 | Jens Finkhaeuser | 03 January 2022, 11:06:00 UTC | static constexpr functions are implicitly inline; make that explicit | 03 January 2022, 11:06:00 UTC |
67b76dc | Jens Finkhaeuser | 03 January 2022, 10:57:01 UTC | bufsize_available() should be a static constexpr function, to permit usages that relied on the sizeof the now hidden data structure | 03 January 2022, 10:57:01 UTC |
77f3407 | Jens Finkhaeuser | 03 January 2022, 10:46:02 UTC | Make socket_address pimpl'd - this is mostly to hide the definition of the address data struct. The previous approach worked when liberate was not a separate library | 03 January 2022, 10:46:02 UTC |
e1b28db | Jens Finkhaeuser | 17 December 2021, 10:00:54 UTC | Fixes from static checkers; nothing serious | 17 December 2021, 10:00:54 UTC |
d0a46bc | Jens Finkhaeuser | 17 December 2021, 10:00:22 UTC | Update cppcheck/oclint configurations | 17 December 2021, 10:00:22 UTC |
ad81528 | Jens Finkhaeuser | 08 December 2021, 13:58:38 UTC | Merge branch 'master' of gitlab.com:interpeer/liberate | 08 December 2021, 13:58:38 UTC |
7fc93b7 | Jens Finkhaeuser | 08 December 2021, 13:58:27 UTC | Add local_address() to network; we need that as well | 08 December 2021, 13:58:27 UTC |
bde95dc | Jens Finkhaeuser | 12 November 2021, 15:41:39 UTC | Merge branch 'master' into 'master' Add flake See merge request interpeer/liberate!1 | 12 November 2021, 15:41:39 UTC |
74c0b50 | Jens Finkhaeuser | 07 October 2021, 10:14:38 UTC | Enable link time optimizer for GCC, clang | 07 October 2021, 10:14:38 UTC |
7415c40 | Las Safin | 05 October 2021, 20:29:37 UTC | flake.nix: Use same gtest as specified in subprojects/gtest.wrap | 05 October 2021, 20:30:34 UTC |
24aa7bd | Las Safin | 19 September 2021, 19:57:09 UTC | flake.nix: Fix license | 05 October 2021, 20:30:34 UTC |
cf98dc8 | Las Safin | 19 September 2021, 19:56:52 UTC | Update Nixpkgs | 05 October 2021, 20:30:34 UTC |
2a364aa | Las Safin | 04 August 2021, 15:19:09 UTC | Add missing <limits> include | 05 October 2021, 20:30:34 UTC |
f5e5c27 | Las Safin | 04 August 2021, 14:38:08 UTC | Add hydra job | 05 October 2021, 20:30:34 UTC |
2e65289 | Las Safin | 02 August 2021, 19:50:54 UTC | Introduce Nix Flake | 05 October 2021, 20:30:33 UTC |
46fdf5d | Jens Finkhaeuser | 05 October 2021, 08:51:19 UTC | Fix type in exponential backoff signature | 05 October 2021, 08:51:19 UTC |
21233ec | Jens Finkhaeuser | 05 October 2021, 07:22:27 UTC | Add an (optional) minimum delay to the exponential backoff function | 05 October 2021, 07:22:27 UTC |
ad0790b | Jens Finkhaeuser | 07 September 2021, 12:33:42 UTC | Bring license in line with OSI/FSF FOSS specs | 07 September 2021, 12:33:42 UTC |
c8f842f | Jens Finkhaeuser | 27 July 2021, 08:13:36 UTC | Fix compiler warnings via explicit cast | 27 July 2021, 08:13:36 UTC |
5f734ee | Jens Finkhaeuser | 11 June 2021, 09:15:32 UTC | Add lock policy types. They permit writing code that may need mutex/lock-based synchronization if used in concurrent code, but not otherwise. | 11 June 2021, 09:15:32 UTC |
d52d45d | Jens Finkhaeuser | 11 June 2021, 09:15:04 UTC | Fix test namespace | 11 June 2021, 09:15:04 UTC |
b7469c6 | Jens Finkhaeuser | 10 June 2021, 16:55:17 UTC | Make random generator work with single byte int types on win32 | 10 June 2021, 16:55:17 UTC |
1950a33 | Jens Finkhaeuser | 10 June 2021, 12:39:06 UTC | Instead of throwing (some) exceptions, log errors. The result is the same, minus the log line | 10 June 2021, 12:39:06 UTC |
9c3de03 | Jens Finkhaeuser | 10 June 2021, 12:38:23 UTC | Fix handling the width of offsets in the test code | 10 June 2021, 12:38:23 UTC |
4222baa | Jens Finkhaeuser | 10 June 2021, 10:25:19 UTC | Fix: - Column group padding; it included column padding - Offset display calculation; it led to columns outputted twice in hex | 10 June 2021, 10:25:19 UTC |
b8bee8a | Jens Finkhaeuser | 10 June 2021, 07:09:10 UTC | Add byte literals | 10 June 2021, 07:09:10 UTC |
03f3f54 | Jens Finkhaeuser | 10 June 2021, 06:29:10 UTC | Remove superfluous include and const qualifier | 10 June 2021, 06:29:10 UTC |
4d6ed3c | Jens Finkhaeuser | 09 June 2021, 17:40:07 UTC | Add hexdump functionality; we need it more often than not. | 09 June 2021, 17:40:07 UTC |
917f972 | Jens Finkhaeuser | 09 June 2021, 13:29:41 UTC | Annual copyright bookkeepin | 09 June 2021, 13:29:41 UTC |
ec76824 | Jens Finkhaeuser | 08 June 2021, 19:35:18 UTC | Add function for determining the maximum mask size for an address | 08 June 2021, 19:35:18 UTC |
f10a1c9 | Jens Finkhaeuser | 08 June 2021, 13:19:09 UTC | Add easy determination of gatway address; may need refinement | 08 June 2021, 13:19:09 UTC |
414b33f | Jens Finkhaeuser | 08 June 2021, 13:11:32 UTC | Fix size returned by deserialize | 08 June 2021, 13:11:32 UTC |
e92bd04 | Jens Finkhaeuser | 08 June 2021, 10:51:58 UTC | Add serialization helpers to socket_address for parsing IP headers | 08 June 2021, 10:51:58 UTC |
9feb7aa | Jens Finkhaeuser | 07 June 2021, 12:10:08 UTC | Also add function to network for querying a mapped address. This does not mean the address is reserved! | 07 June 2021, 12:10:08 UTC |
0f3a484 | Jens Finkhaeuser | 07 June 2021, 12:04:35 UTC | Add functions for querying whether an address is reserved. | 07 June 2021, 12:04:35 UTC |
dd55be5 | Jens Finkhaeuser | 02 June 2021, 15:55:45 UTC | Add ability to test for loopback and any addresses | 02 June 2021, 15:55:45 UTC |
9e635b4 | Jens Finkhaeuser | 02 June 2021, 09:17:49 UTC | Make network class copyable. I hope this works out, I'm undecided if it's a great idea. | 02 June 2021, 09:17:49 UTC |
b2a4dd7 | Jens Finkhaeuser | 31 May 2021, 10:12:59 UTC | Add simple utility function returning a netspec representing the network instance | 31 May 2021, 10:12:59 UTC |
c5e2fa5 | Jens Finkhaeuser | 27 May 2021, 10:17:26 UTC | Make logging backend a combo option | 27 May 2021, 10:17:26 UTC |
aaf1f1d | Jens Finkhaeuser | 27 May 2021, 10:17:06 UTC | Allow passing a port to the resolve function | 27 May 2021, 10:17:06 UTC |
a532012 | Jens Finkhaeuser | 21 May 2021, 16:18:48 UTC | Handle larger than expected buffers gracefully; this helps with parsing | 21 May 2021, 16:18:48 UTC |
ff6afab | Jens Finkhaeuser | 17 May 2021, 10:44:47 UTC | Switch liberate from std::byte to liberate::types::byte. This requires a small fix in vector usage. | 17 May 2021, 10:44:47 UTC |
ed550f4 | Jens Finkhaeuser | 17 May 2021, 10:44:02 UTC | For some older C++17 compilers, add alias for std::byte | 17 May 2021, 10:44:02 UTC |
a19bc9b | Jens Finkhaeuser | 20 April 2021, 08:14:27 UTC | Base timeout value should be a run-time parameter | 20 April 2021, 08:14:27 UTC |
91c9cc0 | Jens Finkhaeuser | 19 April 2021, 11:50:24 UTC | Clarify test case | 19 April 2021, 11:50:24 UTC |
ef1031f | Jens Finkhaeuser | 19 April 2021, 11:38:42 UTC | Move exponential backoff and RNG from channeler over to here. | 19 April 2021, 11:38:42 UTC |
32b5a9e | Jens Finkhaeuser | 01 April 2021, 09:08:48 UTC | Since we have a function for determining the output size of a varint in advance now, we may as well use it and avoid a memcpy | 01 April 2021, 09:08:48 UTC |
9930259 | Jens Finkhaeuser | 31 March 2021, 20:05:16 UTC | Add function for determining actual size of a serialized varint | 31 March 2021, 20:05:16 UTC |
d4db92a | Jens Finkhaeuser | 26 March 2021, 11:14:24 UTC | Make public the constat expression for te maximum buffer size of a varint | 26 March 2021, 11:14:24 UTC |
bb75e9b | Jens Finkhaeuser | 28 February 2021, 12:39:20 UTC | Add more buffer bounds checks and test cases | 28 February 2021, 12:39:20 UTC |
2f0fe16 | Jens Finkhaeuser | 28 February 2021, 12:25:16 UTC | Fix invalid read | 28 February 2021, 12:25:16 UTC |
d50688b | Jens Finkhaeuser | 26 February 2021, 09:03:39 UTC | Add crc32 type for serialization | 26 February 2021, 09:03:39 UTC |
82b801e | Jens Finkhaeuser | 18 February 2021, 09:59:22 UTC | Add secondary way for supplementing comparison operators | 18 February 2021, 09:59:22 UTC |
76b28f3 | Jens Finkhaeuser | 15 February 2021, 09:44:27 UTC | Ensure crc32 works with byte iterators as well | 15 February 2021, 09:44:27 UTC |
135cfb3 | Jens Finkhaeuser | 12 February 2021, 14:22:31 UTC | Update README | 12 February 2021, 14:22:31 UTC |
05ea24f | Jens Finkhaeuser | 12 February 2021, 11:20:26 UTC | Forgot to include array | 12 February 2021, 11:20:26 UTC |
3df87d8 | Jens Finkhaeuser | 12 February 2021, 11:10:09 UTC | Add generic CRC32 for any polynomials that calculates lookup tables at compile time | 12 February 2021, 11:10:09 UTC |
7952e69 | Jens Finkhaeuser | 11 February 2021, 11:12:15 UTC | Add range hash function | 11 February 2021, 11:12:15 UTC |
d1e139b | Jens Finkhaeuser | 11 February 2021, 10:40:24 UTC | Add generic hex encode/decode functions and use them in urlencode.h | 11 February 2021, 10:40:24 UTC |
de811e5 | Jens Finkhaeuser | 07 September 2020, 07:20:17 UTC | Ensure in release/windows build, tasklet functions are visible | 07 September 2020, 07:20:17 UTC |
4aacf8f | Jens Finkhaeuser | 07 September 2020, 07:14:59 UTC | Add a cleaner implementation of packeteer's tasklet class; it should avoid a race condition that packeteer suffers from | 07 September 2020, 07:14:59 UTC |
da6af46 | Jens Finkhaeuser | 03 September 2020, 14:06:21 UTC | Add concurrent queue from packeteer to liberate | 03 September 2020, 14:06:21 UTC |
b9df9d2 | Jens Finkhaeuser | 27 August 2020, 07:36:59 UTC | Treat EAI_SYSTEM as it should be, by inspecting errno | 27 August 2020, 07:36:59 UTC |
0a510ca | Jens Finkhaeuser | 27 August 2020, 07:22:48 UTC | Need WSAGetLasterror() | 27 August 2020, 07:22:48 UTC |
1a87a7f | Jens Finkhaeuser | 27 August 2020, 07:20:23 UTC | Simplify logging header by using system error functions | 27 August 2020, 07:20:23 UTC |
2ae7fff | Jens Finkhaeuser | 27 August 2020, 07:20:00 UTC | Add system-independent error code/message functions | 27 August 2020, 07:20:00 UTC |
f624954 | Jens Finkhaeuser | 27 August 2020, 07:18:59 UTC | Re-activate detection of strerror variants | 27 August 2020, 07:18:59 UTC |
7a38b31 | Jens Finkhaeuser | 26 August 2020, 15:44:07 UTC | Merge branch 'master' of gitlab.com:interpeer/liberate | 26 August 2020, 15:44:07 UTC |
75959dc | Jens Finkhaeuser | 26 August 2020, 15:43:43 UTC | Uhh... yep, shouldn't check in windows specific code in a portable portion | 26 August 2020, 15:43:43 UTC |
8672443 | Jens Finkhaeuser | 26 August 2020, 15:38:00 UTC | Add handling of Windows specific error codes (at least those documented) | 26 August 2020, 15:38:00 UTC |
bdfc229 | Jens Finkhaeuser | 26 August 2020, 14:24:13 UTC | - In the runner, create a test environment that initializes the API - In the resolve() tests, pass the test environment's API | 26 August 2020, 14:24:13 UTC |