summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-04build: Set ACCEL_PPP_VERSION in top level cmake fileGuillaume Nault
Move definition of ACCEL_PPP_VERSION from /accel-pppd/CMakeLists.txt to /CMakeLists.txt so that it gets visible by any cmake file. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-04Integrate accel-cmd with accel-ppp's build processGuillaume Nault
Create a CMakeLists.txt file for accel-cmd so that it gets compiled and installed like accel-pppd. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-04Add manpage for accel-cmdGuillaume Nault
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-04New client for the cli module (tcp)Guillaume Nault
accel-cmd is a small program that reads commands from its command line or standard input and sends them to accel-ppp (using the tcp interface of the cli module). It displays accel-ppp's result on standard output. accel-cmd automatically appends the "exit" command to its command list, so that accel-pppd will disconnect after sending its replies. By default accel-cmd connects to localhost:2001. Examples: Send the "show sessions" command to accel-ppp and display the result: $ accel-cmd show sessions Execute commands from file "cmds" and display the results to stdout: $ accel-cmd < cmds Same as above, but use a different host and timeout after 1.5 seconds of inactivity: $ accel-cmd --timeout 1500ms --host accelppp.example.com < cmds Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-01-24update debian contribKozlov Dmitry
2013-01-22fix typo LIB_SIFFIX -> LIB_SUFFIXKozlov Dmitry
2013-01-11Merge branch '1.7' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
2013-01-11Fix boolean options parsing in configuration fileGuillaume Nault
Explicitely interpret zero values when parsing boolean options. This allows to unset boolean parameters such as "verbose" when reloading the configuration. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-12-26cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIXKozlov Dmitry
2012-12-26Revert "Pass proper pointer to rad_packet_find_attr"Kozlov Dmitry
This reverts commit d16b78813da8b69aafd13ca5086850a5d27a871e.
2012-12-26Proper logging of LCP Magic-NumbersAleksey Zhukov
2012-12-26Do not segfault on RADIUS failures during interimAleksey Zhukov
2012-12-26Pass proper pointer to rad_packet_find_attrAleksey Zhukov
2012-12-14l2tp: Fix allocation checking when adding octets AVPGuillaume Nault
l2tp_packet_add_octets() performs a malloc on the "octets" field of the L2TP attribute, but checks the "string" field for allocation failure. Though these fields should be equivalent in this case, the "octets" field should be logically checked instead of "string". Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-12-14cli, tcp: Fix non-NULL terminated string receptionGuillaume Nault
NULL terminate commands received in cln_read(). This ensures that the processing loop can safely call strchr(), or any other string handling functions. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-12-14Fix va_end() missing callsGuillaume Nault
A few va_start() calls aren't followed by their corresponding va_end(). This patch adds the missing va_end() calls. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-12-071.7.3 releaseKozlov Dmitry
* fixed various bugs in cli * fixed l2tp connection problem from android * implemented chap-secrets encryption * implemented NBNS (WINS) support
2012-12-07auth_pap: make messages like other auth modulesKozlov Dmitry
2012-11-27cli: check xmit_buf is not null at enter to write functionKozlov Dmitry
2012-11-20pppoe: implemented regular expression supportKozlov Dmitry
2012-11-20chap-secrets: implemented encryptionKozlov Dmitry
2012-11-16ippool: fixed initialization orderKozlov Dmitry
2012-11-16optional shaper compilingVladislav Grishenko
2012-11-16ppp: dns/wins code cleanupVladislav Grishenko
2012-11-12Merge branch '1.7' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
2012-11-12Fix lcp echo with verbose parameterRostyslav Davydenko
2012-11-12ppp: add NBNS (WINS) supportVladislav Grishenko
2012-11-12Revert "ppp: force to send dns"Kozlov Dmitry
This reverts commit 1c89473d04c74e224546c596608f227dcd77518b.
2012-11-03pppd_compat: set rpath to locate depending librariesKozlov Dmitry
2012-11-03cli: fix 'show sessions match' without enough argumentsKozlov Dmitry
2012-11-02cli: fix double buffer freeKozlov Dmitry
2012-11-01cli: terminate username: check for username is not NULLKozlov Dmitry
2012-11-01fix build with glibc-2.16Alexei Takaseev
2012-11-01Merge branch '1.7' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
2012-11-01ppp: force to send dnsKozlov Dmitry
2012-09-07l2tp: send ZLB when duplicate packet is received and retransmit queue is emptyKozlov Dmitry
2012-09-061.7.2 releaseKozlov Dmitry
* fixed connection dropping when mppe=prefer and user rejects ccp * improved tunnel termination (l2tp) * fixed sending incorrect magic in lcp echo request * fixed various typos * gather interface statistics via netlink
2012-09-05add missing netlink libraryKozlov Dmitry
2012-09-05Fix format string errorsGuillaume Nault
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-09-05Add compilation checks for printf-style format stringsGuillaume Nault
Append the format() __attribute__ to function prototypes which use a format string. This allows GCC to check for consistency between the format string and its arguments when these functions are called. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-09-05gather interface statistics via netlinkKozlov Dmitry
2012-08-27fix various typosKozlov Dmitry
2012-08-27fix typo (successed -> succeeded)Kozlov Dmitry
2012-08-23L2TP: Tear down tunnel when peer stops listeningGuillaume Nault
Stop sending messages on tunnels for which no peer is listening. Discard retransmissions too. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-13lcp: fixed sending incorrect magic in lcp echo requestKozlov Dmitry
2012-08-03Merge branch '1.7' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
2012-08-03l2tp: stop hello timer on session terminationKozlov Dmitry
l2tp: rertansmit last packet if duplicate packet received
2012-08-03Merge branch '1.7' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
2012-08-03ppp: don't drop connection when mppe=prefer and user rejects ccpKozlov Dmitry
2012-07-30make worker stack size configurableKozlov Dmitry