<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/ctrl, branch sstp-ppposeq</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-ppposeq</id>
<link rel='self' href='https://git.amelek.net/accel-ppp/accel-ppp.git/atom?h=sstp-ppposeq'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/'/>
<updated>2026-08-02T20:06:01+00:00</updated>
<entry>
<title>sstp: add ppposeq transport to avoid userspace HDLC framing</title>
<updated>2026-08-02T20:06:01+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2026-07-30T10:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=f2606293c1007aa68a8bcf1e92ae3d64e250eadb'/>
<id>urn:sha1:f2606293c1007aa68a8bcf1e92ae3d64e250eadb</id>
<content type='text'>
A pty is a byte stream, so the tty flip buffer merges frames written
back to back and sstp has to re-delimit them with async HDLC escaping
and a CRC-16 FCS. On a 1452-byte payload that is ~3600 ns per frame,
most of it spent on the FCS.

PPPOSEQ is a pppox protocol whose socket is the ppp endpoint itself,
so one datagram is one frame and no framing is needed at all. The
same payload takes ~380 ns per frame, about 9 times less. Requires
kernel 2.6.37, the first with PX_MAX_PROTO 3, whose remaining slot
it claims.
Supported kernels are from 2.6.37 to 7.2.

The new ppp-mode option selects the transport; auto, the default,
falls back to async when the module is unavailable, so hosts with
prebuilt kernels are unaffected.

PPP_SYNC is removed, being disabled and unfixable over a pty: frame
boundaries cannot be recovered from the stream, and coalescing cannot
be prevented since frames arrive from the network stack.
</content>
</entry>
<entry>
<title>sstp: enforce standard http replies w/o body</title>
<updated>2026-08-02T15:08:11+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2026-08-02T14:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=4ac0b4f396825441042ecfbbb3850ce765ae3686'/>
<id>urn:sha1:4ac0b4f396825441042ecfbbb3850ce765ae3686</id>
<content type='text'>
fixes http client warnings (curl):
    &lt; HTTP/1.1 404 Not Found
    &lt; Date: Sun, 02 Aug 2026 14:05:21 GMT
    * no chunk, no close, no size. Assume close to signal end
</content>
</entry>
<entry>
<title>sstp: flush queued output on disconnect</title>
<updated>2026-08-02T14:36:00+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2026-07-26T10:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=cbc1527ec446dcaa5b338db1f34d5789a162115c'/>
<id>urn:sha1:cbc1527ec446dcaa5b338db1f34d5789a162115c</id>
<content type='text'>
Drain out_queue to the stream in sstp_disconnect before closing, so a
queued response is sent before the connection is torn down. Best-effort,
non-blocking, via a sstp_flush() helper that mirrors sstp_write.

Fixes: 635ab1b7
</content>
</entry>
<entry>
<title>Revert "Fixes the issue #124 HTTP replay for non SSTP query"</title>
<updated>2026-08-02T14:36:00+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2026-07-26T09:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=e9df37a8518548a6de415909eb90466d7a836f5e'/>
<id>urn:sha1:e9df37a8518548a6de415909eb90466d7a836f5e</id>
<content type='text'>
Reverts 635ab1b7, e7a03684, 382b02b6, 4fbba471 on
accel-pppd/ctrl/sstp/sstp.c:

  - http_send_response: sstp_send(buf) || sstp_write(&amp;hnd) -&gt; sstp_send(buf)
  - http_handler: drop the r/return 1 path
  - sstp_read: drop else if (n &gt; 0) return 1
  - remove the sstp_write forward decl
</content>
</entry>
<entry>
<title>sstp: express escape buffer bound as one invariant</title>
<updated>2026-07-26T08:19:24+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2026-07-26T08:19:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=fd2cd2bce6328264ce9cb9bc371d7349319724a8'/>
<id>urn:sha1:fd2cd2bce6328264ce9cb9bc371d7349319724a8</id>
<content type='text'>
(size + PPP_FCSLEN) * 2 + 2 equals 8b781b94's size*2 + 2 + PPP_FCSLEN*2
but can't collapse back to the 1801847a under-allocating form.
</content>
</entry>
<entry>
<title>ipoe: fix username string leak on early session teardown</title>
<updated>2026-07-06T22:15:06+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-07-06T22:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=e12b38501be622c9c8e030de86a28721d797e542'/>
<id>urn:sha1:e12b38501be622c9c8e030de86a28721d797e542</id>
<content type='text'>
The ipoe-level ses-&gt;username always holds an allocated string
(_strdup of ifname/calling-station-id, u_inet_ntoa buffer or lua
result), but ipoe_session_free() never released it. Ownership is
normally transferred in auth_result() via ap_session_set_username(),
so the string was leaked whenever a session died before auth_result()
ran: termination while starting, PWDB_WAIT never completing, or
ipoe_create_interface() failure.

The create-interface failure path also leaked the freshly allocated
local copy outright, since it returned before the string was stored
anywhere.

Store the string in ses-&gt;username as soon as it is obtained and free
it in ipoe_session_free(). auth_result() clears ses-&gt;username before
handing ownership to ap_session_set_username(), so no double free is
possible.

Reported-by: Louis Scalbert (#101)
</content>
</entry>
<entry>
<title>ipoe: fix dhcpv4 relay reply packet leak</title>
<updated>2026-07-06T22:15:06+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-07-06T22:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=7a7ab323158a63f222698f85179090e3b6030b96'/>
<id>urn:sha1:7a7ab323158a63f222698f85179090e3b6030b96</id>
<content type='text'>
dhcpv4_relay_read() takes a reference on the reply packet for every
registered listener context and hands it over via triton_context_call().
The receiving ipoe_ses_recv_dhcpv4_relay() consumes that reference by
storing the packet in ses-&gt;dhcpv4_relay_reply, but the early-return
branch taken when the original request is already gone dropped the
reference without freeing the packet.

This leaks one packet every time a relay reply races with the request
being released, which happens regularly on busy relay-mode deployments.

Reported-by: Louis Scalbert (#101)
</content>
</entry>
<entry>
<title>pppoe: fix use-after-free in mac_filter_load()</title>
<updated>2026-07-06T08:28:53+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-07-06T08:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=2ba4437b88dc54ebc5dea6ba1c2007b9cd4aa0e0'/>
<id>urn:sha1:2ba4437b88dc54ebc5dea6ba1c2007b9cd4aa0e0</id>
<content type='text'>
When a mac-filter file line contained an octet &gt; 255, the error path freed
the entry but kept writing to it and linked it into mac_list. Validate all
octets before allocating so invalid lines are skipped entirely.

This is not considered a security vulnerability: the mac-filter file can
only be configured by an administrator with access to the daemon config,
or the CLI, both of which require privileged access.

Fixes #307

Signed-off-by: Denys Fedoryshchenko &lt;denys.f@collabora.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #323 from nuclearcat/stability-fixes</title>
<updated>2026-06-23T15:58:26+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-06-23T15:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=5787a45a952c021f697b31abe0063013912d7c8b'/>
<id>urn:sha1:5787a45a952c021f697b31abe0063013912d7c8b</id>
<content type='text'>
Stability fixes</content>
</entry>
<entry>
<title>Merge pull request #315 from nuclearcat/khedor-fixes</title>
<updated>2026-06-23T15:33:09+00:00</updated>
<author>
<name>Denys Fedoryshchenko</name>
<email>denys.f@collabora.com</email>
</author>
<published>2026-06-23T15:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=6a2dfa19254637ac8d844550d9bd36b7467c181f'/>
<id>urn:sha1:6a2dfa19254637ac8d844550d9bd36b7467c181f</id>
<content type='text'>
Several bugfixes for problems reported by Khodor Tahech </content>
</entry>
</feed>
