]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 24 Sep 2018 23:07:59 +0000 (19:07 -0400)]
handle longer CHAP-Password when using debug level 3
Alan T. DeKok [Fri, 21 Sep 2018 18:01:55 +0000 (14:01 -0400)]
move writable socket stuff to private structure
which means we're one step closer to using thread_instance
and we can now remove mod_detach(), as the per-socket stuff
is talloc'd, and we can use a talloc destructor for it
Alan T. DeKok [Fri, 21 Sep 2018 17:36:46 +0000 (13:36 -0400)]
detach can only be called for the main instance
not for child connections
Alan T. DeKok [Fri, 21 Sep 2018 17:33:56 +0000 (13:33 -0400)]
"open" shouldn't be called for connections
Alan T. DeKok [Fri, 21 Sep 2018 17:29:34 +0000 (13:29 -0400)]
make app_io_instance "const"
in yet another step to making thread-specific data structures
Alan T. DeKok [Fri, 21 Sep 2018 17:27:04 +0000 (13:27 -0400)]
don't call detach, the dl APIs take care of that for us
Alan T. DeKok [Fri, 21 Sep 2018 17:26:15 +0000 (13:26 -0400)]
write to thread_instance, and then copy it to app_io_instance
Alan T. DeKok [Fri, 21 Sep 2018 17:21:50 +0000 (13:21 -0400)]
Revert "move "free clients" to mod_close(), instead of mod_detach()"
This reverts commit
a505ccc195fc49847166ad2bf3839e099282944b .
we don't yet have thread-specific data structures for sockets.
so the "alive_clients" are still in the app_io_instance, not the
thread_instance. Once we have thread data, the alive_clients
can move there, and then be free'd on mod_close()
Alan T. DeKok [Fri, 21 Sep 2018 16:09:10 +0000 (12:09 -0400)]
don't bind client tcp sockets
Alan T. DeKok [Fri, 21 Sep 2018 15:49:15 +0000 (11:49 -0400)]
use listener, and not app_io_instance for NAK
Alan T. DeKok [Fri, 21 Sep 2018 15:02:17 +0000 (11:02 -0400)]
Revert "start of work to allow workers to do their own IO"
This reverts commit
79c344b9333e8e7c0239e671392be135dd03cf20 .
it's better to just add an fr_network_t to the worker thread,
as with single-threaded mode. Then, have special markers
in the channel so that messages result in API calls, and not
in actual channel messages being sent
Alan T. DeKok [Fri, 21 Sep 2018 14:51:55 +0000 (10:51 -0400)]
write to thread_instance, not app_io_instance
in preparation for making app_io_instance "const"
Alan T. DeKok [Fri, 21 Sep 2018 14:51:41 +0000 (10:51 -0400)]
pass listener, not app_io_instance
Alan T. DeKok [Fri, 21 Sep 2018 14:49:22 +0000 (10:49 -0400)]
do closing in mod_close(), not mod_detach()
Alan T. DeKok [Fri, 21 Sep 2018 14:47:04 +0000 (10:47 -0400)]
close things in mod_close(), not mod_detach()
Alan T. DeKok [Fri, 21 Sep 2018 14:43:08 +0000 (10:43 -0400)]
move "free clients" to mod_close(), instead of mod_detach()
since the dl framework calls mod_detach, we don't have to do that
for child listeners.
Alan T. DeKok [Thu, 20 Sep 2018 19:05:47 +0000 (15:05 -0400)]
move the remainder of the functions to taking fr_listen_t
Alan T. DeKok [Thu, 20 Sep 2018 18:00:08 +0000 (14:00 -0400)]
rearrange code
Alan T. DeKok [Thu, 20 Sep 2018 17:53:18 +0000 (13:53 -0400)]
revert
8d15eee4 for proto_ldap_sync
Alan T. DeKok [Thu, 20 Sep 2018 17:51:19 +0000 (13:51 -0400)]
add 'int fd' to listener structure
and remove "get_fd" functions and callbacks
Alan T. DeKok [Thu, 20 Sep 2018 17:11:17 +0000 (13:11 -0400)]
remove most mod_close as unnecessary
and fix master.c to call close() if there's no app_io->close
Alan T. DeKok [Thu, 20 Sep 2018 17:05:11 +0000 (13:05 -0400)]
more fixes for passing the correct parameter
Alan T. DeKok [Thu, 20 Sep 2018 17:03:45 +0000 (13:03 -0400)]
more rename 'listen' to 'li', and fix const complaints
Alan T. DeKok [Thu, 20 Sep 2018 17:03:15 +0000 (13:03 -0400)]
pass the correct variable over
Alan T. DeKok [Thu, 20 Sep 2018 16:49:00 +0000 (12:49 -0400)]
need to close this, too
Alan T. DeKok [Thu, 20 Sep 2018 16:45:52 +0000 (12:45 -0400)]
make mod_close() take fr_listen_t
Alan T. DeKok [Thu, 20 Sep 2018 16:27:56 +0000 (12:27 -0400)]
rename variable "listen" to "li"
so that it doesn't conflict with the function listen()
Alan T. DeKok [Thu, 20 Sep 2018 16:13:45 +0000 (12:13 -0400)]
make mod_open() take fr_listen_t
Alan T. DeKok [Thu, 20 Sep 2018 13:51:37 +0000 (09:51 -0400)]
make fd_set take listener
Alan T. DeKok [Thu, 20 Sep 2018 13:27:33 +0000 (09:27 -0400)]
make mod_fd() take fr_listen_t *
once all of the functions are converted, we can move more
variables to fr_listen_t. e.g. fd, name, src/dst.
We can also add / use listen->thread_instance in order to
make listen->app_io_instance "const"
Alan T. DeKok [Thu, 20 Sep 2018 13:32:12 +0000 (09:32 -0400)]
set thread_instance == app_io_instance for listeners
so that the new code can use the correct variable name, even tho
they point to the same struct. We can then make them point to
different structures
Alan T. DeKok [Wed, 19 Sep 2018 16:22:04 +0000 (12:22 -0400)]
create and use child listener
with all of the information we need about the socket
Alan T. DeKok [Wed, 19 Sep 2018 15:49:33 +0000 (11:49 -0400)]
Revert "add thread_instance to fd()"
This reverts commit
a2701b977fe1483e22fb36993f7998e2fde15672 .
Alan T. DeKok [Wed, 19 Sep 2018 15:48:17 +0000 (11:48 -0400)]
our own listen->app is always ourselves
Arran Cudbard-Bell [Thu, 20 Sep 2018 03:48:28 +0000 (11:48 +0800)]
Switch rlm_lua to using the thread instance framework Closes #2311
Arran Cudbard-Bell [Thu, 20 Sep 2018 01:38:22 +0000 (09:38 +0800)]
Check return code of i2a_ASN1_OBJECT Closes #2310
Alan T. DeKok [Wed, 19 Sep 2018 14:48:22 +0000 (10:48 -0400)]
remove extra parameter to "open"
it turns out we're not going to use it
Alan T. DeKok [Wed, 19 Sep 2018 14:15:10 +0000 (10:15 -0400)]
sc can't be NULL
Alan T. DeKok [Wed, 19 Sep 2018 14:14:53 +0000 (10:14 -0400)]
simplify the code
Alan T. DeKok [Wed, 19 Sep 2018 14:13:35 +0000 (10:13 -0400)]
move common code to fr_master_io_listen()
Alan T. DeKok [Wed, 19 Sep 2018 11:44:05 +0000 (07:44 -0400)]
add thread_instance to listen socket
Alan T. DeKok [Wed, 19 Sep 2018 11:43:17 +0000 (07:43 -0400)]
don't build these test programs
they're no longer needed
Alan T. DeKok [Wed, 19 Sep 2018 11:40:49 +0000 (07:40 -0400)]
add thread_instance to fd()
Alan T. DeKok [Tue, 18 Sep 2018 18:10:39 +0000 (14:10 -0400)]
notes on which entries are "const"
Alan T. DeKok [Tue, 18 Sep 2018 17:54:44 +0000 (13:54 -0400)]
cleanups in preparation for multithreaded networking
we can't re-instantiate a module, that's bad. And, the default
structs for a module should be the ones it's modifying. the
main config should be "const", and rarely used
Alan T. DeKok [Tue, 18 Sep 2018 16:49:59 +0000 (12:49 -0400)]
notes on opening sockets
Alan T. DeKok [Tue, 18 Sep 2018 16:23:37 +0000 (12:23 -0400)]
removed unused fields
Arran Cudbard-Bell [Wed, 19 Sep 2018 13:09:40 +0000 (21:09 +0800)]
Check when allocating memory BIOs closes #2309
Arran Cudbard-Bell [Wed, 19 Sep 2018 13:07:28 +0000 (21:07 +0800)]
Wind to the cursor tail to enable freeing at the right point
Arran Cudbard-Bell [Wed, 19 Sep 2018 03:51:34 +0000 (11:51 +0800)]
Add note on biases
Arran Cudbard-Bell [Wed, 19 Sep 2018 03:18:44 +0000 (11:18 +0800)]
Fix some minor issues with archive.sh
Arran Cudbard-Bell [Mon, 17 Sep 2018 08:02:34 +0000 (16:02 +0800)]
Make Exfile-Name trigger attribute work again
This has been an issue for a while. Present in v3.1.x at least...
Alan T. DeKok [Mon, 17 Sep 2018 17:38:53 +0000 (13:38 -0400)]
cleanups and typos
Arran Cudbard-Bell [Mon, 17 Sep 2018 03:59:21 +0000 (11:59 +0800)]
Update for ISO dates too
Arran Cudbard-Bell [Mon, 17 Sep 2018 03:49:56 +0000 (11:49 +0800)]
Default format should be ISO 8601
Alan T. DeKok [Sat, 15 Sep 2018 11:06:14 +0000 (07:06 -0400)]
move to macros to make typos harder to do, and easier to catch
Alan T. DeKok [Sat, 15 Sep 2018 10:57:31 +0000 (06:57 -0400)]
port from v3.0.x
Alan T. DeKok [Wed, 12 Sep 2018 11:06:10 +0000 (07:06 -0400)]
check for existence of handle. Should fix #2300
Alan T. DeKok [Tue, 11 Sep 2018 18:04:53 +0000 (14:04 -0400)]
fix layers of un-escaping of strings. Helps with #2299
Alan T. DeKok [Tue, 11 Sep 2018 01:38:25 +0000 (21:38 -0400)]
don't over-write existing links
Alan T. DeKok [Mon, 10 Sep 2018 16:45:13 +0000 (12:45 -0400)]
remove unused structure and function
unlang_resume() now takes care of this
Alan T. DeKok [Mon, 10 Sep 2018 11:23:43 +0000 (07:23 -0400)]
more word smithing
Alan T. DeKok [Sat, 8 Sep 2018 21:46:10 +0000 (17:46 -0400)]
removed 20 year-old text
Alan T. DeKok [Sat, 8 Sep 2018 21:15:30 +0000 (17:15 -0400)]
the file has moved
Alan T. DeKok [Sat, 8 Sep 2018 19:01:27 +0000 (15:01 -0400)]
link to eap module config when we see `eap`
Alan T. DeKok [Sat, 8 Sep 2018 18:50:37 +0000 (14:50 -0400)]
typos
Alan T. DeKok [Sat, 8 Sep 2018 18:48:31 +0000 (14:48 -0400)]
update API here, too
Alan T. DeKok [Sat, 8 Sep 2018 14:00:46 +0000 (10:00 -0400)]
cleanups and point directories to README files
Alan T. DeKok [Sat, 8 Sep 2018 13:59:55 +0000 (09:59 -0400)]
convert to markdown
Alan T. DeKok [Sat, 8 Sep 2018 13:57:44 +0000 (09:57 -0400)]
rename for new things
Alan T. DeKok [Sat, 8 Sep 2018 13:46:57 +0000 (09:46 -0400)]
don't do strlen(secret)
Alan T. DeKok [Sat, 8 Sep 2018 13:43:58 +0000 (09:43 -0400)]
don't do strlen() on secret
Alan T. DeKok [Sat, 8 Sep 2018 13:32:04 +0000 (09:32 -0400)]
allow `secret = 0xabcdef` for binary shared secrets
because octal escaping is so 1970s
Alan T. DeKok [Fri, 7 Sep 2018 21:43:27 +0000 (17:43 -0400)]
add rules to convert markdown to Asciidoc
so that we have a consisten look and feel
Alan T. DeKok [Fri, 7 Sep 2018 16:02:37 +0000 (12:02 -0400)]
start of work to allow workers to do their own IO
Alan T. DeKok [Fri, 7 Sep 2018 16:02:17 +0000 (12:02 -0400)]
clarify message
Alan T. DeKok [Fri, 7 Sep 2018 15:06:46 +0000 (11:06 -0400)]
use -a option for conf2adoc
Alan T. DeKok [Fri, 7 Sep 2018 15:06:20 +0000 (11:06 -0400)]
add -a option for root directory
and terminate raw text at the end of the file
Alan DeKok [Thu, 6 Sep 2018 18:42:05 +0000 (14:42 -0400)]
Merge pull request #2290 from nchaigne/master-201808-unxlat
Better "un-xlating" of value pairs where xlat is not supported
Matthew Newton [Tue, 4 Sep 2018 23:39:09 +0000 (00:39 +0100)]
make rule to convert markdown files in the config to PDF
Matthew Newton [Tue, 4 Sep 2018 23:37:33 +0000 (00:37 +0100)]
Update all the top-level files in raddb for asciidoc.
Except radiusd.conf.in. That can wait for another day...
Matthew Newton [Tue, 4 Sep 2018 20:35:14 +0000 (21:35 +0100)]
Convert asciidoc files to pretty PDF
Needs at least asciidoctor, pandoc and xelatex installed.
Matthew Newton [Tue, 4 Sep 2018 18:36:41 +0000 (19:36 +0100)]
more asciidoc updates to clients.conf
Matthew Newton [Tue, 4 Sep 2018 18:33:28 +0000 (19:33 +0100)]
clients.conf: the options have gone, so the note should too
Alan T. DeKok [Tue, 4 Sep 2018 14:05:20 +0000 (10:05 -0400)]
move "add user name" to "send Access-Accept"
instead of in the "authenticate" phase
Alan T. DeKok [Tue, 4 Sep 2018 12:23:52 +0000 (08:23 -0400)]
more cleanups and asciidoc
Alan T. DeKok [Tue, 4 Sep 2018 12:22:40 +0000 (08:22 -0400)]
update documentation
Alan T. DeKok [Tue, 4 Sep 2018 12:12:16 +0000 (08:12 -0400)]
remove old config
Alan T. DeKok [Sat, 1 Sep 2018 17:22:11 +0000 (13:22 -0400)]
more "process file" code to subroutine
in preparation for having it handle multiple output files
Alan T. DeKok [Sat, 1 Sep 2018 13:53:07 +0000 (09:53 -0400)]
list non-VLAN rule first
otherwise it doesn't match
Alan T. DeKok [Fri, 31 Aug 2018 19:23:03 +0000 (15:23 -0400)]
add "send_buff" config.
And it helps to set the socket option for both of them.
Alan T. DeKok [Fri, 31 Aug 2018 18:12:43 +0000 (14:12 -0400)]
is_dup is set false by network side
and only really ever set to "true" by io/master.c
Alan T. DeKok [Fri, 31 Aug 2018 15:30:47 +0000 (11:30 -0400)]
typo
Alan T. DeKok [Fri, 31 Aug 2018 15:06:22 +0000 (11:06 -0400)]
match commas and periods after words
Alan T. DeKok [Fri, 31 Aug 2018 14:59:50 +0000 (10:59 -0400)]
more asciidoc conversion
Alan T. DeKok [Fri, 31 Aug 2018 14:59:27 +0000 (10:59 -0400)]
add cross links to the output
Alan T. DeKok [Fri, 31 Aug 2018 14:29:35 +0000 (10:29 -0400)]
more script to sub directory
Alan T. DeKok [Thu, 30 Aug 2018 17:06:11 +0000 (13:06 -0400)]
updated with more asciidoc formatting
Alan DeKok [Thu, 30 Aug 2018 17:21:18 +0000 (13:21 -0400)]
Merge pull request #2294 from alagoutte/fix_tls13_version
fix typo about ifdef for TLS 1.3 Version
Alexis La Goutte [Thu, 30 Aug 2018 17:14:28 +0000 (17:14 +0000)]
fix typo about ifdef for TLS 1.3 Version