|
|
(7 intermediate revisions by the same user not shown) |
Line 10: |
Line 10: |
| |status=Active | | |status=Active |
| }} | | }} |
| IPv6: 2804:14d:5c57:8011::9155:f411 | | {{Link Block|[[Server:{{PAGENAME}}]]}} |
| | |
| | <code> |
| | IPv6: 2804:14d:5c57:9aba::f055 |
|
| |
|
| IPv4: 189.122.193.185 | | IPv4: 189.122.193.185 |
| | |
| | Yggdrasil: 201:43e:152:51a0:2114:30e5:d654:cc5f |
| | </code> |
|
| |
|
| <nowiki>:</nowiki>3 | | <nowiki>:</nowiki>3 |
|
| |
|
| piss | | piss |
|
| |
| {{Link Block|[[Server:{{PAGENAME}}]]}}
| |
|
| |
|
| [[File:NQPxWuWW.png|thumb|seemingly piss in a piss collector container over a counter with other drinking vessels]] | | [[File:NQPxWuWW.png|thumb|seemingly piss in a piss collector container over a counter with other drinking vessels]] |
|
| |
|
| <syntaxhighlight lang="dockerfile">
| | https://github.com/pissnet/pisscontainer |
| # author rber
| |
| # [[reminder to insert GPLv3 here later]]
| |
| | |
| FROM registry.opensuse.org/opensuse/tumbleweed:latest
| |
| | |
| RUN zypper in -y -t pattern devel_basis devel_C_C++ network_admin console
| |
| | |
| RUN zypper in -y git python3 libopenssl-devel libsodium-devel pcre2-devel libcurl-devel argon2-devel c-ares-devel libcares2 mt
| |
| | |
| RUN useradd pissnet; \
| |
| chown -R pissnet:users /home/pissnet
| |
| | |
| ENV WORKDIR=/home/pissnet/pissircd
| |
| ENV HOME=/home/pissnet
| |
| | |
| USER pissnet
| |
| | |
| RUN git clone --single-branch https://github.com/rbertoche/pissircd $WORKDIR
| |
| | |
| WORKDIR $WORKDIR
| |
| | |
| RUN ./Config
| |
| | |
| # if for some reason don't want to call Config (both seem to work)
| |
| # ./autogen.sh && \
| |
| # ./configure --with-showlistmodes --enable-ssl --enable-libcurl \
| |
| # --with-nick-history=2000 --with-permissions=0600 --enable-dynamic-linking &&
| |
| # make pem
| |
| | |
| RUN mkdir -p $HOME/unrealircd/tmp
| |
| | |
| RUN make -j4; \
| |
| make install;
| |
| | |
| VOLUME /home/pissnet/unrealircd
| |
| | |
| RUN make clean;
| |
| | |
| USER root
| |
| | |
| RUN rm -rf /var/cache/zypp/packages
| |
| | |
| #REM tbc
| |
| </syntaxhighlight>
| |
| And build it and run it with:
| |
| <syntaxhighlight>
| |
| podman build -f pissnet-dockerfile pissnet
| |
| podman run -dt -p [::]:6900:6900 -p [::]:6667:6667 -p [::]:6697:6697 -u pissnet --name pissnet pissnet bash -c "/home/pissnet/unrealircd/unrealircd start; sleep infinity"
| |
| </syntaxhighlight>
| |
| It builds certificates but they might be in the wrong directory, I don't remember. Ofc you need to edit the config file in there if you want it to link to pissnet.
| |
| | |
| Also ofc, these port mappings are for IPv6 only, which is my case.
| |
| | |
| Kill it with killall -15 unrealircd since it won't have a shell attached (or run it without the bash -c and following argument, that will spawn a shell you can attach to it start it yourself there)
| |
// rber
// Location: Rio de Janeiro, Rio de Janeiro, Brasil
// SID: 157
link pisswaterfall.duckdns.org {
incoming {
mask *;
}
outgoing {
hostname pisswaterfall.duckdns.org;
port 6900;
options { tls; }
}
password "iWukkmm62QzoTydx1N3CBAeHCMQDWuI33lCwt86xehE=" { spkifp; }
class servers;
}
IPv6: 2804:14d:5c57:9aba::f055
IPv4: 189.122.193.185
Yggdrasil: 201:43e:152:51a0:2114:30e5:d654:cc5f
:3
piss
File:NQPxWuWW.png seemingly piss in a piss collector container over a counter with other drinking vessels
https://github.com/pissnet/pisscontainer