- Fix old IP problem returned by MyIPD service.

This commit is contained in:
Arnaud G. GIBERT 2025-09-02 18:50:21 +02:00
parent 7b2cf91aba
commit ec2809d453
3 changed files with 11 additions and 3 deletions

View File

@ -40,14 +40,14 @@ user=microsocks'
#--------------------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------------------
ARG MYIPD_INI='[program:myipd] \n\ ARG MYIPD_INI='[program:myipd] \n\
directory='${MICROSOCKS_HOME}' \n\ directory='${MICROSOCKS_HOME}' \n\
command=/bin/bash -c `while true; do myip | nc -l -q 0 ${MYIPD_PORT}; done` \n\ command=/bin/bash -c `while true; do nc -l -q 0 -p ${MYIPD_PORT} -c myip; done` \n\
user=microsocks' user=microsocks'
#--------------------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------------------
RUN urpmi.update -a \ RUN urpmi.update -a \
&& urpmi --force microsocks netcat-openbsd \ && 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 \

View File

@ -1,3 +1,11 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MicroSocks V 1.1.2 - A. GIBERT - 2025/09/02
------------------------------------------------------------------------------------------------------------------------------------
- Fix old IP problem returned by MyIPD service.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MicroSocks V 1.1.1 - A. GIBERT - 2025/07/26 Rx3-Docker/MicroSocks V 1.1.1 - A. GIBERT - 2025/07/26
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------

View File

@ -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.1.1" APPL_VERSION="1.1.2"
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}"