<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/radius, branch 1.12</title>
<subtitle>High performance PPTP/L2TP/SSTP/PPPoE/IPoE server for Linux (mirror of https://github.com/marekm72/accel-ppp.git)
</subtitle>
<id>https://git.amelek.net/marekm72/accel-ppp.git/atom?h=1.12</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp.git/atom?h=1.12'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/'/>
<updated>2019-06-27T06:53:59+00:00</updated>
<entry>
<title>Update radius.c</title>
<updated>2019-06-27T06:53:59+00:00</updated>
<author>
<name>Eshenko Dmitriy</name>
<email>snooppy@mail.ua</email>
</author>
<published>2019-06-27T06:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=5e109c99a058ecf95370b8700c34ed841774a2da'/>
<id>urn:sha1:5e109c99a058ecf95370b8700c34ed841774a2da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bug after radius server recovery</title>
<updated>2019-05-10T07:24:06+00:00</updated>
<author>
<name>root</name>
<email>root@v111117.hosted-by-vdsina.ru</email>
</author>
<published>2019-05-10T07:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=fda5ea9713d52d101fcafe6a01de654d3dc7da55'/>
<id>urn:sha1:fda5ea9713d52d101fcafe6a01de654d3dc7da55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>radius: fixed bug (inserting empty Class)</title>
<updated>2019-03-08T09:48:41+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2019-03-08T09:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=fbac1573d3def4eef27e55272125242e5a1711e1'/>
<id>urn:sha1:fbac1573d3def4eef27e55272125242e5a1711e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>radius: specify gateway in iproute_del()</title>
<updated>2018-12-20T03:21:30+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-12-19T18:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=6355bfd7b832c17137ecaab3b779aaf2460651fd'/>
<id>urn:sha1:6355bfd7b832c17137ecaab3b779aaf2460651fd</id>
<content type='text'>
Be more specific about which route we want to remove. By not specifying
the gateway we could remove a different route than the one we
originally inserted.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>iputils: add 'src' and 'gw' parameters to iproute_del()</title>
<updated>2018-12-20T03:21:28+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-12-19T18:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=6f6f7f2efb9432efe7d3b4f749022da2cfc39fb3'/>
<id>urn:sha1:6f6f7f2efb9432efe7d3b4f749022da2cfc39fb3</id>
<content type='text'>
Rework iproute_del() to have the same parameters as iproute_add().
This will allow callers to specify more precisely the route they want
to delete.

Callers will later be converted to make use of these parameters to
ensure that the removed route precisely matches the one that was
originaly inserted.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>radius: implement Framed-IPv6-Route attribute</title>
<updated>2018-12-04T03:26:39+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-11-30T16:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=2e66e6a9e39b1e1b27a1b898efdd3a955bbf1d4e'/>
<id>urn:sha1:2e66e6a9e39b1e1b27a1b898efdd3a955bbf1d4e</id>
<content type='text'>
Framed-IPv6-Route is the IPv6 counterpart of Framed-Route. It's only
used for defining routes to be added locally by accel-ppp. Routes that
should be announced to the peer using Router Advertisements should be
defined in the Route-IPv6-Information attribute (but that's currently
not implemented).

Framed-IPv6-Route format is:
&lt;network in CIDR notation&gt; [&lt;gateway IPv6 address&gt; [&lt;route metric&gt;]]

The gateway address and the route metric are optionals, but the metric
can only be set if a gateway address is given. One can use the
unspecified address '::' to define a route with no gateway and a
non-default route metric.

When no gateway address is defined, the session's network interface is
used directly.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>ipcp: fix uninitialised memory access when negociating *-NBNS-Address</title>
<updated>2018-11-12T14:00:38+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-11-07T18:28:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=c3710b6bca55450339bd882207eaf180d5674dab'/>
<id>urn:sha1:c3710b6bca55450339bd882207eaf180d5674dab</id>
<content type='text'>
When handling the EV_WINS event, IPCP assumes that the -&gt;wins1 and
-&gt;wins2 fields of the event structure are properly set. But that may
not be the case.
If only one of the MS-Primary-NBNS-Server or MS-Secondary-NBNS-Server
RADIUS attributes was received, then only -&gt;wins1 or -&gt;wins2 is set,
while the other keeps a non initialised value. This uninitialised value
is then copied by ev_wins() and proposed to the peer when negociating
the Primary-NBNS-Address or Secondary-NBNS-Address IPCP options.
That leaks four bytes of the stack to the network and prevents using
the values found in the [wins] section of accel-ppp.conf as fallback.

Fix this by initialising the whole event structure in rad_proc_attrs().
Then, in ev_wins(), we can check if -&gt;wins1 or -&gt;wins2 is properly set
before copying them. That allows to propery fallback to accel-ppp.conf
values when one of the values was not provided by RADIUS.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>ipcp: fix uninitialised memory access when negociating *-DNS-Address</title>
<updated>2018-11-12T14:00:34+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-11-07T18:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=29b90105499d03957a63c0efb22a7852b2b1faa1'/>
<id>urn:sha1:29b90105499d03957a63c0efb22a7852b2b1faa1</id>
<content type='text'>
When handling the EV_DNS event, IPCP assumes that the -&gt;dns1 and -&gt;dns2
fields of the event structure are properly set. But that may not be the
case.
If only one of the MS-Primary-DNS-Server or MS-Secondary-DNS-Server
RADIUS attributes was received, then only -&gt;dns1 or -&gt;dns2 is set,
while the other keeps a non initialised value. This uninitialised value
is then copied by ev_dns() and proposed to the peer when negociating
the Primary-DNS-Address or Secondary-DNS-Address IPCP options.
That leaks four bytes of the stack to the network and prevents using
the values found in the [dns] section of accel-ppp.conf as fallback.

Fix this by initialising the whole event structure in rad_proc_attrs().
Then, in ev_dns(), we can check if -&gt;dns1 or -&gt;dns2 is properly set
before copying them. That allows to propery fallback to accel-ppp.conf
values when one of the values was not provided by RADIUS.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>radius: make radius.h self-contained</title>
<updated>2018-10-26T03:34:34+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-10-24T14:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=26d64e2cc9113f11aead582ed6048c52dc5d9055'/>
<id>urn:sha1:26d64e2cc9113f11aead582ed6048c52dc5d9055</id>
<content type='text'>
We need to include "list.h" to define 'struct list_head' and
&lt;netinet/in.h&gt; for 'in_addr_t' and 'struct in6_addr'.

Also, let's include "ap_session.h" so that we don't need a forward
declaration for 'struct ap_session'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>radius: initialize rad_attr_t::raw field on newly inserted attributes</title>
<updated>2018-04-12T15:26:55+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2018-04-12T15:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=1eaf9b4fc806c233e66a86e80705e1e580029599'/>
<id>urn:sha1:1eaf9b4fc806c233e66a86e80705e1e580029599</id>
<content type='text'>
</content>
</entry>
</feed>
