If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

0
U

Property:l2tpv3d (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> l2tpv3d (avmcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name l2tpv3d!
l2tpv3d (avmcmd) Layer 2 tunneling protocol v3 daemon.
l2tpv3d (process) Layer 2 tunneling protocol v3 daemon.
l2tpv3d (watchdog) Layer 2 tunneling protocol v3 daemon.

AVM-Command

Goto:   Endpoints  -  Events  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

todo

l2tpv3d announces the l2tpv3 UPnP root device via SSDP which is described by l2tpv3.xml.
The description l2tpv3.xml is dynamically created by preprocessing the l2tpv3-template.xml.

fw 7.29 help:

root@fritz2:/var/mod/root# l2tpv3d -?

usage: l2tpv3d l2tpv3d [options]

options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/l2tpv3d.pid")
  -t                 - protocol test (simulate drops,duplicates,...). (NOTSET)
  -C                 - client mode: find server via upnp. (NOTSET)
  -h STRING          - client test mode: connect to host <INADDR>. (FUNC)
  -S                 - server mode: announcing via upnp. (NOTSET)
  -c                 - cisco mode. (NOTSET)
  -R STRING          - Remote End Ids. (FUNC)
  -D STRING          - switch debug logs on. (FUNC)

start server:   l2tpv3d
stop server :   l2tpv3d -s

Endpoints

aicmd endpoint(s) provided by l2tpv3d, with these functions: (fw 7.29)

root@fritz2:/var/mod/root# aicmd l2tpv3d

# provided by l2tpv3d: - fw 7.29+

HELP                                     - show help
SLABDUMP                                 - show slab allocation
SLABSHOW                                 - show slab information
QUIT                                     - disconnect

l2tpv3dump                               - dump l2tpv3 infos

# provided by libavmupnp.so / libavmupnpbig.so: - fw 7.29+

upnpapicli show devices                  - show upnp devices
upnpapicli show targets                  - show searched targets

# provided by libewnwlinux.so: - fw 7.01+

ewnwlinux show csockshell                - show shells running
ewnwlinux show genetlink                 - show gerneric netlink families

# provided by libavmcsock.so: - fw 7.01+

avmcsock show csock                      - show all csock
avmcsock show dnsconfig                  - show all dns context
avmcsock show timercb                    - show all timer
avmcsock show debughandles               - show all debughandles
avmcsock show cprocess                   - show all processes
avmcsock set debug                       - set debug flags

# provided by libavmcsock.so: - fw 7.29+

avmcsock show cbcontext                  - show all cbdata
avmcsock show daemon                     - show daemon status
avmcsock show cbuf                       - show cbuf status

# provided by libavmcsock.so: - fw 7.39+

avmcsock getsymbol <address>             - get symbol for address
avmcsock show dnsglobal                  - show all dns global values
avmcsock show dnscache                   - show cache
avmcsock show dnsqueries                 - show all pending queries
avmcsock show avmipc [endpoint shmatch]  - show avmipc events and states
avmcsock ctimer show                     - show all timer
avmcsock ctimer overview                 - show ctimer overview
avmcsock iotrace format unctrl|hexdump   - set format for csock iotrace
avmcsock iotrace file                    - enable iotrace to file
avmcsock iotrace enable                  - enable iotrace via debugmsg
avmcsock iotrace disable                 - disable iotrace
avmcsock iotrace match help|<match>      - show allowed matches or set match
avmcsock iotrace reset                   - remove all matches
avmcsock iotrace show                    - show configuration

msgsend endpoint(s) provided by l2tpv3d, with these functions: (endpoints + commands, collected manually)

l2tpv3d dump      # from supportdata and supportdata_argo.nw

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2022-12-07 06:40 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Netlink family NETLINK_GENERIC 9** 7.39 Generic Netlink (genetlink) family for simplified netlink usage (#16) Linux
Multicast group AVMGGRP_NLCTRL_NOTIFY 9** 7.39 Notification about changes in subscribed genetlink groups AVM
Netlink family NETLINK_ROUTE 9** 7.39 Communication channel between routing dæmons and the kernel packet forwarding (#0) Linux
Multicast group RTMGRP_IPV4_IFADD 10** 6.04 - 7.39 IPv4 address change of a Network-Interface Linux
Multicast group RTMGRP_IPV4_ROUTE 10** 6.04 - 7.39 IPv4 Routing Table change Linux
Multicast group RTMGRP_IPV6_IFADDR 10** 6.04 - 7.39 IPv6 address change of a Network-Interface Linux
Multicast group RTMGRP_IPV6_ROUTE 10** 6.04 - 7.39 IPv6 Routing Table change Linux
Multicast group RTMGRP_LINK 10** 6.04 - 7.39 Creation / deletion or up / down change of a Network-Interface. Linux
Multicast group RTMGRP_NOTIFY 9** 7.39 Enable notification about changes in subscribed rtnetlink groups Linux
Multicast group RTMGRP_TC 9** 7.39 Packet Scheduler Traffic Control change Linux
Endpoint sock me_L2TPV3.ctl 59* 6.03 - 7.50 avmipc endpoint of l2tpv3d AVM
Listens to avmipc @ 13** 7.29 - 7.39 Special event for listeners of nameless private messages. AVM
Endpoint sock me_l2tpv3d.ctl 79* 6.00 - 7.50 avmipc_command endpoint of l2tpv3d AVM
Listens to avmipc @ 20** 7.12 - 7.39 Special event for listeners of nameless private messages. AVM
Listens to avmipc aicmd_listener 19** 7.29 - 7.39 Special event covering all aicmd compatible listeners. AVM
Listens to avmipc l2tpv3cfg 21** 7.01 - 7.39 State of the L2TPv3 tunneling in JSON format. AVM
16 event relations for this command

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /sbin/l2tpv3d | grep -e '\.c$' -e '\.cpp$'

ar7/l2tpv3/l2tpv3d.c
ar7/l2tpv3/l2tpv3.c
ar7/l2tpv3/l2tpv3_upnp_srv.c
ar7/l2tpv3/l2tpv3_upnp_cli.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2022-12-07 07:21 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv l2tpv3d.service 27 7.39 - 7.50 supervisor service for l2tpv3d. AVM
Runs as proc l2tpv3d (process) 79* 6.00 - 7.50 Layer 2 tunneling protocol v3 daemon. AVM
Registers wdog l2tpv3d (watchdog) 65* 6.20 - 7.50 Layer 2 tunneling protocol v3 daemon. AVM
Serving port Port-1900-udp 89* 5.04 - 7.50 SSDP - Simple Service Discovery Protocol (discovery of UPnP devices) AVM
Serving sock me_L2TPV3.ctl 59* 6.03 - 7.50 avmipc endpoint of l2tpv3d AVM
Serving sock me_l2tpv3d.ctl 79* 6.00 - 7.50 avmipc_command endpoint of l2tpv3d AVM
Depends on lib ld.so 40 7.08 - 7.39 Dynamic linker / loader Linux
Depends on lib libavmauth.so 69 6.51 - 7.50 Fritzbox authentification helpers AVM
Depends on lib libavmcsock.so 88 5.55 - 7.50 Networking, I/O and helper functions AVM
Depends on lib libavmfbstate.so 27 7.39 - 7.50 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 88 5.55 - 7.50 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmupnpbig.so 88 5.56 - 7.50 TODO Linux
Depends on lib libboxlib.so 87 5.55 - 7.31 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 1 6.35 boxnotifyd client API (old) AVM
Depends on lib libc.so 88 5.55 - 7.50 Standard C library Linux
Depends on lib libdl.so 74 5.55 - 7.39 Dynamic linking library Linux
Depends on lib libdputil.so 71 6.35 - 7.31 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 88 5.55 - 7.50 Linux networking functions AVM
Depends on lib libewnwnet.so 71 6.35 - 7.31 Internet helper functions AVM
Depends on lib libgcc_s.so 40 5.55 - 6.110 GCC low-level runtime library Linux
Depends on lib libhtmltemplate.so 72 6.35 - 7.50 Template preprocessor for HTML / XML markup AVM
Depends on lib libl2tpv3d.so 69 6.51 - 7.50 Layer 2 tunneling protocol v3 AVM
Depends on lib libmxml.so 72 6.35 - 7.50 Mini-XML parser / generator Linux
Depends on lib libpthread.so 74 5.55 - 7.39 POSIX threading library Linux
Depends on lib librt.so 58 6.35 - 7.39 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 51 7.19 - 7.50 supervisor control library AVM
Depends on lib libupnpdev.so 88 5.56 - 7.50 UPnP root device helper library AVM
Depends on lib libwdt.so 88 5.55 - 7.50 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 19 7.39 - 7.50 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 72 6.35 - 7.50 HTTP / HTTPS webserver and tools. AVM
Depends on lib libz.so 63 6.83 - 7.50 Zlib compressor / decompressor Linux
31 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2022-12-07 05:56 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3272 5.59 - 6.88 /sbin 76.3k - 81.5k
FRITZ!Box WLAN 3370 5.59 - 6.55 /sbin 77.3k - 77.7k
FRITZ!Box 3390 5.59 - 6.55 /sbin 77.3k - 77.7k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 72.9k - 88.4k
FRITZ!Box 4020 6.27 - 7.02 /sbin 72.9k - 77.7k
FRITZ!Box 4040 6.69 - 7.39 /sbin 56.4k - 66.7k
FRITZ!Box 4060 7.26 - 7.39 /sbin 66.6k - 66.7k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 72.9k - 88.4k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 72.9k - 88.4k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /sbin 88.3k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.30 /sbin 66.5k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /sbin 59.8k
FRITZ!Box 6320 Cable v2 6.21 /sbin 63.8k
FRITZ!Box 6360 Cable 6.04 - 6.51 /sbin 59.8k - 63.8k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.29 /sbin 63.2k - 70.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 63.2k - 70.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /sbin 63.2k - 78.6k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.39 /sbin 63.2k - 78.6k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /sbin 63.2k - 78.6k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /sbin 63.2k - 78.6k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /sbin 63.5k - 78.8k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /sbin 63.5k - 78.8k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /sbin 63.1k - 78.8k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /sbin 63.1k - 78.8k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.39 /sbin 70.6k - 78.8k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.39 /sbin 70.6k - 78.8k
FRITZ!Box 6810 LTE 6.03 - 6.34 /sbin 77.3k - 77.6k
FRITZ!Box 6820 LTE v1 6.40 - 7.29 /sbin 72.9k - 88.4k
FRITZ!Box 6820 LTE v2 6.40 - 7.29 /sbin 72.9k - 88.4k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /sbin 88.4k
FRITZ!Box 6840 LTE 6.01 - 6.87 /sbin 76.3k - 77.7k
FRITZ!Box 6842 LTE 6.01 - 6.34 /sbin 77.3k - 77.5k
FRITZ!Box 6850 LTE 7.21 - 7.39 /sbin 62.7k - 88.3k
FRITZ!Box 6850 5G 7.24 - 7.39 /sbin 66.6k - 66.7k
FRITZ!Box 6890 LTE 6.84 - 7.39 /sbin 72.9k - 88.3k
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /sbin 72.9k - 88.3k
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /sbin 72.9k - 88.3k
FRITZ!Box Fon WLAN 7240 6.01 - 6.04 /sbin 77.3k
FRITZ!Box Fon WLAN 7270 v2 5.59 - 6.04 /sbin 77.3k
FRITZ!Box Fon WLAN 7270 v3 5.59 - 6.04 /sbin 77.3k
FRITZ!Box 7272 5.59 - 6.88 /sbin 76.3k - 81.5k
FRITZ!Box 7312 6.01 - 6.30 /sbin 77.3k - 77.5k
FRITZ!Box Fon WLAN 7320 6.01 - 6.34 /sbin 77.3k - 77.5k
FRITZ!Box 7330 5.59 - 6.30 /sbin 77.3k - 77.6k
FRITZ!Box 7330 SL 5.59 - 6.30 /sbin 77.3k - 77.5k
FRITZ!Box Fon WLAN 7340 6.01 - 6.06 /sbin 77.1k - 78.0k
FRITZ!Box Fon WLAN 7360 SL 5.60 - 6.34 /sbin 77.3k - 77.6k
FRITZ!Box Fon WLAN 7360 v1 5.60 - 6.35 /sbin 77.3k - 77.6k
FRITZ!Box Fon WLAN 7360 v2 5.59 - 6.87 /sbin 76.3k - 77.7k
FRITZ!Box 7362 SL 5.60 - 7.13 /sbin 72.9k - 84.2k
FRITZ!Box 7369 6.30 - 6.32 /sbin 77.6k
FRITZ!Box Fon WLAN 7390 6.00 - 6.87 /sbin 37.3k - 81.5k
FRITZ!Box 7412 6.21 - 6.87 /sbin 76.3k - 77.7k
FRITZ!Box 7430 6.26 - 7.29 /sbin 72.9k - 88.4k
FRITZ!Box 7490 (main) 5.58 - 7.39 /sbin 72.9k - 101k
FRITZ!Box 7510 7.30 /sbin 66.5k
FRITZ!Box 7520 6.98 - 7.29 /sbin 56.4k - 66.6k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.31 /sbin 66.6k
FRITZ!Box 7530 6.93 - 7.39 /sbin 56.3k - 66.7k
FRITZ!Box 7530 AX 7.20 - 7.39 /sbin 62.9k - 70.8k
FRITZ!Box 7560 6.51 - 7.29 /sbin 72.9k - 88.3k
FRITZ!Box 7580 6.51 - 7.29 /sbin 72.9k - 88.3k
FRITZ!Box 7581 6.83 - 7.16 /sbin 59.3k - 66.7k
FRITZ!Box 7582 6.83 - 7.16 /sbin 59.3k - 66.7k
FRITZ!Box 7583 7.01 - 7.31 /sbin 72.9k - 88.3k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 88.3k
FRITZ!Box 7590 6.83 - 7.50 /sbin 72.9k - 88.3k
FRITZ!Box 7590 AX 7.19 - 7.39 /sbin 84.5k - 88.3k
FRITZ!WLAN Repeater 300E 6.00 - 6.33 /sbin 77.3k - 77.8k
FRITZ!WLAN Repeater 310 A 6.00 - 7.15 /sbin 72.9k - 84.2k
FRITZ!WLAN Repeater 310 B 6.30 - 7.15 /sbin 73.0k - 84.2k
FRITZ!WLAN Repeater 450E 6.00 - 7.14 /sbin 72.9k - 84.2k
FRITZ!Repeater 600 7.11 - 7.29 /sbin 72.4k - 84.2k
FRITZ!Repeater 600 v2 7.19 - 7.30 /sbin 72.4k
FRITZ!WLAN Repeater 1160 6.51 - 7.14 /sbin 73.0k - 84.2k
FRITZ!Repeater 1200 7.11 - 7.29 /sbin 66.5k - 66.6k
FRITZ!Repeater 1200 AX 7.27 - 7.39 /sbin 66.5k - 66.7k
FRITZ!WLAN Repeater 1750E 6.12 - 7.30 /sbin 72.9k - 88.4k
FRITZ!Repeater 2400 7.12 - 7.39 /sbin 68.6k - 84.2k
FRITZ!Repeater 3000 6.98 - 7.39 /sbin 56.4k - 66.7k
FRITZ!Repeater 3000 AX 7.39 - 7.41 /sbin 62.7k - 66.7k
FRITZ!Repeater 6000 7.19 - 7.39 /sbin 66.5k - 66.7k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.02 /sbin 72.9k - 77.8k
FRITZ!Powerline 540E 5.58 - 7.14 /sbin 72.9k - 84.2k
FRITZ!Powerline 546E 6.02 - 7.10 /sbin 72.9k - 84.2k
FRITZ!Powerline 1240E 6.33 - 7.14 /sbin 73.0k - 84.2k
FRITZ!Powerline 1260E 6.90 - 7.29 /sbin 56.4k - 66.6k
FRITZ!Powerline 1260 7.08 - 7.29 /sbin 66.5k - 66.6k
88 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2022-12-07 07:21 GMT.

Firmware Symbol
5.58 - 7.50 l2tp_disconnect_by_remote_end_id
5.58 - 7.50 l2tp_enable_protocoltest
5.58 - 7.50 l2tp_exit
5.58 - 7.50 l2tp_infomsg
6.10 - 7.31 l2tp_nl_init
5.58 - 7.50 l2tp_session_count
6.10 - 7.50 l2tp_session_create
6.10 - 7.50 l2tp_session_delete
5.58 - 7.50 l2tp_set_stat_changed_cb
5.58 - 7.50 l2tp_show_all
5.58 - 7.50 l2tp_shutdown
6.10 - 7.50 l2tp_tunnel_create
6.10 - 7.50 l2tp_tunnel_delete
5.58 - 6.60 l2tpcfg_buf2cfg
5.58 - 6.60 l2tpcfg_free
5.58 - 7.50 l2tpclient_connect
5.58 - 7.50 l2tpclient_connectcisco
5.58 - 7.50 l2tpclient_init
5.58 - 7.50 l2tpserver_add_remote_end_id
5.58 - 7.50 l2tpserver_del_remote_end_id
5.58 - 7.50 l2tpserver_init
5.58 - 6.60 l2tpstat_dump_begin
5.58 - 6.60 l2tpstat_dump_commit
5.58 - 6.60 l2tpstat_dump_server
5.58 - 6.60 l2tpstat_dump_session
5.58 - 6.60 l2tpstat_dump_state
5.58 - 7.50 l2tpv3_dump_stat
5.58 - 6.60 l2tpv3_mode2str
5.58 - 7.50 main
5.58 - 7.50 upnpclient_l2tpv3_fixed_server_changed
5.58 - 7.50 upnpclient_l2tpv3_start
5.58 - 7.50 upnpclient_l2tpv3_stop
5.58 - 7.50 upnpclient_l2tpv3_walk_servers
5.58 - 7.50 upnpserver_l2tpv3_set_remote_end_ids
5.58 - 7.50 upnpserver_l2tpv3_start
5.58 - 7.50 upnpserver_l2tpv3_stop
36 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.