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.

0
U

Property:utiltest

From BoxMatrix
(Redirected from utiltest)


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

AVM-Command

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

Details

utiltest is a debugging tool which can run a range of tests for functions or function blocks in libavmcsock.so,
which is the base of all AVM-Commands. See also cratelimittest and uhexdump.

This tool can also be useful to get some insight about the functionality of libavmcsock.

fw 7.39 help

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

usage: utiltest [options] test

options:
  -?                 - print this help
  -s                 - no test output. (NOTSET)
  -n INTEGER         - repeat test 'n' times. (1)
  -w                 - [Hit return to continue]. (NOTSET)
  -h STRING          - tcpclient: host for csock client tests || system: command. ("localhost")
  -p STRING          - tcpclient: service/port for csock tests. ("4711")
  -4 STRING          - dns_set_from4() address. (NULL)
  -6 STRING          - dns_set_from6() address. (NULL)
  -N                 - tcpclient: do no connect. (NOTSET)
  -f STRING          - dirop: dirname to test dirop in cfile. (NULL)
  -i INTEGER         - time to wait between infomsg. (1)
  -t                 - icmp: set ttl. (NOTSET)
  -S STRING          - string: file with strings. ("test.txt")
  -X                 - dns: normal test, no abort test. (SET)
  -F STRING          - hexdump format: bpl, bpb, decoration. ("20,4,1")
  -l INTEGER         - len. (80)
  -C STRING          - string: file with certificat in format PEM. (NULL)
  -K STRING          - string: file with private key in format PEM. (NULL)
  -c STRING          - string: cipher list. (NULL)
  -a STRING          - string: cafile. (NULL)
  -A STRING          - string: capath. (NULL)
  -v INTEGER         - verify type: 0:none 1:cert 2:certnodates 3:needcert 4:needcertnodate. (0)
  -B INTEGER         - verify depth. (3)
  -M                 - crwmapkb: use file instead of mem. (NOTSET)
  -e STRING          - mcastclient: send mcast to eth-ipaddr. ("0.0.0.0")
  -Q INTEGER         - dnsprefer: 0: ipv4only, 1: ipv6only 2: ipv4prefered 3: ipv6prefered 4: both.  (3)
  -Y INTEGER         - stolen fd. (-1)
  -P                 - unix: use seqpacket. (NOTSET)
  -b INTEGER         - abort type. (0)
  -U STRING          - url für csockpopen test. ("http://download.avm.de/fritzbox/fritzbox-7590/deutschland/fritz.os/info_de.txt")
  -D STRING          - switch debug logs on. (FUNC)

test may be:
   bugflags          - getbugflags function
   clock_gettime     - 
   cmmap             - cmmap_* functions
   connector         - connector_* functions
   cprocess          - cprocess_* functions
   crashdump         - crashdump_* functions
   createpath        - createpath function
   crwmmap           - crwmmap_* functions
   crwmmapkb         - crwmmap_* functions
   crwmmapreader     - crwmmap_read* functions
   crwmmapwriter     - crwmmap_write* functions
   csockpopen        - csock_* functions
   cthread           - cthread_* functions
   dirop             - 
   diskinfo          -
   dns               - dns_* functions
   dnsnaptr          - dns_* functions
   dnsrev            - dns_* functions
   e164              - dns_getenum function
   filebuf           - filebuf_* functions
   ftw               - cfile_ftw function
   hexdump           - uhexdump* functions
   icmp              - csock*icmp functions
   infomsg           - infomsg* functions
   ipaddresses       - ip*addrlist_* functions
   minixml           - MiniXML_* functions
   multicastclient   - csock_*cast* functions
   multicastserver   - csock_*cast* functions
   outstream_debugmsg -
   sip               -
   sipdns            - 
   sizes             - size of types in bytes
   slab_free_overwritten - 
   sslserver         - avmssl_* functions?
   stat <fn>         - 
   string            - 
   tcpclient         -
   tcpserver         -
   tcpsslclient      -
   tos               -
   traceroute        - 
   udpclient         -
   udpserver         -
   unctrl            -

Tests have been sorted alphabetically, descriptions of tests are handcrafted.

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

sharedlibs/avmcsock/utiltest.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
Depends on lib ld.so 14 7.39 - 7.90 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 38 4.85 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libc.so 38 4.85 - 7.90 Standard C library Linux
Depends on lib libdl.so 10 4.85 - 7.90 Dynamic linking library Linux
Depends on lib libpthread.so 10 4.85 - 7.90 POSIX threading library Linux
Depends on lib librt.so 6 6.35 - 7.90 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 34 7.39 - 7.90 supervisor notification library AVM
Depends on lib libz.so 34 7.39 - 7.90 Zlib compressor / decompressor Linux
8 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 4040 7.39 - 7.90 /bin 74.2k - 74.3k
FRITZ!Box 4050 7.90 /bin 74.2k
FRITZ!Box 4060 7.39 - 7.90 /bin 74.1k - 74.2k
FRITZ!Box 5530 Fiber (main) 7.39 - 7.70 /bin 97.2k - 97.3k
FRITZ!Box 5590 Fiber (main) 7.39 - 7.90 /bin 74.1k - 74.2k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /bin 40.4k
FRITZ!Box 6320 Cable v2 6.21 /bin 43.1k
FRITZ!Box 6340 Cable 5.24 /bin 38.8k
FRITZ!Box 6360 Cable 4.85 - 6.04 /bin 34.6k - 40.4k
FRITZ!Box 6490 Cable (atom) 7.39 - 7.51 /bin 74.0k - 86.0k
FRITZ!Box 6590 Cable (atom) 7.39 - 7.51 /bin 74.0k - 86.0k
FRITZ!Box 6591 Cable (atom) 7.39 - 7.90 /bin 82.3k - 94.3k
FRITZ!Box 6660 Cable (atom) 7.39 - 7.90 /bin 82.3k - 94.3k
FRITZ!Box 6670 Cable (atom) 7.90 /bin 82.4k
FRITZ!Box 6690 Cable (atom) 7.39 - 7.90 /bin 82.3k - 94.3k
FRITZ!Box 6820 LTE v1 (main) 7.51 /bin 97.3k
FRITZ!Box 6820 LTE v2 (main) 7.51 /bin 97.3k
FRITZ!Box 6820 LTE v3 (main) 7.51 /bin 97.3k
FRITZ!Box 6850 LTE 7.39 - 7.90 /bin 70.2k - 93.2k
FRITZ!Box 6850 5G 7.39 - 7.90 /bin 74.2k - 74.3k
FRITZ!Box 6890 LTE (main) 7.39 - 7.51 /bin 93.2k - 97.2k
FRITZ!Box 6890 LTE v1 (main) 7.39 - 7.51 /bin 93.2k - 97.2k
FRITZ!Box 6890 LTE v2 (main) 7.39 - 7.51 /bin 93.2k - 97.2k
FRITZ!Box 7490 (main) 6.35 - 7.51 /bin 62.1k - 97.3k
FRITZ!Box 7510 7.39 - 7.90 /bin 74.1k - 74.2k
FRITZ!Box 7520 7.39 - 7.51 /bin 74.2k
FRITZ!Box 7520 v2 (main) 7.39 - 7.90 /bin 74.2k - 74.3k
FRITZ!Box 7530 7.39 - 7.90 /bin 70.2k - 74.3k
FRITZ!Box 7530 AX 7.39 - 7.70 /bin 74.3k - 78.4k
FRITZ!Box 7590 (main) 7.39 - 7.90 /bin 93.2k - 97.4k
FRITZ!Box 7590 AX (main) 7.39 - 7.70 /bin 93.2k - 97.3k
FRITZ!Box 7690 7.90 /bin 74.2k
FRITZ!Repeater 1200 7.39 /bin 74.2k
FRITZ!Repeater 1200 AX 7.39 - 7.51 /bin 74.1k
FRITZ!Repeater 2400 7.39 /bin 81.3k
FRITZ!Repeater 3000 7.39 /bin 70.2k - 74.2k
FRITZ!Repeater 3000 AX 7.41 - 7.51 /bin 74.1k
FRITZ!Repeater 6000 7.39 - 7.51 /bin 74.1k
38 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.35 - 7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.