GIT Log for 2009-09-16 23:33 GMT
commit 731db3b088a482726c765b56f46a33e2a4e45522 Author: Alan T. DeKok <aland@freeradius.org> Date: Wed Sep 16 17:10:44 2009 +0200 More plumbing to get the server to listen on TCP sockets. The last two functions are in a separate patch to make the merge easier. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Conflicts: src/main/listen.c Files changed: src/main/listen.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 187 insertions(+), 11 deletions(-) ====================================================================== commit ff89e4cac7f2a9256c7d360b1d53a1eb69a28f40 Author: Dante <dante@dante.org.uk> Date: Wed Sep 16 14:06:17 2009 +0200 More plumbing to get to home servers via TCP Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/event.c | 191 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 189 insertions(+), 2 deletions(-) ====================================================================== commit f4dd3a6e803219b61f3ec1d1b7f3767ee54e8eec Author: Dante <dante@dante.org.uk> Date: Wed Sep 16 13:57:40 2009 +0200 Free tcp structure, too Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/listen.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) ====================================================================== commit 572d4fd5f3f735e17bce2980af72fed12376fb62 Author: Dante <dante@dante.org.uk> Date: Wed Sep 16 14:52:04 2009 +0200 Scaffolding to make it build. Git isn't terribly smart about functions moving from one file to another. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/listen.c | 2 + src/modules/frs_proxy/frs_proxy.c | 61 +++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 0 deletions(-) ====================================================================== commit 545ed1e65f5852a3c1fb2001221531f76b6abb27 Author: Dante <dante@dante.org.uk> Date: Wed Sep 16 12:24:44 2009 +0200 Allow outgoing TCP connections to home servers. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/radiusd.h | 4 + src/main/event.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 192 insertions(+), 1 deletions(-) ====================================================================== commit ada7bae4e68c3181759bbc5ab70a1dc6770c3857 Author: Dante <dante@dante.org.uk> Date: Wed Sep 16 12:17:34 2009 +0200 Add scaffolding for proxy listeners. The functions exist, but aren't called by anyone. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/radiusd.h | 8 +++ src/include/smodule.h | 16 +++++ src/main/listen.c | 162 ++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 185 insertions(+), 1 deletions(-) ====================================================================== commit 0ce61f286385679608bbb82967e371641c47d381 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 23:11:47 2009 +0200 More ifdef's and assertions for checkign TCP != UDP Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/event.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) ====================================================================== commit 05b63f38b036995164a7d3f5cbe5d81676058d95 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 23:08:29 2009 +0200 Track the number of outstanding packets on a TCP connection. This allows us to free the connection when all packets are accounted for, and the connection is to be marked "closed" Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/smodule.h | 3 +++ src/main/event.c | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) ====================================================================== commit c7a9d2aa1b3fa91591ce95f19aa5ba42c102f4f7 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 23:03:21 2009 +0200 Stop processing packets when the socket is closed. If the socket from the client, or to the proxy is closed, then handle that situation. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/event.c | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) ====================================================================== commit f687388c0f7b9bdc81db3482e319e684231bca8e Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:57:53 2009 +0200 Document TCP options for clients and home servers. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: raddb/clients.conf | 18 ++++++++++++++++++ raddb/proxy.conf | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 0 deletions(-) ====================================================================== commit 732917380982c0aa5ff862ffa2d901fbe52dac36 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:46:15 2009 +0200 Allow radclient to send/receive RADIUS over TCP Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/main/radclient.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 68 insertions(+), 1 deletions(-) ====================================================================== commit 83b08deebddf31adcc4229359df905673f2b1703 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:44:34 2009 +0200 Allow the packet API to auto-discover TCP It will now call the udp/tcp "receive packet" function as appropriate, so that the callers do not need to be changed in order to handle TCP. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/lib/packet.c | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) ====================================================================== commit ce2a48e678fd80199b886aeda654ed2f94340c19 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:43:17 2009 +0200 Allow clients to use TCP Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/radiusd.h | 12 ++++- src/main/client.c | 102 ++++++++++++++++++++++++++------- src/main/listen.c | 12 +++- src/modules/frs_control/frs_control.c | 38 +++++++++++- src/modules/frs_status/frs_status.c | 7 ++ 5 files changed, 143 insertions(+), 28 deletions(-) ====================================================================== commit 18987ef653986dc1647a7c43144c51dddaa96671 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:34:34 2009 +0200 Allow home servers to use TCP Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/realms.h | 13 ++++ src/main/realms.c | 163 ++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 170 insertions(+), 6 deletions(-) ====================================================================== commit 22d03a101d93238bcf43c7d62b35b40b0557d253 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:33:49 2009 +0200 Allow TCP code to build if WITH_TCP is defined Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/libradius.h | 9 ++++++++- src/lib/Makefile | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) ====================================================================== commit e735792ceca58f1d80562aa69b151dc183c05414 Author: Dante <dante@dante.org.uk> Date: Tue Sep 15 17:17:40 2009 +0200 Header file and protocol handler for RADIUS over TCP This is the first step to getting full support for RADIUS over TCP into the server. Signed-off-by: Alan T. DeKok <aland@freeradius.org> Files changed: src/include/tcp.h | 84 +++++++++++ src/lib/tcp.c | 409 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 493 insertions(+), 0 deletions(-) ======================================================================
participants (1)
-
aland@deployingradius.com