Server/Jails/SRS17: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 68: | Zeile 68: | ||
===== /usr/local/etc/ejabberd/ejabberd.cfg ===== | ===== /usr/local/etc/ejabberd/ejabberd.cfg ===== | ||
<code> | <code> | ||
... | ... | ||
{loglevel, 3}. | {loglevel, 3}. | ||
... | ... | ||
{watchdog_admins, ["blotter@srs17.stura.htw-dresden.de", "pwnytail@srs17.stura.htw-dresden.de"]}. | {watchdog_admins, ["blotter@srs17.stura.htw-dresden.de", "pwnytail@srs17.stura.htw-dresden.de"]}. | ||
... | ... | ||
{hosts, ["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_use_starttls, required}. | ||
... | ... | ||
{s2s_certfile, "/root/ejabberd.pem"}. | {s2s_certfile, "/root/ejabberd.pem"}. | ||
... | ... | ||
{acl, admin, {user, "blotter", "srs17.stura.htw-dresden.de"}}. | {acl, admin, {user, "blotter", "srs17.stura.htw-dresden.de"}}. | ||
{acl, admin, {user, "pwnytail", "srs17.stura.htw-dresden.de"}}. | {acl, admin, {user, "pwnytail", "srs17.stura.htw-dresden.de"}}. | ||
... | ... | ||
{acl, blocked, {user, "test"}}. | {acl, blocked, {user, "test"}}. | ||
{acl, blocked, {user, "root"}}. | {acl, blocked, {user, "root"}}. | ||
{acl, blocked, {user, "r00t"}}. | {acl, blocked, {user, "r00t"}}. | ||
{acl, blocked, {user, "r0ot"}}. | {acl, blocked, {user, "r0ot"}}. | ||
{acl, blocked, {user, "ro0t"}}. | {acl, blocked, {user, "ro0t"}}. | ||
{acl, blocked, {user, "adm1n"}}. | {acl, blocked, {user, "adm1n"}}. | ||
{acl, blocked, {user, "admin"}}. | {acl, blocked, {user, "admin"}}. | ||
{acl, blocked, {user, "kss"}}. | {acl, blocked, {user, "kss"}}. | ||
{acl, blocked, {user, "administrator"}}. | {acl, blocked, {user, "administrator"}}. | ||
{acl, blocked, {user, "administrat0r"}}. | {acl, blocked, {user, "administrat0r"}}. | ||
{acl, blocked, {user, "adm1n1strat0r"}}. | {acl, blocked, {user, "adm1n1strat0r"}}. | ||
{acl, blocked, {user, "adm1nistrat0r"}}. | {acl, blocked, {user, "adm1nistrat0r"}}. | ||
{acl, blocked, {user, "admin1strat0r"}}. | {acl, blocked, {user, "admin1strat0r"}}. | ||
{acl, blocked, {user, "adm1nistrator"}}. | {acl, blocked, {user, "adm1nistrator"}}. | ||
{acl, blocked, {user, "admin1strator"}}. | {acl, blocked, {user, "admin1strator"}}. | ||
... | ... | ||
{access, max_user_sessions, [{2, all}]}. | {access, max_user_sessions, [{2, all}]}. | ||
... | ... | ||
{language, "de"}. | {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"} | |||
]}, | |||
... | ... | ||
</code> | </code> | ||
== Siehe auch == | == Siehe auch == |
Version vom 20. April 2013, 23:16 Uhr
Ports
installierte Ports
- autoconf
- autoconf-wrapper
- automake
- automake-wrapper
- db42
- expat
- gdbm
- gettext
- gmake
- help2man
- libiconv
- libtool
- m4
- p5-Locale-gettext
- pcre
- perl-threaded
- pkgconf
- portupgrade
- python27
- ruby
- ruby18-bdb
- zsh
konfigurierte Ports
help2man
libiconv
m4
pcre
perl-threaded
portupgrade
ruby
zsh
zusätzliche Konfigurationsdateien
Jail
/etc/rc.conf
sshd_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"}
]},
...