<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/triton/timer.c, branch sstp-alloc-invariant</title>
<subtitle>High performance PPTP/L2TP/SSTP/PPPoE/IPoE server for Linux (mirror of https://github.com/accel-ppp/accel-ppp.git)
</subtitle>
<id>https://git.amelek.net/accel-ppp/accel-ppp.git/atom?h=sstp-alloc-invariant</id>
<link rel='self' href='https://git.amelek.net/accel-ppp/accel-ppp.git/atom?h=sstp-alloc-invariant'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/'/>
<updated>2026-05-04T00:09:49+00:00</updated>
<entry>
<title>triton: encapsulate statistics counters</title>
<updated>2026-05-04T00:09:49+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-04-29T12:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=e5fe0eaa1fc6b1109db784e818e360159d8dd2ac'/>
<id>urn:sha1:e5fe0eaa1fc6b1109db784e818e360159d8dd2ac</id>
<content type='text'>
Group the Triton core statistics in struct triton_stat_t and keep the storage private to triton.c instead of exporting the writable triton_stat object through triton.h. This keeps ownership inside the Triton core while preserving the existing CLI and ACCEL-PPP-MIB counter semantics.

Route counter updates through triton_stat_*() helpers. Thread, context, md handler, timer, mempool, CPU, and start-time update paths no longer open-code direct triton_stat mutations; the update policy now lives beside the Triton-owned storage and uses relaxed atomic operations for the simple counters.

Make the CLI show-stat path render from a local snapshot and update statCore SNMP readers to use triton_stat_start_time() and triton_stat_cpu(). Out-of-tree modules that accessed the exported triton_stat object directly must switch to the new accessors, because triton_stat is no longer part of the public ABI.

Signed-off-by: Denys Fedoryshchenko &lt;denys.f@collabora.com&gt;
</content>
</entry>
<entry>
<title>triton: fix use after free in timer.c</title>
<updated>2022-03-04T12:12:58+00:00</updated>
<author>
<name>Gabriel Jeanneau</name>
<email>gabriel.jeanneau@6wind.com</email>
</author>
<published>2022-01-17T14:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=c66678018c1f111bb361c8f2069c67c725ec9e1c'/>
<id>urn:sha1:c66678018c1f111bb361c8f2069c67c725ec9e1c</id>
<content type='text'>
When using pppd_compat module, accel-ppp crash with SIGBUS on
spin_lock(&amp;t-&gt;ctx-&gt;lock) of timer_thread.

When a moduile call triton_timer_del, fd are close without taking into
account epoll function and without removing from polled fd list.

File descriptor are removed from polled fd list and then close in
timer_thread avoiding use after free.

Fixes: 5bac5a2edb7b ("rewriting triton library...")
Signed-off-by: Gabriel Jeanneau &lt;gabriel.jeanneau@6wind.com&gt;
</content>
</entry>
<entry>
<title>triton: small fixes</title>
<updated>2019-12-24T11:46:43+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2019-12-24T11:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=fe7c3a4b74b9f1ed57d22316069602acd4794265'/>
<id>urn:sha1:fe7c3a4b74b9f1ed57d22316069602acd4794265</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/accel-ppp/accel-ppp.git/commit/?id=81ca3923a29ea9b67f7291be23b210019546aa5f'/>
<id>urn:sha1:81ca3923a29ea9b67f7291be23b210019546aa5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>triton: make level triggered events oneshot (EPOLLONESHOT)</title>
<updated>2014-09-22T17:48:17+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-09-22T17:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=d36fc2b235ddaaa3fbb84a46ef520a0a207293df'/>
<id>urn:sha1:d36fc2b235ddaaa3fbb84a46ef520a0a207293df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>triton: fix possible race</title>
<updated>2014-05-18T21:21:19+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-05-18T21:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=c7ad0e5361df5dbca9c99c2d65b4d603f6475f6d'/>
<id>urn:sha1:c7ad0e5361df5dbca9c99c2d65b4d603f6475f6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix various typos</title>
<updated>2012-08-29T08:12:09+00:00</updated>
<author>
<name>Kozlov Dmitry</name>
<email>xeb@mail.ru</email>
</author>
<published>2012-08-27T08:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=36cc9c11a194be371dad562df8b2eff548586749'/>
<id>urn:sha1:36cc9c11a194be371dad562df8b2eff548586749</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix unterminated messages in core.log</title>
<updated>2011-01-28T12:44:46+00:00</updated>
<author>
<name>Kozlov Dmitry</name>
<email>dima@server</email>
</author>
<published>2011-01-28T12:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=e6d2aea48d3402fe2542ae6c055a607dd37a4bba'/>
<id>urn:sha1:e6d2aea48d3402fe2542ae6c055a607dd37a4bba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename accel-pptp to accel-ppp</title>
<updated>2011-01-05T12:18:59+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2011-01-05T12:18:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=f28cb1b0a926f1ea98700b7871537ad1793511fd'/>
<id>urn:sha1:f28cb1b0a926f1ea98700b7871537ad1793511fd</id>
<content type='text'>
</content>
</entry>
</feed>
