From 0fb7fc2e6c3d00ca2946fd4583c4d8a481d11342 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 15 Apr 2016 11:19:49 +0200 Subject: [PATCH] Cleanup --- tasks/main.yml | 12 +++++++++++ templates/etc_fireqos_fireqos.conf | 32 ++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 templates/etc_fireqos_fireqos.conf diff --git a/tasks/main.yml b/tasks/main.yml index f5af457..1f6d84d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,6 +15,8 @@ - autogen - automake - pkg-config + #FireQOS available from 15.04 + #- firehol - name: "Clone NetData" git: @@ -46,3 +48,13 @@ mode=644 delegate_to: localhost run_once: true + +- name: "Configure FireQoS" + template: + src=etc_fireqos_fireqos.conf + dest=/etc/fireqos/fireqos.conf + owner=root + group=root + mode=755 + notify: + - "Start FireQoS" diff --git a/templates/etc_fireqos_fireqos.conf b/templates/etc_fireqos_fireqos.conf new file mode 100644 index 0000000..ff6fe2f --- /dev/null +++ b/templates/etc_fireqos_fireqos.conf @@ -0,0 +1,32 @@ +# configure the netdata ports + server_netdata_ports="tcp/19999" + + interface eth0 world bidirectional ethernet balanced rate 100Mbit + class arp + match arp + + class icmp + match icmp + + class dns commit 1Mbit + server dns + client dns + + class ntp + server ntp + client ntp + + class ssh commit 2Mbit + server ssh + client ssh + + class rsync commit 2Mbit max 10Mbit + server rsync + client rsync + + class web_server commit 40Mbit + server http + server netdata + + class client + client surfing -- GitLab