Compare commits
5 Commits
microsocks
...
microsocks
| Author | SHA1 | Date | |
|---|---|---|---|
| 80cb257091 | |||
| a3123f18a6 | |||
| ec2809d453 | |||
| 7b2cf91aba | |||
| fde392fbbb |
12
Dockerfile
12
Dockerfile
@@ -37,15 +37,23 @@ command=/bin/bash -c `microsocks ${MICROSOCKS_OPTIONS}`
|
|||||||
user=microsocks'
|
user=microsocks'
|
||||||
#---------------------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------------------------------------------
|
||||||
|
ARG MYIPD_INI='[program:myipd] \n\
|
||||||
|
directory='${MICROSOCKS_HOME}' \n\
|
||||||
|
command=/bin/bash -c `while true; do nc -l -q 0 -p ${MYIPD_PORT} -c myip; done` \n\
|
||||||
|
user=microsocks'
|
||||||
|
#---------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN urpmi.update -a \
|
RUN urpmi.update -a \
|
||||||
&& urpmi --force microsocks \
|
&& urpmi --force microsocks netcat-traditional \
|
||||||
&& mkdir ${MICROSOCKS_LIB} \
|
&& mkdir ${MICROSOCKS_LIB} \
|
||||||
&& useradd -M --home-dir ${MICROSOCKS_HOME} --password "" microsocks \
|
&& useradd -M --home-dir ${MICROSOCKS_HOME} --password "" microsocks \
|
||||||
&& echo -e "${MICROSOCKSD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/microsocksd \
|
&& echo -e "${MICROSOCKSD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/microsocksd \
|
||||||
&& chmod a+x /etc/init.d/microsocksd \
|
&& chmod a+x /etc/init.d/microsocksd \
|
||||||
&& ln -s /etc/init.d/microsocksd /etc/rcD.d/S30microsocksd \
|
&& ln -s /etc/init.d/microsocksd /etc/rcD.d/S30microsocksd \
|
||||||
&& echo -e "${MICROSOCKSD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/microsocksd.ini
|
&& echo -e "${MICROSOCKSD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/microsocksd.ini \
|
||||||
|
&& echo -e "${MYIPD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/myipd.ini
|
||||||
|
|
||||||
EXPOSE ${MICROSOCKS_PORT}
|
EXPOSE ${MICROSOCKS_PORT}
|
||||||
|
|||||||
@@ -5,9 +5,10 @@ Welcome to Rx3-Docker/MicroSocks docker image!
|
|||||||
This project aims to build a MicroSocks docker image.
|
This project aims to build a MicroSocks docker image.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
- Curtently based on rx3-docker/server:1.2.4-mga9 image,
|
- Curtently based on rx3-docker/server:1.2.6-mga9 image,
|
||||||
- Use microsock 1.0.5,
|
- Use microsock 1.0.5,
|
||||||
- Support DNS forwarding to avoid DNS leaking.
|
- Support DNS forwarding to avoid DNS leaking,
|
||||||
|
- MyIPD service included.
|
||||||
|
|
||||||
|
|
||||||
Enjoy it!
|
Enjoy it!
|
||||||
|
|||||||
@@ -1,3 +1,36 @@
|
|||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Docker/MicroSocks V 1.1.3 - A. GIBERT - 2025/09/19
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Use now rx3-docker/server:1.2.6-mga9 image.
|
||||||
|
- Rebuild for updates.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Docker/MicroSocks V 1.1.2 - A. GIBERT - 2025/09/03
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Fix old IP problem returned by MyIPD service.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Docker/MicroSocks V 1.1.1 - A. GIBERT - 2025/07/26
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Use now rx3-docker/server:1.2.5-mga9 image.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Docker/MicroSocks V 1.1.0 - A. GIBERT - 2025/07/07
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Add MyIPD service on port 8080.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
Rx3-Docker/MicroSocks V 1.0.4 - A. GIBERT - 2025/07/03
|
Rx3-Docker/MicroSocks V 1.0.4 - A. GIBERT - 2025/07/03
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ services:
|
|||||||
MICROSOCKS_UID: ${SP_USER_ID}
|
MICROSOCKS_UID: ${SP_USER_ID}
|
||||||
MICROSOCKS_GID: ${SP_GROUP_ID}
|
MICROSOCKS_GID: ${SP_GROUP_ID}
|
||||||
MICROSOCKS_OPTIONS: ${SP_CMD_OPTIONS}
|
MICROSOCKS_OPTIONS: ${SP_CMD_OPTIONS}
|
||||||
|
MYIPD_PORT: ${SP_PORT_MYIPD_INT}
|
||||||
|
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: /opt/appl/kafka/bin/kafka-cluster.sh cluster-id --bootstrap-server localhost:${SP_PORT_MAIN_INT}
|
# test: /opt/appl/kafka/bin/kafka-cluster.sh cluster-id --bootstrap-server localhost:${SP_PORT_MAIN_INT}
|
||||||
|
|||||||
6
env.dist
6
env.dist
@@ -21,7 +21,7 @@ APPL_NAME="microsocks"
|
|||||||
APPL_NAME_FULL="MicroSocks Proxy"
|
APPL_NAME_FULL="MicroSocks Proxy"
|
||||||
APPL_NAME_SHORT="micsoc"
|
APPL_NAME_SHORT="micsoc"
|
||||||
APPL_ORG="rx3"
|
APPL_ORG="rx3"
|
||||||
APPL_VERSION="1.0.4"
|
APPL_VERSION="1.1.3"
|
||||||
APPL_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
APPL_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||||
|
|
||||||
APPL_URL_PREFIX="${ORG_REGISTRY}/${APPL_ORG}"
|
APPL_URL_PREFIX="${ORG_REGISTRY}/${APPL_ORG}"
|
||||||
@@ -73,7 +73,7 @@ DOCKER_TOOLS_VOLUME=SINGLE
|
|||||||
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
|
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
|
||||||
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
||||||
|
|
||||||
docker_service_add SP socks-proxy ${ORG_URL_PREFIX} microsocks "Rx3-Docker/MicroSocks" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} server 1.2.4-mga9 - - 1080 1080 - - ${APPL_USER} ${APPL_GROUP}
|
docker_service_add SP socks-proxy ${ORG_URL_PREFIX} microsocks "Rx3-Docker/MicroSocks" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} server 1.2.6-mga9 - - 1080 1080 - - ${APPL_USER} ${APPL_GROUP}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -90,6 +90,8 @@ SERVER_DNS_SEARCH="xor.rx3 and.rx3 not.rx3 mob.rx3 fix.rx3 rx3 rx3.net"
|
|||||||
|
|
||||||
SP_CMD_OPTIONS=""
|
SP_CMD_OPTIONS=""
|
||||||
|
|
||||||
|
SP_PORT_MYIPD_INT="8080"
|
||||||
|
|
||||||
NETWORK_SUBNET=10.10.32.0/30
|
NETWORK_SUBNET=10.10.32.0/30
|
||||||
NETWORK_ADDRESS=10.10.32.1
|
NETWORK_ADDRESS=10.10.32.1
|
||||||
NETWORK_GATEWAY=10.10.32.2
|
NETWORK_GATEWAY=10.10.32.2
|
||||||
|
|||||||
Reference in New Issue
Block a user