8000 chore(ipv6): We don't currently support it so block it by samip5 · Pull Request #35 · angelnu/pod-gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(ipv6): We don't currently support it so block it #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /
# coreutils -> need REAL chown and chmod for dhclient (it uses reference option not supported in busybox)
# bash -> for scripting logic
# inotify-tools -> inotifyd for dnsmask resolv.conf reload circumvention
RUN apk add --no-cache coreutils dnsmasq-dnssec iproute2 bind-tools dhclient bash inotify-tools
RUN apk add --no-cache coreutils dnsmasq-dnssec iproute2 bind-tools dhclient bash inotify-tools ip6tables

COPY config /default_config
COPY config /config
Expand Down
4 changes: 4 additions & 0 deletions bin/client_init.sh
Original file line number Diff line number Diff line change
< 5FA1 a href="#diff-d54596a8123109273f35d08877bd864894464deefc06410563ac9ff0f314432e" id="expand-up-link-0-diff-d54596a8123109273f35d08877bd864894464deefc06410563ac9ff0f314432e" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/angelnu/pod-gateway/blob_excerpt/b203be6bdb7fc66c2b42a152881215160acf5993?context=pull_request&diff=unified&direction=up&in_wiki_context&last_left&last_right&left=24&left_hunk_size=6&mode=100755&path=bin%2Fclient_init.sh&pull_request_id=1418281006&right=24&right_hunk_size=10" data-left-range="1-23" data-right-range="1-23"> Expand Up @@ -24,6 +24,10 @@ fi
echo "Deleting existing default GWs"
ip route del 0/0 || /bin/true

# We don't support IPv6 at the moment, so delete default route to prevent leaking traffic.
echo "Deleting existing default IPv6 route to prevent leakage"
ip route -6 del default || /bin/true

# After this point nothing should be reachable -> check
if ping -c 1 -W 1000 8.8.8.8; then
echo "WE SHOULD NOT BE ABLE TO PING -> EXIT"
Expand Down
0