]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agothese files don't belong:
Alan T. DeKok [Sat, 17 Jun 2017 16:15:19 +0000 (12:15 -0400)] 
these files don't belong:

9 years agowe don't need this
Alan T. DeKok [Sat, 17 Jun 2017 16:10:28 +0000 (12:10 -0400)] 
we don't need this

9 years agoonly open new async listeners if we have them
Alan T. DeKok [Sat, 17 Jun 2017 13:54:25 +0000 (09:54 -0400)] 
only open new async listeners if we have them

Should hopefully get travis to pass in the short term

9 years agohack for travis
Alan T. DeKok [Sat, 17 Jun 2017 12:36:40 +0000 (08:36 -0400)] 
hack for travis

9 years agoremove unused function
Alan T. DeKok [Fri, 16 Jun 2017 20:13:23 +0000 (16:13 -0400)] 
remove unused function

9 years agoClarify comment
Arran Cudbard-Bell [Fri, 16 Jun 2017 18:39:02 +0000 (14:39 -0400)] 
Clarify comment

9 years agozero-out alloc'd memory
Alan T. DeKok [Fri, 16 Jun 2017 18:18:44 +0000 (14:18 -0400)] 
zero-out alloc'd memory

9 years agoAlan is NOT retarded
Alan T. DeKok [Fri, 16 Jun 2017 18:13:59 +0000 (14:13 -0400)] 
Alan is NOT retarded

9 years agoignore bad packets, but don't kill the socket
Alan T. DeKok [Fri, 16 Jun 2017 18:11:05 +0000 (14:11 -0400)] 
ignore bad packets, but don't kill the socket

9 years agoset/read packet_ctx in messages
Alan T. DeKok [Fri, 16 Jun 2017 18:09:01 +0000 (14:09 -0400)] 
set/read packet_ctx in messages

9 years agoset reply->id, too
Alan T. DeKok [Fri, 16 Jun 2017 18:03:54 +0000 (14:03 -0400)] 
set reply->id, too

for the future, switch to the base encode/decoders

9 years agocall modules_thread_instantiate
Alan T. DeKok [Fri, 16 Jun 2017 17:56:29 +0000 (13:56 -0400)] 
call modules_thread_instantiate

9 years agoget worker->el to thread instantiate function
Alan T. DeKok [Fri, 16 Jun 2017 17:54:36 +0000 (13:54 -0400)] 
get worker->el to thread instantiate function

9 years agoget CONF_SECTION
Alan T. DeKok [Fri, 16 Jun 2017 17:54:18 +0000 (13:54 -0400)] 
get CONF_SECTION

9 years agoexpose worker->el
Alan T. DeKok [Fri, 16 Jun 2017 17:52:59 +0000 (13:52 -0400)] 
expose worker->el

9 years agoset server_cs to the parent of this listen section
Alan T. DeKok [Fri, 16 Jun 2017 17:45:47 +0000 (13:45 -0400)] 
set server_cs to the parent of this listen section

9 years agotrack RADIUS packets via fr_tracking_t
Alan T. DeKok [Fri, 16 Jun 2017 17:42:06 +0000 (13:42 -0400)] 
track RADIUS packets via fr_tracking_t

9 years agomake src_dst void
Alan T. DeKok [Fri, 16 Jun 2017 17:34:24 +0000 (13:34 -0400)] 
make src_dst void

9 years agouse more common names
Alan T. DeKok [Fri, 16 Jun 2017 17:13:07 +0000 (13:13 -0400)] 
use more common names

9 years agoVarious cleanups in proto_radius and proto_radius_udp
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:42:25 +0000 (13:42 -0400)] 
Various cleanups in proto_radius and proto_radius_udp

9 years agoBreakout/cache io_submodule fields for easy access
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:31:06 +0000 (13:31 -0400)] 
Breakout/cache io_submodule fields for easy access

9 years agoMake process_by_code hold the actual function pointer
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:19:49 +0000 (13:19 -0400)] 
Make process_by_code hold the actual function pointer

9 years agoInvert arguments to set_process
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:13:13 +0000 (13:13 -0400)] 
Invert arguments to set_process

Put the full fr_app_t in the fr_listen_t (no point in hiding it)

9 years agos/subtype/process/
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:01:34 +0000 (13:01 -0400)] 
s/subtype/process/

9 years agoRemove fr_io_op_t
Arran Cudbard-Bell [Fri, 16 Jun 2017 17:00:35 +0000 (13:00 -0400)] 
Remove fr_io_op_t

Merge the fields into fr_app_io_t

9 years agos/io/listen/ in proto_radius
Arran Cudbard-Bell [Fri, 16 Jun 2017 16:19:23 +0000 (12:19 -0400)] 
s/io/listen/ in proto_radius

9 years agos/fr_io_t/fr_listen_t/
Arran Cudbard-Bell [Fri, 16 Jun 2017 16:16:37 +0000 (12:16 -0400)] 
s/fr_io_t/fr_listen_t/

9 years agos/subtype_submodule/process_submodule/
Arran Cudbard-Bell [Fri, 16 Jun 2017 16:16:07 +0000 (12:16 -0400)] 
s/subtype_submodule/process_submodule/

9 years agore-order libraries which might help travis...
Alan T. DeKok [Fri, 16 Jun 2017 15:02:16 +0000 (11:02 -0400)] 
re-order libraries which might help travis...

9 years agomutex locks around control-plane messages
Alan T. DeKok [Fri, 16 Jun 2017 13:34:53 +0000 (09:34 -0400)] 
mutex locks around control-plane messages

The better solution is to have the caller provide a message buffer
for the messages, which fits in better with the rest of the design.

9 years agomore build fixes
Alan T. DeKok [Fri, 16 Jun 2017 13:02:17 +0000 (09:02 -0400)] 
more build fixes

9 years agomore linker hacks to get it to build
Alan T. DeKok [Fri, 16 Jun 2017 12:43:59 +0000 (08:43 -0400)] 
more linker hacks to get it to build

9 years agolinker hacks to get it to build
Alan T. DeKok [Fri, 16 Jun 2017 12:04:14 +0000 (08:04 -0400)] 
linker hacks to get it to build

9 years agofix typo. Closes #2006
Alan T. DeKok [Thu, 15 Jun 2017 23:26:56 +0000 (19:26 -0400)] 
fix typo.  Closes #2006

9 years agoTemporarily disable filename truncation for logging
Arran Cudbard-Bell [Thu, 15 Jun 2017 23:06:03 +0000 (19:06 -0400)] 
Temporarily disable filename truncation for logging

9 years agoDon’t run test server with -M
Arran Cudbard-Bell [Thu, 15 Jun 2017 23:05:29 +0000 (19:05 -0400)] 
Don’t run test server with -M

It forces talloc to use a global NULL context which doesn’t work when there are threads

9 years agoFix redundant declaration
Arran Cudbard-Bell [Thu, 15 Jun 2017 22:04:33 +0000 (18:04 -0400)] 
Fix redundant declaration

9 years agoFix typo
Arran Cudbard-Bell [Thu, 15 Jun 2017 21:52:23 +0000 (17:52 -0400)] 
Fix typo

9 years agorequest is used, and copy reply to output buffer
Alan T. DeKok [Thu, 15 Jun 2017 21:40:12 +0000 (17:40 -0400)] 
request is used, and copy reply to output buffer

9 years agoclient is NULL for the new sockets
Alan T. DeKok [Thu, 15 Jun 2017 19:42:49 +0000 (15:42 -0400)] 
client is NULL for the new sockets

9 years agoset server_cs in proto_radius and REQUEST
Alan T. DeKok [Thu, 15 Jun 2017 19:40:45 +0000 (15:40 -0400)] 
set server_cs in proto_radius and REQUEST

9 years agocreate reply, too
Alan T. DeKok [Thu, 15 Jun 2017 19:40:32 +0000 (15:40 -0400)] 
create reply, too

9 years agoprint out which section we were looking for
Alan T. DeKok [Thu, 15 Jun 2017 19:30:33 +0000 (15:30 -0400)] 
print out which section we were looking for

9 years agoset process after decoding, not before
Alan T. DeKok [Thu, 15 Jun 2017 19:27:27 +0000 (15:27 -0400)] 
set process after decoding, not before

9 years agoset vector, too
Alan T. DeKok [Thu, 15 Jun 2017 19:27:09 +0000 (15:27 -0400)] 
set vector, too

9 years agoPopulate set_process function and mod_encode
Arran Cudbard-Bell [Thu, 15 Jun 2017 18:22:27 +0000 (14:22 -0400)] 
Populate set_process function and mod_encode

9 years agoRename some instance fields in proto_radius
Arran Cudbard-Bell [Thu, 15 Jun 2017 18:22:01 +0000 (14:22 -0400)] 
Rename some instance fields in proto_radius

9 years agoUse standard format for printf messages
Arran Cudbard-Bell [Thu, 15 Jun 2017 18:06:54 +0000 (14:06 -0400)] 
Use standard format for printf messages

9 years agocopy packet temporarily until we get rid of request->packet
Alan T. DeKok [Thu, 15 Jun 2017 18:02:57 +0000 (14:02 -0400)] 
copy packet temporarily until we get rid of request->packet

9 years agocall the set_process routine
Alan T. DeKok [Thu, 15 Jun 2017 18:02:10 +0000 (14:02 -0400)] 
call the set_process routine

9 years agohacks to get secret && packet decoding
Alan T. DeKok [Thu, 15 Jun 2017 17:54:04 +0000 (13:54 -0400)] 
hacks to get secret && packet decoding

9 years agoallocate request->packet
Alan T. DeKok [Thu, 15 Jun 2017 17:53:50 +0000 (13:53 -0400)] 
allocate request->packet

9 years agoallow Status-Server, too
Alan T. DeKok [Thu, 15 Jun 2017 17:49:07 +0000 (13:49 -0400)] 
allow Status-Server, too

9 years agoprint error messages
Alan T. DeKok [Thu, 15 Jun 2017 17:38:09 +0000 (13:38 -0400)] 
print error messages

9 years ago-1 is error
Arran Cudbard-Bell [Thu, 15 Jun 2017 17:34:46 +0000 (13:34 -0400)] 
-1 is error

9 years agouse proper structure and offset
Alan T. DeKok [Thu, 15 Jun 2017 17:31:15 +0000 (13:31 -0400)] 
use proper structure and offset

9 years agointegrate async code with standard REQUEST
Alan T. DeKok [Thu, 15 Jun 2017 17:24:22 +0000 (13:24 -0400)] 
integrate async code with standard REQUEST

9 years agouse C99 not gcc extensions
Alan T. DeKok [Thu, 15 Jun 2017 15:51:23 +0000 (11:51 -0400)] 
use C99 not gcc extensions

9 years agoBetter checks for old style listeners
Arran Cudbard-Bell [Thu, 15 Jun 2017 17:20:31 +0000 (13:20 -0400)] 
Better checks for old style listeners

9 years agoAlways zero out subcs memory
Arran Cudbard-Bell [Thu, 15 Jun 2017 17:16:22 +0000 (13:16 -0400)] 
Always zero out subcs memory

9 years agoTidy up log output on server startup
Arran Cudbard-Bell [Thu, 15 Jun 2017 16:43:48 +0000 (12:43 -0400)] 
Tidy up log output on server startup

Mostly just use the correct macros in the correct places...

9 years agoTruncate really long filenames in cf_log_* output
Arran Cudbard-Bell [Thu, 15 Jun 2017 16:16:32 +0000 (12:16 -0400)] 
Truncate really long filenames in cf_log_* output

9 years agoUse cf_log_debug not cf_log_info
Arran Cudbard-Bell [Thu, 15 Jun 2017 16:16:15 +0000 (12:16 -0400)] 
Use cf_log_debug not cf_log_info

9 years agoFix warning
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:46:25 +0000 (11:46 -0400)] 
Fix warning

9 years agoPass inst->data to the thread_instantiate function
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:44:11 +0000 (11:44 -0400)] 
Pass inst->data to the thread_instantiate function

Which is the module's instance data, as opposed to the thing that contains the module's instance data

9 years agoAlways start the new scheduler
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:43:27 +0000 (11:43 -0400)] 
Always start the new scheduler

Doesn't hurt anything

9 years agoFormatting
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:43:15 +0000 (11:43 -0400)] 
Formatting

9 years agoConnection API fixes
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:43:05 +0000 (11:43 -0400)] 
Connection API fixes

9 years agoMany logtee fixes (still doesn't work - sadface)
Arran Cudbard-Bell [Thu, 15 Jun 2017 15:42:50 +0000 (11:42 -0400)] 
Many logtee fixes (still doesn't work - sadface)

9 years agoonly allocate array if we need it
Alan T. DeKok [Thu, 15 Jun 2017 15:02:07 +0000 (11:02 -0400)] 
only allocate array if we need it

9 years agokeep a copy of the src/dst information in the entry
Alan T. DeKok [Thu, 15 Jun 2017 14:14:25 +0000 (10:14 -0400)] 
keep a copy of the src/dst information in the entry

9 years agoFix the order of arguments to the subtype/io bootstrap and instantiate methods
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:37:38 +0000 (10:37 -0400)] 
Fix the order of arguments to the subtype/io bootstrap and instantiate methods

Stupid void arguments

9 years agoMore sanity check in proto_radius_udp
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:37:03 +0000 (10:37 -0400)] 
More sanity check in proto_radius_udp

9 years agoMore sanity checks in proto_radius_status
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:36:49 +0000 (10:36 -0400)] 
More sanity checks in proto_radius_status

9 years agoStore conf file in submodule struct
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:36:32 +0000 (10:36 -0400)] 
Store conf file in submodule struct

9 years agoSanity check in proto_radius
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:23:57 +0000 (10:23 -0400)] 
Sanity check in proto_radius

9 years agoUse correct NULL value to skip old style servers
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:23:45 +0000 (10:23 -0400)] 
Use correct NULL value to skip old style servers

9 years agoVarious fixes for virtual_server.c
Arran Cudbard-Bell [Thu, 15 Jun 2017 14:06:54 +0000 (10:06 -0400)] 
Various fixes for virtual_server.c

9 years agoMark up allocated subsections with the talloc type if one is set
Arran Cudbard-Bell [Thu, 15 Jun 2017 13:58:39 +0000 (09:58 -0400)] 
Mark up allocated subsections with the talloc type if one is set

9 years agoAdd FR_TYPE_VOID to pair_parse
Arran Cudbard-Bell [Thu, 15 Jun 2017 13:58:22 +0000 (09:58 -0400)] 
Add FR_TYPE_VOID to pair_parse

9 years agoPass int the subsection to section callbacks (not the parent section)
Arran Cudbard-Bell [Thu, 15 Jun 2017 13:58:01 +0000 (09:58 -0400)] 
Pass int the subsection to section callbacks (not the parent section)

9 years agoFixes for proto_radius config parsing
Arran Cudbard-Bell [Thu, 15 Jun 2017 13:57:27 +0000 (09:57 -0400)] 
Fixes for proto_radius config parsing

9 years agoEnable new virtual servers again
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:47:35 +0000 (20:47 -0400)] 
Enable new virtual servers again

9 years agoCan't compare string pointers directly
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:25:00 +0000 (20:25 -0400)] 
Can't compare string pointers directly

9 years agoAllow CONF_PARSER rules to specify ident2 (name2)
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:15:36 +0000 (20:15 -0400)] 
Allow CONF_PARSER rules to specify ident2 (name2)

9 years agoReset subcs
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:13:12 +0000 (20:13 -0400)] 
Reset subcs

9 years agoFix iterator
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:11:23 +0000 (20:11 -0400)] 
Fix iterator

9 years agoAdd debug output
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:07:39 +0000 (20:07 -0400)] 
Add debug output

9 years agoSwitch CF_IDENT_ANY to a macro instead of a static variable
Arran Cudbard-Bell [Thu, 15 Jun 2017 00:04:32 +0000 (20:04 -0400)] 
Switch CF_IDENT_ANY to a macro instead of a static variable

So it can be used as a compile time constant

9 years agoOne last place...
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:57:00 +0000 (18:57 -0400)] 
One last place...

9 years agoStupid compiler
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:55:30 +0000 (18:55 -0400)] 
Stupid compiler

9 years agoOut may be NULL
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:51:17 +0000 (18:51 -0400)] 
Out may be NULL

9 years agoPacket_ctx used
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:39:04 +0000 (18:39 -0400)] 
Packet_ctx used

9 years agoCheck fd in non-debug builds too
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:27:13 +0000 (18:27 -0400)] 
Check fd in non-debug builds too

9 years agoData is used
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:26:14 +0000 (18:26 -0400)] 
Data is used

9 years agoCommit 95% of the new module framework changes
Arran Cudbard-Bell [Wed, 14 Jun 2017 22:20:28 +0000 (18:20 -0400)] 
Commit 95% of the new module framework changes

It doesn't work yet, but the old tests pass and i'm tired.

9 years agodon't let it be equal to max code, either
Alan T. DeKok [Wed, 14 Jun 2017 21:17:45 +0000 (17:17 -0400)] 
don't let it be equal to max code, either

9 years agodoxygen
Alan T. DeKok [Wed, 14 Jun 2017 21:09:49 +0000 (17:09 -0400)] 
doxygen

9 years agoallow for unconnected sockets, too
Alan T. DeKok [Wed, 14 Jun 2017 20:23:22 +0000 (16:23 -0400)] 
allow for unconnected sockets, too

9 years agoCleanup calls to cf_log_err
Arran Cudbard-Bell [Wed, 14 Jun 2017 14:25:51 +0000 (10:25 -0400)] 
Cleanup calls to cf_log_err