]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 9 Jul 2018 15:39:25 +0000 (11:39 -0400)]
allocate and fill in value boxes if required
Alan T. DeKok [Mon, 9 Jul 2018 15:20:26 +0000 (11:20 -0400)]
clear out value boxes in preparation for filling them in
Alan T. DeKok [Mon, 9 Jul 2018 13:26:03 +0000 (09:26 -0400)]
move radmin to it's own header file
Alan T. DeKok [Mon, 9 Jul 2018 12:57:28 +0000 (08:57 -0400)]
don't coninue on error, goto next
Alan T. DeKok [Mon, 9 Jul 2018 12:36:49 +0000 (08:36 -0400)]
reset argc to context after running command
Alan T. DeKok [Sun, 8 Jul 2018 23:50:38 +0000 (19:50 -0400)]
added more commands and more help
so that the poor admin knows what to do
Alan T. DeKok [Sun, 8 Jul 2018 19:21:39 +0000 (15:21 -0400)]
add more help text and commands
Alan T. DeKok [Sun, 8 Jul 2018 19:21:05 +0000 (15:21 -0400)]
allow help for commands with callbacks
which just prints the syntax for now
Alan T. DeKok [Sun, 8 Jul 2018 13:23:28 +0000 (09:23 -0400)]
print out only one layer of help at a time
Alan T. DeKok [Sat, 7 Jul 2018 12:10:36 +0000 (08:10 -0400)]
make "info" global in preparation for context-specific help
Alan T. DeKok [Fri, 6 Jul 2018 23:26:18 +0000 (19:26 -0400)]
use standard macro
Arran Cudbard-Bell [Fri, 6 Jul 2018 20:22:38 +0000 (16:22 -0400)]
Fix off by one issue in cursor code
Alan T. DeKok [Fri, 6 Jul 2018 19:43:37 +0000 (15:43 -0400)]
implement show / set module status
Alan T. DeKok [Fri, 6 Jul 2018 19:07:11 +0000 (15:07 -0400)]
clean up function
Alan T. DeKok [Fri, 6 Jul 2018 19:00:10 +0000 (15:00 -0400)]
remove unused variable
Alan T. DeKok [Fri, 6 Jul 2018 18:40:28 +0000 (14:40 -0400)]
stupid hooks to get it building and linking
Alan T. DeKok [Fri, 6 Jul 2018 18:31:36 +0000 (14:31 -0400)]
Revert "add stub functions"
This reverts commit
1016e2847e68767ea2e6cf101a2957bf9f3faf62 .
nope x2
Alan T. DeKok [Fri, 6 Jul 2018 18:31:26 +0000 (14:31 -0400)]
Revert "add local prototypes"
This reverts commit
a4b06ed1f4ba3857bb6ff51b9da3f87b7912541c .
nope
Alan T. DeKok [Fri, 6 Jul 2018 18:10:21 +0000 (14:10 -0400)]
add local prototypes
Alan T. DeKok [Fri, 6 Jul 2018 17:53:12 +0000 (13:53 -0400)]
print syntax if it exists, otherwise name.
Alan T. DeKok [Fri, 6 Jul 2018 17:45:32 +0000 (13:45 -0400)]
add stub functions
Alan T. DeKok [Fri, 6 Jul 2018 17:42:20 +0000 (13:42 -0400)]
Revert "move radmin to libfreeradius-server"
This reverts commit
44c9c958ded01601cd50565b9007dfd6af59581f .
nope, that's worse...
Alan T. DeKok [Fri, 6 Jul 2018 17:40:15 +0000 (13:40 -0400)]
move "parents" to a simple string
Alan T. DeKok [Fri, 6 Jul 2018 17:27:59 +0000 (13:27 -0400)]
add commands to show / set debug level
Alan T. DeKok [Fri, 6 Jul 2018 17:13:47 +0000 (13:13 -0400)]
move radmin to libfreeradius-server
Alan T. DeKok [Fri, 6 Jul 2018 16:29:45 +0000 (12:29 -0400)]
use fr_command_list()
Alan T. DeKok [Fri, 6 Jul 2018 16:29:25 +0000 (12:29 -0400)]
add fr_command_list()
which lists commands and their syntax
Alan T. DeKok [Fri, 6 Jul 2018 16:16:59 +0000 (12:16 -0400)]
add "show module config MODULE" and "show module list"
Woo! Commands are useful
Alan T. DeKok [Fri, 6 Jul 2018 15:48:43 +0000 (11:48 -0400)]
expose cf_section_write()
Alan T. DeKok [Fri, 6 Jul 2018 15:01:43 +0000 (11:01 -0400)]
first command cannot be optional
Alan T. DeKok [Fri, 6 Jul 2018 15:01:06 +0000 (11:01 -0400)]
use fr_command_verify_arg() instead of hand-rolled checks
Alan T. DeKok [Fri, 6 Jul 2018 14:46:01 +0000 (10:46 -0400)]
verify arguments properly while tab expanding
Alan T. DeKok [Fri, 6 Jul 2018 14:33:49 +0000 (10:33 -0400)]
remove unused assignment
Alan T. DeKok [Fri, 6 Jul 2018 13:57:34 +0000 (09:57 -0400)]
added talloc debugging
which likely doesn't work as well as it should, because the
necessary talloc contexts are hidden...
Alan T. DeKok [Fri, 6 Jul 2018 13:31:20 +0000 (09:31 -0400)]
fix alternation, and allow nested alternation
update the parser to count () when looking for |
update the alternation children to be CHOICE, so that their children
can have "next" pointers without screwing up the alternation list
itself.
Arran Cudbard-Bell [Thu, 5 Jul 2018 23:55:07 +0000 (19:55 -0400)]
Use the reference implementation in milenage.c for quintuplet to sim folding
...it might actually work, unlike mine which doesn't.
Arran Cudbard-Bell [Thu, 5 Jul 2018 21:58:15 +0000 (17:58 -0400)]
Merge pull request #2259 from cnelissen/master
Adding new Nomadix VSA’s and use official names
Clint Nelissen [Thu, 5 Jul 2018 17:25:01 +0000 (10:25 -0700)]
Adding new Nomadix VSA’s and use official names
Arran Cudbard-Bell [Thu, 5 Jul 2018 17:50:57 +0000 (13:50 -0400)]
One more...
Arran Cudbard-Bell [Thu, 5 Jul 2018 17:50:24 +0000 (13:50 -0400)]
Remove more uses of request
Arran Cudbard-Bell [Thu, 5 Jul 2018 17:48:44 +0000 (13:48 -0400)]
Remover partial line?
Arran Cudbard-Bell [Thu, 5 Jul 2018 17:19:38 +0000 (13:19 -0400)]
Be extremely cautious about accessing the request in the osmocom thread
The issue here is that if any of these logging functions use the request for temporary storage, and the requests are modified asynchronously, or have a common parent in the worker, then subtle TALLOC corruption could result, which would explain all the random crashes we see.
Alan T. DeKok [Thu, 5 Jul 2018 15:34:37 +0000 (11:34 -0400)]
alternation works in simple tests
Alan T. DeKok [Thu, 5 Jul 2018 13:22:12 +0000 (09:22 -0400)]
support nested optional strings
Alan T. DeKok [Thu, 5 Jul 2018 13:21:11 +0000 (09:21 -0400)]
closing brace must be the last thing in the name
Arran Cudbard-Bell [Thu, 5 Jul 2018 15:18:31 +0000 (11:18 -0400)]
Ignore run.sh
Arran Cudbard-Bell [Thu, 5 Jul 2018 15:16:22 +0000 (11:16 -0400)]
Revert "Actuall free the link"
This reverts commit
2da8dcc5706dbc4807dcdcb779463bd8dc76d182 .
# Conflicts:
# src/modules/rlm_sigtran/event.c
Arran Cudbard-Bell [Thu, 5 Jul 2018 15:15:16 +0000 (11:15 -0400)]
Temporarily disable until we can debug the osmocom code
Arran Cudbard-Bell [Thu, 5 Jul 2018 13:30:46 +0000 (09:30 -0400)]
Exit gracefully on radmin error
Arran Cudbard-Bell [Thu, 5 Jul 2018 13:01:28 +0000 (09:01 -0400)]
Typo
Arran Cudbard-Bell [Thu, 5 Jul 2018 02:27:52 +0000 (22:27 -0400)]
Actuall free the link
Arran Cudbard-Bell [Thu, 5 Jul 2018 02:08:46 +0000 (22:08 -0400)]
Need to tear down the control pipe too
Arran Cudbard-Bell [Thu, 5 Jul 2018 02:00:01 +0000 (22:00 -0400)]
try and defer the exit to give us enough time to signal we're going down
Arran Cudbard-Bell [Thu, 5 Jul 2018 00:53:15 +0000 (20:53 -0400)]
Typos
Arran Cudbard-Bell [Thu, 5 Jul 2018 00:44:39 +0000 (20:44 -0400)]
Attempt at geting osmocom to send a proper aspdn
Arran Cudbard-Bell [Wed, 4 Jul 2018 22:21:51 +0000 (18:21 -0400)]
Fix issues with sigtran not gracefully exiting
Arran Cudbard-Bell [Wed, 4 Jul 2018 22:16:07 +0000 (18:16 -0400)]
Include scheduler header
Arran Cudbard-Bell [Wed, 4 Jul 2018 22:14:45 +0000 (18:14 -0400)]
Too verbose
Arran Cudbard-Bell [Wed, 4 Jul 2018 20:36:47 +0000 (16:36 -0400)]
Must be malloced
Arran Cudbard-Bell [Wed, 4 Jul 2018 20:21:23 +0000 (16:21 -0400)]
pthread_sigmask needs to be called inside the new thread
...duh.
Arran Cudbard-Bell [Wed, 4 Jul 2018 20:06:27 +0000 (16:06 -0400)]
Use central thread creation function that prevents signals being delivered to pthreads
Alan T. DeKok [Wed, 4 Jul 2018 19:11:19 +0000 (15:11 -0400)]
fix test backto just command
Alan T. DeKok [Wed, 4 Jul 2018 19:05:40 +0000 (15:05 -0400)]
make optional matching work
commands are parsed and run. But tab completion isn't tested.
Alan T. DeKok [Wed, 4 Jul 2018 17:10:04 +0000 (13:10 -0400)]
print out error when we receive it
Alan T. DeKok [Wed, 4 Jul 2018 17:00:02 +0000 (13:00 -0400)]
move tab expand argv to it's own function
Alan T. DeKok [Wed, 4 Jul 2018 15:32:25 +0000 (11:32 -0400)]
move to linked list / tree for syntax arguments
in preparation for allowing alternation && optional arguments
Arran Cudbard-Bell [Wed, 4 Jul 2018 01:10:56 +0000 (21:10 -0400)]
..and more
Arran Cudbard-Bell [Wed, 4 Jul 2018 01:07:13 +0000 (21:07 -0400)]
..and some more
Arran Cudbard-Bell [Wed, 4 Jul 2018 01:03:41 +0000 (21:03 -0400)]
Prefix more log messages
Arran Cudbard-Bell [Wed, 4 Jul 2018 00:51:21 +0000 (20:51 -0400)]
Better debug messages
Arran Cudbard-Bell [Wed, 4 Jul 2018 00:31:21 +0000 (20:31 -0400)]
Document DNS config items
Arran Cudbard-Bell [Wed, 4 Jul 2018 00:13:58 +0000 (20:13 -0400)]
We should allow hostname lookups by default
Arran Cudbard-Bell [Wed, 4 Jul 2018 00:13:46 +0000 (20:13 -0400)]
Emit error if asked to resolve a hostname, and hostname resolution is disabled
Alan T. DeKok [Tue, 3 Jul 2018 19:25:42 +0000 (15:25 -0400)]
remove unused assignment
Alan T. DeKok [Tue, 3 Jul 2018 19:23:42 +0000 (15:23 -0400)]
run split differently based on syntax or user-supplied string
Alan T. DeKok [Tue, 3 Jul 2018 18:53:55 +0000 (14:53 -0400)]
move parsing of syntax to using fr_cmd_argv_t
Alan T. DeKok [Tue, 3 Jul 2018 18:27:12 +0000 (14:27 -0400)]
move argv/types to it's own data structure
in preparation for allowing alternation, etc.
Alan T. DeKok [Tue, 3 Jul 2018 17:43:16 +0000 (13:43 -0400)]
clean up re-use of data types
in preparation for allowing alternation, etc.
Alan T. DeKok [Tue, 3 Jul 2018 17:32:49 +0000 (13:32 -0400)]
move syntax argument checking to it's own function
in preparation for allowing alternation and optional arguments
Alan T. DeKok [Tue, 3 Jul 2018 17:28:08 +0000 (13:28 -0400)]
move vararg check to before check for valid name
Alan T. DeKok [Tue, 3 Jul 2018 17:15:36 +0000 (13:15 -0400)]
only allow real data types
Alan T. DeKok [Tue, 3 Jul 2018 17:02:22 +0000 (13:02 -0400)]
support variable arguments
as:
command IPADDR ...
which means "many IP addresses".
The argument before the "..." MUST be a known data type.
Otherwise it doesn't make any sense
Arran Cudbard-Bell [Tue, 3 Jul 2018 17:52:48 +0000 (13:52 -0400)]
conn may be NULL too
Arran Cudbard-Bell [Tue, 3 Jul 2018 17:51:43 +0000 (13:51 -0400)]
Typo
Arran Cudbard-Bell [Tue, 3 Jul 2018 17:51:00 +0000 (13:51 -0400)]
Don't crash on early exit
Arran Cudbard-Bell [Tue, 3 Jul 2018 17:43:36 +0000 (13:43 -0400)]
Fix abort on error
Alan T. DeKok [Tue, 3 Jul 2018 15:43:40 +0000 (11:43 -0400)]
fix up "taint" fix
Alan T. DeKok [Tue, 3 Jul 2018 15:39:20 +0000 (11:39 -0400)]
document "perl_flags" and "-T"
Alan T. DeKok [Tue, 3 Jul 2018 14:49:31 +0000 (10:49 -0400)]
taint all variables.
Alan T. DeKok [Tue, 3 Jul 2018 13:27:28 +0000 (09:27 -0400)]
use cmd->intermediate for checks
Alan T. DeKok [Tue, 3 Jul 2018 13:12:26 +0000 (09:12 -0400)]
remove extraneous assignment
Alan T. DeKok [Tue, 3 Jul 2018 11:22:32 +0000 (07:22 -0400)]
add fp_err to commands
so that errors can go to a different path
Alan T. DeKok [Tue, 3 Jul 2018 11:16:21 +0000 (07:16 -0400)]
remove more debugging
Alan T. DeKok [Mon, 2 Jul 2018 23:10:11 +0000 (19:10 -0400)]
quiet clang scan
Arran Cudbard-Bell [Mon, 2 Jul 2018 20:22:31 +0000 (16:22 -0400)]
Fix various misc warnings
Arran Cudbard-Bell [Mon, 2 Jul 2018 20:22:17 +0000 (16:22 -0400)]
Delete the correct class of events
Alan T. DeKok [Mon, 2 Jul 2018 19:16:53 +0000 (15:16 -0400)]
make callbacks take fr_cmd_info_t
Alan T. DeKok [Mon, 2 Jul 2018 19:16:40 +0000 (15:16 -0400)]
remove debug code
Alan T. DeKok [Mon, 2 Jul 2018 19:06:15 +0000 (15:06 -0400)]
make tab expansions work again
Alan T. DeKok [Mon, 2 Jul 2018 19:06:02 +0000 (15:06 -0400)]
cleanups