summaryrefslogtreecommitdiff
path: root/accel-pppd/cli/show_sessions.c
AgeCommit message (Collapse)Author
2021-12-17T54: Use get_stats function to prevent garbage in countersDmitriyEshenko
2021-12-16vrf: T10: Add VRF supportDmitriyEshenko
Co-authored-by: Sergey V. Lobanov <svlobanov@users.noreply.github.com> Co-authored-by: Vladislav Grishenko <themiron@users.noreply.github.com>
2021-10-05Fixed typos in cli help.soup
2019-01-19ipoe/cli: fix build warningsVladislav Grishenko
2018-10-23cli: add network namespace column in "show sessions"Guillaume Nault
Define a new column, called "netns", that prints the network namespace in which sessions are set. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-10-23ipv6: fix IPv6 processing of sessions that only have only a link-local addressGuillaume Nault
Several modules assume that if ses->ipv6 is set, then ses->ipv6->addr_list contains at least one element. But this is not true if ipv6 was allocated by the pseudo ipdb backend of ipv6cp (ipv6cp_opt_intfid.c). That is, if the PPP session only has an automatic link-local address. This leads modules like pppd-compat and dhcpv6 to access invalid memory when trying to retrieve the IPv6 address of a PPP session. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-01-13updated default config fileDmitry Kozlov
2018-01-13cli: show sessions: added uptime-raw columnt to print uptime in secondsDmitry Kozlov
2017-10-16move build_ip6_addr function to ipdb.cDmitry Kozlov
2017-09-25cli: introduced ip6 and ip6-dp fields in "show sessions" commandDmitry Kozlov
2015-11-30cli: show sesisons: introduced rx-bytes-raw,tx-bytes-raw fieldsDmitry Kozlov
2015-11-30cli: show sesisons: introduced rx-bytes,rx-pkts,tx-bytes,tx-pkts fieldsDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry Kozlov
2013-02-17cli: Add the sessions-columns configuration optionGuillaume Nault
Define the "sessions-columns" option (in the [cli] section) to let the user select the default set of columns that will be displayed by the "show sessions" command. Unrecognised column names are silently discarded. Configuration example: [cli] telnet=127.0.0.1:2000 password=secret sessions-columns=ifname,ip,username Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-17cli: Fix "show sessions" if no column to displayGuillaume Nault
Gracefully handle the case where no column has been selected for the "show sessions" command. Such situation will be possible once the set of default displayed columns will be made configurable from accel-ppp.conf. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-01-24cli: show properly comp fieldKozlov Dmitry
2013-01-24merge upstreamKozlov Dmitry
2013-01-24move 'comp' field from struct ppp_t to struct ap_sessionroot
Conflicts: accel-pppd/ctrl/openvpn/openvpn.c
2012-08-29add 'ppp' filed to CTRL to identify ppp sessionsKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-05-14cli: add 'comp' field to 'show sessions' to indicate compression/encryption ↵Kozlov Dmitry
method
2012-01-20cli: fix 'show sessions match'Kozlov Dmitry
2011-08-23ppp: ipv6: multiple prefixes, route option, rdnss option implementationKozlov Dmitry
2011-06-03cli:show sessions: fixed bug when match or order key is not in field list to ↵Kozlov Dmitry
show
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-01-13cli: show sessions: initialize buffer to zero if username is still emptyDmitry Kozlov
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov