<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/net.c, branch 1.14.0</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=1.14.0</id>
<link rel='self' href='https://git.amelek.net/accel-ppp/accel-ppp.git/atom?h=1.14.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/'/>
<updated>2021-12-20T15:00:32+00:00</updated>
<entry>
<title>T55: add netlink buffer size configuration parameters</title>
<updated>2021-12-20T15:00:32+00:00</updated>
<author>
<name>Sergey V. Lobanov</name>
<email>sergey@lobanov.in</email>
</author>
<published>2021-12-20T15:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=5249bf6428e70aa489aa9b8c44b16935c391a7fe'/>
<id>urn:sha1:5249bf6428e70aa489aa9b8c44b16935c391a7fe</id>
<content type='text'>
Netlink buffers may overflow so it might be useful to increase send and receive
netlink buffer sizes.
Two parameters to [common] configuration section added: nl-rcv-buffer,
nl-snd-buffer.

It is required to set (sysctl) net.core.wmem_max&gt;=nl-snd-buffer and
net.core.rmem_max&gt;=nl-rcv-buffer before running accel-pppd

To check current netlink buffer size and related info use the following command:

% ss -f netlink -m
0 0 rtnl:kernel * skmem:(r0,rb212992,t0,tb212992,f0,w0,o0,bl0,d0)
0 0 rtnl:-1140221812 * skmem:(r0,rb2048000,t0,tb80000,f0,w0,o0,bl0,d0)
0 0 rtnl:accel-pppd/14285 * skmem:(r0,rb2048000,t0,tb65536,f0,w0,o0,bl0,d0)
...

(Please check man ss to get the meaning for r,rb,t,tb,f,w,o,bl and d params)

In the ss output you will see the values doubled from configured.

First accel-pppd netlink socket will use default values (rcv=1048576, snd=32768)
regardless of configured nl-rcv-buffer and nl-snd-buffer values.

Signed-off-by: Sergey V. Lobanov &lt;sergey@lobanov.in&gt;
</content>
</entry>
<entry>
<title>vrf: T10: Add VRF support</title>
<updated>2021-12-16T20:03:52+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>dmitriy.eshenko@vyos.io</email>
</author>
<published>2021-12-10T16:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=737bf4d8b6e9e1bf50be69e8c99028bb2696190c'/>
<id>urn:sha1:737bf4d8b6e9e1bf50be69e8c99028bb2696190c</id>
<content type='text'>
Co-authored-by: Sergey V. Lobanov &lt;svlobanov@users.noreply.github.com&gt;
Co-authored-by: Vladislav Grishenko &lt;themiron@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Move debug print to proper place</title>
<updated>2021-03-16T12:34:06+00:00</updated>
<author>
<name>[anp/hsw]</name>
<email>sysop@880.ru</email>
</author>
<published>2021-03-16T12:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=2785d81ec848ebb920c8a612b4eae7876a619a18'/>
<id>urn:sha1:2785d81ec848ebb920c8a612b4eae7876a619a18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T13: Fix build procedure</title>
<updated>2020-04-07T19:59:43+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>snooppy@mail.ua</email>
</author>
<published>2020-04-07T19:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=681299ec22c38c4cb121904238d4d327bfa1498d'/>
<id>urn:sha1:681299ec22c38c4cb121904238d4d327bfa1498d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: new function get_ifindex</title>
<updated>2020-03-18T08:07:38+00:00</updated>
<author>
<name>Simon Chopin</name>
<email>s.chopin@alphalink.fr</email>
</author>
<published>2020-02-28T10:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=f5b1c3f98bf082d4ecf57e8f2e3c61fc993d80e7'/>
<id>urn:sha1:f5b1c3f98bf082d4ecf57e8f2e3c61fc993d80e7</id>
<content type='text'>
The index of a given interface is an operation that highly depends on
the network namespace we're in. This patch simply cuts out a function to
get the index for a given interface name from the session initialization
code, and expose it in the ap_net structure.

This function can then be used to refresh the index when moving
interfaces around.

Signed-off-by: Simon Chopin &lt;s.chopin@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>check for setns availability</title>
<updated>2016-07-19T13:22:57+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-07-19T13:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=5af337d4bd95ba001527f1a298f4594ad643f57b'/>
<id>urn:sha1:5af337d4bd95ba001527f1a298f4594ad643f57b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: code cleanup</title>
<updated>2016-07-14T17:33:48+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-07-14T17:33:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=69ddf69d08072819deb3adde2be28f613f92cac3'/>
<id>urn:sha1:69ddf69d08072819deb3adde2be28f613f92cac3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix def_move_link</title>
<updated>2016-07-14T17:33:12+00:00</updated>
<author>
<name>François Cachereul</name>
<email>f.cachereul@alphalink.fr</email>
</author>
<published>2016-07-12T13:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=52912d5b9980bb11b611d8668da9449e34830887'/>
<id>urn:sha1:52912d5b9980bb11b611d8668da9449e34830887</id>
<content type='text'>
Do not know how this could work. It make more sense to move an interface
from its original namespace not from its destination.

Signed-off-by: François Cachereul &lt;f.cachereul@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>implemented support for network namespace</title>
<updated>2016-07-11T06:47:04+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-07-11T06:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=e0cca4344f70b9c9e23e3c6a7e17c8e93c765184'/>
<id>urn:sha1:e0cca4344f70b9c9e23e3c6a7e17c8e93c765184</id>
<content type='text'>
This is done using radius attribute NAS-Port-Id. The new format of this attribute is NAS-Port-Id=[ns/][name].
Namespaces must be created malually by "ip netns add ..." command
</content>
</entry>
<entry>
<title>preparation for DPDK intergation (part 6)</title>
<updated>2016-04-15T14:24:10+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2016-04-15T13:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/accel-ppp/accel-ppp.git/commit/?id=b80e64a320b22c0e966ec1e42bda4929d5a748ec'/>
<id>urn:sha1:b80e64a320b22c0e966ec1e42bda4929d5a748ec</id>
<content type='text'>
</content>
</entry>
</feed>
