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:pcptest

From BoxMatrix


BoxMatrix >> Shell-Commands >> pcptest @ 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

AVM-Command

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

Details

fw 7.39 help:

root@fritz:/var/mod/root# pcptest -?

usage: pcptest [options] [pcpserver]

options:
  -?                 - print this help
  -u                 - udp instead of tcp. (NOTSET)
  -p INTEGER         - local port. (5001)
  -n INTEGER         - port set size. (0)
  -T STRING          - third party ip/ipv6 address. (NULL)
  -w INTEGER         - wanted external port. (0)
  -W STRING          - wanted external address. (NULL)
  -r INTEGER         - remote port (PEER). (0)
  -R STRING          - remote address (PEER). (NULL)
  -l INTEGER         - lifetime (0 delete). (60)
  -U                 - UPNP mode. (NOTSET)
  -6                 - ipv6. (NOTSET)
  -k                 - renew (keep) mapping/peer. (SET)
  -m INTEGER         - max lifetime to request. (0)
  -F STRING          - add filter (repeat for more filters). (FUNC)
  -f STRING          - add filter (repeat for more filters). (FUNC)
  -M STRING          - my address (use netlink). (NULL)
  -d STRING          - description (RFC7220). (NULL)
  -i INTEGER         - ifacenr (only with netlink). (-1)
  -a INTEGER         - use iface address (only with netlink). (0)
  -t STRING          - item type. (NULL)
  -I                 - ignore proxy error (netlink). (SET)
  -O                 - only local (netlink). (NOTSET)
  -P STRING          - ip protocol. (NULL)
  -L INTEGER         - internal prefixlen. (0)
  -D STRING          - switch debug logs on. (FUNC)

- format of option 'F': address/prefixlen or address/prefixlen:port

- pcpserver is read from /var/tmp/pcpserver,
  unless you use option 'M' or add a pcpserver as argument,

- examples:
  pcptest -P esp -l 600 -d VPN
  pcptest -p 4711 -l 600 -d TCP4711
  pcptest -u -p 4711 -l 600 -d UDP4711
  pcptest -u -p 4711 -T 192.168.178.20 -l 600 -d UDP4711
  pcptest -p 50000 -w 4711 -l 600 -d TCP4711

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 /bin/pcptest | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
Depends on lib ld.so 8 7.39 - 7.51 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 27 6.35 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmpcp.so 27 6.35 - 7.51 Port Control Protocol (PCP) API library AVM
Depends on lib libc.so 27 6.35 - 7.51 Standard C library Linux
Depends on lib libdl.so 8 6.35 - 7.39 Dynamic linking library Linux
Depends on lib libdputil.so 27 6.35 - 7.51 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 27 6.35 - 7.51 Linux networking functions AVM
Depends on lib libpthread.so 8 6.35 - 7.39 POSIX threading library Linux
Depends on lib librt.so 8 6.35 - 7.39 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 27 7.39 - 7.51 supervisor control library AVM
Depends on lib libwdt.so 27 7.39 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libz.so 27 7.39 - 7.51 Zlib compressor / decompressor Linux
12 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-02 06:01 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 4040 7.39 /bin 13.8k
FRITZ!Box 4060 7.39 /bin 13.7k
FRITZ!Box 5590 Fiber (arm) 7.39 /bin 13.7k
FRITZ!Box 6490 Cable (arm) 7.39 /bin 13.7k
FRITZ!Box 6490 Cable (atom) 7.39 /bin 13.7k
FRITZ!Box 6590 Cable (arm) 7.39 /bin 13.7k
FRITZ!Box 6590 Cable (atom) 7.39 /bin 13.7k
FRITZ!Box 6591 Cable (arm) 7.39 /bin 17.9k
FRITZ!Box 6591 Cable (atom) 7.39 /bin 17.9k
FRITZ!Box 6660 Cable (arm) 7.39 /bin 17.9k
FRITZ!Box 6660 Cable (atom) 7.39 /bin 17.9k
FRITZ!Box 6690 Cable (arm) 7.39 /bin 17.9k
FRITZ!Box 6690 Cable (atom) 7.39 /bin 17.9k
FRITZ!Box 6850 LTE 7.39 /bin 13.8k - 14.5k
FRITZ!Box 6850 5G 7.39 /bin 13.8k
FRITZ!Box 6890 LTE 7.39 /bin 14.5k
FRITZ!Box 6890 LTE v1 7.39 /bin 14.5k
FRITZ!Box 6890 LTE v2 7.39 /bin 14.5k
FRITZ!Box 7490 (main) 6.35 - 7.51 /bin 12.3k - 18.6k
FRITZ!Box 7510 7.39 /bin 13.7k
FRITZ!Box 7520 7.39 /bin 13.8k
FRITZ!Box 7520 v2 (arm) 7.39 /bin 13.8k
FRITZ!Box 7530 7.39 - 7.51 /bin 13.8k
FRITZ!Box 7530 AX 7.39 /bin 13.9k
FRITZ!Box 7590 7.39 - 7.51 /bin 14.5k - 18.5k
FRITZ!Box 7590 AX 7.39 /bin 14.5k - 18.5k
FRITZ!Repeater 2400 7.39 /bin 14.6k
27 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-02-02 07:26 GMT.

Firmware Symbol
6.35 - 7.51 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

p