diff options
Diffstat (limited to 'irssi')
-rw-r--r-- | irssi/Dockerfile | 5 | ||||
-rw-r--r-- | irssi/proxychains.conf | 68 |
2 files changed, 71 insertions, 2 deletions
diff --git a/irssi/Dockerfile b/irssi/Dockerfile index 74be72a..7b4147a 100644 --- a/irssi/Dockerfile +++ b/irssi/Dockerfile @@ -75,13 +75,14 @@ RUN set -eux; \ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ )"; \ apk add --no-network --virtual .irssi-rundeps $runDeps; \ - apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https; \ + apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https proxychains-ng; \ apk del --no-network .build-deps; \ \ # basic smoke test irssi --version +COPY ./proxychains.conf /etc/proxychains/ WORKDIR $HOME USER user -CMD ["irssi"] +CMD ["proxychains4", "-q", "irssi"] diff --git a/irssi/proxychains.conf b/irssi/proxychains.conf new file mode 100644 index 0000000..e9f5f9b --- /dev/null +++ b/irssi/proxychains.conf @@ -0,0 +1,68 @@ +# proxychains.conf VER 3.1 +# +# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. +# + +# The option below identifies how the ProxyList is treated. +# only one option should be uncommented at time, +# otherwise the last appearing option will be accepted +# +dynamic_chain +# +# Dynamic - Each connection will be done via chained proxies +# all proxies chained in the order as they appear in the list +# at least one proxy must be online to play in chain +# (dead proxies are skipped) +# otherwise EINTR is returned to the app +# +#strict_chain +# +# Strict - Each connection will be done via chained proxies +# all proxies chained in the order as they appear in the list +# all proxies must be online to play in chain +# otherwise EINTR is returned to the app +# +#random_chain +# +# Random - Each connection will be done via random proxy +# (or proxy chain, see chain_len) from the list. +# this option is good to test your IDS :) + +# Make sense only if random_chain +#chain_len = 2 + +# Quiet mode (no output from library) +#quiet_mode + +# Proxy DNS requests - no leak for DNS data +proxy_dns + +# Some timeouts in milliseconds +tcp_read_time_out 15000 +tcp_connect_time_out 8000 +localnet 10.0.0.0/255.0.0.0 +localnet 172.16.0.0/255.240.0.0 +localnet 192.168.0.0/255.255.0.0 +localnet 127.0.0.0/255.0.0.0 + +# ProxyList format +# type host port [user pass] +# (values separated by 'tab' or 'blank') +# +# +# Examples: +# +# socks5 192.168.67.78 1080 lamer secret +# http 192.168.89.3 8080 justu hidden +# socks4 192.168.1.49 1080 +# http 192.168.39.93 8080 +# +# +# proxy types: http, socks4, socks5 +# ( auth types supported: "basic"-http "user/pass"-socks ) +# +[ProxyList] +# add proxy here ... +# meanwile +# defaults set to "tor" +socks5 192.168.1.103 9995 |