projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c4b0c3
)
Time out on TLS clients not closing the connection properly.
author
Linus Nordberg
<linus@nordberg.se>
Mon, 26 Aug 2013 15:02:07 +0000
(17:02 +0200)
committer
Linus Nordberg
<linus@nordberg.se>
Mon, 26 Aug 2013 15:02:07 +0000
(17:02 +0200)
Patch by Fabian Mauchle.
ChangeLog
patch
|
blob
|
history
tls.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
323ef30
..
01766a8
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-12,6
+12,8
@@
crash when using dynamic discovery. Patch by Fabian Mauchle.
- Closing and freeing TLS clients properly. Patch by Fabian
Mauchle.
+ - Timing out on TLS clients not closing the connection properly.
+ Patch by Fabian Mauchle.
2012-10-25 1.6.2
Bug fixes (security):
diff --git
a/tls.c
b/tls.c
index
3b2b0ac
..
d376e73
100644
(file)
--- a/
tls.c
+++ b/
tls.c
@@
-351,7
+351,7
@@
void tlsserverrd(struct client *client) {
}
for (;;) {
- buf = radtlsget(client->ssl,
0
);
+ buf = radtlsget(client->ssl,
IDLE_TIMEOUT * 3
);
if (!buf) {
debug(DBG_ERR, "tlsserverrd: connection from %s lost", addr2string(client->addr));
break;