Russ Allbery 97648fc257 Disable kpasswdd error replies to completely malformed requests
Only send an error reply if the request passes basic verification.
Otherwise, kpasswdd would reply to every UDP packet, allowing an
attacker to set up a ping-pong DoS attack via a spoofed UDP packet with
a source address of another UDP service that also replies to every
packet.

Also suppress the error reply if ap_req_len is 0, since this indicates
an error packet.  An error packet may be the result of a ping-pong
attacker pointing us at another kpasswdd.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-03-16 11:50:22 -07:00
2010-02-25 22:18:32 -08:00
2008-12-11 05:11:34 +00:00
2010-02-21 07:03:46 -08:00
2009-12-17 09:25:01 +01:00
2010-02-02 19:37:44 -08:00
2004-02-12 14:19:16 +00:00
2009-12-22 18:49:39 +01:00
2000-06-07 10:01:25 +00:00
2002-08-21 13:29:08 +00:00
1998-08-14 12:05:21 +00:00
x
2009-08-14 16:29:40 +02:00
2008-09-08 20:16:20 +00:00
2009-11-26 10:26:27 -08:00
2009-09-27 18:26:54 -07:00
2010-01-05 19:21:45 +01:00

Heimdal is a Kerberos 5 implementation.

For information how to install see <http://www.h5l.org/compile.html>.

There are briefer man pages for most of the commands.

Bug reports and bugs are appreciated, see more under Bug reports in
the manual on how we prefer them: <heimdal-bugs@h5l.org>.

For more information see the web-page at
<http://www.h5l.org/> or the mailing lists:

heimdal-announce@sics.se	low-volume announcement
heimdal-discuss@sics.se		high-volume discussion

send a mail to heimdal-announce-request@sics.se and
heimdal-discuss-request@sics.se respectively to subscribe.
Languages
C 92.1%
Roff 2.8%
Shell 2.3%
Makefile 0.7%
M4 0.5%
Other 1.4%