Browse code

Various updates

Veselin Kolev authored on 16/12/2019 07:29:34
Showing 16 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+options dummy numdummies=8
2
+
0 3
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+# Generated by ip6tables-save v1.4.7 on Fri Aug  9 13:38:31 2013
2
+*filter
3
+:INPUT ACCEPT [78:8051]
4
+:FORWARD ACCEPT [0:0]
5
+:OUTPUT ACCEPT [43:5631]
6
+-A INPUT -i lo -j ACCEPT 
7
+-A INPUT -p udp -m conntrack ! --ctstate RELATED,ESTABLISHED -m udp --dport 123 -j DROP 
8
+-A INPUT -s 2001:67c:20d0:ffff::103 -p tcp -m tcp --dport 6556 -j ACCEPT
9
+-A INPUT -p tcp -m tcp --dport 6556 -j REJECT --reject-with tcp-reset
10
+COMMIT
11
+# Completed on Fri Aug  9 13:38:31 2013
0 12
new file mode 100644
... ...
@@ -0,0 +1,54 @@
1
+# Load additional ip6tables modules (nat helpers)
2
+#   Default: -none-
3
+# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
4
+# are loaded after the firewall rules are applied. Options for the helpers are
5
+# stored in /etc/modprobe.conf.
6
+IP6TABLES_MODULES=""
7
+
8
+# Unload modules on restart and stop
9
+#   Value: yes|no,  default: yes
10
+# This option has to be 'yes' to get to a sane state for a firewall
11
+# restart or stop. Only set to 'no' if there are problems unloading netfilter
12
+# modules.
13
+IP6TABLES_MODULES_UNLOAD="yes"
14
+
15
+# Save current firewall rules on stop.
16
+#   Value: yes|no,  default: no
17
+# Saves all firewall rules to /etc/sysconfig/ip6tables if firewall gets stopped
18
+# (e.g. on system shutdown).
19
+IP6TABLES_SAVE_ON_STOP="no"
20
+
21
+# Save current firewall rules on restart.
22
+#   Value: yes|no,  default: no
23
+# Saves all firewall rules to /etc/sysconfig/ip6tables if firewall gets
24
+# restarted.
25
+IP6TABLES_SAVE_ON_RESTART="no"
26
+
27
+# Save (and restore) rule and chain counter.
28
+#   Value: yes|no,  default: no
29
+# Save counters for rules and chains to /etc/sysconfig/ip6tables if
30
+# 'service ip6tables save' is called or on stop or restart if SAVE_ON_STOP or
31
+# SAVE_ON_RESTART is enabled.
32
+IP6TABLES_SAVE_COUNTER="no"
33
+
34
+# Numeric status output
35
+#   Value: yes|no,  default: yes
36
+# Print IP addresses and port numbers in numeric format in the status output.
37
+IP6TABLES_STATUS_NUMERIC="yes"
38
+
39
+# Verbose status output
40
+#   Value: yes|no,  default: yes
41
+# Print info about the number of packets and bytes plus the "input-" and
42
+# "outputdevice" in the status output.
43
+IP6TABLES_STATUS_VERBOSE="no"
44
+
45
+# Status output with numbered lines
46
+#   Value: yes|no,  default: yes
47
+# Print a counter/number for every rule in the status output.
48
+IP6TABLES_STATUS_LINENUMBERS="yes"
49
+
50
+# Reload sysctl settings on start and restart
51
+#   Default: -none-
52
+# Space separated list of sysctl items which are to be reloaded on start.
53
+# List items will be matched by fgrep.
54
+#IP6TABLES_SYSCTL_LOAD_LIST=".nf_conntrack .bridge-nf"
0 55
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+# Generated by iptables-save v1.4.7 on Mon Nov 19 13:50:18 2018
2
+*nat
3
+:PREROUTING ACCEPT [25696813:2172998422]
4
+:POSTROUTING ACCEPT [351052:19879911]
5
+:OUTPUT ACCEPT [135319:10374977]
6
+COMMIT
7
+# Completed on Mon Nov 19 13:50:18 2018
8
+# Generated by iptables-save v1.4.7 on Mon Nov 19 13:50:18 2018
9
+*filter
10
+:INPUT ACCEPT [1166:316331]
11
+:FORWARD ACCEPT [1:44]
12
+:OUTPUT ACCEPT [1308:429511]
13
+-A INPUT -p tcp -m tcp --dport 6556 -j ACCEPT 
14
+-A INPUT -i lo -j ACCEPT 
15
+-A INPUT -p udp -m conntrack ! --ctstate RELATED,ESTABLISHED -m udp --dport 123 -j DROP 
16
+-A INPUT -s 62.44.109.27/32 -d 62.44.96.202/32 -p tcp -m tcp --dport 5678 -j ACCEPT 
17
+-A INPUT -s 62.44.109.27/32 -d 62.44.96.202/32 -p tcp -m tcp --dport 5679 -j ACCEPT 
18
+-A INPUT -s 62.44.109.26/32 -d 62.44.96.202/32 -p tcp -m tcp --dport 5678 -j ACCEPT 
19
+-A INPUT -s 62.44.109.26/32 -d 62.44.96.202/32 -p tcp -m tcp --dport 5679 -j ACCEPT 
20
+-A INPUT -d 62.44.96.202/32 -p tcp -m tcp --dport 5679 -j REJECT --reject-with tcp-reset 
21
+-A INPUT -d 62.44.96.202/32 -p tcp -m tcp --dport 5678 -j REJECT --reject-with tcp-reset 
22
+-A INPUT -s 62.44.127.103/32 -p tcp -m tcp --dport 6556 -j ACCEPT 
23
+-A INPUT -p tcp -m tcp --dport 6556 -j REJECT --reject-with tcp-reset 
24
+-A INPUT -p icmp -m icmp --icmp-type 14 -j DROP
25
+-A INPUT -p icmp -m icmp --icmp-type 13 -j DROP
26
+-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT 
27
+-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT 
28
+-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT 
29
+-A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT 
30
+-A FORWARD -d 62.44.127.244/30 -o virbr0 -j ACCEPT 
31
+-A FORWARD -s 62.44.127.244/30 -i virbr0 -j ACCEPT 
32
+-A FORWARD -d 62.44.97.228/30 -o virbr0 -j ACCEPT 
33
+-A FORWARD -s 62.44.97.228/30 -i virbr0 -j ACCEPT 
34
+-A FORWARD -i virbr0 -o virbr0 -j ACCEPT 
35
+-A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable 
36
+-A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable 
37
+COMMIT
38
+# Completed on Mon Nov 19 13:50:18 2018
0 39
new file mode 100644
... ...
@@ -0,0 +1,54 @@
1
+# Load additional iptables modules (nat helpers)
2
+#   Default: -none-
3
+# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
4
+# are loaded after the firewall rules are applied. Options for the helpers are
5
+# stored in /etc/modprobe.conf.
6
+IPTABLES_MODULES=""
7
+
8
+# Unload modules on restart and stop
9
+#   Value: yes|no,  default: yes
10
+# This option has to be 'yes' to get to a sane state for a firewall
11
+# restart or stop. Only set to 'no' if there are problems unloading netfilter
12
+# modules.
13
+IPTABLES_MODULES_UNLOAD="yes"
14
+
15
+# Save current firewall rules on stop.
16
+#   Value: yes|no,  default: no
17
+# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
18
+# (e.g. on system shutdown).
19
+IPTABLES_SAVE_ON_STOP="no"
20
+
21
+# Save current firewall rules on restart.
22
+#   Value: yes|no,  default: no
23
+# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
24
+# restarted.
25
+IPTABLES_SAVE_ON_RESTART="no"
26
+
27
+# Save (and restore) rule and chain counter.
28
+#   Value: yes|no,  default: no
29
+# Save counters for rules and chains to /etc/sysconfig/iptables if
30
+# 'service iptables save' is called or on stop or restart if SAVE_ON_STOP or
31
+# SAVE_ON_RESTART is enabled.
32
+IPTABLES_SAVE_COUNTER="no"
33
+
34
+# Numeric status output
35
+#   Value: yes|no,  default: yes
36
+# Print IP addresses and port numbers in numeric format in the status output.
37
+IPTABLES_STATUS_NUMERIC="yes"
38
+
39
+# Verbose status output
40
+#   Value: yes|no,  default: yes
41
+# Print info about the number of packets and bytes plus the "input-" and
42
+# "outputdevice" in the status output.
43
+IPTABLES_STATUS_VERBOSE="no"
44
+
45
+# Status output with numbered lines
46
+#   Value: yes|no,  default: yes
47
+# Print a counter/number for every rule in the status output.
48
+IPTABLES_STATUS_LINENUMBERS="yes"
49
+
50
+# Reload sysctl settings on start and restart
51
+#   Default: -none-
52
+# Space separated list of sysctl items which are to be reloaded on start.
53
+# List items will be matched by fgrep.
54
+#IPTABLES_SYSCTL_LOAD_LIST=".nf_conntrack .bridge-nf"
0 55
new file mode 100644
... ...
@@ -0,0 +1,41 @@
1
+# BIND named process options
2
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+# Currently, you can use the following options:
4
+#
5
+# ROOTDIR="/var/named/chroot"  --  will run named in a chroot environment.
6
+#                            you must set up the chroot environment 
7
+#                            (install the bind-chroot package) before
8
+#                            doing this.
9
+#	NOTE:
10
+#         Those directories are automatically mounted to chroot if they are
11
+#         empty in the ROOTDIR directory. It will simplify maintenance of your
12
+#         chroot environment.
13
+#          - /var/named
14
+#          - /etc/pki/dnssec-keys
15
+#          - /etc/named
16
+#          - /usr/lib64/bind or /usr/lib/bind (architecture dependent)
17
+#
18
+#	  Those files are mounted as well if target file doesn't exist in
19
+#	  chroot.
20
+#          - /etc/named.conf
21
+#          - /etc/rndc.conf
22
+#          - /etc/rndc.key
23
+#          - /etc/named.rfc1912.zones
24
+#          - /etc/named.dnssec.keys
25
+#	   - /etc/named.iscdlv.key
26
+#
27
+#	Don't forget to add "$AddUnixListenSocket /var/named/chroot/dev/log"
28
+#	line to your /etc/rsyslog.conf file. Otherwise your logging becomes
29
+#	broken when rsyslogd daemon is restarted (due update, for example).
30
+#
31
+# OPTIONS="whatever"     --  These additional options will be passed to named
32
+#                            at startup. Don't add -t here, use ROOTDIR instead.
33
+#
34
+# KEYTAB_FILE="/dir/file"    --  Specify named service keytab file (for GSS-TSIG)
35
+#
36
+# DISABLE_ZONE_CHECKING  -- By default, initscript calls named-checkzone
37
+#			    utility for every zone to ensure all zones are
38
+#			    valid before named starts. If you set this option
39
+#			    to 'yes' then initscript doesn't perform those
40
+#			    checks.
41
+ROOTDIR=/var/named/chroot
0 42
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+NETWORKING=yes
2
+HOSTNAME=services-loz.uni-sofia.bg
0 3
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+DEVICE=br0
2
+TYPE=Bridge
3
+BOOTPROTO=static
4
+IPADDR=62.44.96.202
5
+NETMASK=255.255.255.248
6
+ONBOOT=yes
7
+IPV6INIT=yes
8
+IPV6ADDR=2001:67c:20d0:1::202/112
0 9
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+DEVICE=dummy0
2
+BOOTPROTO=none
3
+TYPE=Ethernet
4
+ONBOOT=yes
5
+IPV6INIT=yes
6
+IPV6ADDR=2620:4f:8000::1/64
7
+IPV6ADDR_SECONDARIES="2620:4f:8000::6/64 2620:4f:8000::42/64"
8
+
0 9
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+BROADCAST=192.175.48.255
2
+IPADDR=192.175.48.1
3
+NETMASK=255.255.255.0
4
+NETWORK=192.175.48.0
0 5
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+BROADCAST=192.175.48.255
2
+IPADDR=192.175.48.6
3
+NETMASK=255.255.255.0
4
+NETWORK=192.175.48.0
0 5
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+BROADCAST=192.175.48.255
2
+IPADDR=192.175.48.42
3
+NETMASK=255.255.255.0
4
+NETWORK=192.175.48.0
0 5
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+DEVICE=dummy1
2
+BOOTPROTO=none
3
+ONBOOT=yes
4
+IPADDR=62.44.96.31
5
+NETMASK=255.255.255.255
0 6
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+DEVICE="eth0"
2
+BOOTPROTO=none
3
+HWADDR="00:30:48:B0:10:6F"
4
+IPV6INIT="yes"
5
+IPV6_AUTOCONF="no"
6
+NM_CONTROLLED="no"
7
+BRIDGE="br0"
8
+ONBOOT="yes"
9
+TYPE="Ethernet"
0 10
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+DEVICE=lo
2
+IPADDR=127.0.0.1
3
+NETMASK=255.0.0.0
4
+NETWORK=127.0.0.0
5
+# If you're having problems with gated making 127.0.0.0/8 a martian,
6
+# you can change this to something else (255.255.255.255, for example)
7
+BROADCAST=127.255.255.255
8
+ONBOOT=yes
9
+NAME=loopback
0 10
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+#
2
+# Default: Bind all daemon vtys to the loopback(s) only
3
+#
4
+QCONFDIR="/etc/quagga"
5
+BGPD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/bgpd.conf"
6
+OSPF6D_OPTS="-A ::1 -f ${QCONFDIR}/ospf6d.conf"
7
+OSPFD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/ospfd.conf"
8
+RIPD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/ripd.conf"
9
+RIPNGD_OPTS="-A ::1 -f ${QCONFDIR}/ripngd.conf"
10
+ZEBRA_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/zebra.conf"
11
+ISISD_OPTS="-A ::1 -f ${QCONFDIR}/isisd.conf"
12
+
13
+# Watchquagga configuration (please check timer values before using):
14
+WATCH_OPTS=""
15
+WATCH_DAEMONS="zebra bgpd ospfd ospf6d ripd ripngd"
16
+# To enable restarts, uncomment this line (but first be sure to edit
17
+# the WATCH_DAEMONS line to reflect the daemons you are actually using):
18
+#WATCH_OPTS="-Az -b_ -r/sbin/service_%s_restart -s/sbin/service_%s_start -k/sbin/service_%s_stop"