]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Jorge Pereira [Fri, 24 May 2019 02:36:38 +0000 (23:36 -0300)]
misc.c: Fix redefinition of 'NSEC'
Arran Cudbard-Bell [Fri, 24 May 2019 02:33:12 +0000 (22:33 -0400)]
Switch to initialiser macros for fr_time_delta_to_timeval and fr_time_delta_to_timspec
Arran Cudbard-Bell [Fri, 24 May 2019 02:11:18 +0000 (22:11 -0400)]
Fix FR_TIME_DELTA_BOUND_CHECK to take NSEC, so we can easily pass other fr_time_delta_t values in as the _bound
Arran Cudbard-Bell [Thu, 23 May 2019 20:36:32 +0000 (16:36 -0400)]
FR_TYPE_TIME_DELTA case
Arran Cudbard-Bell [Thu, 23 May 2019 20:31:52 +0000 (16:31 -0400)]
Fix type check for FR_TYPE_TIME_DELTA
Alan T. DeKok [Thu, 23 May 2019 19:32:09 +0000 (15:32 -0400)]
call realloc for strings so that they're the right size
Alan T. DeKok [Thu, 23 May 2019 15:23:14 +0000 (11:23 -0400)]
enable data type tests
Alan T. DeKok [Thu, 23 May 2019 15:20:20 +0000 (11:20 -0400)]
move 'rt' to fr_time_delta_t
Alan T. DeKok [Thu, 23 May 2019 15:17:39 +0000 (11:17 -0400)]
move to using fr_time_delta_t
Alan T. DeKok [Thu, 23 May 2019 15:12:28 +0000 (11:12 -0400)]
move to using fr_time_t
Alan DeKok [Thu, 23 May 2019 14:38:23 +0000 (10:38 -0400)]
Merge pull request #2711 from mattrose/checkout-url
get git url from job configuration
Matt Rose [Fri, 17 May 2019 18:03:44 +0000 (14:03 -0400)]
get git url from job configuration
Alan T. DeKok [Thu, 23 May 2019 13:26:57 +0000 (09:26 -0400)]
do print / parse / cmp for data type comparisons
to be sure that when we parse something and then print it,
the thing we printed can get parsed to be the same thing
Alan T. DeKok [Thu, 23 May 2019 11:31:46 +0000 (07:31 -0400)]
remove reference to gettimeofday from comments
Alan T. DeKok [Thu, 23 May 2019 11:30:37 +0000 (07:30 -0400)]
remove WIN32 wrapper for gettimeofday
we haven't built on Windows in a long time
Jorge Pereira [Thu, 23 May 2019 00:39:20 +0000 (21:39 -0300)]
rlm_sigtran: Move to fr_time_t
Jorge Pereira [Wed, 22 May 2019 22:54:24 +0000 (19:54 -0300)]
src/modules: Move to fr_time_t
Jorge Pereira [Wed, 22 May 2019 22:54:16 +0000 (19:54 -0300)]
src/lib: Move to fr_time_t
Jorge Pereira [Wed, 22 May 2019 22:53:43 +0000 (19:53 -0300)]
src/tests: Move to fr_time_t
Jorge Pereira [Wed, 22 May 2019 22:23:46 +0000 (19:23 -0300)]
rlm_redis_ippol: Move to fr_time_t
Jorge Pereira [Wed, 22 May 2019 22:21:53 +0000 (19:21 -0300)]
tests/util/message_set_test.c: Move to fr_time_t
Jorge Pereira [Thu, 23 May 2019 00:46:28 +0000 (21:46 -0300)]
ldap/connection.c: Fix _ldap_connection_init()
Arran Cudbard-Bell [Wed, 22 May 2019 23:56:47 +0000 (19:56 -0400)]
Revert "ldap/connection.c: Fix _ldap_connection_init()"
Alan DeKok [Wed, 22 May 2019 21:48:23 +0000 (17:48 -0400)]
Merge pull request #2707 from jpereira/v4/fix22
ldap/connection.c: Fix _ldap_connection_init()
Jorge Pereira [Wed, 22 May 2019 21:24:54 +0000 (18:24 -0300)]
ldap/connection.c: Fix _ldap_connection_init()
Alan T. DeKok [Wed, 22 May 2019 19:44:45 +0000 (15:44 -0400)]
add tests for data types
Alan T. DeKok [Wed, 22 May 2019 19:43:44 +0000 (15:43 -0400)]
don't forget to convert seconds to nanoseconds
Alan T. DeKok [Wed, 22 May 2019 19:25:33 +0000 (15:25 -0400)]
allow parsing of fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 18:37:51 +0000 (14:37 -0400)]
convert rlm_ldap et al. to fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 18:21:43 +0000 (14:21 -0400)]
move to fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 18:19:58 +0000 (14:19 -0400)]
move to TIME_DELTA
Alan T. DeKok [Wed, 22 May 2019 18:07:17 +0000 (14:07 -0400)]
print out scale based on time spec
for seconds, milliseconds, etc.
And don't print time qualififiers as "s" or "ms". It will likely
end up breaking too many things
Alan T. DeKok [Wed, 22 May 2019 16:54:16 +0000 (12:54 -0400)]
move master.c timers to fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 16:38:25 +0000 (12:38 -0400)]
move remaining config items to fr_time_delay_t
Alan T. DeKok [Wed, 22 May 2019 16:34:10 +0000 (12:34 -0400)]
convert zombie_period to use fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 15:43:30 +0000 (11:43 -0400)]
doxygen
Alan T. DeKok [Wed, 22 May 2019 15:42:11 +0000 (11:42 -0400)]
print out "s" qualifier after time_delta
and truncate the output so that we don't get trailing zeros
Alan T. DeKok [Wed, 22 May 2019 15:41:16 +0000 (11:41 -0400)]
print canonical version of time_delta
by using value_box functions. We likely should convert all
of the "manually print values" debug output to use value_box,
which gives us a canonical version of the output
Alan T. DeKok [Wed, 22 May 2019 15:17:08 +0000 (11:17 -0400)]
allow for scaling in fr_time_delta_t using dst_enumv
we don't currently allow fr_time_delta_t in the dictionaries,
but once all of this is done, we should allow it.
Alan T. DeKok [Wed, 22 May 2019 15:15:13 +0000 (11:15 -0400)]
add "hint" for scaling to delta_from_str
and allow non-qualified numbers, which use "hint" as the scale
Alan T. DeKok [Wed, 22 May 2019 14:59:06 +0000 (10:59 -0400)]
move idle_timeout to fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 14:58:29 +0000 (10:58 -0400)]
allow / parse FR_TYPE_TIME_DELTA in config files
Alan T. DeKok [Wed, 22 May 2019 14:58:03 +0000 (10:58 -0400)]
cast first to avoid potential overflow
Alan T. DeKok [Wed, 22 May 2019 14:27:07 +0000 (10:27 -0400)]
doxygen
Alan T. DeKok [Wed, 22 May 2019 14:25:46 +0000 (10:25 -0400)]
case to "int" AFTER divide by NSEC
Alan T. DeKok [Wed, 22 May 2019 15:07:30 +0000 (11:07 -0400)]
parse '1s', too
Alan T. DeKok [Wed, 22 May 2019 13:42:31 +0000 (09:42 -0400)]
parse "1.1ms" etc. in fr_time_delta_t
Alan T. DeKok [Wed, 22 May 2019 13:40:01 +0000 (09:40 -0400)]
complain if there is garbage after the number
Alan T. DeKok [Wed, 22 May 2019 13:25:29 +0000 (09:25 -0400)]
make error messages clearer
while the number looks like a float, it's a timeval. So the
error message should say that.
Alan T. DeKok [Wed, 22 May 2019 13:17:20 +0000 (09:17 -0400)]
add FR_TYPE_TIME_DELTA
in preparation for moving CONF_PARSER stuff from timeval to time_delta
Alan T. DeKok [Tue, 21 May 2019 17:32:31 +0000 (13:32 -0400)]
disallow FT_TYPE_ABINARY in conf parser
there are unexplained build errors after the previous commit,
AND there is no reason to allow ABINARY in the config files.
Nothing in the config file parser encodes strings to ABINARY,
so the "builtin_choose_expr" macro would never do anything useful.
Alan T. DeKok [Tue, 21 May 2019 17:06:40 +0000 (13:06 -0400)]
remove multiple date data types
no more date_milliseconds or date_microseconds or date_nanoseconds
Alan T. DeKok [Tue, 21 May 2019 16:56:05 +0000 (12:56 -0400)]
fix typo
Alan T. DeKok [Tue, 21 May 2019 15:30:27 +0000 (11:30 -0400)]
pass pointer to fr_trie_lookup
Alan T. DeKok [Tue, 21 May 2019 15:07:04 +0000 (11:07 -0400)]
print date precision, too
Alan T. DeKok [Tue, 21 May 2019 14:58:05 +0000 (10:58 -0400)]
parse precision for attributes of type 'date'
Alan T. DeKok [Tue, 21 May 2019 14:56:43 +0000 (10:56 -0400)]
check before setting to NULL
Alan T. DeKok [Tue, 21 May 2019 14:55:38 +0000 (10:55 -0400)]
add trie for ipv4prefix / ipv6prefix
Alan T. DeKok [Tue, 21 May 2019 14:06:10 +0000 (10:06 -0400)]
move "key" to value_box
and use prefix tries for data type ipv4prefix and ipv6prefix
Alan DeKok [Tue, 21 May 2019 13:50:58 +0000 (09:50 -0400)]
Merge pull request #2706 from jpereira/v4/method2
Fix the '$module.$method1.$method2' match. #270
Alan T. DeKok [Tue, 21 May 2019 13:50:12 +0000 (09:50 -0400)]
skip the parsed { token
Jorge Pereira [Tue, 21 May 2019 04:34:43 +0000 (01:34 -0300)]
Fix the '$module.$method1.$method2' match. #270
Alan T. DeKok [Tue, 21 May 2019 13:23:01 +0000 (09:23 -0400)]
fix error message
Alan T. DeKok [Tue, 21 May 2019 12:13:28 +0000 (08:13 -0400)]
use new name
Alan T. DeKok [Tue, 21 May 2019 11:28:11 +0000 (07:28 -0400)]
update CSV with examples and documentation
Alan DeKok [Tue, 21 May 2019 02:14:20 +0000 (22:14 -0400)]
Merge pull request #2705 from jpereira/v4/module1
Fix the '$module.$method1' match. #2702
Alan T. DeKok [Mon, 20 May 2019 22:18:15 +0000 (18:18 -0400)]
use correct version of time
Alan T. DeKok [Mon, 20 May 2019 18:47:55 +0000 (14:47 -0400)]
use correct function
Alan T. DeKok [Mon, 20 May 2019 18:45:41 +0000 (14:45 -0400)]
move idle_timeout to fr_time_t
Alan T. DeKok [Mon, 20 May 2019 18:34:14 +0000 (14:34 -0400)]
convert zombie_period to fr_time_delta_t
Alan T. DeKok [Mon, 20 May 2019 21:11:21 +0000 (17:11 -0400)]
revert last 3 commits in rlm_radius_udp
in preparation for a more comprehensive set of patches
Arran Cudbard-Bell [Sat, 18 May 2019 02:18:40 +0000 (22:18 -0400)]
Remove fr_event_timer_insert call from conn_timeout_init
Arran Cudbard-Bell [Sat, 18 May 2019 02:12:52 +0000 (22:12 -0400)]
Remove another call to fr_event_timer_insert in conn_transition
Arran Cudbard-Bell [Sat, 18 May 2019 02:04:07 +0000 (22:04 -0400)]
Remove call to fr_event_timer_insert from conn_check_idle
Jorge Pereira [Mon, 20 May 2019 16:55:49 +0000 (13:55 -0300)]
Fix the '$module.$method1' match. #2702
Alan T. DeKok [Sat, 18 May 2019 21:01:56 +0000 (17:01 -0400)]
free the "pending" list before freeing the "client"
because "pending" entries point to "track" structs, which are
parented from "client". Without this explicit ordering, bad things
can happen
Alan DeKok [Sat, 18 May 2019 20:46:45 +0000 (16:46 -0400)]
Merge pull request #2703 from jpereira/v4/fix23
Fix the header conflict
Alan T. DeKok [Sat, 18 May 2019 20:39:52 +0000 (16:39 -0400)]
add more test methods
Jorge Pereira [Sat, 18 May 2019 20:23:26 +0000 (17:23 -0300)]
systemd: Only the sd_notifyf() supports format-strings
Jorge Pereira [Sat, 18 May 2019 20:19:58 +0000 (17:19 -0300)]
systemd: Fix the header conflict
Alan T. DeKok [Sat, 18 May 2019 19:51:50 +0000 (15:51 -0400)]
match names correctly. Helps with #2702
Arran Cudbard-Bell [Sat, 18 May 2019 17:41:45 +0000 (13:41 -0400)]
Allow systemd to work with -f, maybe
Alan DeKok [Sat, 18 May 2019 16:41:41 +0000 (12:41 -0400)]
Merge pull request #2701 from jpereira/v4/fix9
Fix missed ;
Jorge Pereira [Sat, 18 May 2019 16:38:01 +0000 (13:38 -0300)]
Fix missed ;
Arran Cudbard-Bell [Sat, 18 May 2019 01:49:20 +0000 (21:49 -0400)]
Remove fr_event_timer_insert call from worker_reset_time
Arran Cudbard-Bell [Sat, 18 May 2019 15:34:35 +0000 (11:34 -0400)]
More systemd ickiness
Alexis La Goutte [Sat, 18 May 2019 08:39:00 +0000 (08:39 +0000)]
Update Aruba dictionary (from ClearPass 6.8.0)
Alexis La Goutte [Sat, 18 May 2019 08:48:51 +0000 (08:48 +0000)]
Update HP(E) dictionary (from ClearPass 6.8.0)
Jorge Pereira [Sat, 18 May 2019 01:00:21 +0000 (22:00 -0300)]
Everybody hates gettimeofday(), Season 1
Arran Cudbard-Bell [Sat, 18 May 2019 01:28:57 +0000 (21:28 -0400)]
Update *when, when calling fr_event_timer_run
Arran Cudbard-Bell [Sat, 18 May 2019 01:26:49 +0000 (21:26 -0400)]
Fix fr_event_timer_cmp
Arran Cudbard-Bell [Sat, 18 May 2019 00:38:22 +0000 (20:38 -0400)]
Remove gettimeofday from subrequest.c
Arran Cudbard-Bell [Sat, 18 May 2019 00:21:57 +0000 (20:21 -0400)]
Add "delta" type and comparator
Internally we probably want FR_TYPE_TIME_DELTA and FR_TYPE_TIME too, with FR_TYPE_TIME_DELTA replacing FR_TYPE_TIMEVAL
Arran Cudbard-Bell [Fri, 17 May 2019 23:33:49 +0000 (19:33 -0400)]
Simplify fr_time() CLOCK_MONOTONIC case
Arran Cudbard-Bell [Fri, 17 May 2019 23:13:05 +0000 (19:13 -0400)]
Add separate function to allow periodic refreshing of realtime/monotime
Arran Cudbard-Bell [Fri, 17 May 2019 23:09:40 +0000 (19:09 -0400)]
oops...
Arran Cudbard-Bell [Fri, 17 May 2019 21:47:56 +0000 (17:47 -0400)]
Not used
Arran Cudbard-Bell [Fri, 17 May 2019 21:21:06 +0000 (17:21 -0400)]
Make recvfromto output a fr_time_t
Arran Cudbard-Bell [Fri, 17 May 2019 21:11:19 +0000 (17:11 -0400)]
"When" is uninitialised in proto_detail_work
Arran Cudbard-Bell [Fri, 17 May 2019 21:11:02 +0000 (17:11 -0400)]
Fix unused variable