summaryrefslogtreecommitdiff
path: root/fticks.c
Commit message (Collapse)AuthorAgeFilesLines
* Sanitise MAC address before hashing it.Linus Nordberg2011-09-271-6/+31
| | | | Almost closes RADSECPROXY-16.
* Make radsecproxy.h self-sustaining.Linus Nordberg2011-09-261-1/+0
|
* Prepend static functions with underscore.Linus Nordberg2011-09-261-12/+16
|
* Hash full MAC even for VendorHashed and VendorKeyHashed.Linus Nordberg2011-04-051-2/+8
| | | | | | | | Comment on VendorKeyHashed, from source: We are hashing the first nine octets too for easier correlation between vendor-key-hashed and fully-key-hashed log records. This opens up for a known plaintext attack on the key but the consequences of that is considered outweighed by the convenience gained.
* Produce full length F-Tick MAC hashes for FullyHashed and FullyKeyHashed.Linus Nordberg2011-04-051-3/+3
| | | | We produced 62 octets rather than 64.
* Don't smash buffer on stack.Linus Nordberg2011-04-051-1/+1
| | | | (format_hash): Don't write past OUT_LEN. Duh!
* Don't crash in F-Ticks logging if we don't find User-Name.Linus Nordberg2011-04-051-5/+5
|
* Log MAC as "undisclosed" for config FTicksMac Static.Linus Nordberg2011-04-051-37/+33
| | | | Also, log empty string if no Calling-Station-Id attribute is found.
* Do save vendor part of MAC for FTicksMac VendorHashed and VendorKeyHashed.Linus Nordberg2011-04-051-3/+5
|
* Move configure_fticks to fticks.c.Linus Nordberg2011-04-041-0/+69
|
* Move F-Ticks logging to fticks.c.Linus Nordberg2011-04-041-0/+87
|
* Add fticks.c and fticks.h to the build.Linus Nordberg2011-04-041-0/+67