Skip to content
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

I want Blokada returning 0.0.0.0 instead of 127.0.0.1 #127

Closed
cubakcabak opened this issue Mar 2, 2018 · 0 comments
Closed

I want Blokada returning 0.0.0.0 instead of 127.0.0.1 #127

cubakcabak opened this issue Mar 2, 2018 · 0 comments
Labels
complexity-1 Simple type-F Feature request
Milestone

Comments

@cubakcabak
Copy link

cubakcabak commented Mar 2, 2018

quote taken from one of black list maintainer: https://github.com/StevenBlack/hosts

We recommend using 0.0.0.0 instead of 127.0.0.1

Traditionally most host files use 127.0.0.1, the loopback address, to establish an IP connection to the local machine.

We prefer to use 0.0.0.0, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.

Using 0.0.0.0 is empirically faster, possibly because there's no wait for a timeout resolution. It also does not interfere with a web server that may be running on the local PC.

i have long used that recommendation in adaway when i still got my phone rooted and found that no more hanging connections happen like before.

it will be wonderful if blokada could apply the recommendation for this non rooted solutions too.

@kar kar added this to the v3.1 milestone Mar 7, 2018
@kar kar added type-F Feature request complexity-1 Simple labels Mar 7, 2018
@kar kar changed the title returning 0.0.0.0 instead of 127.0.0.1 I want Blokada returning 0.0.0.0 instead of 127.0.0.1 Mar 7, 2018
@kar kar closed this as completed Mar 20, 2018
MarijnS95 added a commit to MarijnS95/blokada that referenced this issue Aug 23, 2020
03c4684e cargo fmt
91432f50 Update all crate dependencies
8c973f31 build: Set linker and ar without hardcoded paths through CARGO_TARGET_
dafda6f6 build: Use ANDROID_NDK_ROOT instead of NDK_STANDALONE
47566234 update CC / GCC in boringtun
d7a1178a Update build script to not use CC and CXX
05ba8f82 update NDK paths in boringtun to use api 21
ac7be60d add android logger to boringtun
ed27ee1b update cargo config
64d9b6ee update build script to support x86_64
728129c0 update boringtun build.sh
dc722ffe Remove logging
fd3e3f13 add build script to boringtun
26fbbaf7 make it compile
6f716e06 Run cargo update
a471f4c1 Disable Android device: no libc timerfd for epoll.
71f8122e For 32-bit ARM Android, socklen_t is actually i32.
1dceb4d8 JNI needs update for keepalive now exposed in FFI.
f8242878 Make device mod public (blokadaorg#137)
dfb7d8b1 Fix spelling (blokadaorg#135)
362be0d9 Fix CI.
45d2c099 Expose keep alive in FFI
f8068c58 [WARP-578] - Fix race between handshake and peer removal
e45cf84e epoll: allow controlling write event notifications for bidirectional I/O
feb1d253 Extract signal block function and make it public
86195ea6 Merge pull request blokadaorg#133 from Bren2010/brendan/gate-215
0d3f24a4 Handle unexpected return values from epoll_wait.
e50562e1 Merge pull request blokadaorg#128 from Bren2010/brendan/2020.4.0
64207775 Document crypto modules and remove unsafe code.
ac46d8ce Vlad/upstream (blokadaorg#130)
5eb6690c Fix potential tun interface read inefficiency on error cases (blokadaorg#127)
0caa492f Merge pull request blokadaorg#124 from poupas/master
4b93169f Handle tun interface errors
dbeb35ed Update dependencies (blokadaorg#123)
ab552586 Update README (blokadaorg#121)
8d35f2a4 Fix issue where Rx bytes and Tx bytes were reversed in the API call (blokadaorg#120)
7a46d968 Fix CI issues (blokadaorg#122)
96bc927b Remove redundant parentheses + use declaration (blokadaorg#118)
700f20bf Upgrade ring to 0.16 (blokadaorg#115)
a0d29565 Migrate to mem::MaybeUninit to fix rust 1.39 warnings (blokadaorg#109)
40c28d24 Vlad/non monotonic instant panic (blokadaorg#106)
0b980a2f Fix Rust 1.37 build and clippy warnings (blokadaorg#103)
3aec8457 Modify JNI names to make them compatible with Java-only projects (blokadaorg#100)
2fbfa225 Vlad/minor fixes (blokadaorg#96)
94fb2061 Some timer fixes (blokadaorg#95)
6feb8e6c Add rate limiting for DoS protection (blokadaorg#94)
REVERT: 8b529b00 Remove logging
REVERT: 1517bc24 add build script to boringtun
REVERT: 22223f7 make it compile

git-subtree-dir: boringtun
git-subtree-split: 03c4684e514e5249a41b7aea8968bac3673d1565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity-1 Simple type-F Feature request
Projects
None yet
Development

No branches or pull requests

2 participants