Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56338742
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/shellserver/vhosts/files/vhosts b/roles/shellserver/vhosts/files/vhosts
new file mode 100644
index 0000000..2b0810e
--- /dev/null
+++ b/roles/shellserver/vhosts/files/vhosts
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ -f /etc/vhosts ]; then
+ cat /etc/vhosts
+else
+ echo "No vhosts data file found. Please create /etc/vhosts file."
+fi
diff --git a/roles/shellserver/vhosts/files/vhosts.eglide b/roles/shellserver/vhosts/files/vhosts.eglide
new file mode 100644
index 0000000..16e2448
--- /dev/null
+++ b/roles/shellserver/vhosts/files/vhosts.eglide
@@ -0,0 +1,39 @@
+===============================================================================
+ Eglide's IP addresses and PTR records (ie "vhosts") list
+===============================================================================
+
+IcannNet - IPv4
+---------------
+212.47.244.42 eglide.org
+
+IcannNet - IPv6
+---------------
+2001:470:1f12:896::2 nasqueron-3-pt.tunnel.tserv10.par1.ipv6.he.net
+
+2001:470:1f13:896:0:c0de:15:11fe eglide.org
+2001:470:1f13:896::1
+2001:470:1f13:896::2
+2001:470:1f13:896::3
+2001:470:1f13:896::4
+2001:470:1f13:896::5
+2001:470:1f13:896::6
+2001:470:1f13:896::7 ipv6.us.death-knight.org
+2001:470:1f13:896::8
+2001:470:1f13:896::9 turn.back.cyber-crime.ml [31m*** NOT WORKING ***[0m
+2001:470:1f13:896::10 T-R-O-J-A-N.69.mu
+2001:470:1f13:896::11
+2001:470:1f13:896::12 admin.okezone.web.id
+2001:470:1f13:896::13
+2001:470:1f13:896::14
+2001:470:1f13:896::15
+2001:470:1f13:896::16 sombre.du.cote.obscur.de.la.force.et.viens.dansmon.club
+2001:470:1f13:896::17
+2001:470:1f13:896::18
+2001:470:1f13:896::19
+
+ IPv6 tunnel is provided by Hurricane Electric.
+ We can add custom vhosts on request on 2001:470:1f13/64 space.
+ You only need to create a AAAA DNS record from your vhost to one 1f09 IP
+ and notify dereckson or fill a task, they'll then create the PTR record.
+
+===============================================================================
diff --git a/roles/shellserver/vhosts/init.sls b/roles/shellserver/vhosts/init.sls
new file mode 100644
index 0000000..fe7f49f
--- /dev/null
+++ b/roles/shellserver/vhosts/init.sls
@@ -0,0 +1,25 @@
+# -------------------------------------------------------------
+# Salt — vhosts configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2017-01-10
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Configuration file
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/etc/vhosts:
+ file.managed:
+ - source: salt://roles/shellserver/vhosts/files/vhosts.{{ grains['id'] }}
+ - mode: 644
+
+# -------------------------------------------------------------
+# Command file
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/usr/local/bin/vhosts:
+ file.managed:
+ - source: salt://roles/shellserver/vhosts/files/vhosts
+ - mode: 755
diff --git a/top.sls b/top.sls
index 8e40896..f91d9a0 100644
--- a/top.sls
+++ b/top.sls
@@ -1,20 +1,21 @@
# -------------------------------------------------------------
# Salt configuration for Nasqueron servers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2016-04-10
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
base:
'*':
- roles/core/rc
- roles/core/hostname
- roles/core/network
- roles/core/motd
- roles/core/rsyslog
'eglide':
- roles/shellserver/users
- roles/shellserver/userland-software
- roles/shellserver/eglide-website
+ - roles/shellserver/vhosts
- roles/shellserver/web-hosting
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 7, 04:58 (19 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4237727
Default Alt Text
(3 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment