summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/packet.c
AgeCommit message (Collapse)Author
2021-12-29fix buffer overflow when receive radius packetSergey V. Lobanov
This patch fixes buffer overflow if radius packet contains invalid atribute length and attrubute type from the following list: ipv4addr, ipv6addr, ipv6prefix or ifid Reported-by: Chloe Ong Reported-by: Eugene Lim <spaceraccoon@users.noreply.github.com> Reported-by: Kar Wei Loh Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2020-10-21radius: sanity check for vendor attribute lengthDmitry Kozlov
2018-04-12radius: initialize rad_attr_t::raw field on newly inserted attributesDmitry Kozlov
2018-04-06radius: allow CoA/DM by single username attributeDmitry Kozlov
2017-12-21radius: allocate memory for string attributesDmitry Kozlov
2017-12-14radius: fixed memory leakDmitry Kozlov
2016-12-10radius: extended support for freeradius dictionariesDmitry Kozlov
2016-01-03Update packet.cliguojiang
radius server error packet may be coredump.
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-09-20rewrite of authentication/accounting proceduresDmitry Kozlov
This patch gets rid of synchronuos style of authentication/accounting. Synchronous style of authentication/accounting produced sleeping threads which becomes a problem when lots of sessions started/stopped and all they want authorization/accounting.
2014-06-03make IPv4 address to string conversions endian friendlyDmitry Kozlov
2014-01-17radius: allow creation of zero length attributesGuillaume Nault
Some attributes, like IWF-Session (RFC 4679), may have no payload. Allow the len parameter of rad_packet_add_octets() to be 0 in order to add such attributes (and do the same for rad_packet_change_octets() for API consistency). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2011-09-05radius: use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofdayKozlov Dmitry
2011-08-24radius: better radius server fails handlingKozlov Dmitry
2011-08-23radius: ipv6 supportDmitry Kozlov
2011-05-301.3.6 releaseKozlov Dmitry
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-01-27radius: extended statistics calculationDmitry Kozlov
2011-01-26futher memory usage optimizationDmitry Kozlov
2011-01-18radius: don't free receive buffer immediatlyDmitry Kozlov
2011-01-17memory usage optimizationDmitry Kozlov
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov