<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp-xebd.git/accel-pppd/include, branch 1.12.0</title>
<subtitle>High performance PPTP/L2TP/PPPoE/IPoE server for Linux (mirror of https://github.com/marekm72/accel-ppp-xebd.git)
</subtitle>
<id>https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=1.12.0</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/'/>
<updated>2018-10-26T03:34:34+00:00</updated>
<entry>
<title>vlan_mon: make vlan_mon.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:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=1d1beab8c25713f8c8880b4d32c266e9d9e1a337'/>
<id>urn:sha1:1d1beab8c25713f8c8880b4d32c266e9d9e1a337</id>
<content type='text'>
We need to include &lt;stdint.h&gt; to define 'uint16_t'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>core: make ap_net.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:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=1ec00737da2b5792e78bb1a8578aee7952a2bdf2'/>
<id>urn:sha1:1ec00737da2b5792e78bb1a8578aee7952a2bdf2</id>
<content type='text'>
We need to include &lt;sys/socket.h&gt; to define 'socklen_t', &lt;sys/types.h&gt;
for 'ssize_t' and "list.h" for 'struct list_head'.

Also, let's include "libnetlink.h" so that we don't need a forward
declaration for 'struct rtnl_handle'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>connlimit: make connlimit.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:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=b7b9b190b6d36d1f96a51d2791ffdc9f4e937c39'/>
<id>urn:sha1:b7b9b190b6d36d1f96a51d2791ffdc9f4e937c39</id>
<content type='text'>
We need to include &lt;stdint.h&gt; to define 'uint*_t' and &lt;string.h&gt; for
'memcpy'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>backup: make ap_session_backup.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:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=83435c81924bfca036d41abb2e88b48c075649d9'/>
<id>urn:sha1:83435c81924bfca036d41abb2e88b48c075649d9</id>
<content type='text'>
We need to include &lt;netinet/in.h&gt; to define 'struct in6_addr' and
&lt;stdint.h&gt; for 'uint8_t'.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>radius: implemented lua support</title>
<updated>2017-10-17T20:33:44+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-10-17T20:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=405a4d8de0048aa77d09380b33a3f06149d16765'/>
<id>urn:sha1:405a4d8de0048aa77d09380b33a3f06149d16765</id>
<content type='text'>
to get radius object use session:module("radius") function
radius object provides flollowing functions:
radius:attrs() - returns array of attributes {"name" = NAME, "vendor" = VENDOR|nil}
radius:attr(name[,vendor]) - returns value of attribute (may return multiple results)

Example:
function ip_up(ses)
  rad = ses:module("radius")
  attrs = rad:attrs()
  if attrs then
      print("attrs:")
      for _,a in pairs(attrs) do
	  io.write("\t")
	  if a.vendor then io.write(a.vendor..":") end
	  io.write(a.name.."=")
	  print(rad:attr(a.name, a.vendor))
      end
  end
end
</content>
</entry>
<entry>
<title>lua: implemented "session" module that provides session object to be passed to lua scripts</title>
<updated>2017-10-16T13:53:52+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-10-16T12:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=55694075e77a4c70f99b97175d839bd556f9f1b4'/>
<id>urn:sha1:55694075e77a4c70f99b97175d839bd556f9f1b4</id>
<content type='text'>
session object consists of following functions:
ifname() - interface name
ifindex() - interface ifindex
sid() - Acct-Session-ID
uptime() - session uptime in seconds
username()
ctrl_type() - type of session (pppt/pppoe/l2tp/ipoe)
calling_sid() - Calling-Station-ID
called_sid() - Called-Station-ID
ipv4() - retuns pair (peer address, local address)
ipv6() - ipv6 address or nil
rx_bytes()
tx_bytes()
</content>
</entry>
<entry>
<title>improved lua support</title>
<updated>2017-10-13T20:59:55+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-10-13T20:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=ec3d2f2942172d79fe74a01f5c980873e01ff5dd'/>
<id>urn:sha1:ec3d2f2942172d79fe74a01f5c980873e01ff5dd</id>
<content type='text'>
Implemented support for lua 5.2/5.3.
To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this).
Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0.
Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
</content>
</entry>
<entry>
<title>implemented session count limiting</title>
<updated>2017-04-18T18:22:06+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-04-18T17:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=a596ef53a689f0ecbf24d0043a4ad571cc8a4bf3'/>
<id>urn:sha1:a596ef53a689f0ecbf24d0043a4ad571cc8a4bf3</id>
<content type='text'>
new config option:
[common]
max-sessions=N

If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
</content>
</entry>
<entry>
<title>Revert "implemented session count limiting"</title>
<updated>2017-04-18T18:21:37+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-04-18T18:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=bf4fabd6c50a34d4223bdc78be9e852720f71bba'/>
<id>urn:sha1:bf4fabd6c50a34d4223bdc78be9e852720f71bba</id>
<content type='text'>
This reverts commit 88a908974b0b2e9c7eee8ad9a8b0b4432e95d167.
</content>
</entry>
<entry>
<title>implemented session count limiting</title>
<updated>2017-04-18T17:42:32+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-04-18T17:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=88a908974b0b2e9c7eee8ad9a8b0b4432e95d167'/>
<id>urn:sha1:88a908974b0b2e9c7eee8ad9a8b0b4432e95d167</id>
<content type='text'>
new config option:
[common]
max-sessions=N

If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
</content>
</entry>
</feed>
