<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/ctrl/ipoe/dhcpv4.c, branch marekm72-patch-1-printf-h</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=marekm72-patch-1-printf-h</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp.git/atom?h=marekm72-patch-1-printf-h'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/'/>
<updated>2025-08-19T18:59:40+00:00</updated>
<entry>
<title>ci: add tests execution with asan and ubsan</title>
<updated>2025-08-19T18:59:40+00:00</updated>
<author>
<name>Sergey V. Lobanov</name>
<email>sergey@lobanov.in</email>
</author>
<published>2025-08-19T12:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=c1529bcf0f788ee61097a818fff3a8e27d473e61'/>
<id>urn:sha1:c1529bcf0f788ee61097a818fff3a8e27d473e61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: fix compile errors on GCC 14</title>
<updated>2024-08-27T22:41:58+00:00</updated>
<author>
<name>Sergey V. Lobanov</name>
<email>sergey@lobanov.in</email>
</author>
<published>2024-08-27T21:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=966c2bc8df039c67f4711ba9bb3f267fbd405c8d'/>
<id>urn:sha1:966c2bc8df039c67f4711ba9bb3f267fbd405c8d</id>
<content type='text'>
This patch fixes compile errors on GCC 14 like the following

/root/accel-ppp/accel-pppd/radius/packet.c: In function 'rad_packet_recv':
/root/accel-ppp/accel-pppd/radius/packet.c:142:72: error: passing argument 5 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types]
  142 |                         n = recvfrom(fd, pack-&gt;buf, REQ_LENGTH_MAX, 0, addr, &amp;addr_len);
      |                                                                        ^~~~
      |                                                                        |
      |                                                                        struct sockaddr_in *
In file included from /usr/include/netinet/in.h:10,
                 from /usr/include/arpa/inet.h:9,
                 from /root/accel-ppp/accel-pppd/radius/packet.c:10:
/usr/include/sys/socket.h:397:55: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *'

Reference: https://gcc.gnu.org/gcc-14/porting_to.html
</content>
</entry>
<entry>
<title>ipoe: add dhcp link selection sub-option</title>
<updated>2023-06-05T14:08:51+00:00</updated>
<author>
<name>Philippe Guibert</name>
<email>philippe.guibert@6wind.com</email>
</author>
<published>2022-12-29T14:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=61e31c591e10326630ec9297c50b2dd8d04602c1'/>
<id>urn:sha1:61e31c591e10326630ec9297c50b2dd8d04602c1</id>
<content type='text'>
Add the support of DHCP option 82 "Agent Information" sub-option 5
"link selection". The IPv4 value can be specified in the [ipoe]
"link-selection" configuration option.

Link: https://www.rfc-editor.org/rfc/rfc3527.html
Signed-off-by: Philippe Guibert &lt;philippe.guibert@6wind.com&gt;
Signed-off-by: Louis Scalbert &lt;louis.scalbert@6wind.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #64 from volodymyrhuti/master</title>
<updated>2022-11-01T10:09:01+00:00</updated>
<author>
<name>Eshenko Dmitriy</name>
<email>dmitriy.eshenko@vyos.io</email>
</author>
<published>2022-11-01T10:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=adfc132b96a4fbfb3a10f49e04e15c6669abf11d'/>
<id>urn:sha1:adfc132b96a4fbfb3a10f49e04e15c6669abf11d</id>
<content type='text'>
T72: Fix compilations warnings for unaligned variable access</content>
</entry>
<entry>
<title>T72: Fix compilations warnings for unaligned variable access</title>
<updated>2022-10-22T12:11:29+00:00</updated>
<author>
<name>Volodymyr Huti</name>
<email>volodymyr.huti@gmail.com</email>
</author>
<published>2022-10-13T11:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=6e5f9980a8a71015a228279e07970621d23c7b35'/>
<id>urn:sha1:6e5f9980a8a71015a228279e07970621d23c7b35</id>
<content type='text'>
- IPoE/DHCP4: Specify minimal suitable alignment explicitly.
  We need to guarantee 2 byte alignment for the `hdr` pointer in
    `ip_csum(uint16_t *buf)` calculation
- PPPOE: Suppress false-positive warning for `sockaddr_pppox`.
  Similiar issue: https://github.com/kernelslacker/trinity/pull/40
- Introduce tmp variables to avoid alignment issues for SSTP/DHCPv6

For additional details:
https://phabricator.accel-ppp.org/T72

Signed-off-by: Volodymyr Huti &lt;v.huti@vyos.io&gt;
</content>
</entry>
<entry>
<title>Add missing dhcp end option on dhcp notify packet</title>
<updated>2022-05-09T13:33:38+00:00</updated>
<author>
<name>cygnusb</name>
<email>cygnusb@users.noreply.github.com</email>
</author>
<published>2022-01-26T15:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=82d0c48d48fa54573d1dbdaf7a69da41d8ba87af'/>
<id>urn:sha1:82d0c48d48fa54573d1dbdaf7a69da41d8ba87af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipoe: dhcpv4: fix address lost due signed overflow</title>
<updated>2021-07-09T17:40:00+00:00</updated>
<author>
<name>Vladislav Grishenko</name>
<email>themiron@mail.ru</email>
</author>
<published>2021-07-09T17:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=2224396d8d184e2c267a9958408e0606541e9d0b'/>
<id>urn:sha1:2224396d8d184e2c267a9958408e0606541e9d0b</id>
<content type='text'>
fixes a1a2b79240511222868a60960d51f12adbe0d7d4
</content>
</entry>
<entry>
<title>ipoe: T41: Fix address range shifting</title>
<updated>2021-06-16T08:54:31+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>snooppy@mail.ua</email>
</author>
<published>2021-06-16T08:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=a1a2b79240511222868a60960d51f12adbe0d7d4'/>
<id>urn:sha1:a1a2b79240511222868a60960d51f12adbe0d7d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipoe: use destination address from IP header as server_id if not sent in dhcp request header</title>
<updated>2021-04-30T08:53:47+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2021-04-30T08:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=b1ca6157c6fcd93966e115f113a032a42f77843d'/>
<id>urn:sha1:b1ca6157c6fcd93966e115f113a032a42f77843d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipoe: add option 54 (server-id) to DHCPNAK</title>
<updated>2021-01-10T11:25:00+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2021-01-10T11:25:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=49ef6cf969f662c44f4be2b82b101273c8c6de71'/>
<id>urn:sha1:49ef6cf969f662c44f4be2b82b101273c8c6de71</id>
<content type='text'>
</content>
</entry>
</feed>
