]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agomessage time is always "now"
Alan T. DeKok [Fri, 25 Aug 2017 13:39:48 +0000 (09:39 -0400)] 
message time is always "now"

because duplicate packets MAY come from the past...

8 years agotypo
Alan T. DeKok [Fri, 25 Aug 2017 13:31:02 +0000 (09:31 -0400)] 
typo

8 years agoExpand "next" in alternation.
Alan T. DeKok [Fri, 25 Aug 2017 12:45:14 +0000 (08:45 -0400)] 
Expand "next" in alternation.

Manual port of commit 49d690b3a8

8 years agoUpdate radcrypt.8
lepianoman [Thu, 24 Aug 2017 22:34:13 +0000 (18:34 -0400)] 
Update radcrypt.8

8 years agoUpdate radcrypt.8
lepianoman [Thu, 24 Aug 2017 22:12:20 +0000 (18:12 -0400)] 
Update radcrypt.8

8 years agoUpdate radcrypt.8
lepianoman [Thu, 24 Aug 2017 16:08:39 +0000 (12:08 -0400)] 
Update radcrypt.8

8 years agonote recent TODO's
Alan T. DeKok [Thu, 24 Aug 2017 20:16:02 +0000 (16:16 -0400)] 
note recent TODO's

8 years agoadd support (mostly) for synchronous proxying
Alan T. DeKok [Thu, 24 Aug 2017 20:13:14 +0000 (16:13 -0400)] 
add support (mostly) for synchronous proxying

8 years agoadd "synchronous" flag for synchronous proxying
Alan T. DeKok [Thu, 24 Aug 2017 19:41:20 +0000 (15:41 -0400)] 
add "synchronous" flag for synchronous proxying

8 years agoadd IO signal handler, and call it if it exists
Alan T. DeKok [Thu, 24 Aug 2017 19:32:21 +0000 (15:32 -0400)] 
add IO signal handler, and call it if it exists

8 years agopass action through to unlang_signal
Alan T. DeKok [Thu, 24 Aug 2017 19:31:24 +0000 (15:31 -0400)] 
pass action through to unlang_signal

and cast it to fr_state_action_t

8 years agomap IO_ACTION to state action
Alan T. DeKok [Thu, 24 Aug 2017 19:30:39 +0000 (15:30 -0400)] 
map IO_ACTION to state action

this is a hack for now, we probably need to delete fr_state_action_t

8 years agocreate DUP signal and pass it through to the async process function
Alan T. DeKok [Thu, 24 Aug 2017 19:28:26 +0000 (15:28 -0400)] 
create DUP signal and pass it through to the async process function

8 years agotrack duplicate packets based on recv_time.
Alan T. DeKok [Thu, 24 Aug 2017 19:00:53 +0000 (15:00 -0400)] 
track duplicate packets based on recv_time.

If the packet_ctx is the same, and the recv_time is the same,
then the new packet is a duplicate of the old one.  Otherwise,
it's not.

And only listeners with "track_duplicates" set will have requests
inserted into the worker dedup tree.

8 years agoadd null_reply function
Alan T. DeKok [Thu, 24 Aug 2017 17:22:11 +0000 (13:22 -0400)] 
add null_reply function

8 years agosimplify stop request API and usage
Alan T. DeKok [Thu, 24 Aug 2017 13:03:45 +0000 (09:03 -0400)] 
simplify stop request API and usage

8 years agocopy the bound IP to src_ipaddr, too
Alan T. DeKok [Thu, 24 Aug 2017 12:58:20 +0000 (08:58 -0400)] 
copy the bound IP to src_ipaddr, too

8 years agoconnect to the remote side, not the local one...
Alan T. DeKok [Thu, 24 Aug 2017 12:53:58 +0000 (08:53 -0400)] 
connect to the remote side, not the local one...

8 years agonote recent updates
Alan T. DeKok [Thu, 24 Aug 2017 12:40:45 +0000 (08:40 -0400)] 
note recent updates

8 years agostart of dedup / conflicting packet detection
Alan T. DeKok [Thu, 24 Aug 2017 12:40:03 +0000 (08:40 -0400)] 
start of dedup / conflicting packet detection

8 years agotypo
Alan T. DeKok [Thu, 24 Aug 2017 12:11:52 +0000 (08:11 -0400)] 
typo

8 years agoRemove old comment
Arran Cudbard-Bell [Thu, 24 Aug 2017 16:02:20 +0000 (00:02 +0800)] 
Remove old comment

8 years agosha-3 updates
Matthew Newton [Thu, 24 Aug 2017 14:57:22 +0000 (15:57 +0100)] 
sha-3 updates

8 years agoanother attempt to get rlm_pap(5) complete
Matthew Newton [Thu, 24 Aug 2017 14:27:14 +0000 (15:27 +0100)] 
another attempt to get rlm_pap(5) complete

8 years agoDo something sane if asserts are disabled.
Arran Cudbard-Bell [Thu, 24 Aug 2017 07:19:49 +0000 (15:19 +0800)] 
Do something sane if asserts are disabled.

8 years agoAdd support for SHA3 Fixes #2045
Arran Cudbard-Bell [Thu, 24 Aug 2017 06:29:21 +0000 (14:29 +0800)] 
Add support for SHA3 Fixes #2045

8 years agoget elapsed time
Matthew Newton [Wed, 23 Aug 2017 23:56:18 +0000 (00:56 +0100)] 
get elapsed time

8 years ago%e isn't seconds since the epoch
Matthew Newton [Wed, 23 Aug 2017 23:55:54 +0000 (00:55 +0100)] 
%e isn't seconds since the epoch

8 years agofix bugs in time expansion
Matthew Newton [Wed, 23 Aug 2017 23:19:48 +0000 (00:19 +0100)] 
fix bugs in time expansion

8 years agoshort-circuit long-extended attributes which are not continued
Alan T. DeKok [Wed, 23 Aug 2017 20:37:34 +0000 (16:37 -0400)] 
short-circuit long-extended attributes which are not continued

8 years agofix end conditions for decode_concat()
Alan T. DeKok [Wed, 23 Aug 2017 20:09:36 +0000 (16:09 -0400)] 
fix end conditions for decode_concat()

8 years agoport wimax decoder from v3
Alan T. DeKok [Wed, 23 Aug 2017 19:52:33 +0000 (15:52 -0400)] 
port wimax decoder from v3

8 years agotighten bounds on WiMAX parsing
Alan T. DeKok [Wed, 23 Aug 2017 19:47:04 +0000 (15:47 -0400)] 
tighten bounds on WiMAX parsing

8 years agotypo
Alan T. DeKok [Wed, 23 Aug 2017 13:54:24 +0000 (09:54 -0400)] 
typo

8 years agostupid compilers
Alan T. DeKok [Wed, 23 Aug 2017 13:04:44 +0000 (09:04 -0400)] 
stupid compilers

8 years agoupdates
Alan T. DeKok [Wed, 23 Aug 2017 12:32:28 +0000 (08:32 -0400)] 
updates

8 years agoupdate Acct-Delay-Time on retransmissions
Alan T. DeKok [Wed, 23 Aug 2017 12:12:14 +0000 (08:12 -0400)] 
update Acct-Delay-Time on retransmissions

8 years agoprint auto-created Proxy-State and Message-Authenticator on retransmit
Alan T. DeKok [Wed, 23 Aug 2017 11:33:29 +0000 (07:33 -0400)] 
print auto-created Proxy-State and Message-Authenticator on retransmit

8 years agoadd src_port parameter to fr_socket_client_udp()
Alan T. DeKok [Tue, 22 Aug 2017 11:46:36 +0000 (13:46 +0200)] 
add src_port parameter to fr_socket_client_udp()

so that we know what source port we're bound to

8 years agomove worker "time_order" list to heap
Alan T. DeKok [Tue, 22 Aug 2017 11:36:49 +0000 (13:36 +0200)] 
move worker "time_order" list to heap

which is strictly ordered by time..

8 years agoFix wide_name
Arran Cudbard-Bell [Wed, 23 Aug 2017 11:18:50 +0000 (19:18 +0800)] 
Fix wide_name

8 years agomicroseconds not month
Matthew Newton [Wed, 23 Aug 2017 10:08:01 +0000 (11:08 +0100)] 
microseconds not month

8 years agoMerge pull request #2043 from herwinw/juniper-dict-string
Arran Cudbard-Bell [Wed, 23 Aug 2017 07:29:40 +0000 (15:29 +0800)] 
Merge pull request #2043 from herwinw/juniper-dict-string

Normalised attribute type in juniper dictionary

8 years agoNormalised attribute type in juniper dictionary 2043/head
Herwin Weststrate [Wed, 23 Aug 2017 07:26:50 +0000 (09:26 +0200)] 
Normalised attribute type in juniper dictionary

This was the only occurence of capitalised String, instead of string
that is used everywhere else.

8 years agoMake current epoch time available for use with custom latency counters
Arran Cudbard-Bell [Wed, 23 Aug 2017 02:32:19 +0000 (10:32 +0800)] 
Make current epoch time available for use with custom latency counters

8 years agoAllow Release to be defined
Arran Cudbard-Bell [Tue, 22 Aug 2017 13:22:56 +0000 (21:22 +0800)] 
Allow Release to be defined

8 years agowe may yield / resume many layers deep in a fork() chain
Alan T. DeKok [Tue, 22 Aug 2017 07:54:46 +0000 (09:54 +0200)] 
we may yield / resume many layers deep in a fork() chain

8 years agofinish off unlang_fork()
Alan T. DeKok [Mon, 21 Aug 2017 15:04:38 +0000 (17:04 +0200)] 
finish off unlang_fork()

add resume / signal for fork, and glue it all together

8 years agofixes for call module vs fork
Alan T. DeKok [Mon, 21 Aug 2017 15:03:09 +0000 (17:03 +0200)] 
fixes for call module vs fork

8 years agoresume the parent, not the child after fork()
Alan T. DeKok [Mon, 21 Aug 2017 15:02:18 +0000 (17:02 +0200)] 
resume the parent, not the child after fork()

8 years agomove assertions around
Alan T. DeKok [Mon, 21 Aug 2017 14:58:30 +0000 (16:58 +0200)] 
move assertions around

and assert that the worker is always running the parent request

8 years agocreate and use function to allocate unlang_resume_t
Alan T. DeKok [Mon, 21 Aug 2017 11:18:48 +0000 (13:18 +0200)] 
create and use function to allocate unlang_resume_t

8 years agoit's now unlang_resume_t, to match the new names
Alan T. DeKok [Mon, 21 Aug 2017 11:10:06 +0000 (13:10 +0200)] 
it's now unlang_resume_t, to match the new names

8 years agorename module_resume to just resume
Alan T. DeKok [Mon, 21 Aug 2017 11:04:08 +0000 (13:04 +0200)] 
rename module_resume to just resume

8 years agomake UNANG_TYPE_MODULE_RESUME a little more flexible
Alan T. DeKok [Mon, 21 Aug 2017 11:00:28 +0000 (13:00 +0200)] 
make UNANG_TYPE_MODULE_RESUME a little more flexible

in preparation for allowing fork to yield and resume

8 years agopass thread instance data, not thread structure
Alan T. DeKok [Mon, 21 Aug 2017 07:15:00 +0000 (09:15 +0200)] 
pass thread instance data, not thread structure

8 years agoset names for priorities
Alan T. DeKok [Fri, 18 Aug 2017 10:42:00 +0000 (12:42 +0200)] 
set names for priorities

8 years agoset priority
Alan T. DeKok [Fri, 18 Aug 2017 10:33:10 +0000 (12:33 +0200)] 
set priority

8 years agoupdate todo notes
Alan T. DeKok [Fri, 18 Aug 2017 10:06:29 +0000 (12:06 +0200)] 
update todo notes

8 years agomore debug
Alan T. DeKok [Fri, 18 Aug 2017 08:15:17 +0000 (10:15 +0200)] 
more debug

8 years agoprint packet again when retransmitting
Alan T. DeKok [Fri, 18 Aug 2017 08:12:42 +0000 (10:12 +0200)] 
print packet again when retransmitting

8 years agoupdate todo list
Alan T. DeKok [Fri, 18 Aug 2017 08:08:18 +0000 (10:08 +0200)] 
update todo list

8 years agoadd priority to "read" routine
Alan T. DeKok [Fri, 18 Aug 2017 08:05:52 +0000 (10:05 +0200)] 
add priority to "read" routine

so that we can process Status-Server as a higher priority than
Access-Request, which is in turn higher than Accounting-Request

8 years agonotes on de-dup and conflicting packets
Alan T. DeKok [Thu, 17 Aug 2017 15:01:34 +0000 (17:01 +0200)] 
notes on de-dup and conflicting packets

8 years agobetter debug messages
Alan T. DeKok [Thu, 17 Aug 2017 15:00:49 +0000 (17:00 +0200)] 
better debug messages

8 years agonotes on fork when child is different protocol than parent
Alan T. DeKok [Thu, 17 Aug 2017 14:52:32 +0000 (16:52 +0200)] 
notes on fork when child is different protocol than parent

8 years agouse correct output buffer from expansion
Alan T. DeKok [Thu, 17 Aug 2017 14:52:19 +0000 (16:52 +0200)] 
use correct output buffer from expansion

8 years agoonly set recv/send_buff socket options if they're set in the config
Alan T. DeKok [Thu, 17 Aug 2017 14:45:08 +0000 (16:45 +0200)] 
only set recv/send_buff socket options if they're set in the config

8 years agodynamically expand the "fork" arg1 as a template
Alan T. DeKok [Thu, 17 Aug 2017 14:24:57 +0000 (16:24 +0200)] 
dynamically expand the "fork" arg1 as a template

8 years agoFix typos accessing python_path Fixes #2041
Arran Cudbard-Bell [Thu, 17 Aug 2017 14:50:13 +0000 (22:50 +0800)] 
Fix typos accessing python_path Fixes #2041

8 years agorlm_ldap: options moved in b562dc3b
Matthew Newton [Wed, 16 Aug 2017 14:49:01 +0000 (15:49 +0100)] 
rlm_ldap: options moved in b562dc3b

8 years agorlm_ldap: quiet compiler warning when macro missing
Matthew Newton [Wed, 16 Aug 2017 14:49:23 +0000 (15:49 +0100)] 
rlm_ldap: quiet compiler warning when macro missing

8 years agorlm_ldap: suppress compiler warnings
Matthew Newton [Wed, 16 Aug 2017 14:49:34 +0000 (15:49 +0100)] 
rlm_ldap: suppress compiler warnings

8 years agoheaders required for dhcp to build
Matthew Newton [Wed, 16 Aug 2017 09:46:24 +0000 (10:46 +0100)] 
headers required for dhcp to build

8 years agoadd code / ID to tracking
Alan T. DeKok [Wed, 16 Aug 2017 08:22:02 +0000 (10:22 +0200)] 
add code / ID to tracking

so that worker.c can just do a hash / memcmp() of two tracking
entries

8 years agoset recv_buff and send_buff
Alan T. DeKok [Wed, 16 Aug 2017 08:16:42 +0000 (10:16 +0200)] 
set recv_buff and send_buff

8 years agodon't set the idle timeout if it's already set
Alan T. DeKok [Wed, 16 Aug 2017 08:06:42 +0000 (10:06 +0200)] 
don't set the idle timeout if it's already set

8 years agomove queued list to heap
Alan T. DeKok [Wed, 16 Aug 2017 08:04:29 +0000 (10:04 +0200)] 
move queued list to heap

so that we retransmit packets in the order that they were
first received

8 years agomove packets to queue on conn_error()
Alan T. DeKok [Wed, 16 Aug 2017 07:28:13 +0000 (09:28 +0200)] 
move packets to queue on conn_error()

so we can retransmit them

8 years agoenable Status-Server ping checks
Alan T. DeKok [Tue, 15 Aug 2017 16:18:21 +0000 (18:18 +0200)] 
enable Status-Server ping checks

move some code around to avoid forward declarations,
and enable the packets to be sent.

8 years ago(re)-initialize all structure members
Alan T. DeKok [Tue, 15 Aug 2017 15:27:30 +0000 (17:27 +0200)] 
(re)-initialize all structure members

9 years agomore notes
Alan T. DeKok [Sun, 13 Aug 2017 14:05:57 +0000 (16:05 +0200)] 
more notes

9 years agoremove unused variable
Alan T. DeKok [Sun, 13 Aug 2017 14:05:27 +0000 (16:05 +0200)] 
remove unused variable

9 years agoclean up idle state machine
Alan T. DeKok [Sun, 13 Aug 2017 14:03:49 +0000 (16:03 +0200)] 
clean up idle state machine

9 years agodebug3 message
Alan T. DeKok [Sun, 13 Aug 2017 13:48:29 +0000 (15:48 +0200)] 
debug3 message

9 years agoprint message only if doing the work
Alan T. DeKok [Sun, 13 Aug 2017 13:47:52 +0000 (15:47 +0200)] 
print message only if doing the work

9 years agoensure reply is initialized
Alan T. DeKok [Sun, 13 Aug 2017 13:47:35 +0000 (15:47 +0200)] 
ensure reply is initialized

9 years agowiden check for Status-Server
Alan T. DeKok [Sat, 12 Aug 2017 19:43:31 +0000 (21:43 +0200)] 
widen check for Status-Server

9 years agodon't set idle_timeout twice
Alan T. DeKok [Sat, 12 Aug 2017 19:32:51 +0000 (21:32 +0200)] 
don't set idle_timeout twice

9 years agocomment out unused macro
Alan T. DeKok [Sat, 12 Aug 2017 16:19:55 +0000 (18:19 +0200)] 
comment out unused macro

9 years agocreate / use better names for the socket
Alan T. DeKok [Sat, 12 Aug 2017 16:12:27 +0000 (18:12 +0200)] 
create / use better names for the socket

* / :: for wildcard
use "radius"
and print out virtual server name

9 years agomove debug message to debug3
Alan T. DeKok [Sat, 12 Aug 2017 16:11:23 +0000 (18:11 +0200)] 
move debug message to debug3

9 years agodon't set idle timeout if we're doing Status-Server checks
Alan T. DeKok [Sat, 12 Aug 2017 16:07:17 +0000 (18:07 +0200)] 
don't set idle timeout if we're doing Status-Server checks

9 years agoprint out "Listening on..." for socket name
Alan T. DeKok [Sat, 12 Aug 2017 16:04:40 +0000 (18:04 +0200)] 
print out "Listening on..." for socket name

9 years agomore notes
Alan T. DeKok [Sat, 12 Aug 2017 08:38:16 +0000 (10:38 +0200)] 
more notes

9 years agoproper cleanups for c->status_u
Alan T. DeKok [Sat, 12 Aug 2017 08:34:59 +0000 (10:34 +0200)] 
proper cleanups for c->status_u

9 years agodisable "skip signals"
Alan T. DeKok [Sat, 12 Aug 2017 08:32:02 +0000 (10:32 +0200)] 
disable "skip signals"

Until we have time to track it down

9 years agomove to debug macros
Alan T. DeKok [Sat, 12 Aug 2017 08:30:51 +0000 (10:30 +0200)] 
move to debug macros

9 years agomake message old-style
Alan T. DeKok [Sat, 12 Aug 2017 08:05:25 +0000 (10:05 +0200)] 
make message old-style

9 years agoadd debug lvl to network create
Alan T. DeKok [Sat, 12 Aug 2017 07:59:31 +0000 (09:59 +0200)] 
add debug lvl to network create