27%
30.11.2025
_config
03 bash#> vi sshd_config
04 AllowTcpForwarding no
05 ClientAliveCountMax 3
06 ClientAliveInterval 0
07 Compression delayed
08 LoginGraceTime 60s
09 LogLevel DEBUG3
10 MaxAuthTries 2
27%
30.11.2025
dh_group modp1024;
09 }
10 generate_policy off;
11 }
12
13 sainfo address 192.168.2.0/24 any address 172.16.0.0/16 any {
14 pfs_group modp1024;
15 encryption_algorithm aes256;
16
27%
30.11.2025
end (Figure 2).
Listing 3
update-dns
01 #!/usr/bin/perl
02
03 use DBI;
04
05 $db_user = "powerdns";
06 $db_passwd = "powerpass";
07
08 $hostname = $ARGV[0] . ".my.org";
09 $ip = $ARGV[1
26%
30.11.2025
","stage","app","gateway","eth0-ip","eth0-mask","eth1-mac","eth1-ip","eth1-mask" ]
19 system_dict = {}
20
21 f = open(cblr_systems, "r")
22 for line in f:
23 if line.startswith("#"):
24 continue
25 system
26%
11.08.2025
will use that in a bit.
Listing 1: Check Directory Content
$ ls -lstar
total 62310
31150 drwxrwxr-x 0 laytonjb laytonjb 31897275 Dec 31 1969 DATA1
31152 -rw-rw-r-- 1 laytonjb laytonjb 31897275 Aug 2 09
26%
30.11.2025
temporarily with
Listing 5
Error Messages
sh: /sbin/ifconfig: Permission denied
120405 8:29:02 [ERROR] WSREP: Failed to read output of: '/sbin/ifconfig | \
grep -m1 -1 -E '^[a-z]?eth[0-9
26%
30.11.2025
= DeltaCloud.new(USER, PASSWORD, URL)
05 summary = Hash.new(0)
06 state = client.instances.inject({}) do |state, inst|
07 state[inst.id] = inst.state
08 summary[inst.state] += 1
09 state
10 end
11
26%
30.11.2025
Cluster Generation: 748
08 Membership state: Cluster-Member
09 Nodes: 2
10 Expected votes: 1
11 Total votes: 2
12 Node votes: 1
13 Quorum: 1
14 Active subsystems: 8
15 Flags: 2node
16 Ports Bound: 0
17 Node
26%
30.11.2025
. If a hostname is used it
06 * must match the reverse dns of the server.
07 * /
08 host = "10.42.0.1";
09
10 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
11
26%
30.11.2025
/openvpn/keys/CA.crt
08 cert /etc/openvpn/keys/server.crt
09 key /etc/openvpn/keys/server.key
10 tls-auth /etc/openvpn/keys/tls-auth.key
11
12 server 192.168.1.0 255.255.255.0
13
14 keepalive 10 60
15 comp-lzo
16
17