summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/auth.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename some imsg bits to make namespace collisions less likely buf tonicm2010-05-261-12/+12
| | | | | | ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
* Whitespace cleanup.michele2009-09-261-2/+2
|
* Make the packet buffer u_int8_t * everywhere. This is binary data and notclaudio2007-10-241-5/+5
| | | | a string.
* spacingderaadt2007-10-181-3/+3
|
* Massive cleanup in the authentication code. the simple auth_key and the cryptclaudio2007-10-181-10/+14
| | | | | | | | | keys are not strings so a) use u_int8_t instead of char and b) uses memcpy to copy the full MAX_SIMPLE_AUTH_LEN resp. MD5_DIGEST_LENGTH bytes around. The parser needs some special code to ensure that the string is not to long and if it is shorter then the buffer the rest needs to be zero padded. Avoid to use strncpy() instead use a bzero(); memcpy() combo. with and OK deraadt@
* wrong type for digest; ok claudioderaadt2007-10-171-2/+2
|
* Some code cleanups. Added one lint command, removed one unused function andmichele2007-03-311-5/+6
| | | | some other cosmetics.
* use correct function name in error message; ok henning@stevesk2006-11-271-2/+2
|
* Time is not a secret.mcbride2006-10-311-5/+32
| | | | | | | | Modulate the timer with an MD5 hash of the key to generate the sequence number. Ensure that the most significant bit of the modulated value is 0 to prevent wrapping of the sequence number. ok michele@
* Correct function name in log_debug() messagesmcbride2006-10-191-2/+2
|
* Welcome ripdnorby2006-10-181-0/+295
started by Michele Marchetto some time ago by using the imsg/three process framework of ospfd. He implemented most of the daemon with a little help and guidance from Claudio and I. Currently the daemon is more or less complete, with the exception of key lifetime and rollover. Not yet connected to the builds. OK claudio@