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:showopenports
BoxMatrix >> Shell-Commands >> showopenports | @ 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
Command: | showopenports - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 5.0k - 13.6k - Firmware: 6.36 - 8.00 | ||||||
Function: | supportdata helper showing all Network-Ports which are open to the internet. |
Goto: Examples - Events - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
showopenports is a supportdata helper showing all Network-Ports (or port ranges) which are open to the internet.
It lists the virtual connection (PVC / VLAN) and the public IP each port is listening to and the target forwarding IP and port.
A similar command is showpcpitems and the very detailed showpcpinfo script.
A similar command showing ports open to the LAN is showportsopentolan.
showopenports is a query client using libavmfwnotify.so to send the EVENT_FWNOTIFY_EVENT_query avmipc event,
The responses attached to EVENT_FWNOTIFY_EVENT avmipc events are then collected and printed in human readable form.
fw 7.29 help:
root@fritz2:/var/mod/root# showopenports -? usage: showopenports showopenports [options] options: -? - print this help -f - follow all changes. (NOTSET) -D STRING - switch debug logs on. (FUNC) showopenports showopenports -f
Examples
fw 7.29 DSL-Router with no manually opened ports:
root@fritz1:/var/mod/root# showopenports 52: 0 INI internet IGDPROBE TCP 192.168.178.1 9 88.69.XX.XX 9 "IGDPROBE4" 53: 0 INI voip VOIP UDP 192.168.178.1 7078-7097 188.100.XX.XX 7078-7097 "VOIP" 54: 0 INI voip VOIP UDP 192.168.178.1 5060 188.100.XX.XX 5060 "VOIP" 55: 0 INI voip VOIP TCP 192.168.178.1 5060 188.100.XX.XX 5060 "VOIP" 56: END
88.69.XX.XX
is the public IP of the internet PVC.188.100.XX.XX
is the public IP of the VoIP PVC.
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 |
---|---|---|---|---|---|---|
Command | cmd | showopenports | 1 | supportdata helper showing all Network-Ports which are open to the internet. | AVM | |
Sends | avmipc | EVENT_FWNOTIFY_EVENT_query | - | 7.01 - 7.51 | Trigger event to query for Firewall state notification. | AVM |
2 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 /bin/showopenports | grep -e '\.c$' -e '\.cpp$' <empty>
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 | libavmcsock.so | 55 | 6.36 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmfwnotify.so | 55 | 6.36 - 8.00 | Firewall state notification. | AVM |
Depends on | lib | libc.so | 55 | 6.36 - 8.00 | Standard C library | Linux |
Depends on | lib | libdl.so | 42 | 6.36 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libdputil.so | 55 | 6.36 - 8.00 | DataPipe / packet utilities | AVM |
Depends on | lib | libgcc_s.so | 11 | 6.36 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libpthread.so | 42 | 6.36 - 8.00 | POSIX threading library | Linux |
Depends on | lib | librt.so | 42 | 6.36 - 8.00 | POSIX realtime extensions library | Linux |
Depends on | lib | libsvctl.so | 38 | 7.19 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libz.so | 38 | 6.98 - 8.00 | Zlib compressor / decompressor | Linux |
10 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 3272 (main) | 6.50 - 6.89 | /bin | 6.9k - 7.1k |
FRITZ!Box WLAN 3370 (main) | 6.36 - 6.56 | /bin | 6.6k |
FRITZ!Box 3390 (main) | 6.36 - 6.56 | /bin | 6.6k |
FRITZ!Box 3490 (main) | 6.36 - 7.30 | /bin | 6.6k - 9.9k |
FRITZ!Box 4020 | /bin | 6.6k - 6.9k | |
FRITZ!Box 4040 | 6.52 - 8.00 | /bin | 5.7k - 9.4k |
FRITZ!Box 4050 | 7.58 - 7.90 | /bin | 9.4k |
FRITZ!Box 4060 | 7.29 - 7.90 | /bin | 9.3k - 9.4k |
FRITZ!Box 5490 (main) | 6.51 - 7.29 | /bin | 6.6k - 9.9k |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | /bin | 6.8k - 9.9k |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /bin | 9.7k - 9.8k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /bin | 9.3k - 9.4k |
FRITZ!Box 5690 Pro (main) | 7.62 - 7.90 | /bin | 9.3k - 9.4k |
FRITZ!Box 6360 Cable | 6.51 | /bin | 5.7k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /bin | 5.6k - 9.2k |
FRITZ!Box 6490 Cable (arm) | 6.50 - 6.64 | /bin | 5.7k |
FRITZ!Box 6490 Cable (atom) | 6.50 - 7.51 | /bin | 5.6k - 9.2k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /bin | 5.6k - 9.2k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /bin | 6.2k - 9.4k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /bin | 6.2k - 13.5k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /bin | 9.3k - 13.5k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /bin | 13.5k - 13.6k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /bin | 9.3k - 13.5k |
FRITZ!Box 6820 LTE v1 (main) | 6.40 - 7.51 | /bin | 6.8k - 9.9k |
FRITZ!Box 6820 LTE v2 (main) | 6.40 - 7.51 | /bin | 6.8k - 9.9k |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /bin | 9.9k |
FRITZ!Box 6840 LTE (main) | 6.36 - 6.88 | /bin | 6.6k - 6.7k |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /bin | 9.3k - 9.8k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /bin | 9.3k - 9.4k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /bin | 6.7k - 9.9k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /bin | 6.7k - 9.9k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /bin | 6.7k - 9.9k |
FRITZ!Box 7272 (main) | 6.36 - 6.88 | /bin | 6.9k - 7.1k |
FRITZ!Box 7312 | 6.50 - 6.56 | /bin | 6.9k - 7.0k |
FRITZ!Box 7330 | 6.50 - 6.56 | /bin | 6.9k - 7.0k |
FRITZ!Box 7330 SL | 6.50 - 6.56 | /bin | 6.9k - 7.0k |
FRITZ!Box Fon WLAN 7360 v2 | 6.36 - 6.88 | /bin | 6.6k - 6.7k |
FRITZ!Box 7362 SL (main) | 6.36 - 7.18 | /bin | 6.6k - 9.8k |
FRITZ!Box Fon WLAN 7390 | /bin | 6.9k - 7.1k | |
FRITZ!Box 7412 (main) | 6.50 - 6.88 | /bin | 6.6k - 6.7k |
FRITZ!Box 7430 (main) | 6.36 - 7.31 | /bin | 6.6k - 9.9k |
FRITZ!Box 7490 (main) | 6.36 - 7.51 | /bin | 6.6k - 9.9k |
FRITZ!Box 7510 | 7.30 - 8.00 | /bin | 9.3k - 9.4k |
FRITZ!Box 7520 | 6.98 - 8.00 | /bin | 5.7k - 9.4k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /bin | 9.3k - 9.4k |
FRITZ!Box 7530 | 6.98 - 8.00 | /bin | 5.7k - 9.4k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /bin | 9.5k - 9.6k |
FRITZ!Box 7560 (main) | 6.51 - 7.30 | /bin | 6.7k - 9.9k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /bin | 6.7k - 9.9k |
FRITZ!Box 7581 | 6.54 - 7.18 | /bin | 5.0k - 9.5k |
FRITZ!Box 7582 | 6.83 - 7.18 | /bin | 5.0k - 9.5k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /bin | 6.8k - 9.9k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /bin | 9.8k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /bin | 6.7k - 9.9k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /bin | 9.7k - 9.8k |
FRITZ!Box 7690 | 7.61 - 7.90 | /bin | 9.3k - 9.4k |
56 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.
Firmware | Symbol |
---|---|
6.36 - 8.00 | main |
1 symbol for this command |