summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
AgeCommit message (Collapse)Author
2014-05-13radius: introduced weight and backup per-server optionsDmitry Kozlov
New options are applied to server option as server=...[,weight=x][,backup] Weight is used for multi-server configurations (larger weight takes more users). Backup is used to mark backup server f.e. server which will be used only if all other servers are failed.
2014-05-12radius: use NAS-Port-Id in Access-Accept for interface renamingDmitry Kozlov
2014-05-12radius: add support for Nas-Port-Id attribute (interface name)Dmitry Kozlov
2014-05-12radius: close socket after receiving accounting replyDmitry Kozlov
2014-05-12radius: release auth request immediatly after get responceDmitry Kozlov
There is no need to keep auth request structure in memory during whole session life time. It wastes memory and file descriptors
2014-05-12triton: improved epoll events handlingDmitry Kozlov
2014-01-19radius: fix IWF-Session identifier in RFC 4679 dictionaryGuillaume Nault
RFC 4679 assigns identifier 0xFE (254) to the IWF-Session attribute. This is consistent with the identifier value specified by TR-101. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
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>
2013-10-23radius: skip vendor specific attributes when searching session for DM/CoADmitry Kozlov
This fixes invalid assosiation vendor specific Cisco-AVPair to Username attribute which both have same id and prevents to find sessions in some circumstances. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-14radius: properly handle send failuresDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-11radius,ippool,chap-secrets: do not assign local address if session is not pppDmitry Kozlov
Do not assign local address for non-PPP (IPoE at present) sessions in specified modules. This enforces ctrl to assign proper local address by itself. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-08-15radius: implemented sending Account-Request with ↵Dmitry Kozlov
Acct-Status-Type=Accounting-On on startup and Acct-Status-Type=Accounting-Off on shutdown
2013-08-14radius: don't assign address if Framed-IP-Address=255.255.255.254Kozlov Dmitry
2013-04-22ipoe: use interface's ifindex as Nas-PortDmitry Kozlov
2013-04-11radius: implemented default-realm optionKozlov Dmitry
2013-03-18radius: assign ipv4 either if gw-ip-address is not specified for non-ppp ↵Dmitry Kozlov
sessions
2013-01-25cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIXKozlov Dmitry
2013-01-25Do not segfault on RADIUS failures during interimAleksey Zhukov
2013-01-25Fix boolean options parsing in configuration fileGuillaume Nault
Explicitely interpret zero values when parsing boolean options. This allows to unset boolean parameters such as "verbose" when reloading the configuration. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-01-24backport 1.7Kozlov Dmitry
* l2tp: Fix allocation checking when adding octets AVP * cli, tcp: Fix non-NULL terminated string reception * Fix va_end() missing calls * chap-secrets: implemented encryption * auth_pap: make messages like other auth modules * cli: check xmit_buf is not null at enter to write function * pppoe: implemented regular expression support * chap-secrets: implemented encryption * ippool: fixed initialization order * optional shaper compiling * ppp: dns/wins code cleanup
2013-01-24merge upstreamKozlov Dmitry
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-09-05Fix format string errorsGuillaume Nault
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-29add 'ppp' filed to CTRL to identify ppp sessionsKozlov Dmitry
2012-08-15radius: fixed broken authentication procedureKozlov Dmitry
2012-08-11ipoe: fixed packet output pathKozlov Dmitry
2012-08-03fixed complilation for 3.4 kernelKozlov Dmitry
2012-07-19radius: implemented Idle-TimeoutKozlov Dmitry
2012-07-19radius: multiple disctionary options supportKozlov Dmitry
2012-07-13Merge commit '178b27b0b6d60afdc5039dc3d995f4ad000b5486'Kozlov Dmitry
* commit '178b27b0b6d60afdc5039dc3d995f4ad000b5486': radius: update Class attribute by CoA request
2012-07-13radius: update Class attribute by CoA requestKozlov Dmitry
2012-07-11radius: fetch interface statistics via netlinkKozlov Dmitry
2012-07-10initial session backup implementationKozlov Dmitry
2012-06-22initial ipoe implementationKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-04-30ippool: implemented vendor/attr options to specify which radius attribute ↵Kozlov Dmitry
containes pool name
2012-04-29radius: fix reading of req-limit optionKozlov Dmitry
2012-03-11radius: add support for MS-Primary-DNS-Server/MS-Secondary-DNS-Server attributesKozlov Dmitry
2012-03-11radius: add Alcatel dictionaryKozlov Dmitry
2012-01-13set FD_CLOEXEC on opened file descriptorsKozlov Dmitry
2011-12-27core: queue zero-priority context if number of threads is reached maximumKozlov Dmitry
2011-12-27radius: implemented simultaneous requests limitingKozlov Dmitry
2011-12-27radius, ippool: implemented Framed-Pool attributeKozlov Dmitry
2011-09-20radius: restore timeout timer value on each Interim-UpdateKozlov Dmitry
2011-09-05radius: use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofdayKozlov Dmitry
2011-09-05radius: per-server statisticsKozlov Dmitry
2011-09-03implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL ↵Kozlov Dmitry
(default OPENSSL)
2011-09-03radius: servers reloadKozlov Dmitry
2011-08-30radius: fix incorrect 'out of memory' messageKozlov Dmitry
2011-08-28radius: implemented ipv6 prefix delegation supportKozlov Dmitry