]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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
Alan T. DeKok [Thu, 30 Aug 2018 02:10:39 +0000 (22:10 -0400)]
notes on ldapsearch
Matthew Newton [Thu, 30 Aug 2018 16:11:28 +0000 (17:11 +0100)]
Update comments in LDAP module config (mainly for AD)
Alan T. DeKok [Thu, 30 Aug 2018 15:53:56 +0000 (11:53 -0400)]
clean up and simplify
so that it looks for commented out config sections, and prints
them as commented out raw text.
Alan T. DeKok [Wed, 29 Aug 2018 18:42:52 +0000 (14:42 -0400)]
use correct name for attribute
Alan T. DeKok [Tue, 28 Aug 2018 19:40:00 +0000 (15:40 -0400)]
check log_auth parameter
Alan T. DeKok [Tue, 28 Aug 2018 19:32:34 +0000 (15:32 -0400)]
move macros to common header file
Alan T. DeKok [Tue, 28 Aug 2018 18:27:49 +0000 (14:27 -0400)]
set TLS-Session-Version and TLS-Session-Cipher-Suite
as per similar code in v3
Alan T. DeKok [Sat, 25 Aug 2018 20:14:27 +0000 (16:14 -0400)]
clean up debug messages
Alan T. DeKok [Sat, 25 Aug 2018 12:26:58 +0000 (08:26 -0400)]
typo
Arran Cudbard-Bell [Fri, 24 Aug 2018 23:11:03 +0000 (19:11 -0400)]
Need the hash functions in the dictionary...
nchaigne [Fri, 24 Aug 2018 15:33:14 +0000 (17:33 +0200)]
Better "un-xlating" of value pairs where xlat is not supported
All kind of value pairs attributes can be VT_XLAT when read from input. We cannot assume they are strings or octets.
Better fail explicitly if the conversion is not possible.
For example, we will have:
dhcpclient: Invalid integer value "%{something}"
I fixed this issue in dhcpclient, radclient, and radsniff.
In addition, I corrected inaccurate comments in value.c about formats.
Alan T. DeKok [Fri, 24 Aug 2018 12:09:58 +0000 (08:09 -0400)]
move out of ifdef
Alan T. DeKok [Wed, 22 Aug 2018 16:37:02 +0000 (12:37 -0400)]
use real paths
$(DIR) is relative (or absolute) randomly, depending on GNU make
Arran Cudbard-Bell [Wed, 22 Aug 2018 16:09:38 +0000 (12:09 -0400)]
Typo
Alan DeKok [Tue, 21 Aug 2018 12:24:53 +0000 (08:24 -0400)]
Merge pull request #2279 from mjducharme/master
Added support for IPv6 RADIUS accounting in SQL - 4.0.x
Alan DeKok [Tue, 21 Aug 2018 12:24:29 +0000 (08:24 -0400)]
Merge pull request #2281 from lemenkov/dict_fixes
Several small dictionary fixes
Peter Lemenkov [Sun, 19 Aug 2018 18:44:06 +0000 (20:44 +0200)]
Proper letter case
IP-TOS-Field was renamed to IP-Tos-Field in commit
c6670b1ac3e137df8f0af47103a82d1a575330f3 . Let's rename it back to avoid
any confusion.
Similar changes for 3GPP-RAT-Type in dictionary.3gpp and for
Unisphere-PPP-Protocol in dictionary.unisphere.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov [Sun, 19 Aug 2018 18:27:43 +0000 (20:27 +0200)]
Values should go after the attr declaration
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov [Sun, 19 Aug 2018 17:37:08 +0000 (19:37 +0200)]
Looks like this attribute should be 70
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov [Sun, 19 Aug 2018 17:36:47 +0000 (19:36 +0200)]
Remove duplicated attribute definitions
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Michael Ducharme [Fri, 17 Aug 2018 23:09:37 +0000 (16:09 -0700)]
Added support for IPv6 RADIUS accounting in SQL
Alan T. DeKok [Fri, 17 Aug 2018 16:26:31 +0000 (12:26 -0400)]
use new HEADERS rule for installing headers
which (for now) finds all *.h files instead of being selective.
So if there's an extra one around, the build may break.
We can always fix that later
Alan T. DeKok [Fri, 17 Aug 2018 16:26:09 +0000 (12:26 -0400)]
print out the directory, too
Alan T. DeKok [Fri, 17 Aug 2018 16:08:50 +0000 (12:08 -0400)]
better way to install headers
Alan T. DeKok [Fri, 17 Aug 2018 15:52:37 +0000 (11:52 -0400)]
use new ALL_HEADERS rule for installing headers
Alan T. DeKok [Fri, 17 Aug 2018 15:35:24 +0000 (11:35 -0400)]
new ADD_INSTALL_RULE.h
for installing header files