1

Temat: Logread connected to - Child connection from

Witam,
Posiadam Archer C7 v5 z takim OSem na pokładzie jak niżej. Wcześnie jakoś tego nie zauważyłem - nie śledziłem logów ale szukając rozwiązania innego problemu zauważyłem, że w logach przewija się cały czas poniższy wpis, co sekundę. Nie bardzo go rozumiem, bo wygląda tak jakby router sam do siebie chciał się zalogować na SSH..? Co to może być i jak to uciszyć?

root@OpenWrt:/etc# cat os-release 
NAME="OpenWrt"
VERSION="22.03.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 22.03.3"
VERSION_ID="22.03.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r20028-43d71ad93e"
OPENWRT_BOARD="ath79/generic"
OPENWRT_ARCH="mips_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 22.03.3 r20028-43d71ad93e"
root@OpenWrt:/etc# 

Fri Jan  6 22:05:56 2023 daemon.info logread[1425]: Logread connected to 192.168.0.1:22 via tcp
Fri Jan  6 22:05:56 2023 authpriv.info dropbear[4891]: Child connection from 192.168.0.1:40534
Fri Jan  6 22:05:56 2023 authpriv.info dropbear[4891]: Exit before auth from <192.168.0.1:40534>: Exited normally
Fri Jan  6 22:05:57 2023 daemon.info logread[1425]: Logread connected to 192.168.0.1:22 via tcp
Fri Jan  6 22:05:57 2023 authpriv.info dropbear[4892]: Child connection from 192.168.0.1:40546
Fri Jan  6 22:05:57 2023 authpriv.info dropbear[4892]: Exit before auth from <192.168.0.1:40546>: Exited normally
Fri Jan  6 22:05:58 2023 daemon.info logread[1425]: Logread connected to 192.168.0.1:22 via tcp
Fri Jan  6 22:05:58 2023 authpriv.info dropbear[4893]: Child connection from 192.168.0.1:40558
Fri Jan  6 22:05:58 2023 authpriv.info dropbear[4893]: Exit before auth from <192.168.0.1:40558>: Exited normally
Fri Jan  6 22:05:59 2023 daemon.info logread[1425]: Logread connected to 192.168.0.1:22 via tcp
Fri Jan  6 22:05:59 2023 authpriv.info dropbear[4894]: Child connection from 192.168.0.1:40564
Fri Jan  6 22:06:00 2023 authpriv.info dropbear[4894]: Exit before auth from <192.168.0.1:40564>: Exited normally

2 (edytowany przez Cezary 2023-01-06 22:31:28)

Odp: Logread connected to - Child connection from

192.168.0.1 to jego adres IP? Pokaż wynik polecenia:

uci show system

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Logread connected to - Child connection from

Tak 192.168.0.1 to jego adres. Źródłem internetu jest port WAN z adresem IP dynamiczny, niepublicznym od Play.

root@OpenWrt:/# uci show system
system.@system[0]=system
system.@system[0].hostname='OpenWrt'
system.@system[0].ttylogin='0'
system.@system[0].log_size='64'
system.@system[0].urandom_seed='0'
system.@system[0].conloglevel='8'
system.@system[0].cronloglevel='5'
system.@system[0].log_ip='192.168.0.1'
system.@system[0].log_port='22'
system.@system[0].log_proto='tcp'
system.@system[0].zonename='Europe/Warsaw'
system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
system.ntp=timeserver
system.ntp.server='tempus1.gum.gov.pl'
system.led_wan=led
system.led_wan.name='WAN'
system.led_wan.sysfs='green:wan'
system.led_wan.trigger='switch0'
system.led_wan.port_mask='0x02'
system.led_lan1=led
system.led_lan1.name='LAN1'
system.led_lan1.sysfs='green:lan1'
system.led_lan1.trigger='switch0'
system.led_lan1.port_mask='0x04'
system.led_lan2=led
system.led_lan2.name='LAN2'
system.led_lan2.sysfs='green:lan2'
system.led_lan2.trigger='switch0'
system.led_lan2.port_mask='0x08'
system.led_lan3=led
system.led_lan3.name='LAN3'
system.led_lan3.sysfs='green:lan3'
system.led_lan3.trigger='switch0'
system.led_lan3.port_mask='0x10'
system.led_lan4=led
system.led_lan4.name='LAN4'
system.led_lan4.sysfs='green:lan4'
system.led_lan4.trigger='switch0'
system.led_lan4.port_mask='0x20'
root@OpenWrt:/# 

4

Odp: Logread connected to - Child connection from

Sam to zrobiłeś - skierowałeś logowanie na adres 192.168.0.1 port 22. W jakim celu?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Logread connected to - Child connection from

No właśnie nie, nie przypominam sobie abym wprowadzał taką konfigurację. Tak czy owak jak powinna wygladać właściwa konfiguracja logowania?

6 (edytowany przez Cezary 2023-01-06 23:14:30)

Odp: Logread connected to - Child connection from

Tylko linia

    option log_size '64'

Do wyrzucenia linie

option log_ip '192.168.0.1'
option log_port '22'
option log_proto 'tcp'

Ustawiałeś, masz też ustawioną strefę czasową na naszą a domślnie jej nie ma.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez awkm80 2023-01-06 23:33:43)

Odp: Logread connected to - Child connection from

Strefę czasową to fakt, zmieniałem z poziomu GUI. Ale z tymi logami to naprawdę nie wiem smile
Poprawione..
Teraz wszystko jest ok.
Bardzo Ci dziękuję