summaryrefslogtreecommitdiff
path: root/libtac/lib/author_r.c
AgeCommit message (Collapse)Author
2017-12-29Fix compile-time warningsPhilip Prindeville
2016-10-05Merge pull request #65 from pprindeville/simplify-md5-operationsPaweł Krawczyk
Various cryptography improvements
2016-10-04Make TACDEBUG and TACSYSLOG into varargs macrosPhilip Prindeville
Also, correct the -DTACDEBUG_AT_RUNTIME scenario so that TACDEBUG() binds correct when used in an if-body with an else following it, e.g.: if (test) TACDEBUG(LOG_DEBUG, "test is true"); else return; would previously have ended up as expanding to: if (test) if (tac_debug_enable) logmsg(LOG_DEBUG, "test is true"); else return; with the indent redone to reflect the nesting correctly. This now expands (correctly) to: if (test) do { if (tac_debug_enable) logmsg(LOG_DEBUG, "test is true"); } while (0); else return;
2016-10-04No need to pass in payload length when the header already includes itPhilip Prindeville
Why make copies of the payload length to pass as parameters when it's already present in the header?
2016-10-05Don't init declarations in a for loopJeroen Nijhof
2016-09-29Turn on stricter compiler warningsPhilip Prindeville
And fix subsequent warnings caused by: - shadowed variables (i.e. variables existing in nested scopes); - signed vs. unsigned comparisons - string pointers and buffers being unsigned which don't need to be; - unnecessary casts; - unused variables (or only used when debugging is enabled);
2016-07-23source formattingPaweł Krawczyk
2016-07-23timeleft may be potentially used uninitializedPaweł Krawczyk
2016-07-23check loop against TAC_PLUS_MAX_ARGCOUNTPaweł Krawczyk
2016-07-23check for max number of arguments passed in replyPaweł Krawczyk
2016-07-23Fix warningsPaweł Krawczyk
Fix various declaration inconsistencies that were throwing compiler warnings
2016-05-27fix variable namesPaweł Krawczyk
2016-05-27replace the broken packet_read check with a hard-coded max packet lengthPaweł Krawczyk
2016-05-05make len_from_* variables unsignedPaweł Krawczyk
2016-05-04fix variable referencePaweł Krawczyk
2016-05-02superfluous syslog format stringPaweł Krawczyk
2016-05-02check packet length declared in headerPaweł Krawczyk
2016-05-02ensure iteration over argument number sent in packet do not overflowPaweł Krawczyk
past the actual packet data
2014-11-20Reduce loglevel for non-critical author messagesDaniel Gollub
Messages like "Args cnt %d", "Adding buf/value pair (%s,%s)" should not flood syslog as warning.
2014-09-18allow authorization without protocol definedSergey Mironov
Protocol is only required for certain subset of services, mainly for ppp. We allow authorization with empty protocol if user wants to use other service names, like 'ssh' From the http://tools.ietf.org/html/draft-grant-tacacs-02 page 30: The protocol attribute is intended for use with PPP. When service equals "ppp" and protocol equals "lcp", the message describes the PPP link layer service. For other values of protocol, this describes a PPP NCP (network layer service). A single PPP session can support multiple NCPs
2012-09-16Rearrange header file include for libtacJeroen Nijhof
2012-03-18Changed e-mail and improved accountingJeroen Nijhof
2011-08-19Finally got rid of all goto illness!Jeroen
2011-08-19Major contribution by Darren BeslerJeroen
2010-12-22Initial commitJeroen Nijhof