summaryrefslogtreecommitdiff
path: root/accel-pppd/auth
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-04-09 21:43:12 +0200
committerDmitry Kozlov <xeb@mail.ru>2013-04-17 09:06:35 +0400
commit9ec0d6beda4249ca0483e461bd5fb361f7a28efa (patch)
tree62ab757c015542c1a235d957109aeda692d51a1c /accel-pppd/auth
parentb041db6c60fb80846ad6b6770adc3971e41b2194 (diff)
downloadaccel-ppp-9ec0d6beda4249ca0483e461bd5fb361f7a28efa.tar.gz
accel-ppp-9ec0d6beda4249ca0483e461bd5fb361f7a28efa.zip
l2tp: Full hidden AVPs support
Add option "hide-avps" in the "l2tp" section for hiding attributes sent to peer. This same option is also made available on accel-ppp's command line interface: accel-ppp# tunnel create tunnel peer-addr 192.0.2.1 hide-avps 1 Attribute hiding is performed upon attribute creation (in the l2tp_packet_add_*() functions family) rather than upon packet sending. This avoid running the cipher for every retransmission; the counterpart is that l2tp_packet_print() can't dump original attributes of hidden AVPs. Currently, only one random vector is used for all hidden AVPs in a packet. This is easily extensible though, as the 'last_RV' field in struct l2tp_packet_t may be overridden to use new vectors for next AVPs. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/auth')
0 files changed, 0 insertions, 0 deletions