projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8040e7
)
Corrected typo
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 11 May 2009 13:59:10 +0000
(15:59 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 11 May 2009 13:59:10 +0000
(15:59 +0200)
Validate reply against packet, not against reply
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
fdfa544
..
0e56775
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-2955,7
+2955,7
@@
REQUEST *received_proxy_response(RADIUS_PACKET *packet)
* helps minimize the DoS effect of people attacking us
* with spoofed packets.
*/
- if (rad_verify(request->proxy
_reply
, packet,
+ if (rad_verify(request->proxy, packet,
request->home_server->secret) != 0) {
DEBUG("Ignoring spoofed proxy reply. Signature is invalid");
return;