tor push
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
version: "3"
|
||||
services:
|
||||
socks:
|
||||
build: ./socks
|
||||
ports:
|
||||
- "1080:1080"
|
||||
http:
|
||||
build: ./http
|
||||
ports:
|
||||
- "3128:3128"
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
FROM datadog/squid
|
||||
|
||||
RUN apt update && apt install -y apache2-utils
|
||||
|
||||
RUN htpasswd -b -c /etc/squid/passwords userhttp passwordhttp
|
||||
|
||||
ADD squid.conf /etc/squid/squid.conf
|
||||
|
||||
RUN chmod o+rw /var/run
|
||||
|
||||
USER proxy
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords
|
||||
#auth_param basic children 5 startup = 5 idle = 1
|
||||
auth_param basic realm proxy
|
||||
auth_param basic credentialsttl 1 second
|
||||
connect_timeout 1 second
|
||||
acl authenticated proxy_auth REQUIRED
|
||||
http_access allow authenticated
|
||||
|
||||
logformat splunk_recommended_squid %ts.%03tu logformat=splunk_recommended_squid duration=%tr src_ip=%>a src_port=%>p dest_ip=%<a dest_port=%<p user_ident="%[ui" user="%[un" local_time=[%tl] http_method=%rm request_method_from_client=%<rm request_method_to_server=%>rm url="%ru" http_referrer="%{Referer}>h" http_user_agent="%{User-Agent}>h" status=%>Hs vendor_action=%Ss dest_status=%Sh total_time_milliseconds=%<tt http_content_type="%mt" bytes=%st bytes_in=%>st bytes_out=%<st sni=ssl::>sni
|
||||
|
||||
logfile_rotate 0
|
||||
cache_log stdio:/proc/self/fd/1 splunk_recommended_squid
|
||||
access_log stdio:/proc/self/fd/1 splunk_recommended_squid
|
||||
cache_store_log stdio:/proc/self/fd/1 splunk_recommended_squid
|
||||
|
||||
# Choose the port you want. Below we set it to default 3128.
|
||||
http_port 3128
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
|
||||
user:$apr1$L24dGKxY$xqj/npbeiBkMZEH7s9Iae/
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
FROM vimagick/dante
|
||||
|
||||
RUN useradd user && echo user:password | chpasswd
|
||||
Reference in New Issue
Block a user