Whatever I do:
DHCP - Change a host description / MAC adresse / IP on
DNS - Add a DNS Record
Firewall - Change any setting
Web Proxy / VHost - Change something thereout
I get an error on the firewall.
Here is a typcial error message:
Or in the old server manager:
Aufgabe mit Fehler abgeschlossen
Configuring shorewall #43 (Exit Status 1)
Compiling using Shorewall 5.1.10.2...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Compiling /etc/shorewall/zones...
Compiling /etc/shorewall/interfaces...
Compiling /etc/shorewall/hosts...
Determining Hosts in Zones...
WARNING: *** blue is an EMPTY ZONE *** /etc/shorewall/hosts (EOF)
Locating Action Files...
Compiling /etc/shorewall/policy...
Running /etc/shorewall/initdone...
Adding Anti-smurf Rules
Adding rules for DHCP
Compiling TCP Flags filtering...
Compiling Kernel Route Filtering...
Compiling Martian Logging...
Compiling MAC Filtration -- Phase 1...
Compiling /etc/shorewall/maclist...
ERROR: No hosts on br0 have the maclist option specified /etc/shorewall/maclist (line 22)
I copy the command and paste it to putty terminal:
echo ‘{“action”:“update-reservation”,“name”:“Ebb-H01”,“MacAddress”:“00:09:52:01:cf:88”,“IpAddress”:“172.17.0.20”,“Description”:“Auerswald TK Anlage”}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-dhcp/update | jq
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: OLD Ebb-H01=local|Description|Auerswald TK Anlage|IpAddress|172.17.0.20|MacAddress|00:09:52:01:cf:88
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: NEW Ebb-H01=local
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: OLD Ebb-H01=local
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: NEW Ebb-H01=local|Description|Auerswald TK Anlage
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: OLD Ebb-H01=local|Description|Auerswald TK Anlage
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: NEW Ebb-H01=local|Description|Auerswald TK Anlage|IpAddress|172.17.0.20
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: OLD Ebb-H01=local|Description|Auerswald TK Anlage|IpAddress|172.17.0.20
Mar 8 17:56:02 ebb-s01 /sbin/e-smith/db[4402]: /var/lib/nethserver/db/hosts: NEW Ebb-H01=local|Description|Auerswald TK Anlage|IpAddress|172.17.0.20|MacAddress|00:09:52:01:cf:88
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: Event: host-modify
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: expanding /etc/hosts
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: expanding /etc/dnsmasq-dhcp-hosts
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: expanding /etc/dnsmasq.conf
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: expanding /etc/cockpit-user/cockpit/cockpit.conf
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: expanding /etc/httpd/conf.d/default-virtualhost.inc
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.236361]
Mar 8 17:56:02 ebb-s01 systemd: Reloading.
Mar 8 17:56:02 ebb-s01 systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue ‘ProtectControlGroups’ in section ‘Service’
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: [INFO] service dnsmasq restart
Mar 8 17:56:02 ebb-s01 systemd: Stopping DNS caching server…
Mar 8 17:56:02 ebb-s01 dnsmasq[2602]: exiting on receipt of SIGTERM
Mar 8 17:56:02 ebb-s01 systemd: Stopped DNS caching server…
Mar 8 17:56:02 ebb-s01 systemd: Starting DNS caching server…
Mar 8 17:56:02 ebb-s01 systemd: Started DNS caching server…
Mar 8 17:56:02 ebb-s01 esmith::event[4403]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.37141]
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: started, version 2.76 cachesize 4000
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth nettlehash no-DNSSEC loop-detect inotify
Mar 8 17:56:02 ebb-s01 dnsmasq-dhcp[4440]: DHCP, IP range 172.17.0.200 – 172.17.0.240, lease time 1d
Mar 8 17:56:02 ebb-s01 dnsmasq-tftp[4440]: TFTP root is /var/lib/tftpboot
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: using nameserver 172.17.0.13#53 for domain ad.myserver.tld
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: using nameserver 8.8.4.4#53
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: using nameserver 146.228.101.20#53
Mar 8 17:56:02 ebb-s01 dnsmasq[4440]: read /etc/hosts - 68 addresses
Mar 8 17:56:02 ebb-s01 dnsmasq-dhcp[4440]: read /etc/dnsmasq-dhcp-hosts
Mar 8 17:56:02 ebb-s01 esmith::event[4442]: Event: nethserver-firewall-base-save host-modify
Mar 8 17:56:02 ebb-s01 esmith::event[4442]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup SUCCESS [0.08466]
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/firehol/fireqos.conf
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/lsm/lsm.conf
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/actions
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/blrules
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/conntrack
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/findgw
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/helpers
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/hosts
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/initdone
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/interfaces
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/maclist
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/mangle
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/masq
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/modules
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/nat
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/policy
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/providers
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/rtrules
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/rules
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/shorewall.conf
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/snat
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/stopped
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/stoppedrules
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/tcinterfaces
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/tcpri
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/tunnels
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/shorewall/zones
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /etc/fail2ban/jail.local
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: expanding /var/www/html/wpad.dat
Mar 8 17:56:03 ebb-s01 esmith::event[4442]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.66772]
Mar 8 17:56:03 ebb-s01 systemd: Reloading.
Mar 8 17:56:03 ebb-s01 systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue ‘ProtectControlGroups’ in section ‘Service’
Mar 8 17:56:04 ebb-s01 root: ERROR:Shorewall restart failed
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: [ERROR] Shorewall restart: Compiling using Shorewall 5.1.10.2…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Processing /etc/shorewall/params …
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Processing /etc/shorewall/shorewall.conf…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Loading Modules…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling /etc/shorewall/zones…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling /etc/shorewall/interfaces…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling /etc/shorewall/hosts…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Determining Hosts in Zones…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Locating Action Files…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling /etc/shorewall/policy…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Running /etc/shorewall/initdone…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Adding Anti-smurf Rules
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Adding rules for DHCP
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling TCP Flags filtering…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling Kernel Route Filtering…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling Martian Logging…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling MAC Filtration – Phase 1…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Compiling /etc/shorewall/maclist…
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: ERROR: No hosts on br0 have the maclist option specified /etc/shorewall/maclist (line 22)
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S89nethserver-shorewall-restart FAILED: 1 [0.679502]
Mar 8 17:56:04 ebb-s01 systemd: Reloading.
Mar 8 17:56:04 ebb-s01 systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue ‘ProtectControlGroups’ in section ‘Service’
Mar 8 17:56:04 ebb-s01 esmith::event[4442]: [INFO] service fail2ban restart
Mar 8 17:56:04 ebb-s01 systemd: Stopping Fail2Ban Service…
Mar 8 17:56:05 ebb-s01 fail2ban-client: Shutdown successful
Mar 8 17:56:05 ebb-s01 systemd: Stopped Fail2Ban Service.
Mar 8 17:56:05 ebb-s01 systemd: Starting Fail2Ban Service…
Mar 8 17:56:05 ebb-s01 systemd: Started Fail2Ban Service.
Mar 8 17:56:05 ebb-s01 systemd: Reloading.
Mar 8 17:56:05 ebb-s01 systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue ‘ProtectControlGroups’ in section ‘Service’
Mar 8 17:56:05 ebb-s01 esmith::event[4442]: [INFO] service lsm is disabled: skipped
Mar 8 17:56:05 ebb-s01 esmith::event[4442]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [1.369072]
Mar 8 17:56:05 ebb-s01 esmith::event[4442]: Event: nethserver-firewall-base-save FAILED
Mar 8 17:56:05 ebb-s01 esmith::event[4403]: Action: /etc/e-smith/events/host-modify/S95firewall-adjust FAILED: 1 [2.87939]
Mar 8 17:56:05 ebb-s01 esmith::event[4403]: Event: host-modify FAILED
Mar 8 17:56:06 ebb-s01 fail2ban-server: Server ready