coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
514 stars 257 forks source link

Number of chilli processes #492

Open mtydelski opened 4 years ago

mtydelski commented 4 years ago

Hello.

Forgive me my newbie question. I use coova-chilli successfully but don't know why chilli behave like that: Every hour chilli creates another process (child process?) for max 1 or 2 minutes and then that process is killed automatically. In my monitoring system I have a Warning and then a Critical that inform me, that there are more than one chilli processes. Everything works correctly but i would like to know if such behavior is normal or maybe it shouldn't be like that.

root@hotspot-1362207:~#  journalctl -u chilli.service
-- Logs begin at Mi 2019-09-18 07:40:06 CEST, end at Mi 2019-09-18 14:48:58 CEST. --
Sep 18 08:00:02 hotspot-1362207 chilli_opt[6659]: IPv6 disabled
Sep 18 08:00:02 hotspot-1362207 chilli_opt[6659]: DHCP Listen: 172.17.248.1
Sep 18 08:00:02 hotspot-1362207 chilli_opt[6659]: UAM Listen: 172.17.248.1
Sep 18 08:00:02 hotspot-1362207 chilli_opt[6659]: Success: Invalid uamallowed domain or address: https!
Sep 18 08:00:02 hotspot-1362207 chilli_opt[6659]: PID 6659 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 08:09:19 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:09:24 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:09:31 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:09:47 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:20:17 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 08:38:28 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:38:33 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:38:40 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:38:59 hotspot-1362207 coova-chilli[4279]: dropping malformed DNS
Sep 18 08:49:27 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 09:00:03 hotspot-1362207 chilli_opt[18247]: IPv6 disabled
Sep 18 09:00:03 hotspot-1362207 chilli_opt[18247]: DHCP Listen: 172.17.248.1
Sep 18 09:00:03 hotspot-1362207 chilli_opt[18247]: UAM Listen: 172.17.248.1
Sep 18 09:00:03 hotspot-1362207 chilli_opt[18247]: Success: Invalid uamallowed domain or address: https!
Sep 18 09:00:03 hotspot-1362207 chilli_opt[18247]: PID 18247 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 09:22:07 hotspot-1362207 coova-chilli[4279]: Successful UAM login from username=.D8-5B-2A-6E-B5-AB@k011469 IP=172.17.248.145
Sep 18 09:32:55 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 10:00:02 hotspot-1362207 chilli_opt[30063]: IPv6 disabled
Sep 18 10:00:02 hotspot-1362207 chilli_opt[30063]: DHCP Listen: 172.17.248.1
Sep 18 10:00:02 hotspot-1362207 chilli_opt[30063]: UAM Listen: 172.17.248.1
Sep 18 10:00:02 hotspot-1362207 chilli_opt[30063]: Success: Invalid uamallowed domain or address: https!
Sep 18 10:00:02 hotspot-1362207 chilli_opt[30063]: PID 30063 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 11:00:01 hotspot-1362207 chilli_opt[9136]: IPv6 disabled
Sep 18 11:00:01 hotspot-1362207 chilli_opt[9136]: DHCP Listen: 172.17.248.1
Sep 18 11:00:01 hotspot-1362207 chilli_opt[9136]: UAM Listen: 172.17.248.1
Sep 18 11:00:02 hotspot-1362207 chilli_opt[9136]: Success: Invalid uamallowed domain or address: https!
Sep 18 11:00:02 hotspot-1362207 chilli_opt[9136]: PID 9136 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 11:20:19 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-AE-FA-56-9A-55 IP=172.17.248.41
Sep 18 11:57:32 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 12:00:02 hotspot-1362207 chilli_opt[20628]: IPv6 disabled
Sep 18 12:00:02 hotspot-1362207 chilli_opt[20628]: DHCP Listen: 172.17.248.1
Sep 18 12:00:02 hotspot-1362207 chilli_opt[20628]: UAM Listen: 172.17.248.1
Sep 18 12:00:02 hotspot-1362207 chilli_opt[20628]: Success: Invalid uamallowed domain or address: https!
Sep 18 12:00:02 hotspot-1362207 chilli_opt[20628]: PID 20628 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 13:00:01 hotspot-1362207 chilli_opt[32112]: IPv6 disabled
Sep 18 13:00:01 hotspot-1362207 chilli_opt[32112]: DHCP Listen: 172.17.248.1
Sep 18 13:00:01 hotspot-1362207 chilli_opt[32112]: UAM Listen: 172.17.248.1
Sep 18 13:00:02 hotspot-1362207 chilli_opt[32112]: Success: Invalid uamallowed domain or address: https!
Sep 18 13:00:02 hotspot-1362207 chilli_opt[32112]: PID 32112 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: IPv6 disabled
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: DHCP Listen: 172.17.248.1
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: UAM Listen: 172.17.248.1
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: Success: Invalid uamallowed domain or address: https!
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: PID 11193 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 14:04:29 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 14:15:30 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 14:16:33 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=D8-5B-2A-6E-B5-AB IP=172.17.248.145
Sep 18 14:39:47 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=44-C3-46-B9-12-86 IP=172.17.248.21
root@hotspot-1362207:~#  systemctl status chilli
* chilli.service - LSB: Start CoovaChilli daemon at boot time
   Loaded: loaded (/etc/init.d/chilli; bad; vendor preset: enabled)
   Active: active (running) since Mi 2019-09-18 05:00:02 CEST; 9h ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 1
   Memory: 17.8M
      CPU: 25.261s
   CGroup: /system.slice/chilli.service
           `-4279 /usr/sbin/chilli -c /etc/chilli.conf

Sep 18 13:00:02 hotspot-1362207 chilli_opt[32112]: PID 32112 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: IPv6 disabled
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: DHCP Listen: 172.17.248.1
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: UAM Listen: 172.17.248.1
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: Success: Invalid uamallowed domain or address: https!
Sep 18 14:00:02 hotspot-1362207 chilli_opt[11193]: PID 11193 saving options to /var/run/chilli.4279.cfg.bin
Sep 18 14:04:29 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 14:15:30 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=00-0D-B9-53-25-7D IP=0.0.0.0
Sep 18 14:16:33 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=D8-5B-2A-6E-B5-AB IP=172.17.248.145
Sep 18 14:39:47 hotspot-1362207 coova-chilli[4279]: DHCP Released MAC=44-C3-46-B9-12-86 IP=172.17.248.21
root@hotspot-1362207:~#  ps -A | grep chilli
 4279 ?        00:00:24 chilli
root@hotspot-1362207:~#