<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp-xebd.git/accel-pppd/auth, branch 1.12.0</title>
<subtitle>High performance PPTP/L2TP/PPPoE/IPoE server for Linux (mirror of https://github.com/marekm72/accel-ppp-xebd.git)
</subtitle>
<id>https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=1.12.0</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/'/>
<updated>2018-11-27T06:56:56+00:00</updated>
<entry>
<title>auth: remove .recv_conf_req from struct ppp_auth_handler_t</title>
<updated>2018-11-27T06:56:56+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-11-19T16:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=9de2460f922eba2c8e0ace09be5f42e74a0f0ff7'/>
<id>urn:sha1:9de2460f922eba2c8e0ace09be5f42e74a0f0ff7</id>
<content type='text'>
This callback isn't used anymore. Let's remove it from all
authentication backends.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>auth: fix re-authentication of peer in all chap modules</title>
<updated>2018-03-24T06:41:38+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-03-21T17:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=10ede239609e41e259be9c38932e33f7dc74bd8a'/>
<id>urn:sha1:10ede239609e41e259be9c38932e33f7dc74bd8a</id>
<content type='text'>
If the peer re-authenticates (because of option conf_interval) and pwdb
calls auth_result(), we may add the interval timer again to the session
context. This crashes accel-ppp when deleting the session, because the
interval timer is removed only once and the superfluous timers are
still running. Therefore, when removing the context, triton detects
this issue and calls abort().

To fix this, we need to detect if the session is already started and
just send a CHAP Success message in this case.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>auth: avoid sending duplicate CHAP Failure messages in mschap-v1 and mschap-v2</title>
<updated>2018-03-24T06:41:22+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-03-21T17:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=29c626683ea1aa6136360a6afcc6a053d0342a3d'/>
<id>urn:sha1:29c626683ea1aa6136360a6afcc6a053d0342a3d</id>
<content type='text'>
When pwdb returns PWDB_NO_IMPL and chap_recv_response() performs the
authentication itself, it delegates this task to chap_check_response().
This function sends a CHAP Failure message if it can't retrieve the
password, but not in case of password mismatch. Since
chap_recv_response() already sends a CHAP Failure message on error,
the one sent by chap_check_response() is useless.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>auth: fix missing CHAP Success message in chap-md5</title>
<updated>2018-03-24T06:41:01+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-03-21T17:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=5da833d512870bfb4d39741df2bec7fad2969ebd'/>
<id>urn:sha1:5da833d512870bfb4d39741df2bec7fad2969ebd</id>
<content type='text'>
When pwdb returns PWDB_NO_IMPL, then chap_recv_response() tries to
authenticate the peer itself. If this authentication succeeds but the
session is already started (in case of re-authentication, with option
conf_interval), no CHAP Success is sent.

This patch sends the missing CHAP Success message in this case, so that
the peer knows that its response has been received and accepted, and
that no retransmission is required.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>ppp_auth: fixed possible use after free</title>
<updated>2016-03-04T19:08:17+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-03-04T19:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=3fa9e6ad35c7768ccba7381599119656b18e5eb9'/>
<id>urn:sha1:3fa9e6ad35c7768ccba7381599119656b18e5eb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove trailing whitespaces</title>
<updated>2014-11-22T05:56:40+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-11-22T05:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=81ca3923a29ea9b67f7291be23b210019546aa5f'/>
<id>urn:sha1:81ca3923a29ea9b67f7291be23b210019546aa5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed compilation warnings</title>
<updated>2014-09-22T09:12:36+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-09-22T09:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=fb1f7723afe46d696ba62597909066fea42bfaec'/>
<id>urn:sha1:fb1f7723afe46d696ba62597909066fea42bfaec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rewrite of authentication/accounting procedures</title>
<updated>2014-09-20T08:18:49+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-09-20T08:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=62e89248160d3592c2d754fcaa15e37586a5b091'/>
<id>urn:sha1:62e89248160d3592c2d754fcaa15e37586a5b091</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>auth: do not decrement id on retransmit</title>
<updated>2014-07-11T10:29:41+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-07-11T10:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=1cc4499b0244ccd82c2f99d1a2c3ff6632bd5b40'/>
<id>urn:sha1:1cc4499b0244ccd82c2f99d1a2c3ff6632bd5b40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ppp: auth: answer "Success" to retrasmitted messages if auth layer is already started</title>
<updated>2014-07-09T14:05:54+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-07-09T14:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=a35ddd5d7184f4d285d5070ee9dda157687b2e9f'/>
<id>urn:sha1:a35ddd5d7184f4d285d5070ee9dda157687b2e9f</id>
<content type='text'>
</content>
</entry>
</feed>
