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 years. Please use hippie2000@webnmail.de instead.
Property:pcpd (avmcmd)
BoxMatrix >> Shell-Commands >> pcpd (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 | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Name-Collision - multiple objects in this wiki use the name pcpd!
|
AVM-Command
Command: | pcpd (avmcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /sbin Lab+Rel: /sbin | ||||||
Properties: | Size: 16.4k - 37.8k - Firmware: 6.10 - 8.00 | ||||||
Function: | Port Control Protocol (PCP) daemon. |
Goto: Endpoints - Events - Logs - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
fw 7.29 help:
root@fritz2:/var/mod/root# pcpd -? usage: pcpd pcpd [options] options: -? - print this help -f - run in forground. (NOTSET) -s - stop daemon. (NOTSET) -v - verbose. (NOTSET) -I - send pcpd a SIGHUP. (NOTSET) -p STRING - Pidfile. ("/var/run/pcpd.pid") -i STRING - interface to work on. ("lan") -m INTEGER - maximum lifetime. (600) -D STRING - switch debug logs on. (FUNC) start server: pcpd stop server : pcpd -s
Endpoints
aicmd endpoint(s) provided by pcpd, with these functions: (fw 7.29)
root@fritz2:/var/mod/root# aicmd pcpd # provided by pcpd: - fw 6.88+ HELP - show help SLABDUMP - show slab allocation SLABSHOW - show slab information QUIT - disconnect show clients - show clients show fwacl - show fwacl # provided by libavmpcp.so: - fw 7.29+ libavmpcp show pcpinfo - show pcpinfo # provided by libewnwlinux.so: - fw 7.01+ ewnwlinux show csockshell - show shells running ewnwlinux show genetlink - show gerneric netlink families # provided by libewnwlinux.so: - fw 7.90+ ewnwlinux netlink show - show internal information ewnwlinux netlink getroute [address] - get route for inet address ewnwlinux netlink interfaces - show interfaces ewnwlinux netlink routes [ 4 | 6 ] - show routes # 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 # provided by libavmcsock.so: - fw 7.90+ avmcsock show signals - show signal handler avmcsock show connector [cache|stats] - show connector information avmcsock show clogger - show clogger information avmcsock set clogmod [ <module> [ '.' <submodule ] ... ] [ '=' <level> ] - set clogmod log level avmcsock slab check - red zone/free check avmcsock slab reap [heavy] - call slab_reap/slab_reap_heavy avmcsock slab dump [long] - show slab allocation avmcsock slab show - show slab information avmcsock slab ewma [show|activate|deactivate|reset] - show average allocates/freed per second avmcsock avmipc notifier [endpoint shmatch] - show registered notifier avmcsock avmipc set [endpoint shmatch] - show states/events sent avmcsock avmipc csv [endpoint shmatch] - show states/events sent and listing as csv
msgsend endpoint(s) provided by pcpd, with these functions: (endpoints + commands, collected manually)
-a pcpd "" # from showpcpinfo 7.57
Logs
This is a subset of the Temp-Files section, filtered for logfiles of pcpd:
Daily updated index of all pcpd logfiles found scanning Supportdata-Probes. Last update: 2024-12-21 07:02 GMT.
The label (temp)
in the Logfile
column shows there are other objects in this wiki using this name.
The Mod
column shows the amount of models using the respective logfile. Click the column header to sort by this number.
Logfile | Mod | Firmware | Description | Path | Size/Bytes | Type | Origin |
---|---|---|---|---|---|---|---|
.srb_pcpd | 28 | 6.50 - 7.90 | shringbuf log for pcpd | /var | 4.0k | AVM | |
1 logfiles |
Events
Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-12-10 05:13 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 | 1** | 7.29 | Generic Netlink (genetlink) family for simplified netlink usage (#16) | Linux |
Multicast | group | AVMGGRP_GENETLINK_ALL | 2** | 6.87 - 6.88 | Hackish way to subscribe to all genetlink groups | AVM |
Multicast | group | AVMGGRP_L2TP | 9** | 7.01 - 7.51 | Interface of the L2TP tunneling server l2tpv3d | AVM |
Multicast | group | AVMGGRP_NLCTRL_NOTIFY | 12** | 7.01 - 7.51 | Notification about changes in subscribed genetlink groups | AVM |
Multicast | group | AVMGGRP_THERMAL_EVENT | 1** | 7.29 | TODO | AVM |
Multicast | group | AVMGGRP_UNKNOWN_0001 | 2** | 7.29 - 7.30 | TODO | AVM |
Multicast | group | AVMGGRP_UNKNOWN_0008 | 1** | 7.29 | TODO | AVM |
Netlink | family | NETLINK_ROUTE | 16** | 7.01 - 7.51 | Communication channel between routing dæmons and the kernel packet forwarding (#0) | Linux |
Multicast | group | RTMGRP_IPV4_IFADD | 19** | 6.55 - 7.51 | IPv4 address change of a Network-Interface | Linux |
Multicast | group | RTMGRP_IPV4_ROUTE | 19** | 6.55 - 7.51 | IPv4 Routing Table change | Linux |
Multicast | group | RTMGRP_IPV6_IFADDR | 19** | 6.55 - 7.51 | IPv6 address change of a Network-Interface | Linux |
Multicast | group | RTMGRP_IPV6_ROUTE | 19** | 6.55 - 7.51 | IPv6 Routing Table change | Linux |
Multicast | group | RTMGRP_LINK | 19** | 6.55 - 7.51 | Creation / deletion or up / down change of a Network-Interface. | Linux |
Multicast | group | RTMGRP_NOTIFY | 16** | 7.01 - 7.51 | Enable notification about changes in subscribed rtnetlink groups | Linux |
Multicast | group | RTMGRP_TC | 16** | 7.01 - 7.51 | Packet Scheduler Traffic Control change | Linux |
Endpoint | sock | me_pcpd-pcp-($num).ctl | 49* | 6.25 - 7.51 | avmipc endpoint of libavmpcp.so for pcpd | AVM |
Listens to | avmipc | libpcp_dump | 19** | 7.01 - 7.51 | Trigger event to dump PCP context info. | AVM |
Listens to | avmipc | libpcp_send_itemstatus | 19** | 7.01 - 7.51 | Trigger event to send all PCP port openings. | AVM |
Listens to | avmipc | pcpserver_changed | 19** | 7.01 - 7.51 | Trigger event to inform about PCP server changes. | AVM |
Endpoint | sock | me_pcpd.ctl | 49* | 6.25 - 7.51 | avmipc_command endpoint of pcpd | AVM |
Listens to | avmipc | @ | 18** | 7.12 - 7.51 | Special event for listeners of nameless private messages. | AVM |
Listens to | avmipc | aicmd_listener | 18** | 7.12 - 7.51 | Special event covering all aicmd compatible listeners. | AVM |
Listens to | avmipc | STATE_FWACL_FWACLCFG | 19** | 7.01 - 7.51 | State of the firewall access control list (FWACL). | AVM |
Command | cmd | pcpd (avmcmd) | 1 | Port Control Protocol (PCP) daemon. | AVM | |
Sends | avmipc | libpcp_itemstatus | - | 7.01 - 7.51 | Target event to send PCP port openings to. | AVM |
25 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/pcpd | grep -e '\.c$' -e '\.cpp$' ar7/pcpd/pcpd.c
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-21 07:44 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 | pcpd.service | 32 | 7.39 - 8.00 | supervisor service for pcpd. | AVM |
Runs as | proc | pcpd (process) | 55* | 6.25 - 8.00 | Process running pcpd | AVM |
Registers | wdog | pcpd (watchdog) | 55* | 6.25 - 8.00 | Watchdog for pcpd | AVM |
Serving | port | Port-5350-udp | 24* | 6.51 - 7.90 | PCP - Port Control Protocol - client | AVM |
Serving | port | Port-5351-udp | 55* | 6.25 - 8.00 | PCP - Port Control Protocol - server | AVM |
Serving | sock | me_pcpd-pcp-($num).ctl | 55* | 6.25 - 8.00 | avmipc endpoint of libavmpcp.so for pcpd | AVM |
Serving | sock | me_pcpd.ctl | 55* | 6.25 - 8.00 | avmipc_command endpoint of pcpd | AVM |
Depends on | lib | l | 1 | 7.39 | ||
Depends on | lib | ld.so | 26 | 7.08 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libavmauth.so | 44 | 6.51 - 7.31 | Fritzbox authentification helpers | AVM |
Depends on | lib | libavmcsock.so | 64 | 6.10 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmfwacl.so | 56 | 6.35 - 8.00 | Maintains the firewall access control list (FWACL). | AVM |
Depends on | lib | libavmhmac.so | 51 | 6.35 - 7.31 | HMAC / SHA / MD5 hashing. | AVM |
Depends on | lib | libavmpcp.so | 64 | 6.10 - 8.00 | Port Control Protocol (PCP) API library | AVM |
Depends on | lib | libavmwdt.so | 22 | 7.61 - 8.00 | AVM-Watchdogs management API | AVM |
Depends on | lib | libboxlib.so | 59 | 6.10 - 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 | 64 | 6.10 - 8.00 | Standard C library | Linux |
Depends on | lib | libdl.so | 50 | 6.10 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libdputil.so | 56 | 6.35 - 8.00 | DataPipe / packet utilities | AVM |
Depends on | lib | libewnwlinux.so | 64 | 6.10 - 8.00 | Linux networking functions | AVM |
Depends on | lib | libewnwnet.so | 51 | 6.35 - 7.31 | Internet helper functions | AVM |
Depends on | lib | libgcc_s.so | 27 | 6.10 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libpthread.so | 50 | 6.10 - 8.00 | POSIX threading library | Linux |
Depends on | lib | librt.so | 42 | 6.35 - 8.00 | POSIX realtime extensions library | Linux |
Depends on | lib | libsvctl.so | 39 | 7.19 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libwdt.so | 61 | 6.10 - 7.81 | AVM-Watchdogs management API | AVM |
Depends on | lib | libwebsrv.so | 51 | 6.35 - 7.31 | HTTP / HTTPS webserver and tools. | AVM |
Depends on | lib | libz.so | 43 | 6.83 - 8.00 | Zlib compressor / decompressor | Linux |
29 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-21 05:44 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/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
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 (main) | 6.20 - 6.89 | /sbin | 19.5k - 31.4k |
FRITZ!Box WLAN 3370 (main) | 6.10 - 6.56 | /sbin | 19.5k - 27.7k |
FRITZ!Box 3390 (main) | 6.20 - 6.56 | /sbin | 19.5k - 27.7k |
FRITZ!Box 3490 (main) | 6.20 - 7.30 | /sbin | 19.5k - 35.4k |
FRITZ!Box 4020 | /sbin | 22.9k - 31.4k | |
FRITZ!Box 4040 | 6.52 - 8.00 | /sbin | 22.5k - 29.6k |
FRITZ!Box 4050 | 7.58 - 7.90 | /sbin | 29.7k |
FRITZ!Box 4060 | 7.29 - 7.90 | /sbin | 29.5k - 29.7k |
FRITZ!Box 5490 (main) | 6.51 - 7.29 | /sbin | 27.7k - 35.4k |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | /sbin | 31.4k - 35.4k |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /sbin | 31.6k - 35.3k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /sbin | 29.5k - 29.7k |
FRITZ!Box 5690 Pro (main) | 7.62 | /sbin | 25.7k |
FRITZ!Box 6320 Cable v2 | 6.21 | /sbin | 16.4k |
FRITZ!Box 6360 Cable | 6.51 | /sbin | 23.1k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /sbin | 26.6k - 33.5k |
FRITZ!Box 6490 Cable (arm) | 6.20 - 6.64 | /sbin | 16.4k - 23.1k |
FRITZ!Box 6490 Cable (atom) | 6.83 - 7.51 | /sbin | 26.6k - 33.5k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /sbin | 26.6k - 33.5k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /sbin | 27.8k - 33.6k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /sbin | 27.8k - 37.8k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /sbin | 29.6k - 37.8k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /sbin | 33.9k - 34.0k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /sbin | 29.6k - 37.8k |
FRITZ!Box 6810 LTE | 6.35 | /sbin | 19.5k - 19.7k |
FRITZ!Box 6820 LTE v1 (main) | 6.40 - 7.59 | /sbin | 27.5k - 35.4k |
FRITZ!Box 6820 LTE v2 (main) | 6.40 - 7.59 | /sbin | 27.5k - 35.4k |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /sbin | 31.8k - 35.4k |
FRITZ!Box 6820 LTE v4 | 7.59 | /sbin | 31.8k |
FRITZ!Box 6840 LTE (main) | 6.10 - 6.88 | /sbin | 19.5k - 31.4k |
FRITZ!Box 6842 LTE | /sbin | 19.5k - 19.6k | |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /sbin | 25.7k - 35.3k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /sbin | 25.7k - 29.6k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /sbin | 29.9k - 35.4k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /sbin | 29.9k - 35.4k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /sbin | 29.9k - 35.4k |
FRITZ!Box 7272 (main) | 6.10 - 6.88 | /sbin | 19.5k - 31.4k |
FRITZ!Box 7312 | 6.10 - 6.56 | /sbin | 19.5k - 27.9k |
FRITZ!Box Fon WLAN 7320 | 6.20 - 6.35 | /sbin | 19.5k - 19.7k |
FRITZ!Box 7330 | 6.20 - 6.56 | /sbin | 19.5k - 27.9k |
FRITZ!Box 7330 SL | 6.20 - 6.56 | /sbin | 19.5k - 27.9k |
FRITZ!Box Fon WLAN 7340 | /sbin | 19.7k | |
FRITZ!Box Fon WLAN 7360 SL | 6.20 - 6.34 | /sbin | 19.5k - 19.6k |
FRITZ!Box Fon WLAN 7360 v1 | 6.20 - 6.36 | /sbin | 19.5k - 19.7k |
FRITZ!Box Fon WLAN 7360 v2 | 6.10 - 6.88 | /sbin | 19.5k - 31.4k |
FRITZ!Box 7362 SL (main) | 6.10 - 7.18 | /sbin | 19.5k - 35.4k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /sbin | 19.6k - 19.7k |
FRITZ!Box Fon WLAN 7390 | /sbin | 19.6k - 31.4k | |
FRITZ!Box 7412 (main) | 6.21 - 6.88 | /sbin | 19.5k - 31.4k |
FRITZ!Box 7430 (main) | 6.26 - 7.31 | /sbin | 23.5k - 35.4k |
FRITZ!Box 7490 (main) | 6.20 - 7.51 | /sbin | 19.5k - 35.4k |
FRITZ!Box 7510 | 7.30 - 8.00 | /sbin | 29.5k - 29.7k |
FRITZ!Box 7520 | 6.98 - 8.00 | /sbin | 25.7k - 29.6k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /sbin | 25.7k - 29.6k |
FRITZ!Box 7530 | 6.98 - 8.00 | /sbin | 25.7k - 29.6k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /sbin | 25.8k - 29.9k |
FRITZ!Box 7560 (main) | 6.51 - 7.30 | /sbin | 27.1k - 35.4k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /sbin | 27.1k - 35.4k |
FRITZ!Box 7581 | 6.54 - 7.18 | /sbin | 22.5k - 29.7k |
FRITZ!Box 7582 | 6.83 - 7.18 | /sbin | 24.7k - 29.7k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /sbin | 31.4k - 35.4k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /sbin | 31.7k - 35.3k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /sbin | 29.9k - 35.4k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /sbin | 31.6k - 35.3k |
FRITZ!Box 7690 | 7.61 - 7.90 | /sbin | 25.7k - 29.7k |
65 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.
Firmware | Symbol |
---|---|
6.36 - 6.64 | FWACL_fwacl_alloc |
6.36 - 6.64 | FWACL_fwacl_free |
6.36 - 6.64 | fwacl_free |
6.36 - 6.64 | fwacl_getcfg |
6.36 - 6.64 | fwacl_register |
6.36 - 6.64 | fwacl_setcfg |
6.36 - 6.64 | fwacl_unregister |
6.10 - 8.00 | main |
8 symbols for this command |