hallo,
ich habe über adguard festgestellt dass durch eine funktion in fhem alle 7-8 sekunden eine anfrage an icanhazip.com gesendet wird.
ich kann nicht herausfinden wodurch diese anfrage ausgelöst wird.
mit verbose 5 komme ich nicht weiter.
kann mir bitte jemand für die suche tipps geben?
..oder noch besser gleich sagen wie ich das abstellen kann. :)
viele grüße horst
Bist Du Dir mit FHEM sicher?
Eigentlich es es (meines Wissens) eine Webside, um seine lokale externe IP rauszufinden ... z.B. für DynIP o.Ä.
ja stimmt,
auf dem raspi läuft nur fhem, und von da kommt die anfrage
Dann fahre FHEM (nur FHEM, nicht die Maschine) mal runter und gucke nach, ob es wirklich nicht mehr kommt ...
Auf dem Server einloggen.
Springe ins Modulverzeichnis
cd /opt/fhem/FHEM
Suche nach der Zeichenkette in allen Dateien.
grep -rnw . -e 'icanhazip'
Resultat
./22_HOMEMODE.pm:3445: url => "http://icanhazip.com/",
Ich kenne Homemode nicht, bitte prüfe ob das Modul die externe IP benötigt und berichte dann.
also auch wenn ich fhem stoppe laufen die anfragen tapfer weiter.
daraus schließe ich dass die anfragen nicht von fhem oder einem modul davon kommen.
stimmt das?
1. Ja
2. Wie stellst du sicher das fhem wirklich stoppt?
3. Benutzt Du homemode?
sudo systemctl stop fhem
dann aufrufversuch über webinterface
nein, homemode benutze ich nicht
Im code von Homemode wird die IP alle 5 Sekunden abgefragt. +2 Sekunden Laufzeit und Latenz sind recht genau Deine 7 Sekunden.
hmmm,
auch wenn fhem gestoppt ist?
ich kann mich nicht erinnern homemode installiert zu haben.
wie könnte ich das denn prüfen?
list
in der fhem Befehlszeile und Resultat hier einstellen
Type list <name> for detailed info.
Global:
global (no definition)
HMLAN:
HMLAN1 (low ok opened)
MQTT2_SERVER:
MQTT2_FHEM_Server (Initialized)
MQTT2_FHEM_Server_10.0.0.201_9395 (Connected)
MQTT2_FHEM_Server_10.0.0.202_23734 (Connected)
MQTT2_FHEM_Server_10.0.0.205_30894 (Connected)
MQTT2_FHEM_Server_10.0.0.206_30341 (Connected)
MQTT2_FHEM_Server_10.0.0.207_7983 (Connected)
MQTT2_FHEM_Server_10.0.0.221_4890 (Connected)
ZWDongle:
razberry (Initialized)
FHEMWEB:
WEB (Initialized)
WEB_10.0.0.1_8118 (Connected)
WEB_10.0.0.1_8119 (Connected)
WEB_10.0.0.1_8120 (Connected)
WEB_10.0.0.1_8121 (Connected)
WEB_10.0.0.1_8122 (Connected)
WEB_10.0.0.1_8123 (Connected)
WEBphone (Initialized)
WEBtablet (Initialized)
HTTPSRV:
TABLETUI (TABLETUI)
CUL_HM:
2.sissys (off)
ActionDetector (alive:1 dead:0 unkn:7 off:0)
HM_446FF2 (CMDs_done)
bad (CMDs_done)
bad_Clima (T: 23.3 desired: 23.5 valve: 20)
bad_ClimaTeam (unpeered)
bad_Climate (peered)
bad_Weather (23.3)
bad_WindowRec (last:trigLast)
bad__fb (CMDs_done)
bad__fb_Climate (T: 23.3 desired: 23.5 H: 46)
bad__fb_SwitchTr (unpeered)
bad__fb_Weather (T: 23.3 H: 46)
bad__fb_WindowRec (last:balkon_tuer:closed)
bad__fb_remote (unpeered)
bad_remote (unpeered)
balkon_tuer ()
brunnen (off)
buero (CMDs_done)
buero_Clima (T: 25.3 desired: 23.5 valve: 15)
buero_ClimaTeam (unpeered)
buero_Climate (unpeered)
buero_Weather (25.3)
buero_WindowRec (last:trigLast)
buero_remote (unpeered)
essen (CMDs_done)
essen_Clima (T: 23.5 desired: 24.0 valve: 50)
essen_ClimaTeam (unpeered)
essen_Climate (unpeered)
essen_Weather (23.5)
essen_WindowRec (last:balkon_tuer:closed)
essen_remote (unpeered)
laterne (off)
schlafen (CMDs_done)
schlafen_Clima (T: 22.3 desired: 5.0 valve: 0)
schlafen_ClimaTeam (unpeered)
schlafen_Climate (unpeered)
schlafen_Weather (22.3)
schlafen_WindowRec (last:trigLast)
schlafen_remote (unpeered)
vivi (off)
wohnen (CMDs_done)
wohnen_Clima (T: 23.4 desired: 24.0 valve: 60)
wohnen_ClimaTeam (unpeered)
wohnen_Climate (unpeered)
wohnen_Weather (23.4)
wohnen_WindowRec (last:trigLast)
wohnen__fb (CMDs_done)
wohnen__fb_Climate (T: 23.2 desired: 23.5 H: 43)
wohnen__fb_SwitchTr (unpeered)
wohnen__fb_Weather (T: 23.2 H: 43)
wohnen__fb_WindowRec (last:balkon_tuer:closed)
wohnen__fb_remote (unpeered)
wohnen_remote (unpeered)
MQTT2_DEVICE:
sonoff.pow1 (ON)
sonoff.s1 (off)
sonoff.s2 (off)
sonoff.s3 (set_off)
sonoff.s4 (set_off)
sonoff.s5 (off)
sonoff.s6 (off)
sonoff.s7 (off)
ZWave:
5.sissys (off: 0 W previous: 0 delta_time: 9 s)
balkon.sensor (16.7 C 57 % 541 Lux closed day day)
bv11 (on: 1 W previous: 1 delta_time: 9 s)
computer (on:225.3 W previous: 224.7 delta_time: 9 s)
esstisch (0.0 W)
fhem (meterReset: 1.6 W previous: 1.6 delta_time: 9 s)
flur.sensor (closed)
greenwave.power (1)
kodi (associationAdd 3 1: 0 W previous: 0 delta_time: 1 s)
kodi.pi (on: 4.6 W previous: 4.7 delta_time: 9 s)
kuche.grun (associationAdd 3 1)
kuche.sensor (closed)
kuche.weiss (0.8 W)
lorbeer (off: 0 W previous: 0 delta_time: 9 s)
nodon (???)
speer (4.8 W)
MilightBridge:
Milight (ok)
MilightDevice:
flur (off)
kammer (off)
romeo.moon (on 100)
schrank (off)
readingsGroup:
Batteriestand (Initialized)
ZE.Activity (Initialized)
SYSMON:
rpi (Initialized)
DWD_OpenData:
dwd.dietzenbach (alerts updated)
PROPLANTA:
dietzenbachProplanta (Tmin: 1 Tmax: 18 T: 17.6 H: 47 W: 3.6 P: 1026.3)
kaiserslauternProplanta (Tmin: 4 Tmax: 17 T: 14.6 H: 50.8 W: 7.2 P: 1026.5)
verbierProplanta (Tmin: 1 Tmax: 10)
Twilight:
hell2 (5)
hell2_kl (5)
hell2_vb (5)
XBMC:
libreelec (opened)
FB_CALLMONITOR:
telefon (opened)
PRESENCE:
internet (present)
eventTypes:
eventTypes (active)
notify:
colorInit (2020-03-18 16:33:26)
flur.sensor.Battery (active)
initialUsbCheck (2020-03-18 16:33:26)
kuche.sensor.Battery (active)
myNotify (active)
FileLog:
FileLog_5.sissys (active)
FileLog_HM_446FF2 (active)
FileLog_HM_4kanal (active)
FileLog_Wetter.Dietzenbach (active)
FileLog_Wetter.Kaiserslautern (active)
FileLog_Wetter.Verbier (active)
FileLog_bad (active)
FileLog_bad__fb (active)
FileLog_balkon.sensor (active)
FileLog_balkon_tuer (active)
FileLog_buero (active)
FileLog_bv11 (active)
FileLog_computer (active)
FileLog_do.hk.valve (active)
FileLog_do.hk.ziel23.winter (active)
FileLog_essen (active)
FileLog_esstisch (active)
FileLog_fhem (active)
FileLog_flur.sensor (active)
FileLog_gewicht (active)
FileLog_greenwave.power (active)
FileLog_hell2 (active)
FileLog_hell2_kl (active)
FileLog_hmlan (active)
FileLog_internet (active)
FileLog_kodi (active)
FileLog_kodi.pi (active)
FileLog_kuche.grun (active)
FileLog_kuche.sensor (active)
FileLog_kuche.weiss (active)
FileLog_lorbeer (active)
FileLog_ps27a (active)
FileLog_razberry (active)
FileLog_rpi (active)
FileLog_schlafen (active)
FileLog_sonoff.pow1 (active)
FileLog_sonoff.s1 (active)
FileLog_sonoff.s2 (active)
FileLog_sonoff.s3 (active)
FileLog_sonoff.s4 (active)
FileLog_sonoff.s5 (active)
FileLog_sonoff.s6 (active)
FileLog_sonoff.s7 (active)
FileLog_speer (active)
FileLog_telefon (active)
FileLog_va.zuhause (active)
FileLog_wohnen (active)
FileLog_wohnen__fb (active)
Filelog_do.hk.ziel23.winter.daystate.set (active)
Logfile (active)
flur.log (active)
allowed:
allowed_WEBphone (validFor:WEBphone)
allowed_WEBtablet (validFor:WEBtablet)
allowed_telnetPort (validFor:telnetPort)
DOIF:
600 (cmd_1)
do.2.sissys.regal.s4 (cmd_2)
do.LoadCurrent (cmd_1)
do.aufstehen (cmd_1)
do.aufstehen.schlafen.hk.wohnen.bad (disabled)
do.backup.sys (cmd_1)
do.balkon.sensor.daynight (cmd_1)
do.balkon.sensor.daynightabsolut (cmd_1)
do.balkon.sensor.lumi (cmd_2)
do.batteriestatus (cmd_3)
do.battery.check.flur (cmd_1)
do.battery.check.kuche (cmd_1)
do.brunnen (cmd_3)
do.buero.fenster (cmd_2)
do.computer.an (cmd_2)
do.computer.an.aus (cmd_1)
do.computer.notaus (disabled)
do.computer.stromsparen (cmd_1)
do.eis (cmd_1)
do.esstisch (cmd_2)
do.esstisch.setreading (cmd_1)
do.fhem.powerlevel (cmd_1)
do.flur (cmd_3)
do.flur.dim (cmd_3)
do.flur.hue (cmd_1)
do.get.meter.5.sissys (cmd_2)
do.get.meter.bv11.computer2 (cmd_1)
do.get.meter.fhem (cmd_1)
do.get.meter.greenwave.klein (cmd_3)
do.get.meter.kodi (cmd_2)
do.get.meter.kodi.pi (cmd_1)
do.get.meter.lorbeer (cmd_1)
do.get.meters.volle.stunde (cmd_1)
do.girlande.vivi (disabled)
do.heartbeat (cmd_1)
do.hk.bad (cmd_2)
do.hk.bad.alt (disabled)
do.hk.boost (cmd_2)
do.hk.boost.temp.abgleich (cmd_1)
do.hk.desired.temp.abgleich.fruehling.day (disabled)
do.hk.desired.temp.abgleich.sommer.day (disabled)
do.hk.desired.temp.abgleich.sommer.night (disabled)
do.hk.desired.temp.abgleich.winter.day (disabled)
do.hk.desired.temp.abgleich.winter.dayandnight (disabled)
do.hk.desired.temp.abgleich.winter.dayandnight.alt (disabled)
do.hk.desired.temp.abgleich.winter.night (disabled)
do.hk.max23 (disabled)
do.hk.max23.alt (disabled)
do.hk.valve (cmd_3)
do.hk.wohnen.essen (disabled)
do.hk.wohnen.essen.alt (disabled)
do.hk.ziel23.5.winter.daystate.set (disabled)
do.hk.ziel23.5.winter.daystate.set.alt (disabled)
do.hk.ziel23.winter (disabled)
do.hk.ziel23.winter.alt (disabled)
do.hk.ziel23.winter.daystate.set (disabled)
do.hk.ziel23.winter.daystate.set.alt (disabled)
do.hm.2.sissys (cmd_2)
do.hmlan (cmd_1)
do.jahreszeit (disabled)
do.jahreszeit.alt (disabled)
do.jahreszeit.temperatur.verbund (cmd_1)
do.kammer (disabled)
do.kammer.dim (cmd_2)
do.kammer.hue (disabled)
do.klfenster.sissy (cmd_2)
do.klfenster.sissy.weihnachten (disabled)
do.kodi (cmd_2)
do.kodi.notaus (cmd_2)
do.kodi.pi (disabled)
do.kodi.pi.on.counter (cmd_2)
do.korb.brunnen (cmd_2)
do.kuche.gruen (cmd_2)
do.kuche.gruen.notaus (disabled)
do.kuche.gruen.oncounter (cmd_1)
do.kuche.weiss (cmd_2)
do.kuche.weiss.1 (cmd_2)
do.kuche.weiss.notaus (cmd_1)
do.kuhlschrank (cmd_2)
do.kuhlschrank.obergrenze (cmd_2)
do.laterne (cmd_2)
do.lorbeer (cmd_3)
do.mail.alarm (cmd_2)
do.mail.neustart (cmd_1)
do.mozzkito (cmd_2)
do.netz.laterne (disabled)
do.pseudoazimuth (cmd_1)
do.pseudoazimuth.2 (cmd_1)
do.pseudostunde (cmd_1)
do.pseudostunde15min (cmd_1)
do.pseudotag (cmd_1)
do.reset.verbrauch (cmd_1)
do.romeo.moon.dim (cmd_1)
do.romeo.moon.hue (cmd_1)
do.save.config (cmd_1)
do.schlafen.gehen (cmd_2)
do.schlafen.kalt (cmd_2)
do.schlafen.tv (cmd_2)
do.schrank.dim (cmd_1)
do.schrank.flur.nacht (cmd_2)
do.schrank.hue (cmd_1)
do.set.dim.essen (cmd_1)
do.set.dim.speer (cmd_2)
do.sonnenuntergang (cmd_9)
do.speer (cmd_2)
do.speer.setreading (cmd_1)
do.sterne.lorbeer (disabled)
do.va.13 (cmd_1)
do.va.balkon.oncounter (cmd_2)
do.va.balkon_tuer.oncounter (cmd_2)
do.va.dim (cmd_1)
do.va.dim.tuer (cmd_1)
do.va.flur.oncounter (cmd_2)
do.va.flur.temp (cmd_1)
do.va.gewicht (cmd_1)
do.va.kuche.oncounter (cmd_2)
do.va.neustart (cmd_1)
do.va.oncounter.reset (cmd_1)
do.va.set.verbrauch (cmd_1)
do.va.sonoff.s3.oncounter (cmd_2)
do.va.sonoff.s3.strom.oncounter (cmd_1)
do.va.stromverbrauch.pow1 (cmd_2)
do.va.zeit.ws (cmd_2)
do.va.zuhause (cmd_1)
do.ventilator (disabled)
do.ventilator.anzeige (disabled)
do.ventilator.disable (disabled)
do.vivi (cmd_2)
do.weihnachtsbaum (disabled)
do.zwave.neustart (cmd_1_3)
do_hk_valve (cmd_1)
set.aufstehen.schlafen.hk.wohnen.bad (cmd_2)
set.bad.nachtabsenkung (cmd_1)
set.fruehling (cmd_2)
set.hk.desired.temp.abgleich.winter.dayandnight (disabled)
set.hk.wohnen.essen.buero.anwesenheit (cmd_2)
set.hk.ziel (cmd_4)
set.hk.ziel.daynightstate.set (cmd_3)
set.sommer (initialized)
set.temp.tuer.auf.nachts (cmd_2)
set.winter (cmd_2)
HMinfo:
hm (???)
SVG:
SVG_0 (initialized)
SVG_FileLog_Wetter.Dietzenbach_1 (initialized)
SVG_FileLog_Wetter.Dietzenbach_2 (initialized)
SVG_FileLog_Wetter.Dietzenbach_3 (initialized)
SVG_FileLog_Wetter.Verbier_1 (initialized)
SVG_FileLog_bad_1 (initialized)
SVG_FileLog_balkon_tuer (initialized)
SVG_FileLog_gewicht_1 (initialized)
SVG_FileLog_greenwave.power_1 (initialized)
SVG_FileLog_hell2 (initialized)
SVG_FileLog_hell2_kl_1 (initialized)
SVG_FileLog_kuche.sensor_1 (initialized)
SVG_FileLog_razberry_1 (initialized)
SVG_FileLog_sonoff.pow1_1 (initialized)
SVG_FileLog_wohnen__fb_1 (initialized)
wl_rpi_load (initialized)
WOL:
bv11.wol (off)
htc (on)
htc2 (on)
ipad (off)
ipad5 (off)
lenovo (off)
lenovo2 (off)
librewol (on)
sabertooth (off)
xperia (off)
autocreate:
autocreate (active)
dummy:
hk.boost (off)
hz.jahreszeit.temp (23.5)
va.13 (3)
va.5sissys.power (???)
va.LoadCurrent (HMLAN1:loadCurrent)
va.aufstehen (18.3.2020 12:9)
va.balkon.oncounter (6)
va.balkon_tuer.oncounter (1)
va.batterie.warnung (batterien 100)
va.bv11.computer.power (10.3)
va.bv11.power (???)
va.computer.notaus (???)
va.computer.power (???)
va.dim (0)
va.dim.tuer (100)
va.flur.oncounter (8)
va.flur.temp (22.7)
va.gewicht (98.3)
va.greenwave.power (0)
va.hk (day zu kalt)
va.hk.preboost (???)
va.hk.valve (???)
va.jahreszeit (winter)
va.jahreszeit.temp (22.0)
va.kammer (0)
va.kodi.pi.on (0)
va.kueche.gruen.oncounter (1)
va.kueche.oncounter (11)
va.kw (0.23)
va.pseudoazimuth (308)
va.pseudoazimuth.24 (42)
va.pseudostunde (16)
va.pseudotag (18)
va.romeo.moon (1)
va.schlafen.gehen (18.3.2020 5:9)
va.sonnenuntergang (0)
va.sonoff.s3.oncounter (0)
va.sonoff.s3.strom.oncounter (0)
va.stromverbrauch.pow1 (1.843 kWh)
va.vb.bv11 (30.43788 kWh)
va.vb.computer (26.1939 kWh)
va.vb.esstisch (0.24 kWh)
va.vb.fhem (0.8621 kWh)
va.vb.kodi (2.1839 kWh)
va.vb.lorbeer (0.2553 kWh)
va.vb.ps27 (0.0004 kWh)
va.vb.speer (0.07 kWh)
va.zeit.sw (7200)
va.zuhause (horst)
telnet:
telnetForBlockingFn_1584545613 (Initialized)
telnetPort (Initialized)
weblink:
HTMLForecast (initialized)
Wetter.Dietzenbach.Prognose (initialized)
hmm. Kann keinen Verdächtigen sehen. Mach mal die Schritte oben auf Deinem Server
[pi@raspberrypi:/opt/fhem/FHEM $ grep -rnw . -e 'icanhazip'
./22_HOMEMODE.pm:3443: url => "http://icanhazip.com/",
ich bin irritiert
ich habe das modul mal rausgeworfen (umbenannt)
neustart icanhazip.com wird weiterhin aufgerufen
Dann muss es was fhem unabhängiges sein
Hätte ich auch getippt.
Was steht in Deiner crontab?
cat /etc/crontab
es könnte auch ein sonstiger Deamon sein ...
ps aux
.. die Ausgabe könnte etwas länger sein ...
pi@raspberrypi:~ $ cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
Also ein Deamon ... müsstest Du ein "ps -aux" auswerten ...
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.8 0.8 33872 8220 ? Ss 17:15 0:17 /sbin/init
root 2 0.0 0.0 0 0 ? S 17:15 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 17:15 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 17:15 0:00 [rcu_par_gp]
root 8 0.0 0.0 0 0 ? I< 17:15 0:00 [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S 17:15 0:00 [ksoftirqd/0]
root 10 0.3 0.0 0 0 ? I 17:15 0:07 [rcu_sched]
root 11 0.0 0.0 0 0 ? I 17:15 0:00 [rcu_bh]
root 12 0.0 0.0 0 0 ? S 17:15 0:00 [migration/0]
root 13 0.0 0.0 0 0 ? S 17:15 0:00 [cpuhp/0]
root 14 0.0 0.0 0 0 ? S 17:15 0:00 [cpuhp/1]
root 15 0.0 0.0 0 0 ? S 17:15 0:00 [migration/1]
root 16 0.0 0.0 0 0 ? S 17:15 0:00 [ksoftirqd/1]
root 19 0.0 0.0 0 0 ? S 17:15 0:00 [cpuhp/2]
root 20 0.0 0.0 0 0 ? S 17:15 0:00 [migration/2]
root 21 0.0 0.0 0 0 ? S 17:15 0:00 [ksoftirqd/2]
root 24 0.0 0.0 0 0 ? S 17:15 0:00 [cpuhp/3]
root 25 0.0 0.0 0 0 ? S 17:15 0:00 [migration/3]
root 26 0.0 0.0 0 0 ? S 17:15 0:00 [ksoftirqd/3]
root 29 0.0 0.0 0 0 ? S 17:15 0:00 [kdevtmpfs]
root 30 0.0 0.0 0 0 ? I< 17:15 0:00 [netns]
root 31 0.0 0.0 0 0 ? I 17:15 0:00 [kworker/0:1-cgroup_destroy]
root 32 0.0 0.0 0 0 ? I 17:15 0:00 [kworker/1:1-mm_percpu_wq]
root 34 0.0 0.0 0 0 ? S 17:15 0:00 [khungtaskd]
root 35 0.0 0.0 0 0 ? S 17:15 0:00 [oom_reaper]
root 36 0.0 0.0 0 0 ? I< 17:15 0:00 [writeback]
root 37 0.0 0.0 0 0 ? S 17:15 0:00 [kcompactd0]
root 38 0.0 0.0 0 0 ? I< 17:15 0:00 [crypto]
root 39 0.0 0.0 0 0 ? I< 17:15 0:00 [kblockd]
root 40 0.0 0.0 0 0 ? S 17:15 0:00 [watchdogd]
root 41 0.0 0.0 0 0 ? I< 17:15 0:00 [rpciod]
root 42 0.0 0.0 0 0 ? I< 17:15 0:00 [kworker/u9:0]
root 43 0.0 0.0 0 0 ? I< 17:15 0:00 [xprtiod]
root 44 0.0 0.0 0 0 ? I 17:15 0:01 [kworker/u8:1-events_unbound]
root 46 0.0 0.0 0 0 ? S 17:15 0:00 [kswapd0]
root 47 0.0 0.0 0 0 ? I< 17:15 0:00 [nfsiod]
root 58 0.0 0.0 0 0 ? I< 17:15 0:00 [kthrotld]
root 60 0.0 0.0 0 0 ? I< 17:15 0:00 [iscsi_eh]
root 61 0.0 0.0 0 0 ? I< 17:15 0:00 [dwc_otg]
root 62 0.0 0.0 0 0 ? I< 17:15 0:00 [DWC Notificatio]
root 63 0.0 0.0 0 0 ? S< 17:15 0:00 [vchiq-slot/0]
root 64 0.0 0.0 0 0 ? S< 17:15 0:00 [vchiq-recy/0]
root 65 0.0 0.0 0 0 ? S< 17:15 0:00 [vchiq-sync/0]
root 66 0.0 0.0 0 0 ? S 17:15 0:00 [vchiq-keep/0]
root 67 0.0 0.0 0 0 ? S< 17:15 0:00 [SMIO]
root 70 0.0 0.0 0 0 ? I< 17:15 0:00 [mmc_complete]
root 72 0.0 0.0 0 0 ? I< 17:15 0:01 [kworker/0:1H-mmc_complete]
root 73 0.0 0.0 0 0 ? I< 17:15 0:00 [kworker/1:1H-kblockd]
root 76 0.0 0.0 0 0 ? S 17:15 0:00 [scsi_eh_0]
root 77 0.0 0.0 0 0 ? I< 17:15 0:00 [scsi_tmf_0]
root 78 0.0 0.0 0 0 ? S 17:15 0:00 [usb-storage]
root 79 0.0 0.0 0 0 ? S 17:15 0:00 [jbd2/mmcblk0p2-]
root 80 0.0 0.0 0 0 ? I< 17:15 0:00 [ext4-rsv-conver]
root 81 0.0 0.0 0 0 ? I< 17:15 0:00 [ipv6_addrconf]
root 83 0.0 0.0 0 0 ? I< 17:15 0:00 [kworker/3:1H-kblockd]
root 126 0.5 1.2 33240 11840 ? Ss 17:15 0:11 /lib/systemd/systemd-journald
root 146 0.0 0.4 18820 4136 ? Ss 17:15 0:01 /lib/systemd/systemd-udevd
root 162 0.0 0.0 0 0 ? S< 17:15 0:00 [SMIO]
root 173 0.0 0.0 0 0 ? I< 17:15 0:00 [mmal-vchiq]
root 174 0.0 0.0 0 0 ? I< 17:15 0:00 [mmal-vchiq]
root 175 0.0 0.0 0 0 ? I< 17:15 0:00 [mmal-vchiq]
systemd+ 295 0.0 0.6 22408 5700 ? Ssl 17:15 0:00 /lib/systemd/systemd-timesyncd
nobody 323 0.0 0.2 4972 2384 ? Ss 17:15 0:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
root 325 0.0 0.6 13492 6000 ? Ss 17:15 0:02 /lib/systemd/systemd-logind
root 327 0.0 0.2 8320 2624 ? Ss 17:15 0:00 /usr/sbin/cron -f
root 330 0.0 0.4 11748 4552 ? SNs 17:15 0:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
root 331 0.0 1.1 67208 10756 ? Ssl 17:15 0:00 /usr/lib/udisks2/udisksd
avahi 334 0.0 0.3 6424 2884 ? Ss 17:15 0:01 avahi-daemon: running [raspberrypi.local]
root 337 0.0 0.8 54644 8152 ? Ssl 17:15 0:00 /usr/sbin/ModemManager --filter-policy=strict
root 338 0.1 0.3 25860 2916 ? Ssl 17:15 0:03 /usr/sbin/rsyslogd -n -iNONE
message+ 341 0.5 0.4 7444 4128 ? Ss 17:15 0:12 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 346 0.0 0.4 10740 3980 ? Ss 17:15 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root 381 0.0 0.0 0 0 ? I< 17:15 0:00 [cfg80211]
root 382 0.0 0.1 2832 1764 ? Ss 17:15 0:00 /sbin/dhcpcd -q -b
avahi 405 0.0 0.0 6424 300 ? S 17:15 0:00 avahi-daemon: chroot helper
root 407 0.1 0.7 39188 7092 ? Ssl 17:15 0:03 /usr/lib/policykit-1/polkitd --no-debug
root 411 0.0 3.0 232376 28596 ? Ss 17:15 0:00 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
root 412 0.0 1.8 44616 17624 ? Ssl 17:15 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 418 0.0 0.2 8976 2708 ? Ss 17:15 0:00 /usr/bin/vncserver-x11-serviced -fg
root 434 0.0 0.6 47376 6252 ? Ssl 17:15 0:00 /usr/sbin/lightdm
root 446 1.1 2.8 43508 27404 ? S 17:15 0:24 /usr/bin/vncserver-x11-core -service
root 518 0.0 0.5 10928 5328 ? Ss 17:15 0:00 /usr/sbin/sshd -D
mysql 582 0.2 7.3 1016236 69384 ? Ssl 17:15 0:04 /usr/sbin/mysqld
root 606 1.4 7.2 227244 68856 tty7 Rsl+ 17:15 0:31 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 611 0.0 0.1 4656 1464 tty1 Ss+ 17:15 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 665 0.5 1.3 19984 12708 ? S 17:15 0:12 /usr/bin/vncagent service 14
root 673 0.0 0.7 12676 7152 ? Ss 17:15 0:00 /usr/sbin/apache2 -k start
www-data 674 0.0 0.6 545232 6428 ? Sl 17:15 0:00 /usr/sbin/apache2 -k start
www-data 675 0.0 0.6 545232 6428 ? Sl 17:15 0:00 /usr/sbin/apache2 -k start
root 931 0.0 0.4 40256 3984 ? Ss 17:15 0:00 /usr/lib/postfix/sbin/master -w
postfix 933 0.0 0.5 40776 5448 ? S 17:15 0:00 qmgr -l -t unix -u
root 1034 0.0 0.7 30412 6740 ? Sl 17:15 0:00 lightdm --session-child 14 17
www-data 1052 0.0 1.6 232680 15888 ? S 17:15 0:00 php-fpm: pool www
www-data 1053 0.0 1.6 232680 15888 ? S 17:15 0:00 php-fpm: pool www
www-data 1054 0.0 1.6 232680 15724 ? S 17:15 0:00 php-fpm: pool www
www-data 1058 0.0 1.6 232680 15696 ? S 17:15 0:00 php-fpm: pool www
pi 1087 0.0 0.8 14692 7668 ? Ss 17:15 0:00 /lib/systemd/systemd --user
pi 1094 0.0 0.3 17364 3612 ? S 17:15 0:00 (sd-pam)
pi 1134 0.0 1.2 55176 12012 ? Ssl 17:15 0:00 /usr/bin/lxsession -s LXDE-pi -e LXDE
pi 1148 0.0 0.4 7296 3980 ? Ss 17:15 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
redis 1156 0.5 0.4 48964 4496 ? Ssl 17:15 0:12 /usr/bin/redis-server 127.0.0.1:0
pi 1197 0.0 0.0 4520 288 ? Ss 17:15 0:00 /usr/bin/ssh-agent x-session-manager
pi 1242 0.0 0.6 43608 6292 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfsd
pi 1247 0.0 0.5 54508 5192 ? Sl 17:15 0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
pi 1252 0.0 1.7 64380 16432 ? S 17:15 0:01 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
pi 1258 0.0 1.1 47680 11144 ? Sl 17:15 0:00 lxpolkit
pi 1266 0.6 3.5 157476 33400 ? Sl 17:15 0:13 lxpanel --profile LXDE-pi
pi 1268 0.1 2.1 72412 20420 ? Sl 17:15 0:03 pcmanfm --desktop --profile LXDE-pi
pi 1276 0.0 3.5 68388 34024 ? Sl 17:15 0:01 /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray
pi 1277 0.0 0.0 4520 292 ? Ss 17:15 0:00 /usr/bin/ssh-agent -s
pi 1287 0.0 0.5 40448 4784 ? Sl 17:15 0:00 /usr/lib/geoclue-2.0/demos/agent
pi 1297 0.1 5.2 264412 49544 ? Sl 17:15 0:02 clipit
pi 1302 0.0 1.9 182016 18768 ? S<sl 17:15 0:00 /usr/bin/pulseaudio --daemonize=no
rtkit 1313 0.0 0.2 23536 2292 ? SNsl 17:15 0:00 /usr/lib/rtkit/rtkit-daemon
pi 1318 0.0 1.3 32492 13244 ? S 17:15 0:01 /usr/bin/vncserverui service 16
pi 1329 0.0 0.5 26440 5132 ? Sl 17:15 0:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
pi 1341 0.0 1.5 32276 14836 ? S 17:15 0:00 /usr/bin/vncserverui -statusicon 5
pi 1346 0.0 1.0 98520 10356 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
pi 1376 0.0 0.5 41868 5000 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
pi 1389 0.0 0.4 40300 4596 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
pi 1393 0.0 0.7 56220 7296 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
pi 1401 0.0 0.4 40300 4324 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
pi 1441 0.0 0.6 53312 6496 ? Sl 17:15 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
pi 1478 0.0 0.4 31176 4304 ? Ssl 17:15 0:00 /usr/lib/gvfs/gvfsd-metadata
postfix 1838 0.0 0.5 40732 5496 ? S 17:16 0:00 pickup -l -t unix -u -c
fhem 3647 17.3 6.3 99764 60052 ? S 17:20 5:19 /usr/bin/perl fhem.pl fhem.cfg
root 7877 0.0 0.0 0 0 ? I 17:30 0:00 [kworker/2:2-mm_percpu_wq]
root 8671 0.0 0.0 0 0 ? I< 17:31 0:00 [kworker/2:1H-kblockd]
pi 8955 1.3 2.9 85728 28280 ? Rl 17:32 0:15 lxterminal
pi 8961 0.0 0.4 8972 4060 pts/0 Ss 17:32 0:00 bash
root 9904 0.0 0.0 0 0 ? I 17:34 0:00 [kworker/3:3-cgroup_destroy]
root 11724 0.0 0.0 0 0 ? I 17:38 0:00 [kworker/u8:2-events_unbound]
root 12273 0.0 0.0 0 0 ? I 17:39 0:00 [kworker/3:1-events]
root 13353 0.0 0.0 0 0 ? I< 17:41 0:00 [kworker/2:2H]
root 13774 0.0 0.0 0 0 ? I 17:42 0:00 [kworker/1:2-cgroup_destroy]
root 13846 0.0 0.0 0 0 ? I< 17:43 0:00 [kworker/1:0H]
root 14463 0.0 0.0 0 0 ? I 17:44 0:00 [kworker/0:0-cgroup_destroy]
root 14559 0.0 0.0 0 0 ? I 17:44 0:00 [kworker/3:0-mm_percpu_wq]
root 14598 0.0 0.0 0 0 ? I 17:44 0:00 [kworker/2:1-events]
root 14639 0.0 0.0 0 0 ? I< 17:44 0:00 [kworker/3:2H]
root 15041 0.0 0.0 0 0 ? I< 17:45 0:00 [kworker/0:0H]
root 16229 0.0 0.0 0 0 ? I 17:48 0:00 [kworker/3:2-mm_percpu_wq]
root 16780 0.0 0.0 0 0 ? I 17:49 0:00 [kworker/0:2-cgroup_destroy]
root 16876 0.0 0.0 0 0 ? I 17:49 0:00 [kworker/2:0-mm_percpu_wq]
root 17137 0.0 0.0 0 0 ? I 17:50 0:00 [kworker/u8:0]
root 17167 0.0 0.0 0 0 ? I 17:50 0:00 [kworker/1:0-mm_percpu_wq]
pi 17642 11.0 0.3 10440 3088 pts/0 R+ 17:51 0:00 ps -aux
das einzige was mir hier verdächtig vorkommt ist
root 10 0.3 0.0 0 0 ? I 17:15 0:07 [rcu_sched]
aber was das ist, oder wie ich es abschalten kan, keine ahnung
Zitat von: herrmannj am 18 März 2020, 16:37:29
Im code von Homemode wird die IP alle 5 Sekunden abgefragt.
Das ist absolut falsch!
Standardmäßig wird die IP überhaupt nicht abgefragt, erst wenn man über ein Attribut selbst das Abfrageinterval (nur in Minuten einzustellen) vorgibt wird das getan.
HOMEMODE läuft mit einer Frequenz von 0,2Hz. Das heißt alle 5 Sekunden wird geprüft ob z.B. das o.g. Interval bereits erreicht ist und nur dann wird der IP Check ausgeführt.
Gruß
Dan
ZitatDas ist absolut falsch!
Dann möchte ich mich hiermit in aller Form für meine offensichtlich falsche Aussage entschuldigen und mich davon distanzieren! :) (Ich habe den code nur überflogen und den internalTimer falsch interpretiert)
Dem TE dürfte der Unterschied ohnehin egal sein da Homemode als Ursache ja bereits ausgeschieden ist. Hast Du noch einen Tip für ihn?
Zitat von: herrmannj am 18 März 2020, 23:41:50
Dann möchte ich mich hiermit in aller Form für meine offensichtlich falsche Aussage entschuldigen und mich davon distanzieren! :) (Ich habe den code nur überflogen und den internalTimer falsch interpretiert)
Kein Problem, wollte es nur richtigstellen.
Zitat von: herrmannj am 18 März 2020, 23:41:50Hast Du noch einen Tip für ihn?
Evtl. cron mal prüfen?
Oder mal ein grep nach der URL im übrigen Dateisystem ausführen?
Gruß
Dan
Auf jedem Falle ist es ein Desktopsystem .. und damit sehr unübersichtlich.
Zusätzlich läuft vncserverui und Dekstoptools .. auf die Schnelle kann man damit gaaans schlecht den Verursacher ermitteln.
Muß es wirklich ein Dekstopsystem für einen Server sein?
vielen dank für eure hilfe.
ich konnte das problem lösen.
vor vielen monaten, im august 2019, habe ich auf diesem server mal mit nextcloud experimentiert.
eine batch datei ist wohl aus dem ruder gelaufen und hat die anfragen ausgelöst.
knapp 12000 pro tag!
an fhem lag es also nicht.
grüße horst
Du solltest Dir aber mal überlegen, die Maschine etwas aufzuräumen ....
da bin ich ja grad dran 8)
z.B: OHNE Desktop ... ;o)