Updated 'malformed packet' messages to include prefix of 'WARNING'
authoraland <aland>
Mon, 22 Oct 2001 17:50:57 +0000 (17:50 +0000)
committeraland <aland>
Mon, 22 Oct 2001 17:50:57 +0000 (17:50 +0000)
commit0849e3680d04a18f994f30b03f9967c3923fcaf9
treeaf79c860179e27025babf69b8e4cf69a05865c6a
parentcfb77d138e619a8f617e915748e147d82c3c84ff
Updated 'malformed packet' messages to include prefix of 'WARNING'
to make it clear what's going on.

Removed 'memset 0' buffer overflow.

Added the ability to configure the maximum number of attributes
which may be in a packet.  If there are more attributes than this,
then the packet is dropped.

This helps prevent DoS attacks, as noted today on the devel list
by 3APA3A <3APA3A@SECURITY.NNOV.RU>
src/lib/radius.c