summaryrefslogtreecommitdiff
path: root/accel-pppd/ipv6/dhcpv6.c
AgeCommit message (Collapse)Author
2019-07-12dhcpv6: fix delegated prefix routesVladislav Grishenko
older api causes "none" rtm type
2018-12-04libnetlink: add gateway and priority parameters to ip6route_*()Guillaume Nault
Let callers set a gateway and a priority to IPv6 routes. This is necessary for implementing the RADIUS Framed-IPv6-Route attribute. Also let ip6route_del() configure .rtm_protocol. This is already implemented in ip6route_add(), so we need to add the ip6route_del() counterpart. Otherwise, we couldn't delete routes that were added using a non-zero protocol. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-10-23ipv6: fix IPv6 processing of sessions that only have only a link-local addressGuillaume Nault
Several modules assume that if ses->ipv6 is set, then ses->ipv6->addr_list contains at least one element. But this is not true if ipv6 was allocated by the pseudo ipdb backend of ipv6cp (ipv6cp_opt_intfid.c). That is, if the PPP session only has an automatic link-local address. This leads modules like pppd-compat and dhcpv6 to access invalid memory when trying to retrieve the IPv6 address of a PPP session. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-02-08ipv6: dhcpv6: fix PD linklocal route for ipoe clientsVladislav Grishenko
peer linklocal address can't be negotiated in ipoe mode unlike ppp, so route may lead to nowhere with non-working PD routing as result. so, instead of guessing peer link-local address, use dhcpv6 client src address as the gateway. since dhcpv6 clients are onlink and there's no dhcpv6 relay support (yet), dhcpv6 source would be exactly final linklocal address, no matter ppp or ipoe is in use. fine tune commit abaa43a307fa7a790dd34034c5fd8013dbd0488c
2018-01-13ipv6: dhcpv6: route all PD via one linklocal gatewayVladislav Grishenko
2018-01-13ipv6: dhcpv6: fix serverid overflow lead do dhcpv6 malfunctionVladislav Grishenko
2018-01-13ipv6: consolidate and fix interface-id address generation for non-/128Vladislav Grishenko
2018-01-13ipv6: use macro for unspecified address ckeckingVladislav Grishenko
2017-12-29ipv6: ignore "unspecified address" (::/128)Dmitry Kozlov
2017-12-25ipv6: implemented special handling of /128 prefixesDmitry Kozlov
If prefix length is 128 then send RA with 64 prefix length and add point-to-point ipv6 address on interface
2017-12-05ipv6: nd: fix interface id addresses generation for prefixes > /64Vladislav Grishenko
2017-08-21dhcpv6: check if prefix_len equals 0, if so do not start dhcpv6 for this ↵Dmitry Kozlov
sessions
2016-07-11implemented support for network namespaceDmitry Kozlov
This is done using radius attribute NAS-Port-Id. The new format of this attribute is NAS-Port-Id=[ns/][name]. Namespaces must be created malually by "ip netns add ..." command
2016-04-30radius: add Delegated-IPv6-Prefix to accounting packetsDmitry Kozlov
2016-04-12ipv6: remove ipv6 address and routes on session terminationDmitry Kozlov
2016-03-31dhcpv6: fix typoDmitry Kozlov
2015-01-29ipv6: don't send NotOnLink for hint address (f.e. for address in Solicit ↵Dmitry Kozlov
message)
2014-12-01ipv6: if assigned prefix is <= 64 add it as address else add it as routeDmitry Kozlov
2014-11-21dhcpv6: do not answer to REBIND if client did not get address yetDmitry Kozlov
2014-11-05ipv6: move ipv6_dp from dhcpv6 private data to ap_sessionDmitry Kozlov
2014-07-24radius: exit from active interim request when termination event occuresDmitry Kozlov
2014-05-12triton: improved epoll events handlingDmitry Kozlov
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-29fix various typosKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-04-29dhcpv6: make SO_REUSEADDRKozlov Dmitry
2012-01-13set FD_CLOEXEC on opened file descriptorsKozlov Dmitry
2011-09-01dhcpv6: inplemented reply to rebindKozlov Dmitry
2011-08-30dhcpv6: implemented reply to Information-RequestKozlov Dmitry
2011-08-30dhcpv6: include missing rapid commit option to replyKozlov Dmitry
2011-08-30dhcpv6: rapid commit supportKozlov Dmitry
2011-08-30dhcpv6: ignore ::/0 addresses/prefixes in IA_NA/IA_PDKozlov Dmitry
2011-08-30dhcpv6: set T1/T2 fields in IA_NA/IA_PDKozlov Dmitry
2011-08-30dhcpv6: various improvmentsKozlov Dmitry
2011-08-29ipv6pool: implemented prefix delegation supportKozlov Dmitry
2011-08-29ipv6_dhcp: add routes to delegated prefixesKozlov Dmitry
2011-08-28ipv6_dhcp: code optimizationKozlov Dmitry
2011-08-28ipv6_dhcp: use NoPrefixAvail instead of NoAddrsAvail for IA_PDKozlov Dmitry
2011-08-28ipv6_dhcp: implemented DNS,DNSSL,IA_PD optionsKozlov Dmitry
2011-08-28ipv6: initial dhcpv6 supportKozlov Dmitry