Server/Jails/SRS17

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen

Ports

installierte Ports


konfigurierte Ports

help2man

libiconv

m4

pcre

perl-threaded

portupgrade

ruby

zsh

zusätzliche Konfigurationsdateien

Jail

/etc/rc.conf

sshd_enable="YES"
ejabberd_enable="YES"

/etc/ssh/sshd_config

…
ListenAddress 141.56.50.17
…
PasswordAuthentication no
…
UsePAM no
…

/usr/local/etc/ejabberd/ejabberd.cfg

...
{loglevel, 3}.
...
{watchdog_admins, ["blotter@srs17.stura.htw-dresden.de", "pwnytail@srs17.stura.htw-dresden.de"]}.
...
{hosts, ["srs17.stura.htw-dresden.de"]}.
...
             starttls, {certfile, "/root/ejabberd.pem"},
             starttls_required, 
...
                        %%captcha,
                        %%http_bind,
                        %%http_poll,
...
{s2s_use_starttls, required}.
...
{s2s_certfile, "/root/ejabberd.pem"}.
...
{acl, admin, {user, "blotter", "srs17.stura.htw-dresden.de"}}.
{acl, admin, {user, "pwnytail", "srs17.stura.htw-dresden.de"}}.
...
{acl, blocked, {user, "test"}}.
{acl, blocked, {user, "root"}}.
{acl, blocked, {user, "r00t"}}.
{acl, blocked, {user, "r0ot"}}.
{acl, blocked, {user, "ro0t"}}.
{acl, blocked, {user, "adm1n"}}.
{acl, blocked, {user, "admin"}}.
{acl, blocked, {user, "kss"}}.
{acl, blocked, {user, "administrator"}}.
{acl, blocked, {user, "administrat0r"}}.
{acl, blocked, {user, "adm1n1strat0r"}}.
{acl, blocked, {user, "adm1nistrat0r"}}.
{acl, blocked, {user, "admin1strat0r"}}.
{acl, blocked, {user, "adm1nistrator"}}.
{acl, blocked, {user, "admin1strator"}}.
...
{access, max_user_sessions, [{2, all}]}.
...
{language, "de"}.
...
   %%{mod_irc,      []},
...
   %%{mod_pubsub,   [
                 %%{access_createnode, pubsub_createnode},
                 %%{ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant
...
                 %%{last_item_cache, false},
                 %%{plugins, ["flat", "hometree", "pep"]}  % pep requires mod_caps
                %%]},
...
                 {registration_watchers, ["blotter@srs17.stura.htw-dresden.de", "pwnytail@srs17.stura.htw-dresden.de"]},
...
                 {ip_access, [
                     {allow, "0.0.0.0/8"}
                     %%{allow, "127.0.0.0/8"},
                               %%{deny, "0.0.0.0/0"}
                     ]},
...

Siehe auch