about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-07-29 18:40:35 +0100
committerSilvino <silvino@bk.ru>2019-07-29 18:41:04 +0100
commite626b5b387df178c6173e5292057bfc958696682 (patch)
tree412ca48a6b08b58c41b62d745ab2ed8d1e52dd10
parent2ec627b85972bfd88724006c09dd742fb5ec3b6d (diff)
parent1e6c3b6fe37b10c0844c10860684f5434c74cf90 (diff)
downloaddoc-e626b5b387df178c6173e5292057bfc958696682.tar.gz
doc release 0.5.7
-rw-r--r--core/apparmor.html4
-rw-r--r--core/conf/iptables/ipt-bridge.sh6
-rw-r--r--core/conf/iptables/ipt-client.sh20
-rw-r--r--core/conf/iptables/ipt-firewall.sh6
-rw-r--r--core/conf/iptables/ipt-server.sh23
-rw-r--r--core/conf/sudoers36
-rw-r--r--dev/c/basic.html4
-rw-r--r--dev/c/datatypes.html6
-rw-r--r--dev/c/debugging.html47
-rw-r--r--dev/c/elements.html6
-rw-r--r--dev/c/hello.html4
-rw-r--r--dev/c/index.html6
-rw-r--r--dev/c/lib.html6
-rw-r--r--dev/c/system.html6
14 files changed, 129 insertions, 51 deletions
diff --git a/core/apparmor.html b/core/apparmor.html
index c567df8..ee8de54 100644
--- a/core/apparmor.html
+++ b/core/apparmor.html
@@ -52,7 +52,7 @@
 
 	<p>Profiles are located at /etc/apparmor.d/ and
         /usr/share/apparmor/extra-profiles contain profiles
-        that require testing;
+        that require testing;</p>
 
         <pre>
         # cp -r /usr/share/apparmor/extra-profiles/* /etc/apparmor.d/
@@ -135,7 +135,7 @@
         <p>Once profile rules become well defined enable profile in
         enforce mode with aa-enforce;</p>
 
-        <p>Monitor logs with aa-notify;</a>
+        <p>Monitor logs with aa-notify;</p>
 
 
         <h3 id="man_profiles">Create profile manually</h3>
diff --git a/core/conf/iptables/ipt-bridge.sh b/core/conf/iptables/ipt-bridge.sh
index 694c22f..67b5053 100644
--- a/core/conf/iptables/ipt-bridge.sh
+++ b/core/conf/iptables/ipt-bridge.sh
@@ -48,9 +48,12 @@ $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.4 -j srv_https_in
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.4 -j srv_ssh_in
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.4 -j srv_git_in
+$IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.4 -j srv_ntp
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -p tcp --sport 443 --dport 1024:65535 -j ACCEPT
 
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.3 -j cli_http_in
+$IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.3 -p tcp --dport 1024:65535 --sport 1024:65535 -j ACCEPT
+$IPT -A FORWARD -i ${BR_IF} -o ${BR_IF} -m physdev --physdev-in ${PUB_IF} -d 10.0.0.4 -j cli_http_in
 ##Less noise
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF}  -p udp --dport 519 --sport 520 -j DROP
 $IPT -A FORWARD -i ${BR_IF} -o ${BR_IF}  -p udp --dport 520 --sport 520 -j DROP
@@ -70,11 +73,13 @@ $IPT -A INPUT -i ${BR_IF} -j srv_dhcp
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_dns_in
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_icmp
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_ssh_in
+$IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -s ${BR_NET} -j cli_http_in
 
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -s ${DNS} -j cli_dns_in
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -j cli_https_in
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -j cli_git_in
 $IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -j cli_ssh_in
+$IPT -A INPUT -i ${BR_IF} -d ${PUB_IP} -j srv_ntp
 
 #$IPT -A INPUT -i ${BR_IF} -m physdev --physdev-in ${WIFI_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_icmp
 #$IPT -A INPUT -i ${WIFI_IF} -d ${PUB_IP} -s ${WIFI_NET} -j srv_dns_in
@@ -110,6 +115,7 @@ $IPT -A OUTPUT -o ${BR_IF} -s ${PUB_IP} -d ${BR_NET} -j cli_http_out
 $IPT -A OUTPUT -o ${BR_IF} -s ${PUB_IP} -j cli_https_out
 $IPT -A OUTPUT -o ${BR_IF} -s ${PUB_IP} -j cli_git_out
 $IPT -A OUTPUT -o ${BR_IF} -s ${PUB_IP} -j cli_http_out
+$IPT -A OUTPUT -o ${BR_IF} -s ${PUB_IP} -j srv_ntp
 
 #$IPT -A OUTPUT -o ${WIFI_IF} -d ${DNS} -j cli_dns_out
 #$IPT -A OUTPUT -o ${WIFI_IF} -d ${WIFI_NET} -j srv_dns_out
diff --git a/core/conf/iptables/ipt-client.sh b/core/conf/iptables/ipt-client.sh
index 65df9e4..77de218 100644
--- a/core/conf/iptables/ipt-client.sh
+++ b/core/conf/iptables/ipt-client.sh
@@ -19,13 +19,21 @@ $IPT -A INPUT -i ${PUB_IF} -j cli_https_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_git_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_ssh_in
 $IPT -A INPUT -i ${PUB_IF} -j srv_icmp
+$IPT -A INPUT -i ${PUB_IF} -j srv_ntp
 $IPT -A INPUT -i ${PUB_IF} -j cli_pops_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_smtps_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_irc_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_ftp_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_gpg_in
-$IPT -A INPUT -i ${PUB_IF} -p udp --sport 520 --dport 520 -j ACCEPT
+$IPT -A INPUT -i ${PUB_IF} -p udp --sport 520 --dport 520 -j DROP
 
+$IPT -A INPUT -p tcp --dport 1024:65535 --sport 1024:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT
+$IPT -A INPUT -p udp --dport 1024:65535 --sport 1024:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT
+
+# allow all established and related
+$IPT -A INPUT -p tcp --dport 1024:65535 --sport 1:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT
+$IPT -A INPUT -p udp --dport 1024:65535 --sport 1:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT
+$IPT -A INPUT -p icmp -j ACCEPT
 
 ####### Output Chain ######
 $IPT -A OUTPUT -j blocker
@@ -36,12 +44,20 @@ $IPT -A OUTPUT -o ${PUB_IF} -j cli_ssh_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_git_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_git_out
 $IPT -A OUTPUT -o ${PUB_IF} -j srv_icmp
+$IPT -A OUTPUT -o ${PUB_IF} -j srv_ntp
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_pops_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_smtps_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_irc_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_ftp_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_gpg_out
-$IPT -A OUTPUT -o ${PUB_IF} -p udp --sport 1024:655335 --dport 1024:65535 -j ACCEPT
+
+$IPT -A OUTPUT -o ${PUB_IF} -p tcp --sport 1024:65535 --dport 1024:65535 -j ACCEPT
+$IPT -A OUTPUT -o ${PUB_IF} -p udp --sport 1024:65535 --dport 1024:65535 -j ACCEPT
+
+# allow all out (make nmap and others happy)
+$IPT -A OUTPUT -o ${PUB_IF} -p udp --sport 1024:65535 --dport 1:65535 -j ACCEPT
+$IPT -A OUTPUT -o ${PUB_IF} -p tcp --sport 1024:65535 --dport 1:65535 -j ACCEPT
+$IPT -A OUTPUT -p icmp -j ACCEPT
 
 ## log everything else and drop
 ipt_log
diff --git a/core/conf/iptables/ipt-firewall.sh b/core/conf/iptables/ipt-firewall.sh
index 12c3834..086b864 100644
--- a/core/conf/iptables/ipt-firewall.sh
+++ b/core/conf/iptables/ipt-firewall.sh
@@ -18,6 +18,7 @@ ipt_clear () {
     iptables -N srv_dhcp
     iptables -N srv_rip
     iptables -N srv_icmp
+    iptables -N srv_ntp
     iptables -N srv_dns_in
     iptables -N srv_dns_out
     iptables -N srv_http_in
@@ -251,6 +252,11 @@ ipt_tables () {
     ####### ICMP Server
     $IPT -A srv_icmp -p icmp -j ACCEPT
     $IPT -A srv_icmp -j RETURN
+
+    ####### NTP Client and Server
+    $IPT -A srv_ntp -p udp --sport 123 --dport 123 -j ACCEPT
+    $IPT -A srv_ntp -j RETURN
+
 }
 
 
diff --git a/core/conf/iptables/ipt-server.sh b/core/conf/iptables/ipt-server.sh
index e557193..6a0a9c5 100644
--- a/core/conf/iptables/ipt-server.sh
+++ b/core/conf/iptables/ipt-server.sh
@@ -7,8 +7,8 @@ ipt_tables
 # Unlimited on loopback
 $IPT -A INPUT -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
 $IPT -A OUTPUT -o lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
-#$IPT -A INPUT -i lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT
-#$IPT -A OUTPUT -o lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT
+$IPT -A INPUT -i lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT
+$IPT -A OUTPUT -o lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT
 
 ####### Input Chain ######
 $IPT -A INPUT -j blocker
@@ -17,28 +17,33 @@ $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${DNS} -j cli_dns_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_https_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_ssh_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${BR_NET} -j srv_git_in
-#$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${BR_NET} -j cli_http_in
+$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -s ${BR_NET} -j cli_http_in
 
-
-$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_https_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j cli_https_in
+$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j cli_http_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_ssh_in
+$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_https_in
+$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_http_in
 $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_git_in
+$IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_ntp
 
 ####### Output Chain ######
 $IPT -A OUTPUT -j blocker
 
 $IPT -A OUTPUT -o ${PUB_IF} -d ${DNS} -s ${PUB_IP} -j cli_dns_out
-#$IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j cli_http_out
+$IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j cli_http_out
 $IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j srv_https_out
 $IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j srv_ssh_out
 $IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j srv_git_out
 
 $IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j cli_https_out
-$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_https_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j cli_http_out
 
-$IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -j srv_ssh_out
-$IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -j srv_git_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_https_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_http_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_ssh_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_git_out
+$IPT -A OUTPUT -o ${PUB_IF} -s ${PUB_IP} -j srv_ntp
 
 ## log everything else and drop
 ipt_log
diff --git a/core/conf/sudoers b/core/conf/sudoers
index 3b35ea9..78146d7 100644
--- a/core/conf/sudoers
+++ b/core/conf/sudoers
@@ -25,49 +25,51 @@
 ## Cmnd alias specification
 ##
 ## Groups of commands.  Often used to group related commands together.
-# Cmnd_Alias	PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
-# 			    /usr/bin/pkill, /usr/bin/top
-# Cmnd_Alias	REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
+Cmnd_Alias	PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
+ 			    /usr/bin/pkill, /usr/bin/top
+Cmnd_Alias	REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
 
 ##
 ## Defaults specification
 ##
+Defaults editor=/usr/bin/rvim
+
 ## You may wish to keep some of the following environment variables
 ## when running commands via sudo.
 ##
 ## Locale settings
-# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
+Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
 ##
 ## Run X applications through sudo; HOME is used to find the
 ## .Xauthority file.  Note that other programs use HOME to find   
 ## configuration files and this may lead to privilege escalation!
-# Defaults env_keep += "HOME"
+Defaults env_keep += "HOME"
 ##
 ## X11 resource path settings
-# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
+Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
 ##
 ## Desktop path settings
-# Defaults env_keep += "QTDIR KDEDIR"
+Defaults env_keep += "QTDIR KDEDIR"
 ##
 ## Allow sudo-run commands to inherit the callers' ConsoleKit session
-# Defaults env_keep += "XDG_SESSION_COOKIE"
+Defaults env_keep += "XDG_SESSION_COOKIE"
 ##
 ## Uncomment to enable special input methods.  Care should be taken as
 ## this may allow users to subvert the command being run via sudo.
-# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
+Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
 ##
 ## Uncomment to use a hard-coded PATH instead of the user's to find commands
-# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 ##
 ## Uncomment to send mail if the user does not enter the correct password.
-# Defaults mail_badpass
+Defaults mail_badpass
 ##
 ## Uncomment to enable logging of a command's output, except for
 ## sudoreplay and reboot.  Use sudoreplay to play back logged sessions.
-# Defaults log_output
-# Defaults!/usr/bin/sudoreplay !log_output
-# Defaults!/usr/local/bin/sudoreplay !log_output
-# Defaults!REBOOT !log_output
+Defaults log_output
+Defaults!/usr/bin/sudoreplay !log_output
+Defaults!/usr/local/bin/sudoreplay !log_output
+Defaults!REBOOT !log_output
 
 ##
 ## Runas alias specification
@@ -92,6 +94,10 @@ root ALL=(ALL) ALL
 # Defaults targetpw  # Ask for the password of the target user
 # ALL ALL=(ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'
 
+%users	ALL = NOPASSWD: REBOOT
+
+druid ALL=(postgres:postgres) NOPASSWD:ALL
+
 ## Read drop-in files from /etc/sudoers.d
 ## (the '#' here does not indicate a comment)
 #includedir /etc/sudoers.d
diff --git a/dev/c/basic.html b/dev/c/basic.html
index 104e59a..a2009fc 100644
--- a/dev/c/basic.html
+++ b/dev/c/basic.html
@@ -5,7 +5,7 @@
 	<title>C - Basic</title>
     </head>
     <body>
-        <a href="../index.html">C &amp; GDB Index</a>
+        <a href="index.html">C Index</a>
 
 	<h1>C - Basic</h1>
 
@@ -48,7 +48,7 @@
 	$ gcc -Wall main.c hello.c -o hello
 	</pre>
 
-	<a href="../index.html">C &amp; GDB Index</a>
+	<a href="index.html">C Index</a>
 	<p>
 	This is part of the Hive System Documentation.
 	Copyright (C) 2019
diff --git a/dev/c/datatypes.html b/dev/c/datatypes.html
index 77b5dbb..a5e1efd 100644
--- a/dev/c/datatypes.html
+++ b/dev/c/datatypes.html
@@ -5,7 +5,7 @@
         <title>Datatypes</title>
     </head>
     <body>
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C index</a>
 
         <h1>Datatypes</h1>
 
@@ -172,9 +172,9 @@
             <dd>Pointer address</dd>
         </dl>
 
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
         <p>This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>
diff --git a/dev/c/debugging.html b/dev/c/debugging.html
index c68fbc1..90dca1b 100644
--- a/dev/c/debugging.html
+++ b/dev/c/debugging.html
@@ -5,10 +5,43 @@
         <title>Debugging</title>
     </head>
     <body>
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
 
         <h1>Debugging</h1>
 
+        <p>Check if the system have restrictions to attach to other processes or other hardening measures, check <a href=../../core/sysctl.html>sysctl settings</a> such as; kernel.yama.ptrace_scope;</p>
+
+	<dl>
+            <dt>kernel.yama.ptrace_scope=0</dt>
+            <dd>All processes can be debugged, they must have same uid.</dd>
+            <dt>kernel.yama.ptrace_scope=1</dt>
+            <dd>Only a parent process can be debugged.</dd>
+
+            <dt>kernel.yama.ptrace_scope=2</dt>
+            <dd>Require user privileges to use ptrace  CAP_SYS_PTRACE capability.</dd>
+
+            <dt>kernel.yama.ptrace_scope=3</dt>
+            <dd>No processes may be traced with ptrace.</dd>
+
+        </dl>
+
+        <p>Before debug;</p>
+
+        <pre>
+        # echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
+        # sysctl -w kernel.yama.ptrace_scope=0
+
+        </pre>
+
+        <p>After debug;</p>
+
+        <pre>
+        # echo 1 | sudo tee /proc/sys/kernel/yama/ptrace_scope
+        # sysctl -w kernel.yama.ptrace_scope=1
+        </pre>
+
+        <h2 id="gdb">GDB</h2>
+
         <p>If the program needs arguments you can set it;</p>
 
         <pre>
@@ -74,8 +107,14 @@
         break linespec thread threadno
         </pre>
 
+        <h2 id="strace">Strace</h2>
+
+        <pre>
+        $ strace -c ./program -o ~/program.strace
+        </pre>
+
         <pre>
-        strace -c ./program
+        $ strace -p 1337 -o ~/program.strace
         </pre>
 
 
@@ -87,11 +126,11 @@
         <a href="http://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_39.html#SEC40">Stopping and Starting</a>
         multi-thread programs</p>
 
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
 
         <p>
         This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>
diff --git a/dev/c/elements.html b/dev/c/elements.html
index 9e31adb..49871db 100644
--- a/dev/c/elements.html
+++ b/dev/c/elements.html
@@ -5,7 +5,7 @@
         <title>Elements</title>
     </head>
     <body>
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
 
         <h1>Elements</h1>
 
@@ -51,11 +51,11 @@
 
         <p>White space is ignored except when separating elements.</p>
 
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
 
         <p>
         This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>
diff --git a/dev/c/hello.html b/dev/c/hello.html
index ff31bc9..14c65e9 100644
--- a/dev/c/hello.html
+++ b/dev/c/hello.html
@@ -5,7 +5,7 @@
 	<title>C &amp; GDB</title>
     </head>
     <body>
-        <a href="../index.html">C &amp; GDB Index</a>
+        <a href="index.html">C Index</a>
 
 	<h1>Hello World</h1>
 
@@ -123,7 +123,7 @@
 	(gdb) n
 	</pre>
 
-        <a href="../index.html">C &amp; GDB Index</a>
+        <a href="index.html">C Index</a>
 	<p>
 	This is part of the Hive System Documentation.
 	Copyright (C) 2019
diff --git a/dev/c/index.html b/dev/c/index.html
index 3c48776..0e54a13 100644
--- a/dev/c/index.html
+++ b/dev/c/index.html
@@ -70,8 +70,8 @@
 
 
 	    </li>
-	    <li><a href="c/debugging.html">Debugging</a></li>
-	    <li><a href="c/system.html">System Development</a></li>
+	    <li><a href="debugging.html">Debugging</a></li>
+	    <li><a href="system.html">System Development</a></li>
 	</ul>
 
 	<ul>
@@ -233,7 +233,7 @@
 	<a href="../index.html">Development Index</a>
 	<p>
 	This is part of the Hive System Documentation.
-	Copyright (C) 2018
+	Copyright (C) 2019
 	Hive Team.
 	See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
 	for copying conditions.</p>
diff --git a/dev/c/lib.html b/dev/c/lib.html
index 4531d7a..5e3f1f7 100644
--- a/dev/c/lib.html
+++ b/dev/c/lib.html
@@ -5,7 +5,7 @@
         <title>Libraries</title>
     </head>
     <body>
-        <a href="../index.html">C &amp; GDB Index</a>
+        <a href="index.html">C Index</a>
 
 
         <h1>Libraries</h1>
@@ -243,11 +243,11 @@
         void pthread_exit(void *value_ptr);
         </pre>
 
-        <a href="../index.html">C &amp; GDB Index</a>
+        <a href="index.html">C Index</a>
 
         <p>
         This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>
diff --git a/dev/c/system.html b/dev/c/system.html
index 5312151..d2a7d1f 100644
--- a/dev/c/system.html
+++ b/dev/c/system.html
@@ -5,7 +5,7 @@
         <title>System Development &amp; GDB</title>
     </head>
     <body>
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
 
         <h1>System Development</h1>
 
@@ -169,10 +169,10 @@
 	(gdb)
 	</pre>
 
-        <a href="../index.html">Development Index</a>
+        <a href="index.html">C Index</a>
         <p>
         This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>