Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3778771
D816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D816.diff
View Options
diff --git a/roles/shellserver/vhosts/files/vhosts b/roles/shellserver/vhosts/files/vhosts
new file mode 100644
--- /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
--- /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
--- /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
--- a/top.sls
+++ b/top.sls
@@ -17,4 +17,5 @@
- 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/plain
Expires
Tue, Nov 26, 06:12 (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264106
Default Alt Text
D816.diff (3 KB)
Attached To
Mode
D816: Provide vhosts list on Eglide
Attached
Detach File
Event Timeline
Log In to Comment