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

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: 2023-02-06 07:23 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 libar7cfg.so 26 7.39 - 7.51 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 26 7.39 - 7.51 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 26 7.39 - 7.51 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 26 7.39 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 26 7.39 - 7.51 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 26 7.39 - 7.51 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 26 7.39 - 7.51 HMAC / SHA / MD5 hashing. AVM
Depends on lib libboxlib.so 26 7.39 - 7.51 Box status, logging and statistics functions AVM
Depends on lib libc.so 26 7.39 - 7.51 Standard C library Linux
Depends on lib libcrypto.so 26 7.39 - 7.51 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 7 7.39 Dynamic linking library Linux
Depends on lib libdputil.so 26 7.39 - 7.51 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 26 7.39 - 7.51 Linux networking functions AVM
Depends on lib libewnwnet.so 26 7.39 - 7.51 Internet helper functions AVM
Depends on lib libpthread.so 7 7.39 POSIX threading library Linux
Depends on lib librt.so 7 7.39 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 26 7.39 - 7.51 supervisor notification library AVM
Depends on lib libtiinterpreter.so 26 7.39 - 7.51 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 26 7.39 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 23 7.39 - 7.51 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 26 7.39 - 7.51 HTTP / HTTPS webserver and tools. AVM
Depends on lib libz.so 26 7.39 - 7.51 Zlib compressor / decompressor Linux
23 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-06 05:57 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 9.4k
FRITZ!Box 4060 7.39 /bin 9.3k
FRITZ!Box 5590 Fiber (arm) 7.39 /bin 9.3k
FRITZ!Box 6490 Cable (arm) 7.39 /bin 9.2k
FRITZ!Box 6490 Cable (atom) 7.39 /bin 9.2k
FRITZ!Box 6590 Cable (arm) 7.39 /bin 9.2k
FRITZ!Box 6590 Cable (atom) 7.39 /bin 9.2k
FRITZ!Box 6591 Cable (arm) 7.39 /bin 13.4k
FRITZ!Box 6591 Cable (atom) 7.39 /bin 13.4k
FRITZ!Box 6660 Cable (arm) 7.39 /bin 13.4k
FRITZ!Box 6660 Cable (atom) 7.39 /bin 13.4k
FRITZ!Box 6690 Cable (arm) 7.39 /bin 13.4k
FRITZ!Box 6690 Cable (atom) 7.39 /bin 13.4k
FRITZ!Box 6850 LTE 7.39 /bin 9.4k - 9.7k
FRITZ!Box 6850 5G 7.39 /bin 9.4k
FRITZ!Box 6890 LTE 7.39 /bin 9.7k
FRITZ!Box 6890 LTE v1 7.39 /bin 9.7k
FRITZ!Box 6890 LTE v2 7.39 /bin 9.7k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin 9.9k
FRITZ!Box 7510 7.39 /bin 9.3k
FRITZ!Box 7520 7.39 /bin 9.4k
FRITZ!Box 7520 v2 (arm) 7.39 /bin 9.4k
FRITZ!Box 7530 7.39 - 7.51 /bin 9.4k
FRITZ!Box 7530 AX 7.39 /bin 9.5k
FRITZ!Box 7590 7.39 - 7.51 /bin 9.7k
FRITZ!Box 7590 AX 7.39 /bin 9.7k
26 models use this command

Symbols

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

Firmware Symbol
7.39 - 7.51 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

a