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:avmipc state

From BoxMatrix
(Redirected from avmipc state)


BoxMatrix >> Shell-Commands >> avmipc_state @ 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:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

avmipc_state is the Inter-CPU AVMIPC-State query command in early 6490 and 55xx firmware.
It queries one or more states in the AVMIPC-Datastore, which are passed as commandline arguments.

avmipc_state <state> [<state>]

In early 6490 Puma6 firmware avmipc_state is just a glue command to use avmipc in the open source ftpd (lincmd) daemon.
It circumvents using AVM's proprietary libavmcsock.so, which would require to release their internal avmcsock.h include.

It is a commandline wrapper for these libavmcsock.so functions:

  • csock_init / csock_select / csock_exit
  • avmipc_create / avmipc_destroy
  • avmipc_state_register_notifier / avmipc_state_unregister_notifier

The 55xx usage has yet to be researched.

Examples

In early 6490 Puma6 firmware avmipc_state is present on the ARM and ATOM side.
It is used to query the IPv4 and IPv6 network addresses of the respective other side.

From ftpd in 6490 fw 6.64 ARM - in ftpd.c:

avmipc_state ATOM_IPV4_LAN
avmipc_state ATOM_IPV6_GUA ATOM_IPV6_ULA

From ftpd in 6490 fw 6.64 ARM - in proxy.c:

avmipc_state ARM_IPV6_GUA ARM_IPV6_ULA

From ftpd in 6490 fw 6.64 ATOM - in ftpd.c:

avmipc_state ARM_IPV4_LAN
avmipc_state ARM_IPV6_GUA ARM_IPV6_ULA

Background: Up to 6490 fw 6.66 FRITZ!OS was nearly completely running on ARM, like in ARM-only 63xx Puma5 models.
The ATOM Intel added was nearly unused. Early Intel Puma6 SDK named it an application processor and did not use it at all.
Later AVM ported FRITZ!OS completely to ATOM, the ARM core is only used for the DOCSIS modem since then.

However, the USB-Host is connected to the ATOM, which has way better CPU performance than the ARM.
That is why AVM implemented all NAS and USB-Host functionality on the ATOM on early 6490 firmware.

This covers printserv and ftpd being proxied by tcpproxyd on ARM, tcpproxy_ctl on ATOM controling which ports.
The NAS webserver and the management of all USB related services was provided by nas_ctlmgr.
Since tcpproxyd does not support SSL nas_ctlmgr ran on a separate IP, which resolved from fritz.nas.
Stick+Surf is also splitted into avmstickandsurf.part1 on ARM and avmstickandsurf.part2 on ATOM, see avmstickandsurf.
For UMTS modems netttyd on ATOM multiplexes the TTY devices for netttym.ko on the ARM side.

The network on the ATOM on early 6490 firmware is managed by multid2.
IPv4 and IPv6 network addresses of the respective other side are gathered by avmipc_state.
Some ATOM ressources are mounted on the ARM side using nfs4.
For network throughput tests there's the remote controllable speedtestd on ATOM.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 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 libar7cfg.so 2 6.20 - 6.64 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmcipher.so 2 6.20 - 6.64 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 3 6.20 - 7.30 Networking, I/O and helper functions AVM
Depends on lib libavmhmac.so 2 6.20 - 6.64 HMAC / SHA / MD5 hashing. AVM
Depends on lib libboxlib.so 2 6.20 - 6.64 Box status, logging and statistics functions AVM
Depends on lib libc.so 3 6.20 - 7.30 Standard C library Linux
Depends on lib libdl.so 2 6.20 - 6.64 Dynamic linking library Linux
Depends on lib libdputil.so 2 6.50 - 6.64 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 2 6.50 - 6.64 Linux networking functions AVM
Depends on lib libewnwnet.so 2 6.50 - 6.64 Internet helper functions AVM
Depends on lib libgcc_s.so 1 6.20 - 6.64 GCC low-level runtime library Linux
Depends on lib libpthread.so 2 6.20 - 6.64 POSIX threading library Linux
Depends on lib librt.so 2 6.50 - 6.64 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 1 7.29 - 7.30 supervisor notification library AVM
Depends on lib libwdt.so 2 6.20 - 6.64 AVM-Watchdogs management API AVM
Depends on lib libwebsrv.so 2 6.50 - 6.64 HTTP / HTTPS webserver and tools. AVM
Depends on lib libz.so 1 7.29 - 7.30 Zlib compressor / decompressor Linux
17 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-21 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/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 5590 Fiber (prx) 7.29 - 7.30 /bin 5.6k
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /bin 4.7k
FRITZ!Box 6490 Cable (atom) 6.20 - 6.64 /bin 4.8k - 5.0k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.

Firmware Symbol
7.29 - 7.30 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

a