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:ar7cfg addbadguys

From BoxMatrix


BoxMatrix >> Shell-Commands >> ar7cfg_addbadguys @ 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:   Supportdata  -  BadGuys  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

ar7cfg_addbadguys adds a hardcoded list of "badguy" IP blocks to ar7.cfg to ban them.
This command is unused so far and may be a Labor test case.

Fw 7.39 help:

usage: ar7cfg_addbadguys [options]

options:
  -?                 - print this help
  -D STRING          - switch debug logs on. (FUNC)

add badguys to ar7cfg configuration

Supportdata

supportdata already creates a badguys section:

##### BEGIN SECTION badguys
IPv4: 0 prefixes, addrsize is 1 memsize 16
IPV6: 0 prefixes, addrsize is 1 memsize 16
##### END SECTION badguys

it is created like this:

echo "##### BEGIN SECTION badguys"
  for file in /proc/kdsld/prefixtab/* ; do
     if [ -f $file ] ; then
        cat $file
     fi
  done
echo "##### END SECTION badguys"

BadGuys

Builtin IPv4 and IPv6 badguys from the 7.39 r95781 strings:

89.248.160.0/20
93.174.88.0/21
94.102.48.0/20
145.249.0.0/16
196.16.0.0/14
49.64.0.0/12
122.228.0.0/16
1.24.0.0/16
180.0.0.0/8
185.176.27.0/24
92.63.192.0/20
185.175.92.0/22
47.52.0.0/16
47.56.0.0/15
47.88.0.0/14
47.246.0.0/16
47.250.0.0/15
47.254.0.0/16
92.118.37.0/24
66.254.96.0/19
23.27.0.0/16
23.230.0.0/16
45.38.0.0/15
50.117.0.0/17
68.68.96.0/20
193.32.160.0/22
107.170.0.0/16
62.165.192.0/18
118.32.0.0/11
106.12.0.0/18
103.235.44.0/22
103.40.252.0/22
106.52.0.0/14
114.67.0.0/16

2a02:6c8:8000::/33
2400:b200:4100::/48
2400:b200:4101::/48
2400:b200:4102::/48
2400:b200:4103::/48
2401:b180:4100::/48
2408:4009:500::/48
240b:4000::/33
240b:4000::/32
240b:4000:8000::/33
240b:4001::/33
240b:4001::/32
240b:4001:8000::/33
240b:4002::/32
240b:4002::/33
240b:4002:8000::/33
240b:4003:7::/48
240b:4003:e::/48
240b:4003:12b::/48
240b:4003:12c::/48
240b:4003:1bf::/48
240b:4003:3e8::/48
240b:4003:fc00::/48
240b:4003:fd95::/48
240b:4003:fd96::/48
240b:4003:fee3::/48
240b:4003:fff8::/48
240b:4005::/33
240b:4005::/32
240b:4005:8000::/33
240b:4007::/33
240b:4007::/32
240b:4007:8000::/33
240b:4007:fffd::/48
240b:4009::/32
240b:4009::/33
240b:4009:8000::/33
240b:400e:fffe::/48
240b:400e:ffff::/48

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-03-28 07:36 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 11 7.39 - 7.90 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 42 7.39 - 7.90 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 42 7.39 - 7.90 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 42 7.39 - 7.90 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 42 7.39 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 42 7.39 - 7.80 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 42 7.39 - 7.80 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 42 7.39 - 7.90 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmwdt.so 3 7.90 AVM-Watchdogs management API. Renamed libwdt.so AVM
Depends on lib libboxenv.so 3 7.90 API to the rc.conf enhanced Config-Environment AVM
Depends on lib libboxlib.so 42 7.39 - 7.80 Box status, logging and statistics functions AVM
Depends on lib libc.so 42 7.39 - 7.90 Standard C library Linux
Depends on lib libcore.so 3 7.90 Collects the MAC addresses of the device it's running on AVM
Depends on lib libcrypto.so 42 7.39 - 7.80 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 38 7.39 - 7.90 Dynamic linking library Linux
Depends on lib libdputil.so 42 7.39 - 7.90 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 42 7.39 - 7.90 Linux networking functions AVM
Depends on lib libewnwnet.so 42 7.39 - 7.90 Internet helper functions AVM
Depends on lib libfbconf.so 3 7.90 TODO AVM
Depends on lib liblocalize.so 3 7.90 TODO AVM
Depends on lib libpthread.so 38 7.39 - 7.90 POSIX threading library Linux
Depends on lib librt.so 38 7.39 - 7.90 POSIX realtime extensions library Linux
Depends on lib libslab_c++.so 3 7.90 TODO AVM
Depends on lib libsvctl.so 42 7.39 - 7.90 supervisor notification library AVM
Depends on lib libtiinterpreter.so 42 7.39 - 7.90 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 42 7.39 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 42 7.39 - 7.90 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 42 7.39 - 7.90 HTTP / HTTPS webserver and tools. AVM
Depends on lib libz.so 42 7.39 - 7.90 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-03-28 15:46 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 4020 7.39 /bin 13.4k
FRITZ!Box 4040 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 4060 7.39 - 7.57 /bin 9.3k - 13.4k
FRITZ!Box 5530 Fiber (main) 7.39 - 7.70 /bin 9.7k - 13.4k
FRITZ!Box 5590 Fiber (arm) 7.39 - 7.70 /bin 9.3k - 13.4k
FRITZ!Box 6490 Cable (arm) 7.39 - 7.51 /bin 9.2k - 13.4k
FRITZ!Box 6490 Cable (atom) 7.39 - 7.51 /bin 9.2k - 9.3k
FRITZ!Box 6590 Cable (arm) 7.39 - 7.51 /bin 9.2k - 13.4k
FRITZ!Box 6590 Cable (atom) 7.39 - 7.51 /bin 9.2k - 9.3k
FRITZ!Box 6591 Cable (arm) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6591 Cable (atom) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6660 Cable (arm) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6660 Cable (atom) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6670 Cable (arm) 7.61 /bin 13.5k
FRITZ!Box 6670 Cable (atom) 7.61 /bin 13.5k
FRITZ!Box 6690 Cable (arm) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6690 Cable (atom) 7.39 - 7.57 /bin 13.4k - 13.5k
FRITZ!Box 6820 LTE v1 7.39 - 7.51 /bin 9.9k - 13.4k
FRITZ!Box 6820 LTE v2 7.39 - 7.51 /bin 9.9k - 13.4k
FRITZ!Box 6820 LTE v3 7.39 - 7.51 /bin 9.9k
FRITZ!Box 6840 LTE 7.39 /bin 13.4k
FRITZ!Box 6850 LTE 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 6850 5G 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 6890 LTE 7.39 - 7.51 /bin 9.7k - 13.4k
FRITZ!Box 6890 LTE v1 7.39 - 7.51 /bin 9.7k - 13.4k
FRITZ!Box 6890 LTE v2 7.39 - 7.51 /bin 9.7k - 13.4k
FRITZ!Box 7272 7.39 /bin 13.4k
FRITZ!Box 7430 7.39 /bin 13.4k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin 9.9k - 13.4k
FRITZ!Box 7510 7.39 - 7.51 /bin 9.3k
FRITZ!Box 7520 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 7520 v2 (arm) 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 7530 7.39 - 7.51 /bin 9.4k - 13.4k
FRITZ!Box 7530 AX 7.39 - 7.90 /bin 9.5k - 13.4k
FRITZ!Box 7560 7.39 /bin 13.4k
FRITZ!Box 7590 7.39 - 7.90 /bin 9.7k - 13.4k
FRITZ!Box 7590 AX 7.39 - 7.90 /bin 9.7k - 13.4k
FRITZ!Repeater 600 7.39 /bin 13.4k
FRITZ!Repeater 1200 7.39 /bin 13.4k
FRITZ!WLAN Repeater 1750E 7.39 /bin 13.4k
FRITZ!Repeater 2400 7.39 /bin 13.4k
FRITZ!Repeater 3000 7.39 /bin 13.4k
FRITZ!Repeater 3000 AX 7.39 /bin 13.4k
FRITZ!Powerline 1260E 7.39 /bin 13.4k
44 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-03-28 07:36 GMT.

Firmware Symbol
7.39 - 7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

a