summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ion/etc/default/grub47
-rw-r--r--ion/etc/fstab21
-rw-r--r--iptables-ion/ip6tables.rules16
-rw-r--r--iptables-ion/iptables.rules48
-rw-r--r--xinitrc-newer15
5 files changed, 147 insertions, 0 deletions
diff --git a/ion/etc/default/grub b/ion/etc/default/grub
new file mode 100644
index 0000000..d98d54f
--- /dev/null
+++ b/ion/etc/default/grub
@@ -0,0 +1,47 @@
+GRUB_DEFAULT=0
+GRUB_TIMEOUT=5
+GRUB_DISTRIBUTOR="Arch"
+GRUB_CMDLINE_LINUX_DEFAULT=""
+GRUB_CMDLINE_LINUX="cryptdevice=UUID=a07e3f4c-1502-4055-b6d7-02eeae18dd43:luks"
+
+# Preload both GPT and MBR modules so that they are not missed
+GRUB_PRELOAD_MODULES="part_gpt part_msdos"
+
+# Uncomment to enable Hidden Menu, and optionally hide the timeout count
+#GRUB_HIDDEN_TIMEOUT=5
+#GRUB_HIDDEN_TIMEOUT_QUIET=true
+
+# Uncomment to use basic console
+GRUB_TERMINAL_INPUT=console
+
+# Uncomment to disable graphical terminal
+#GRUB_TERMINAL_OUTPUT=console
+
+# The resolution used on graphical terminal
+# note that you can use only modes which your graphic card supports via VBE
+# you can see them in real GRUB with the command `vbeinfo'
+GRUB_GFXMODE=auto
+
+# Uncomment to allow the kernel use the same resolution used by grub
+GRUB_GFXPAYLOAD_LINUX=keep
+
+# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
+# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
+#GRUB_DISABLE_LINUX_UUID=true
+
+# Uncomment to disable generation of recovery mode menu entries
+GRUB_DISABLE_RECOVERY=true
+
+# Uncomment and set to the desired menu colors. Used by normal and wallpaper
+# modes only. Entries specified as foreground/background.
+GRUB_COLOR_NORMAL="light-blue/black"
+GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
+
+# Uncomment one of them for the gfx desired, a image background or a gfxtheme
+#GRUB_BACKGROUND="/path/to/wallpaper"
+#GRUB_THEME="/path/to/gfxtheme"
+
+# Uncomment to get a beep at GRUB start
+#GRUB_INIT_TUNE="480 440 1"
+
+#GRUB_SAVEDEFAULT="true"
diff --git a/ion/etc/fstab b/ion/etc/fstab
new file mode 100644
index 0000000..37f05bf
--- /dev/null
+++ b/ion/etc/fstab
@@ -0,0 +1,21 @@
+#
+# /etc/fstab: static file system information
+#
+# <file system> <dir> <type> <options> <dump> <pass>
+# /dev/mapper/VolGroup00-lvolroot LABEL=ROOT_ARCH
+UUID=26040172-f76a-4f76-88fa-3b13211aa679 / btrfs rw,relatime,space_cache,compress=lzo 0 0
+
+# /dev/sda3 LABEL=BOOT_ARCH
+UUID=629fa6c5-4196-48e8-ab87-ddba7e483ca8 /boot ext2 rw,relatime 0 2
+
+# /dev/mapper/VolGroup00-lvolhome LABEL=HOME_ARCH
+UUID=067ef96a-cc22-4e2d-a26e-43ec11637c4a /home ext4 rw,relatime,data=ordered,commit=15 0 2
+
+# /dev/mapper/VolGroup00-lvolvar LABEL=VAR_ARCH
+UUID=7b846b6a-34f2-4287-8daa-daa9e039afe9 /var btrfs rw,relatime,space_cache 0 0
+
+# smb
+//192.168.1.103/public /mnt/smb cifs rw,user=kyle,uid=1000,gid=100,password=foo 0 0
+
+# win
+/dev/sda2 /mnt/win ntfs-3g defaults 0 0
diff --git a/iptables-ion/ip6tables.rules b/iptables-ion/ip6tables.rules
new file mode 100644
index 0000000..cad1884
--- /dev/null
+++ b/iptables-ion/ip6tables.rules
@@ -0,0 +1,16 @@
+*filter
+:INPUT ACCEPT [0:0]
+:FORWARD DROP [0:0]
+:OUTPUT ACCEPT [4:208]
+:TCP - [0:0]
+:UDP - [0:0]
+-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
+-A INPUT -i lo -j ACCEPT
+-A INPUT -m conntrack --ctstate INVALID -j DROP
+-A INPUT -p icmpv6 -m icmpv6 --icmpv6-type 8 -m conntrack --ctstate NEW -j ACCEPT
+-A INPUT -p udp -m conntrack --ctstate NEW -j UDP
+-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j TCP
+-A INPUT -p udp -j REJECT --reject-with icmp6-port-unreachable
+-A INPUT -p tcp -j REJECT --reject-with tcp-reset
+-A INPUT -j REJECT
+COMMIT
diff --git a/iptables-ion/iptables.rules b/iptables-ion/iptables.rules
new file mode 100644
index 0000000..3e4f46c
--- /dev/null
+++ b/iptables-ion/iptables.rules
@@ -0,0 +1,48 @@
+# Generated by iptables-save v1.4.19.1 on Fri Oct 4 14:26:06 2013
+*filter
+:INPUT ACCEPT [0:0]
+:FORWARD ACCEPT [0:0]
+:OUTPUT ACCEPT [2472:308226]
+:LOGACCEPT - [0:0]
+:LOGDROP - [0:0]
+:LOGREJECT - [0:0]
+:TCP - [0:0]
+:UDP - [0:0]
+:sshguard - [0:0]
+-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
+-A INPUT -i lo -j ACCEPT
+-A INPUT -m conntrack --ctstate INVALID -j DROP
+-A INPUT -p icmp -m icmp --icmp-type 8 -m conntrack --ctstate NEW -j ACCEPT
+-A INPUT -p udp -m conntrack --ctstate NEW -j UDP
+-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j TCP
+-A INPUT -m limit --limit 5/min --limit-burst 7 -j LOG --log-prefix "[rejecting in INPUT chain] "
+-A INPUT -p udp -m recent --set --name UDP-PORTSCAN --mask 255.255.255.255 --rsource -j REJECT --reject-with icmp-port-unreachable
+-A INPUT -p tcp -m recent --set --name TCP-PORTSCAN --mask 255.255.255.255 --rsource -j REJECT --reject-with tcp-reset
+-A INPUT -j REJECT --reject-with icmp-proto-unreachable
+-A FORWARD -o tun0 -j ACCEPT
+-A LOGACCEPT -m limit --limit 5/min --limit-burst 7 -j LOG --log-prefix "[accepting] "
+-A LOGACCEPT -j ACCEPT
+-A LOGDROP -m limit --limit 5/min --limit-burst 7 -j LOG --log-prefix "[dropping] "
+-A LOGDROP -j DROP
+-A LOGREJECT -m limit --limit 5/min --limit-burst 7 -j LOG --log-prefix "[rejecting] "
+-A LOGREJECT -p tcp -j REJECT --reject-with tcp-reset
+-A LOGREJECT -j REJECT --reject-with icmp-port-unreachable
+-A TCP -p tcp -m recent --update --seconds 60 --name TCP-PORTSCAN --mask 255.255.255.255 --rsource -m comment --comment "when matched, this rsource has prev rcvd a RST" -j REJECT --reject-with tcp-reset
+-A TCP -s 172.16.1.0/24 -p tcp -j ACCEPT
+-A TCP -s 192.168.1.0/24 -p tcp -m tcp --dport 22 -j ACCEPT
+-A TCP -p tcp -m multiport --dports 22 -j sshguard
+-A TCP -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW -m recent --set --name SSHLIST --mask 255.255.255.255 --rsource
+-A TCP -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 4 --name SSHLIST --mask 255.255.255.255 --rsource -m comment --comment "in case sshguard malfunctions" -j LOGDROP
+-A TCP -p tcp -m tcp --dport 22 -j ACCEPT
+-A TCP -p tcp -m tcp --dport 12101:12110 -j ACCEPT
+-A UDP -p udp -m recent --update --seconds 60 --name UDP-PORTSCAN --mask 255.255.255.255 --rsource -m comment --comment "when matched, this rsource has prev rcvd unreachable port" -j REJECT --reject-with icmp-port-unreachable
+-A UDP -s 172.16.1.0/24 -p udp -j ACCEPT
+-A UDP -p udp -m udp --dport 12101:12110 -j ACCEPT
+-A sshguard -s 27.100.9.205/32 -j DROP
+-A sshguard -s 125.141.56.67/32 -j DROP
+-A sshguard -s 46.254.19.233/32 -j DROP
+-A sshguard -s 222.190.127.15/32 -j DROP
+-A sshguard -s 198.144.180.79/32 -j DROP
+-A sshguard -s 61.19.121.131/32 -j DROP
+COMMIT
+# Completed on Fri Oct 4 14:26:06 2013
diff --git a/xinitrc-newer b/xinitrc-newer
new file mode 100644
index 0000000..bacaddb
--- /dev/null
+++ b/xinitrc-newer
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+compton --vsync opengl -c -f -D 3 -b &
+exec startxfce4