voipmonitor / sniffer

VoIPmonitor sniffer sources
226 stars 105 forks source link

Turn off cachedir #85

Closed konstantin-sancom closed 2 years ago

konstantin-sancom commented 2 years ago

Hi! is it possible to force sniffer not to use cachedir?

I tryed:

  1. Set cachedir option to empty cachedir = in configuration file.
  2. Not to set cachedir option in configuration file.
  3. Run sniffer with --cachedir='' argument. Result is the same - sniffer create /dev/shm/voipmonitor on startup.
voipmonitor commented 2 years ago

Hi,

What do you have in /dev/shm/voipmonitor? Normally if you do not set cachedir it should not be used at all.

konstantin-sancom commented 2 years ago

Hi,

What do you have in /dev/shm/voipmonitor? Normally if you do not set cachedir it should not be used at all.

Without active traffic - nothing at all. But, why is this directory created while cachedir param empty? Is it possible, that local configuration file is overriden from MySQL DB config? I did not found it's name in latest source code.

voipmonitor-petr commented 2 years ago

Hello,

mysql's settings have greater priority then settings in a file, you can disable load settings from db by option mysqlloadconfig=no in /etc/voipmonitor.conf (I was not able to replicate it - I have no /dev/shm/voipmonitor created.