Revize 596
Přidáno uživatelem harryhk před více než 14 roky(ů)
freenetis/trunk/kohana/media/download/smokeping_freenetis | ||
---|---|---|
+ HKFree
|
||
|
||
menu = HKFree
|
||
title = HKFree
|
||
|
||
++ Kocourkov
|
||
|
||
menu = Kocourkov
|
||
title = Kocourkov
|
||
|
||
+++ Andre
|
||
|
||
menu = Andre
|
||
title = Andre
|
||
|
||
++++ Andre-router
|
||
|
||
menu = Andre-router
|
||
title = Andre-router
|
||
host = 10.107.137.1
|
||
|
||
+++ Hrubinova
|
||
|
||
menu = Hrubinova
|
||
title = Hrubinova
|
||
|
||
++++ Hrubinova-router
|
||
|
||
menu = Hrubinova-router
|
||
title = Hrubinova-router
|
||
host = 10.107.237.1
|
||
|
||
+++ Kocourkov-router
|
||
|
||
menu = Kocourkov-router
|
||
title = Kocourkov-router
|
||
host = 10.107.37.1
|
||
|
||
++ Kukleny
|
||
|
||
menu = Kukleny
|
||
title = Kukleny
|
||
|
||
++ Spar
|
||
|
||
menu = Spar
|
||
title = Spar
|
||
|
||
+ Internet
|
||
|
||
menu = Internet
|
||
title = Internet
|
||
|
||
++ CVUT
|
||
|
||
menu = CVUT
|
||
title = CVUT
|
||
|
||
+++ FEL
|
||
|
||
menu = FEL
|
||
title = FEL
|
||
host = fel.cvut.cz
|
||
|
||
freenetis/trunk/kohana/media/download/10.107 | ||
---|---|---|
$ORIGIN .
|
||
$TTL 86400 ; (1 day)
|
||
37.107.10.in-addr.arpa IN SOA charon.hkfree.org. pmv.root.hkfree.org. (
|
||
2010020100 ; serial
|
||
28800 ; refresh (8 hours)
|
||
7200 ; retry (2 hours)
|
||
604800 ; expire (1 week)
|
||
86400 ; minimum (1 day)
|
||
)
|
||
NS ns.hkfree.org.
|
||
NS ns2.hkfree.org.
|
||
$ORIGIN 37.107.10.in-addr.arpa.
|
||
$TTL 86400
|
||
|
||
1 PTR kocourkov.hkfree.org.
|
||
95 PTR pepa2.kocourkov.hkfree.org.
|
||
101 PTR pepa.kocourkov.hkfree.org.
|
||
102 PTR pepa.kocourkov.hkfree.org.
|
||
129 PTR kocourkov.hkfree.org.
|
||
130 PTR pepa2.kocourkov.hkfree.org.
|
||
150 PTR karel.kocourkov.hkfree.org.
|
||
151 PTR karel.kocourkov.hkfree.org.
|
||
freenetis/trunk/kohana/media/download/dhcpd.conf | ||
---|---|---|
boot-unknown-clients false;
|
||
one-lease-per-client true;
|
||
default-lease-time 2400;
|
||
max-lease-time 7200;
|
||
option domain-name-servers 10.107.4.100, 10.107.4.129, 10.107.3.1;
|
||
option domain-name "hkfree.org";
|
||
authoritative;
|
||
|
||
subnet 10.107.137.128 netmask 255.255.255.128 {
|
||
option routers 10.107.137.129;
|
||
option broadcast-address 10.107.137.255;
|
||
group {
|
||
}
|
||
}
|
||
|
||
freenetis/trunk/kohana/media/download/smokeping_general | ||
---|---|---|
# Note that all IP addresses in this file are false, to prevent some
|
||
# machine falling under a deadly DOS storm because all users keep
|
||
# the same addresses in their config.
|
||
|
||
*** General ***
|
||
|
||
################################################
|
||
# DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING
|
||
# BETWEEN THESE MARKS!
|
||
################################################
|
||
sendmail = /usr/sbin/sendmail
|
||
imgcache = /var/www/smokeping
|
||
imgurl = ../smokeping
|
||
datadir = /var/lib/smokeping
|
||
piddir = /var/run/smokeping
|
||
smokemail = /etc/smokeping/smokemail
|
||
tmail = /etc/smokeping/tmail
|
||
################################################
|
||
# END OF DON'T TOUCH SECTION
|
||
################################################
|
||
|
||
|
||
# Please edit this to suit your installation
|
||
owner = monitor admins
|
||
contact = monitor@hkfree.org
|
||
cgiurl = http://sojka.hkfree.org/cgi-bin/smokeping.cgi
|
||
mailhost = smtp.hkfree.org
|
||
# specify this to get syslog logging
|
||
syslogfacility = local0
|
||
# each probe is now run in its own process
|
||
# disable this to revert to the old behaviour
|
||
# concurrentprobes = no
|
||
|
||
*** Alerts ***
|
||
to = monitor@hkfree.org
|
||
from = monitor@hkfree.org
|
||
|
||
+bigloss
|
||
type = loss
|
||
# in percent
|
||
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
|
||
comment = suddenly there is packet loss
|
||
|
||
+someloss
|
||
type = loss
|
||
# in percent
|
||
pattern = >0%,*12*,>0%,*12*,>0%
|
||
comment = loss 3 times in a row
|
||
|
||
+startloss
|
||
type = loss
|
||
# in percent
|
||
pattern = ==S,>0%,>0%,>0%
|
||
comment = loss at startup
|
||
|
||
+rttdetect
|
||
type = rtt
|
||
# in milli seconds
|
||
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
|
||
comment = routing mesed up again ?
|
||
|
||
*** Database ***
|
||
|
||
step = 300
|
||
pings = 20
|
||
|
||
# consfn mrhb steps total
|
||
|
||
AVERAGE 0.5 1 1008
|
||
AVERAGE 0.5 12 4320
|
||
MIN 0.5 12 4320
|
||
MAX 0.5 12 4320
|
||
AVERAGE 0.5 144 720
|
||
MAX 0.5 144 720
|
||
MIN 0.5 144 720
|
||
|
||
*** Presentation ***
|
||
|
||
template = /etc/smokeping/basepage.html
|
||
|
||
+ overview
|
||
|
||
width = 600
|
||
height = 50
|
||
range = 10h
|
||
|
||
+ detail
|
||
|
||
width = 600
|
||
height = 200
|
||
unison_tolerance = 2
|
||
|
||
"Last 3 Hours" 3h
|
||
"Last 30 Hours" 30h
|
||
"Last 10 Days" 10d
|
||
"Last 400 Days" 400d
|
||
|
||
*** Probes ***
|
||
|
||
+ FPing
|
||
|
||
binary = /usr/bin/fping
|
||
|
||
*** Targets ***
|
||
|
||
probe = FPing
|
||
|
||
## You have to edit and uncomment all what you want below this.
|
||
# Please, refer to smokeping_config man page for more info
|
||
# The given adresses aren't real to avoid DoS.
|
||
|
||
menu = Top
|
||
title = Network Latency Grapher
|
||
remark = HKFREE.ORG smokeping
|
||
|
||
freenetis/trunk/kohana/media/download/hkfree.org | ||
---|---|---|
$ORIGIN kocourkov.hkfree.org.
|
||
$TTL 86400 ; (1 day)
|
||
kocourkov.hkfree.org. IN SOA charon.hkfree.org. pmv.root.hkfree.org. (
|
||
2010011100 ; serial
|
||
28800 ; refresh (8 hours)
|
||
7200 ; retry (2 hours)
|
||
604800 ; expire (1 week)
|
||
86400 ; minimum (1 day)
|
||
)
|
||
NS ns.hkfree.org.
|
||
NS ns2.hkfree.org.
|
||
MX 10 relay.hkfree.org.
|
||
|
||
|
||
A 10.107.37.1
|
||
pepa2 A 10.107.37.95
|
||
pepa A 10.107.37.101
|
||
pepa A 10.107.37.102
|
||
A 10.107.37.129
|
||
pepa2 A 10.107.37.130
|
||
karel A 10.107.37.150
|
||
karel A 10.107.37.151
|
||
A 10.107.137.1
|
||
A 10.107.137.129
|
||
freenetis/trunk/kohana/media/download/smokeping | ||
---|---|---|
# Note that all IP addresses in this file are false, to prevent some
|
||
# machine falling under a deadly DOS storm because all users keep
|
||
# the same addresses in their config.
|
||
|
||
*** General ***
|
||
|
||
################################################
|
||
# DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING
|
||
# BETWEEN THESE MARKS!
|
||
################################################
|
||
sendmail = /usr/sbin/sendmail
|
||
imgcache = /var/www/smokeping
|
||
imgurl = ../smokeping
|
||
datadir = /var/lib/smokeping
|
||
piddir = /var/run/smokeping
|
||
smokemail = /etc/smokeping/smokemail
|
||
tmail = /etc/smokeping/tmail
|
||
################################################
|
||
# END OF DON'T TOUCH SECTION
|
||
################################################
|
||
|
||
|
||
# Please edit this to suit your installation
|
||
owner = monitor admins
|
||
contact = monitor@hkfree.org
|
||
cgiurl = http://sojka.hkfree.org/cgi-bin/smokeping.cgi
|
||
mailhost = smtp.hkfree.org
|
||
# specify this to get syslog logging
|
||
syslogfacility = local0
|
||
# each probe is now run in its own process
|
||
# disable this to revert to the old behaviour
|
||
# concurrentprobes = no
|
||
|
||
*** Alerts ***
|
||
to = monitor@hkfree.org
|
||
from = monitor@hkfree.org
|
||
|
||
+bigloss
|
||
type = loss
|
||
# in percent
|
||
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
|
||
comment = suddenly there is packet loss
|
||
|
||
+someloss
|
||
type = loss
|
||
# in percent
|
||
pattern = >0%,*12*,>0%,*12*,>0%
|
||
comment = loss 3 times in a row
|
||
|
||
+startloss
|
||
type = loss
|
||
# in percent
|
||
pattern = ==S,>0%,>0%,>0%
|
||
comment = loss at startup
|
||
|
||
+rttdetect
|
||
type = rtt
|
||
# in milli seconds
|
||
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
|
||
comment = routing mesed up again ?
|
||
|
||
*** Database ***
|
||
|
||
step = 300
|
||
pings = 20
|
||
|
||
# consfn mrhb steps total
|
||
|
||
AVERAGE 0.5 1 1008
|
||
AVERAGE 0.5 12 4320
|
||
MIN 0.5 12 4320
|
||
MAX 0.5 12 4320
|
||
AVERAGE 0.5 144 720
|
||
MAX 0.5 144 720
|
||
MIN 0.5 144 720
|
||
|
||
*** Presentation ***
|
||
|
||
template = /etc/smokeping/basepage.html
|
||
|
||
+ overview
|
||
|
||
width = 600
|
||
height = 50
|
||
range = 10h
|
||
|
||
+ detail
|
||
|
||
width = 600
|
||
height = 200
|
||
unison_tolerance = 2
|
||
|
||
"Last 3 Hours" 3h
|
||
"Last 30 Hours" 30h
|
||
"Last 10 Days" 10d
|
||
"Last 400 Days" 400d
|
||
|
||
*** Probes ***
|
||
|
||
+ FPing
|
||
|
||
binary = /usr/bin/fping
|
||
|
||
*** Targets ***
|
||
|
||
probe = FPing
|
||
|
||
## You have to edit and uncomment all what you want below this.
|
||
# Please, refer to smokeping_config man page for more info
|
||
# The given adresses aren't real to avoid DoS.
|
||
|
||
menu = Top
|
||
title = Network Latency Grapher
|
||
remark = HKFREE.ORG smokeping
|
||
|
||
+ HKFree
|
||
|
||
menu = HKFree
|
||
title = HKFree
|
||
|
||
++ Kocourkov
|
||
|
||
menu = Kocourkov
|
||
title = Kocourkov
|
||
|
||
+++ Andre
|
||
|
||
menu = Andre
|
||
title = Andre
|
||
|
||
++++ Andre-router
|
||
|
||
menu = Andre-router
|
||
title = Andre-router
|
||
host = 10.107.137.1
|
||
|
||
+++ Hrubinova
|
||
|
||
menu = Hrubinova
|
||
title = Hrubinova
|
||
|
||
++++ Hrubinova-router
|
||
|
||
menu = Hrubinova-router
|
||
title = Hrubinova-router
|
||
host = 10.107.237.1
|
||
|
||
+++ Kocourkov-router
|
||
|
||
menu = Kocourkov-router
|
||
title = Kocourkov-router
|
||
host = 10.107.37.1
|
||
|
||
++ Kukleny
|
||
|
||
menu = Kukleny
|
||
title = Kukleny
|
||
|
||
++ Spar
|
||
|
||
menu = Spar
|
||
title = Spar
|
||
|
||
+ Internet
|
||
|
||
menu = Internet
|
||
title = Internet
|
||
|
||
++ CVUT
|
||
|
||
menu = CVUT
|
||
title = CVUT
|
||
|
||
+++ FEL
|
||
|
||
menu = FEL
|
||
title = FEL
|
||
host = fel.cvut.cz
|
||
|
||
freenetis/trunk/kohana/media/download/mac_restriction.sh | ||
---|---|---|
#!/bin/sh
|
||
iptables -F FORWARD
|
||
|
||
#pepa
|
||
iptables -I FORWARD -m mac --mac-source 00:00:00:00:11:22 -j REJECT
|
||
iptables -I FORWARD -s 10.107.37.102 -m mac --mac-source 00:00:00:00:11:22 -j ACCEPT
|
||
|
||
#pepa2
|
||
iptables -I FORWARD -m mac --mac-source 00:00:00:00:11:23 -j REJECT
|
||
iptables -I FORWARD -s 10.107.37.95 -m mac --mac-source 00:00:00:00:11:23 -j ACCEPT
|
||
|
||
#pepa
|
||
iptables -I FORWARD -m mac --mac-source 12:34:56:78:9a:bc -j REJECT
|
||
iptables -I FORWARD -s 10.107.37.101 -m mac --mac-source 12:34:56:78:9a:bc -j ACCEPT
|
||
|
||
Také k dispozici: Unified diff
pridany soubory nutne pro generovani konfiguracnich souboru. soubory 10.107 a hkfree.org je nutne prejmenovat pro konkretni pripad. soubory musi mit nastaveny prava pro zapis.