]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoone more dependency
Alan T. DeKok [Wed, 3 May 2017 20:01:16 +0000 (16:01 -0400)] 
one more dependency

9 years agomore comments
Alan T. DeKok [Wed, 3 May 2017 19:30:13 +0000 (15:30 -0400)] 
more comments

9 years agomove radius_alloc / free / copy back to -util
Alan T. DeKok [Wed, 3 May 2017 19:27:34 +0000 (15:27 -0400)] 
move radius_alloc / free / copy back to -util

as the DHCP code depends on it.  We can fix that later

9 years agodon't auto-convert unknowns to knowns
Alan T. DeKok [Wed, 3 May 2017 19:25:19 +0000 (15:25 -0400)] 
don't auto-convert unknowns to knowns

9 years agodon't automatically convert TLVs into multiple VPs
Alan T. DeKok [Wed, 3 May 2017 19:19:35 +0000 (15:19 -0400)] 
don't automatically convert TLVs into multiple VPs

As the code says, it's stupid and likely wrong

9 years agomove RADIUS tcp code to radius directory
Alan T. DeKok [Wed, 3 May 2017 19:14:31 +0000 (15:14 -0400)] 
move RADIUS tcp code to radius directory

9 years agoconsistify names
Alan T. DeKok [Wed, 3 May 2017 19:14:19 +0000 (15:14 -0400)] 
consistify names

9 years agoadded radius_server_udp
Alan T. DeKok [Wed, 3 May 2017 18:57:36 +0000 (14:57 -0400)] 
added radius_server_udp

in src/lib/io for now, until we go clean up the rest of the code

9 years agoadd rules to glue in include files
Alan T. DeKok [Wed, 3 May 2017 18:43:47 +0000 (14:43 -0400)] 
add rules to glue in include files

9 years agoremove unnecessary rule
Alan T. DeKok [Wed, 3 May 2017 18:43:27 +0000 (14:43 -0400)] 
remove unnecessary rule

9 years agoadd necessary headers
Alan T. DeKok [Wed, 3 May 2017 17:39:57 +0000 (13:39 -0400)] 
add necessary headers

9 years agoFix some missed fr_ipaddr_t accesses
Arran Cudbard-Bell [Wed, 3 May 2017 18:43:37 +0000 (14:43 -0400)] 
Fix some missed fr_ipaddr_t accesses

9 years agos/ipaddr/addr/ so we don't have ipaddr.ipaddr.v4/v6
Arran Cudbard-Bell [Wed, 3 May 2017 18:11:31 +0000 (14:11 -0400)] 
s/ipaddr/addr/ so we don't have ipaddr.ipaddr.v4/v6

9 years agoAdd all.mk file for libfreeradius-radius
Arran Cudbard-Bell [Wed, 3 May 2017 17:24:11 +0000 (13:24 -0400)] 
Add all.mk file for libfreeradius-radius

9 years agoMove value_box_t to value.h
Arran Cudbard-Bell [Wed, 3 May 2017 17:07:01 +0000 (13:07 -0400)] 
Move value_box_t to value.h

9 years agoorder dependencies manually
Alan T. DeKok [Wed, 3 May 2017 16:09:58 +0000 (12:09 -0400)] 
order dependencies manually

9 years agoShorten field names in fr_ipaddr_t
Arran Cudbard-Bell [Wed, 3 May 2017 15:39:39 +0000 (11:39 -0400)] 
Shorten field names in fr_ipaddr_t

s/vp_ipaddr/vp_ipv4addr/

9 years agomove fr_is_inaddr_any to socket.c
Alan T. DeKok [Wed, 3 May 2017 15:27:29 +0000 (11:27 -0400)] 
move fr_is_inaddr_any to socket.c

9 years agomore renames and moves
Alan T. DeKok [Wed, 3 May 2017 15:20:34 +0000 (11:20 -0400)] 
more renames and moves

9 years agomove fr_socket to lib
Alan T. DeKok [Wed, 3 May 2017 15:15:50 +0000 (11:15 -0400)] 
move fr_socket to lib

9 years agoadd protocols subdirectory, and move radius there
Alan T. DeKok [Wed, 3 May 2017 15:14:52 +0000 (11:14 -0400)] 
add protocols subdirectory, and move radius there

9 years agoMove RADIUS to it's own protocol directory
Alan T. DeKok [Wed, 3 May 2017 15:08:59 +0000 (11:08 -0400)] 
Move RADIUS to it's own protocol directory

9 years agoapparently we haven't had libfreeradius-radius for a long time
Alan T. DeKok [Wed, 3 May 2017 14:46:28 +0000 (10:46 -0400)] 
apparently we haven't had libfreeradius-radius for a long time

9 years agoAdd ipaddr2 field to value_box_t so we can start converting ip fields over
Arran Cudbard-Bell [Wed, 3 May 2017 13:49:19 +0000 (09:49 -0400)] 
Add ipaddr2 field to value_box_t so we can start converting ip fields over

9 years agoBe less comma happy
Arran Cudbard-Bell [Wed, 3 May 2017 13:36:19 +0000 (09:36 -0400)] 
Be less comma happy

9 years agoAdd PW_TYPE_BOOLEAN parsing in value_box_from_str
Arran Cudbard-Bell [Wed, 3 May 2017 13:14:26 +0000 (09:14 -0400)] 
Add PW_TYPE_BOOLEAN parsing in value_box_from_str

Because why not...

9 years agoDocument what the different AF_* macros do in the address parsing functions
Arran Cudbard-Bell [Wed, 3 May 2017 13:10:50 +0000 (09:10 -0400)] 
Document what the different AF_* macros do in the address parsing functions

9 years agoinline must be at the start
Alan T. DeKok [Tue, 2 May 2017 20:55:55 +0000 (16:55 -0400)] 
inline must be at the start

9 years agomove fr_digest_cmp to misc.c
Alan T. DeKok [Tue, 2 May 2017 20:13:39 +0000 (16:13 -0400)] 
move fr_digest_cmp to misc.c

9 years agoMore cleanups.
Alan T. DeKok [Tue, 2 May 2017 20:11:28 +0000 (16:11 -0400)] 
More cleanups.

fr_radius_recv() -> fr_radius_packet_recv()

Move more functions out of radius.c to radius_packet.c

9 years agomove print RADIUS_PACKET to radius_packet.c
Alan T. DeKok [Tue, 2 May 2017 19:54:09 +0000 (15:54 -0400)] 
move print RADIUS_PACKET to radius_packet.c

9 years agomove fr_log_fp to log.c
Alan T. DeKok [Tue, 2 May 2017 19:53:13 +0000 (15:53 -0400)] 
move fr_log_fp to log.c

9 years agomove print function to log.c
Alan T. DeKok [Tue, 2 May 2017 16:24:19 +0000 (12:24 -0400)] 
move print function to log.c

9 years agomove randomness functions to rand.c
Alan T. DeKok [Tue, 2 May 2017 16:22:43 +0000 (12:22 -0400)] 
move randomness functions to rand.c

9 years agomove many RADIUS_PACKET functions to radius_packet.c
Alan T. DeKok [Tue, 2 May 2017 16:18:21 +0000 (12:18 -0400)] 
move many RADIUS_PACKET functions to radius_packet.c

9 years agojust access the buffer directly
Alan T. DeKok [Tue, 2 May 2017 16:18:05 +0000 (12:18 -0400)] 
just access the buffer directly

9 years agorename fr_radius_encode/decode to fr_radius_packet_encode/decode
Alan T. DeKok [Tue, 2 May 2017 16:07:57 +0000 (12:07 -0400)] 
rename fr_radius_encode/decode to fr_radius_packet_encode/decode

9 years agomore comments and explanation
Alan T. DeKok [Tue, 2 May 2017 16:05:38 +0000 (12:05 -0400)] 
more comments and explanation

9 years agoSome of the code works on the assumption that value assignment functions work on...
Arran Cudbard-Bell [Tue, 2 May 2017 20:13:51 +0000 (16:13 -0400)] 
Some of the code works on the assumption that value assignment functions work on uninitialised value boxes

9 years agoAdd functions for doing buffer assignment in value.c
Arran Cudbard-Bell [Tue, 2 May 2017 02:24:23 +0000 (22:24 -0400)] 
Add functions for doing buffer assignment in value.c

9 years agoadd static internal fr_radius_ok()
Alan T. DeKok [Mon, 1 May 2017 20:15:36 +0000 (16:15 -0400)] 
add static internal fr_radius_ok()

It operates on raw buffers, and is called from fr_radius_packet_ok(),
which is now little more than a stub function

9 years agomore sanity checks on the packet
Alan T. DeKok [Mon, 1 May 2017 20:14:18 +0000 (16:14 -0400)] 
more sanity checks on the packet

9 years agocopy to packet data
Alan T. DeKok [Mon, 1 May 2017 18:48:47 +0000 (14:48 -0400)] 
copy to packet data

9 years agoclean up memory, too
Alan T. DeKok [Mon, 1 May 2017 18:44:03 +0000 (14:44 -0400)] 
clean up memory, too

9 years agoconstant-time comparison is not a RADIUS function
Alan T. DeKok [Mon, 1 May 2017 18:37:45 +0000 (14:37 -0400)] 
constant-time comparison is not a RADIUS function

9 years agoadd static internal fr_radius_verify()
Alan T. DeKok [Mon, 1 May 2017 18:34:02 +0000 (14:34 -0400)] 
add static internal fr_radius_verify()

Which saves the authenticators, and then calls fr_radius_sign().
This ends up being less code than using multiple functions.

And seems to make more sense

9 years agothe caller has to set Request Authenticator for Access-Request
Alan T. DeKok [Mon, 1 May 2017 18:32:43 +0000 (14:32 -0400)] 
the caller has to set Request Authenticator for Access-Request
because it's random data, and not actually an authenticator

9 years agoensure that Message-Authenticator is always zero
Alan T. DeKok [Mon, 1 May 2017 18:32:17 +0000 (14:32 -0400)] 
ensure that Message-Authenticator is always zero

9 years agosimplify fr_radius_sign()
Alan T. DeKok [Mon, 1 May 2017 17:40:07 +0000 (13:40 -0400)] 
simplify fr_radius_sign()

9 years agojoin children before returning
Alan T. DeKok [Mon, 1 May 2017 17:27:54 +0000 (13:27 -0400)] 
join children before returning

9 years agoadd bare octets fr_radius_sign
Alan T. DeKok [Mon, 1 May 2017 17:03:15 +0000 (13:03 -0400)] 
add bare octets fr_radius_sign

9 years agoremove unused fr_radius_len function
Alan T. DeKok [Mon, 1 May 2017 15:59:20 +0000 (11:59 -0400)] 
remove unused fr_radius_len function

9 years agoremove unused 'size' from listeners
Alan T. DeKok [Mon, 1 May 2017 15:58:06 +0000 (11:58 -0400)] 
remove unused 'size' from listeners

9 years agorename fr_radius_foo to fr_radius_packet_foo
Alan T. DeKok [Mon, 1 May 2017 15:55:26 +0000 (11:55 -0400)] 
rename fr_radius_foo to fr_radius_packet_foo

These functions take RADIUS_PACKETs as arguments.  We want to
create new functions which operate on raw buffers, so these
need to be renamed.

9 years ago"ascend" secret is a better name than "make" secret
Alan T. DeKok [Mon, 1 May 2017 15:51:41 +0000 (11:51 -0400)] 
"ascend" secret is a better name than "make" secret

9 years agomake functions mirror each other better
Alan T. DeKok [Mon, 1 May 2017 15:03:09 +0000 (11:03 -0400)] 
make functions mirror each other better

9 years agomove fr_dlist_remove to static inline
Alan T. DeKok [Mon, 1 May 2017 15:00:17 +0000 (11:00 -0400)] 
move fr_dlist_remove to static inline

9 years agomove FR_DLIST_INSERT_TAIL to static inline
Alan T. DeKok [Mon, 1 May 2017 14:57:40 +0000 (10:57 -0400)] 
move FR_DLIST_INSERT_TAIL to static inline

9 years agomove FR_DLIST_INSERT_HEAD to static inline.
Alan T. DeKok [Mon, 1 May 2017 14:34:56 +0000 (10:34 -0400)] 
move FR_DLIST_INSERT_HEAD to static inline.

Hopefully the compiler should inline it.

9 years agorun format on all dictionaries
Alan T. DeKok [Mon, 1 May 2017 12:39:59 +0000 (08:39 -0400)] 
run format on all dictionaries

9 years agoMove value box functions declarations to value.h, and add some extra support functions
Arran Cudbard-Bell [Sat, 29 Apr 2017 02:00:33 +0000 (22:00 -0400)] 
Move value box functions declarations to value.h, and add some extra support functions

9 years agoAssign vp_type in fr_pair_afrom_num
Arran Cudbard-Bell [Fri, 28 Apr 2017 20:25:21 +0000 (16:25 -0400)] 
Assign vp_type in fr_pair_afrom_num

9 years agoand again...
Arran Cudbard-Bell [Fri, 28 Apr 2017 18:49:41 +0000 (14:49 -0400)] 
and again...

9 years agorequests may be received out of order from multiple network threads
Alan T. DeKok [Fri, 28 Apr 2017 17:48:13 +0000 (13:48 -0400)] 
requests may be received out of order from multiple network threads

so store them in original receive order, not in the order of
when we received them in the worker thread

9 years agoadd HEAD_PTR macro
Alan T. DeKok [Fri, 28 Apr 2017 17:48:02 +0000 (13:48 -0400)] 
add HEAD_PTR macro

9 years agoRemove argument from dl_init
Arran Cudbard-Bell [Fri, 28 Apr 2017 18:35:13 +0000 (14:35 -0400)] 
Remove argument from dl_init

9 years agoThere's a better way to pass config sections into dl_load_func...
Arran Cudbard-Bell [Fri, 28 Apr 2017 18:15:09 +0000 (14:15 -0400)] 
There's a better way to pass config sections into dl_load_func...

9 years agoTypo
Arran Cudbard-Bell [Fri, 28 Apr 2017 17:39:02 +0000 (13:39 -0400)] 
Typo

9 years agos/REDEBUG/RPEDEBUG/ (where appropriate)
Arran Cudbard-Bell [Fri, 28 Apr 2017 16:51:50 +0000 (12:51 -0400)] 
s/REDEBUG/RPEDEBUG/ (where appropriate)

9 years agos/ERROR/PERROR/ (where appropriate)
Arran Cudbard-Bell [Fri, 28 Apr 2017 16:03:27 +0000 (12:03 -0400)] 
s/ERROR/PERROR/ (where appropriate)

9 years agos/RERROR/RPERROR/ (where appropriate)
Arran Cudbard-Bell [Fri, 28 Apr 2017 15:55:43 +0000 (11:55 -0400)] 
s/RERROR/RPERROR/ (where appropriate)

9 years agoupdate detail reader documentation
Matthew Newton [Fri, 28 Apr 2017 11:17:08 +0000 (12:17 +0100)] 
update detail reader documentation

Closes #1973

9 years agoShorten names in dl.c
Arran Cudbard-Bell [Thu, 27 Apr 2017 21:43:11 +0000 (17:43 -0400)] 
Shorten names in dl.c

9 years agoFormatting, and add cf_item_root function to get root of config tree
Arran Cudbard-Bell [Thu, 27 Apr 2017 20:10:41 +0000 (16:10 -0400)] 
Formatting, and add cf_item_root function to get root of config tree

9 years agoPackage proto_ldap_sync.so
Arran Cudbard-Bell [Thu, 27 Apr 2017 19:06:35 +0000 (15:06 -0400)] 
Package proto_ldap_sync.so

9 years agoLast couple of .rst files
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:53:04 +0000 (14:53 -0400)] 
Last couple of .rst files

9 years agoConvert mods-config/README.rst to markdown
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:52:46 +0000 (14:52 -0400)] 
Convert mods-config/README.rst to markdown

9 years agoUpdate README.md
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:48:58 +0000 (14:48 -0400)] 
Update README.md

9 years agoConvert README to markdown
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:41:43 +0000 (14:41 -0400)] 
Convert README to markdown

9 years agoFix links
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:36:11 +0000 (14:36 -0400)] 
Fix links

9 years agoConvert INSTALL to .md
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:31:15 +0000 (14:31 -0400)] 
Convert INSTALL to .md

9 years agoNow readme.md
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:25:21 +0000 (14:25 -0400)] 
Now readme.md

9 years agoDynamic clients was merged with rlm_client
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:09:01 +0000 (14:09 -0400)] 
Dynamic clients was merged with rlm_client

9 years agoOrder test server info
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:01:52 +0000 (14:01 -0400)] 
Order test server info

9 years agoFix reference to lgpg license
Arran Cudbard-Bell [Thu, 27 Apr 2017 18:01:39 +0000 (14:01 -0400)] 
Fix reference to lgpg license

9 years agoFix ldap_modify
Arran Cudbard-Bell [Wed, 26 Apr 2017 22:24:53 +0000 (18:24 -0400)] 
Fix ldap_modify

9 years agoDocument proto_ldap_sync
Arran Cudbard-Bell [Wed, 26 Apr 2017 21:46:25 +0000 (17:46 -0400)] 
Document proto_ldap_sync

9 years agoFix LDAP headers
Arran Cudbard-Bell [Wed, 26 Apr 2017 02:18:14 +0000 (22:18 -0400)] 
Fix LDAP headers

9 years agoand another one
Arran Cudbard-Bell [Wed, 26 Apr 2017 02:04:47 +0000 (22:04 -0400)] 
and another one

9 years agos/ldap_handle_t/fr_ldap_conn_t/
Arran Cudbard-Bell [Wed, 26 Apr 2017 02:03:02 +0000 (22:03 -0400)] 
s/ldap_handle_t/fr_ldap_conn_t/

9 years agoFix minor build issues
Arran Cudbard-Bell [Wed, 26 Apr 2017 02:00:32 +0000 (22:00 -0400)] 
Fix minor build issues

9 years ago%pS only works on talloced strings, wheras %pV works for any boxed value
Arran Cudbard-Bell [Wed, 26 Apr 2017 01:50:29 +0000 (21:50 -0400)] 
%pS only works on talloced strings, wheras %pV works for any boxed value

9 years agoFix overzealous search/replace
Arran Cudbard-Bell [Wed, 26 Apr 2017 01:39:14 +0000 (21:39 -0400)] 
Fix overzealous search/replace

9 years agoFixup clang scan issues
Arran Cudbard-Bell [Wed, 26 Apr 2017 01:34:01 +0000 (21:34 -0400)] 
Fixup clang scan issues

9 years agoDoxygen
Arran Cudbard-Bell [Wed, 26 Apr 2017 01:29:17 +0000 (21:29 -0400)] 
Doxygen

9 years agoAdd proto_ldap_sync
Arran Cudbard-Bell [Tue, 25 Apr 2017 21:41:26 +0000 (17:41 -0400)] 
Add proto_ldap_sync

This allows FreeRADIUS to listen to LDAP directories using persistent searches

9 years agoMove attrmap.c into the libfreeradius-ldap library, and fix structure names
Arran Cudbard-Bell [Tue, 25 Apr 2017 21:33:45 +0000 (17:33 -0400)] 
Move attrmap.c into the libfreeradius-ldap library, and fix structure names

9 years agoAdd unlang_interpret_synchronous
Arran Cudbard-Bell [Tue, 25 Apr 2017 19:29:54 +0000 (15:29 -0400)] 
Add unlang_interpret_synchronous

Execute unlang and wait for the result

9 years agos/event_list_alloc/event_list_create/
Arran Cudbard-Bell [Tue, 25 Apr 2017 19:29:16 +0000 (15:29 -0400)] 
s/event_list_alloc/event_list_create/

9 years agoAdd event list to event callback args
Arran Cudbard-Bell [Sun, 23 Apr 2017 00:40:47 +0000 (20:40 -0400)] 
Add event list to event callback args