<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp-xebd.git/accel-pppd/extra, branch 1.12</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</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=1.12'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/'/>
<updated>2019-05-15T15:01:30+00:00</updated>
<entry>
<title>ippool: exclude gw-ip-address from address pool</title>
<updated>2019-05-15T15:01:30+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2019-05-15T15:01:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=35b6d11f2ec6884c5ef1385d1cf2dbd7e3745420'/>
<id>urn:sha1:35b6d11f2ec6884c5ef1385d1cf2dbd7e3745420</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pppd_compat: write human readable values of IPv6 address to radattr file</title>
<updated>2019-05-15T14:57:26+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2019-05-15T14:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=27614ed5f76827d34e76af6848336c4f425972d1'/>
<id>urn:sha1:27614ed5f76827d34e76af6848336c4f425972d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ippool: always initialize mask = 0</title>
<updated>2019-03-08T12:27:17+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2019-03-08T12:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=965380a641575d545087f456f3d45e73cae06417'/>
<id>urn:sha1:965380a641575d545087f456f3d45e73cae06417</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pppd_compat: fix handling of fork() failures</title>
<updated>2018-11-03T06:04:40+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-10-22T10:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=142c943721615020bca80de4c69e6bbf574529aa'/>
<id>urn:sha1:142c943721615020bca80de4c69e6bbf574529aa</id>
<content type='text'>
When accel-ppp is under stress (for example because of massive
disconnections) it may enter a state where no session could be
created or destroyed anymore.

This happens when at least one of the pppd_compat fork() fail. In this
case, the error code path doesn't unlock the sigchld handler, which
prevents it from running the completion callbacks of running scripts.
If the "fork-limit" option is used, failure to call the completion
callback will prevent other scripts from running. This will block
setting up and tearing down sessions, as those will wait indefinitely
for their pppd_compat scripts to run.

Therefore, we have to unlock the sigchld handler when fork() fails.
We also need to call fork_queue_wakeup(), because the previous
check_fork_limit() call already took one reference in the fork limit.

Finally, ev_ses_pre_up() is a bit special because it has to tear the
session down if the ip-pre-up script failed. Therefore it also has to
call ap_session_terminate() upon fork() failures.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/xebd/accel-ppp</title>
<updated>2018-10-26T03:34:59+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2018-10-26T03:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=363ac4b5603e0f18d1e1e3e8466a3983b88ce375'/>
<id>urn:sha1:363ac4b5603e0f18d1e1e3e8466a3983b88ce375</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix gateway address setup fail due memory corruption</title>
<updated>2018-10-25T00:16:55+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2018-10-25T00:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=603800151415c69ceb3c9d986ef0c3487817cb67'/>
<id>urn:sha1:603800151415c69ceb3c9d986ef0c3487817cb67</id>
<content type='text'>
log:
 libnetlink: RTNETLINK answers: Invalid argument
 ppp0: f7bb00a79ef667d2: failed to set IPv4 address: Invalid argument

ipaddr_add_peer() called only with mask equeal 0 or 32, but w/o
zero-allocated structs it contans garbage in some cases.
so, instead ipaddr_add() was called with wrong mask value.
also, init chap-secrets mask for the same reason.
</content>
</entry>
<entry>
<title>ipv6: fix IPv6 processing of sessions that only have only a link-local address</title>
<updated>2018-10-23T06:44:45+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-10-22T10:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=7103ae4d8b24b171f5321894a9bb045d018f0f40'/>
<id>urn:sha1:7103ae4d8b24b171f5321894a9bb045d018f0f40</id>
<content type='text'>
Several modules assume that if ses-&gt;ipv6 is set, then
ses-&gt;ipv6-&gt;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 &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/code</title>
<updated>2018-07-31T14:09:29+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2018-07-31T14:09:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=15a3f6941ca8d1bfaf2e0f09cc3fa9edb8fd5c4f'/>
<id>urn:sha1:15a3f6941ca8d1bfaf2e0f09cc3fa9edb8fd5c4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pppd_compat: fix indentation in ev_radius_coa()</title>
<updated>2018-06-24T17:19:10+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-06-21T07:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=6c514056471dfdf030d69fb9fda443047a8cc964'/>
<id>urn:sha1:6c514056471dfdf030d69fb9fda443047a8cc964</id>
<content type='text'>
Missing tab was misleading.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>pppd_compat: run scripts in the PPP device netns</title>
<updated>2018-06-24T17:19:08+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-06-21T07:52:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=34c5d1fd9f567e921618f7e70a813d476be2faef'/>
<id>urn:sha1:34c5d1fd9f567e921618f7e70a813d476be2faef</id>
<content type='text'>
If the PPP device is set up into a specific network namespace, all the
configuration that goes with it belongs to this same netns. Therefore,
we need to run the up/down scripts in that namespace too.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
</feed>
