<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/libnetlink/iputils.h, branch stable</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=stable</id>
<link rel='self' href='https://git.amelek.net/accel-ppp/accel-ppp.git/atom?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/'/>
<updated>2022-11-01T08:51:34+00:00</updated>
<entry>
<title>Use 64-bit interface statistics rather than doing custom 32-bit overflow handling.</title>
<updated>2022-11-01T08:51:34+00:00</updated>
<author>
<name>Stephan Brunner</name>
<email>s.brunner@stephan-brunner.net</email>
</author>
<published>2022-11-01T08:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=ffe3a1337c1380a5b79651b34037c6c9f66b9ea1'/>
<id>urn:sha1:ffe3a1337c1380a5b79651b34037c6c9f66b9ea1</id>
<content type='text'>
When a link has a relatively high throughput, the 32-bit packet and byte counters could overflow multiple times between accounting runs.
To accommodate this limitation, directly use 64-bit interface statistics.
This also gets rid of the internal giga-word counters.
</content>
</entry>
<entry>
<title>iputils: add 'src' and 'gw' parameters to iproute_del()</title>
<updated>2018-12-20T03:21:28+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-12-19T18:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=6f6f7f2efb9432efe7d3b4f749022da2cfc39fb3'/>
<id>urn:sha1:6f6f7f2efb9432efe7d3b4f749022da2cfc39fb3</id>
<content type='text'>
Rework iproute_del() to have the same parameters as iproute_add().
This will allow callers to specify more precisely the route they want
to delete.

Callers will later be converted to make use of these parameters to
ensure that the removed route precisely matches the one that was
originaly inserted.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>libnetlink: add gateway and priority parameters to ip6route_*()</title>
<updated>2018-12-04T03:26:35+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-11-30T16:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=896b7ae69c33721d70837202257d3674d22fe465'/>
<id>urn:sha1:896b7ae69c33721d70837202257d3674d22fe465</id>
<content type='text'>
Let callers set a gateway and a priority to IPv6 routes. This is
necessary for implementing the RADIUS Framed-IPv6-Route attribute.

Also let ip6route_del() configure .rtm_protocol. This is already
implemented in ip6route_add(), so we need to add the ip6route_del()
counterpart. Otherwise, we couldn't delete routes that were added using
a non-zero protocol.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>iputils: make iputils.h self-contained</title>
<updated>2018-10-26T03:34:34+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-10-24T14:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=7ba8d8d091a16fe2513b2a472ef87a20fc41f39f'/>
<id>urn:sha1:7ba8d8d091a16fe2513b2a472ef87a20fc41f39f</id>
<content type='text'>
We need to include &lt;stdint.h&gt; to define 'uint32_t' and &lt;netinet/in.h&gt;
for 'in_addr_t' and 'struct in6_addr'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>ifcfg: assign p-t-p address if mask=32 and regular address in other cases</title>
<updated>2018-05-25T09:44:41+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2018-05-25T09:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=fd996b7dc4464bbfccafaa4ba52246258fc4ae89'/>
<id>urn:sha1:fd996b7dc4464bbfccafaa4ba52246258fc4ae89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ifcfg: assign address using ipaddr_add_peer instead SIOCSIFADDR/SIOCSIFDSTADDR</title>
<updated>2018-05-25T07:38:02+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2018-05-25T07:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=969ba07f29a93180a0a8a6e94dc4205a5b6cf531'/>
<id>urn:sha1:969ba07f29a93180a0a8a6e94dc4205a5b6cf531</id>
<content type='text'>
</content>
</entry>
<entry>
<title>radius: add support for route priority (metric) in Framed-Route</title>
<updated>2018-02-21T19:25:20+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2018-02-20T17:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=8ab2f623fa1d11a2aaec35226cb7a1456fc257d8'/>
<id>urn:sha1:8ab2f623fa1d11a2aaec35226cb7a1456fc257d8</id>
<content type='text'>
Let an optional route priority (aka metric) be defined in RADIUS
Framed-Route attributes.
The priority is an integer placed at the end of the route string. This
is backward compatible with the previous format and also conforms with
the recommended format defined by RFC 2865 (although we don't allow
multiple metrics).

Framed-Route format is:
&lt;network&gt; [&lt;gateway&gt; [&lt;priority&gt;]]

For example, 'Framed-Route = "192.0.2.0/24 203.0.113.1 8"' will let
the following route be installed (assuming 203.0.113.1 is routed
through eth0):
$ ip route show
[...]
192.0.2.0/24 via 203.0.113.1 dev eth0 metric 8

It's possible to use the unspecified gateway (0.0.0.0) if one wants to
set a priority without specifying a gateway address.

Finally, route deletion now also takes the priority into account, in
order to avoid removing a different route accidentally.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>libnetlink: added ip6addr_add_peer function</title>
<updated>2017-12-25T14:52:37+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-12-25T14:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=2369a4f0049e91dc62914693bea104b3fc54f557'/>
<id>urn:sha1:2369a4f0049e91dc62914693bea104b3fc54f557</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libnetlink: added function iplink_set_mtu</title>
<updated>2017-09-25T14:51:44+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-09-25T14:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=2d6a28574b93875d8ca5577f447d886cc60c0b1a'/>
<id>urn:sha1:2d6a28574b93875d8ca5577f447d886cc60c0b1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipoe: fixed nat support</title>
<updated>2016-12-08T15:19:01+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-12-08T15:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=fc33b4c6ec83533d35db3626887fb5156478bca3'/>
<id>urn:sha1:fc33b4c6ec83533d35db3626887fb5156478bca3</id>
<content type='text'>
</content>
</entry>
</feed>
