5.0.0: 🐞: IPv4 regex, hex includes dashes
Some checks failed
Queries per Second shields.io badge / update-qps-gist (push) Has been cancelled
Nameservers / check-dns (push) Has been cancelled
CI Tests / build (push) Has been cancelled

This commit is contained in:
Brian Cunnie
2025-08-30 19:55:41 -07:00
parent afb37dd63f
commit 1918154760
4 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Brian Cunnie <brian.cunnie@gmail.com>"
RUN dnf install -y bind-utils
ARG TARGETARCH # amd64, arm64 (so I can run on AWS graviton2)
RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/4.2.3/sslip.io-dns-server-linux-$TARGETARCH \
RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/5.0.0/sslip.io-dns-server-linux-$TARGETARCH \
-o /usr/sbin/sslip.io-dns-server; \
chmod 755 /usr/sbin/sslip.io-dns-server

View File

@@ -4,7 +4,7 @@
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR/..
ldflags="-X xip/xip.VersionSemantic=4.2.3 \
ldflags="-X xip/xip.VersionSemantic=5.0.0 \
-X xip/xip.VersionDate=$(date +%Y/%m/%d-%H:%M:%S%z) \
-X xip/xip.VersionGitHash=$(git rev-parse --short HEAD)"
export GOOS GOARCH

View File

@@ -4,8 +4,8 @@ These instructions are meant primarily for me when deploying a new release;
they might not make sense unless you're on my workstation.
```bash
export OLD_VERSION=4.2.2
export VERSION=4.2.3
export OLD_VERSION=4.2.3
export VERSION=5.0.0
cd ~/workspace/sslip.io
git pull -r --autostash
# update the version number for the TXT record for version.status.sslip.io
@@ -41,7 +41,7 @@ Test from another window:
```bash
export DNS_SERVER_IP=127.0.0.1
export VERSION=4.2.3
export VERSION=5.0.0
# quick sanity test
( dig +short 127.0.0.1.example.com @$DNS_SERVER_IP
echo 127.0.0.1 ) | uniq -c
@@ -82,7 +82,7 @@ Review the output then close the second window. Stop the server in the
original window. Commit our changes:
```bash
GIT_MESSAGE="$VERSION: performance: blocklist 5x speedup"
GIT_MESSAGE="$VERSION: 🐞: IPv4 regex, hex includes dashes"
git add -p
git ci -vm"$GIT_MESSAGE"
git tag $VERSION

View File

@@ -20,7 +20,7 @@ end
domains_env = ENV['DOMAINS'] || 'example.com'
domains = domains_env.split(',').map(&:strip)
sslip_version = '4.2.3'
sslip_version = '5.0.0'
domains.each do |domain|
whois_nameservers = get_whois_nameservers(domain)