Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

dnscrypt

dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
Collective - Host: opensource - https://opencollective.com/dnscrypt - Code: https://github.com/jedisct1/dnscrypt-proxy

Add test for short refresh delay

Ensures a short refresh delay is ignored and the default minimum used instead.

github.com/DNSCrypt/dnscrypt-proxy - a521caf6fc50ac549f2d060fb2e50f167b368270 authored about 5 years ago
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy

* 'master' of github.com:jedisct1/dnscrypt-proxy:
set go.mod to unix endings

github.com/DNSCrypt/dnscrypt-proxy - 96ffc778af562a6aebaf37a34452b48ee6565a36 authored about 5 years ago
Avoid ridiculously low values for proxy.certRefreshDelay

github.com/DNSCrypt/dnscrypt-proxy - a31e7c0c6169c2eacaf745a40fbb0a9e2e8fa3ac authored about 5 years ago
set go.mod to unix endings

github.com/DNSCrypt/dnscrypt-proxy - d9fcd74e426b9f5085e98b36fa194ab4b6dfe690 authored about 5 years ago
Remove URLToPrefetch struct

github.com/DNSCrypt/dnscrypt-proxy - 53d5b0f3cd2455ba826c3e8ba01bbe1c9514fbc7 authored about 5 years ago
Verify signature immediately after reading from cache or URL

This allows a large number of tests to be enabled and pass now that the behaviour is expected.
T...

github.com/DNSCrypt/dnscrypt-proxy - c0e34d1a9ed0511d87c9b9aa618d796503e294ea authored about 5 years ago
Minor cleanup, mostly in tests

github.com/DNSCrypt/dnscrypt-proxy - b697283309cb9392d5aa6aed60ab380677c0ed20 authored about 5 years ago
Improve logging by keeping a Source's configured name on the struct

github.com/DNSCrypt/dnscrypt-proxy - f6f1a758848d7b1bdce659147e4ad95a59591880 authored about 5 years ago
Refactor calculation of update delay when reading cache

Set the default delay once at the top instead of before every early return.

github.com/DNSCrypt/dnscrypt-proxy - 4c156784c891b228896d8629c4a8704e3b554162 authored about 5 years ago
Refactor saving downloads to cache

Moved writing to happen immediately after the download to reduce duplicated code and number of r...

github.com/DNSCrypt/dnscrypt-proxy - ad92be5b9c48b25fbcde19aa5452f5f6ccec8c14 authored about 5 years ago
Refactor away some unnecessary type shuffling

Signatures in particular were read in from both cache and url as `[]byte`, converted to `string`...

github.com/DNSCrypt/dnscrypt-proxy - fe34d07b683abd9c7eb250ff6aee473812a1bd0f authored about 5 years ago
Refactor cache reading to reduce number of return values

github.com/DNSCrypt/dnscrypt-proxy - 4a792026eb30461cb3355317ee14cc2e2043b167 authored about 5 years ago
Move prefetch URLs onto Source struct

This is mostly in preparation for further refactoring, but does reduce the number of return valu...

github.com/DNSCrypt/dnscrypt-proxy - 78f2dead79a96aebf33012178f9e37c8f9db8a45 authored about 5 years ago
Move download loop, fix unnecessary cache reads

Previously, an expired cache would be read before trying each URL until a download completed.
By...

github.com/DNSCrypt/dnscrypt-proxy - 38019866ca8daaed65967df39d61831895c5d083 authored about 5 years ago
Alter source tests to cover entire prefetch algorithm and make it pass

github.com/DNSCrypt/dnscrypt-proxy - 1e225dbb670c90d5f0204a41cd6e48da97587586 authored about 5 years ago
Treat each list and signature pair as a single unit

When a list fails to download, there's no point trying to download the signature.
Code duplicati...

github.com/DNSCrypt/dnscrypt-proxy - b2ecc45133eb091966d1e87c401f2d350e16256c authored about 5 years ago
Allow source URLs to contain query parameters

Previously when constructing the signature URL, the `.minisig` suffix was blindly appended to th...

github.com/DNSCrypt/dnscrypt-proxy - 0991749b196c0b7bef1c64183d5163eec5e2cd44 authored about 5 years ago
Move cacheFile from URLToPrefetch to Source struct

github.com/DNSCrypt/dnscrypt-proxy - 190700e5bac3f9d75fcd85b4bbacc186790482f9 authored about 5 years ago
Clarify how refresh_delay is intended to be used internally

Cache TTL is how old the cache can be at startup before trying to download an update immediately...

github.com/DNSCrypt/dnscrypt-proxy - 082a4a5e018a0738d6a50769ab3192ecd7c8d238 authored about 5 years ago
Refactor writing download to cache

github.com/DNSCrypt/dnscrypt-proxy - b29c70551e290b333c355877f0e3a425b79a8fcb authored about 5 years ago
Move `when` from URLToPrefetch struct to `refresh` on Source struct

github.com/DNSCrypt/dnscrypt-proxy - a83ecf626b70e8ed81ba78a94114dd3a51b86d4d authored about 5 years ago
Fix failing tests on Windows

To simulate failures opening a cache file, fixtures are written without the read permission bits...

github.com/DNSCrypt/dnscrypt-proxy - 4324a09fc970224090ff958b811ad2f42ac7acab authored about 5 years ago
Reduce indentation and long lines in test

github.com/DNSCrypt/dnscrypt-proxy - 77a4a3da905aac2daf1efc0dcb54b68fbe88876a authored about 5 years ago
Raise log level of a prefetch failure

This way it matches with the "loading from URL" info message and users with that log level aren'...

github.com/DNSCrypt/dnscrypt-proxy - 0aea5f81efb173637fa0d5a8de641dd5d8ecce84 authored about 5 years ago
Reduce the chances of corrupting the cache

Write both parts of the cache to their temp files before renaming
Now only the 2nd rename failin...

github.com/DNSCrypt/dnscrypt-proxy - 5ed7b7c24f47b1c6fea5fce60b592f8598f795cd authored about 5 years ago
Parse source URLs sooner

URLs only need to be parsed once, after that they are always available to the download func.

github.com/DNSCrypt/dnscrypt-proxy - b6d11b4351b636440aa96036ec1ea2f566932ea3 authored about 5 years ago
Enable tests for expired cache

If the cache is expired but then all downloads fail, the cache should be used.

github.com/DNSCrypt/dnscrypt-proxy - bf28325b6126ca0feec5c12433263d666514ba93 authored about 5 years ago
Move most of the prefetching code into sources.go

The proxy shouldn't need to know how prefetching works, just that it needs to do it occasionally...

github.com/DNSCrypt/dnscrypt-proxy - 7e73a26a2fcbc74d728c49aa3e7988223323c28e authored about 5 years ago
go mod tidy

```console
$ go mod tidy -v
(snip)
unused github.com/agl/ed25519
```
Also add base .gitattribute...

github.com/DNSCrypt/dnscrypt-proxy - 503bfb877b822a11da45532c4afc9ba01799f4e8 authored about 5 years ago
Add unit tests for sources.go

Tests cover most of the cache and download related code paths and specify the expected result of...

github.com/DNSCrypt/dnscrypt-proxy - af0629856c58d5747e6a94aac0ce7f1d8427d6db authored about 5 years ago
Remove dead code paths

These paths were unreachable because XTransport.Get already checks the same conditions.

github.com/DNSCrypt/dnscrypt-proxy - 03dea4713071b4f616ff83d4d54e421036734c59 authored about 5 years ago
Fix various timing inconsistencies

When comparing times in tests, it's necessary to control the `now` value to ensure slow test run...

github.com/DNSCrypt/dnscrypt-proxy - da0d7fe841083644d943808a684cbca15165e041 authored about 5 years ago
Refactor signature verification to own function

The cache is no longer destroyed whenever any signature verification fails.
The public key is st...

github.com/DNSCrypt/dnscrypt-proxy - d851c9eeb64225ebbbad81ea9be3380b3cba26de authored about 5 years ago
Refactor reading a URL's content to own function

No longer shadows `url` package with variable of the same name.

github.com/DNSCrypt/dnscrypt-proxy - e818eeb800ccdceb03ffdf5ed7ac19deb015ddfb authored about 5 years ago
Revert "cleanup: estimators: simplify blindAdjust"

This reverts commit c699e7bec4405f232356e93e38d40e2bbfc76d24.

github.com/DNSCrypt/dnscrypt-proxy - b76db70a6c7876f80c04d9d4bc2c336b9be977bd authored over 5 years ago
No one ever completes // TODO things

github.com/DNSCrypt/dnscrypt-proxy - 17a675021e568054642b646ed8479477f894afb8 authored over 5 years ago
Revert "fix: proxy: Trigger query logging plugins using defer"

This reverts commit fc9509a8c89a6c18a1bbc4f225fe1d871e296a33.

github.com/DNSCrypt/dnscrypt-proxy - da3f30871f69a027ca425ff2b947f04bd3fb054d authored over 5 years ago
defer is slow and not worth it here

github.com/DNSCrypt/dnscrypt-proxy - 14862c2fc7441b6e3397cf0c0ba4a2488621c8af authored over 5 years ago
Don't return immediately on non-Windows system if netprobe_timout is -1

Fixes #1016

github.com/DNSCrypt/dnscrypt-proxy - 316c5ca6b183e2417f444c6852c666d1fa24e3c7 authored over 5 years ago
Increase the default cache size and minimum TTL

github.com/DNSCrypt/dnscrypt-proxy - 9852a289f82bb0f497009e16750f7f128c21d8eb authored over 5 years ago
Add a comment about why DoH addresses from stamps don't expire

github.com/DNSCrypt/dnscrypt-proxy - e0c37f92fc92d466b48c1985046bf9f5e2d7e648 authored over 5 years ago
Set a minimum TTL when caching resolver IPs

Comcast having a 30 sec TTL is silly

github.com/DNSCrypt/dnscrypt-proxy - 0f332c644d42987eb49c87d7d0c3a4e70eecf094 authored over 5 years ago
Keep resolving if needed

github.com/DNSCrypt/dnscrypt-proxy - a84a789a8af40e76a50c6e2692197ed1c904bd66 authored over 5 years ago
Add a grace TTL for expired cached IPs

And some comments to make the code more readable

github.com/DNSCrypt/dnscrypt-proxy - 6032c3b79b3fb7fff166aaadc3782097ad4f7f05 authored over 5 years ago
resolveHostWithCache -> resolveWithCache

github.com/DNSCrypt/dnscrypt-proxy - 0dc69eacd5811c706d0749edab500789fdc701d7 authored over 5 years ago
Rename CheckResolver to IsIPAndPort for clarity

github.com/DNSCrypt/dnscrypt-proxy - 8d191cdcf1ff72aef748ad8b1046372b0b313102 authored over 5 years ago
Rename resolveHost() to resolveHostWithCache() for clarity

(but to be honest, I don't understand anything to that code any more)

github.com/DNSCrypt/dnscrypt-proxy - 3cef651b07f1ab0a5bdb557e88a19e9e8de7827d authored over 5 years ago
Don't delete cached server IP addresses

If we can't update an entry, keep the previous one.

github.com/DNSCrypt/dnscrypt-proxy - e028f4d4831d1c3e15b66bb0b260ef5dc7658d6b authored over 5 years ago
Use SystemResolverTTL as a minimum timeout for cached resolver IPs

github.com/DNSCrypt/dnscrypt-proxy - 3db3de0a912fc6be7f5784fe9706c69bcb42f4ed authored over 5 years ago
remove unused patternType return

github.com/DNSCrypt/dnscrypt-proxy - 36808cdec7768c4d9744f126c3d6a078633ae3ad authored over 5 years ago
remove err return values that are never set

github.com/DNSCrypt/dnscrypt-proxy - 97e4c4422313a72b4f04170a9c0754a23061f238 authored over 5 years ago
Fix copy-paste oversight

I think these variables are always both nil or both not nil, but maybe in the future they might ...

github.com/DNSCrypt/dnscrypt-proxy - cd675913b27d5633b528f4e34a85a48b5118760f authored over 5 years ago
move ConfigLoad into AppMain

github.com/DNSCrypt/dnscrypt-proxy - 816acb9d8dd8f5348c8d7245d2352893335c9018 authored over 5 years ago
move flags parsing into main()

github.com/DNSCrypt/dnscrypt-proxy - 2f7e05799689f66902123e2d3d036ad66247c09d authored over 5 years ago
Add brackets around cached IPv6 IP addresses

Fixes #1005

github.com/DNSCrypt/dnscrypt-proxy - 59c3d5121daa280ca6eae18ac8e67ec8c7daaa9b authored over 5 years ago
check error that was being erroneously shadowed

github.com/DNSCrypt/dnscrypt-proxy - 1c9924e055bfc31dbc36dde00af8f63af1dbbd06 authored over 5 years ago
Remove the serverInfo rwlock; just use the global serversInfo rwlock

github.com/DNSCrypt/dnscrypt-proxy - 06b0976786f00e6bf56af6103bef42407e21c5c3 authored over 5 years ago
Back to 2.0.29 beta 3 (ceed9051964f2b77a1057bae9c1c81ab44e5746e)

github.com/DNSCrypt/dnscrypt-proxy - 3a68f90c37f4978efaa32fe6aa7b5e8cba669cc8 authored over 5 years ago
Revert "refactoring of pull 980"

This reverts commit 6fa420a8e02b9cc732b527b8bd6cf32bbd616695.

github.com/DNSCrypt/dnscrypt-proxy - fb1fc14317f1502a4f5163a3da4ae857a8a9651c authored over 5 years ago
Revert "avoid LoadConfig twice"

This reverts commit 8f2c438c70b994de680656f0d4ff4c797676af56.

github.com/DNSCrypt/dnscrypt-proxy - 7636a78d747cf234889a716d650320ef03e0688e authored over 5 years ago
Revert "move ConfigLoad and InitPluginsGlobals to appMain"

This reverts commit b67d19ffb3982a527172bb34e35a1456b5574f9d.

github.com/DNSCrypt/dnscrypt-proxy - 828af286585e58271f58176cfaaad03baac7b559 authored over 5 years ago
Add brackets around cached IPv6 IP addresses

Fixes #1005

github.com/DNSCrypt/dnscrypt-proxy - 71e3cf4aefff69c05ac7d0b676b5cb073ad55234 authored over 5 years ago
move ConfigLoad and InitPluginsGlobals to appMain

github.com/DNSCrypt/dnscrypt-proxy - b67d19ffb3982a527172bb34e35a1456b5574f9d authored over 5 years ago
refactoring of pull 980

follow up on https://github.com/DNSCrypt/dnscrypt-proxy/pull/980#issuecomment-548153169

github.com/DNSCrypt/dnscrypt-proxy - 6fa420a8e02b9cc732b527b8bd6cf32bbd616695 authored over 5 years ago
don't use syscall directly

github.com/DNSCrypt/dnscrypt-proxy - 65de188423b88a3b7706b7d2d1fd01e70e08f4f5 authored over 5 years ago
avoid LoadConfig twice

github.com/DNSCrypt/dnscrypt-proxy - 8f2c438c70b994de680656f0d4ff4c797676af56 authored over 5 years ago
move ConfigLoad into Start function when running as a service (take 2)

github.com/DNSCrypt/dnscrypt-proxy - 7307c51d6fd8b302b655671daf9611f21b17d8a7 authored over 5 years ago
fix the file not found error message when passing -config

github.com/DNSCrypt/dnscrypt-proxy - 9eae8de9025e7bbe12735b7307ea1e4f1613a95c authored over 5 years ago
move flags parsing into main()

github.com/DNSCrypt/dnscrypt-proxy - b80e4957d11f195e1a9fda0403bdfe924da37053 authored over 5 years ago
check error that was being erroneously shadowed

github.com/DNSCrypt/dnscrypt-proxy - 7f82c2504db96d58fa5b3d74cfefd13eec023a42 authored over 5 years ago
Potential fix for #998

I haven't tested this change, but it should be as simple as that.

github.com/DNSCrypt/dnscrypt-proxy - 37c939480d79deb9571290fbb62724d7c20f7432 authored over 5 years ago
Revert "move ConfigLoad into Start function when running as a service"

This reverts commit 9aeec3478fe0902e7ead907817dd55f26b3a5958.

github.com/DNSCrypt/dnscrypt-proxy - 778b2cccc1411d38a69a4f3d3cd1be64834d2db8 authored over 5 years ago
move ConfigLoad into Start function when running as a service

github.com/DNSCrypt/dnscrypt-proxy - 9aeec3478fe0902e7ead907817dd55f26b3a5958 authored over 5 years ago
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy

* 'master' of github.com:jedisct1/dnscrypt-proxy:
Fix travis build

github.com/DNSCrypt/dnscrypt-proxy - fe3b8b6321e6de9c36ee0f118006b765a43c5076 authored over 5 years ago
Don't use real server names, because this is apparently confusing

github.com/DNSCrypt/dnscrypt-proxy - 2add754f23ea73d8d3f3f0b03104f4663a9f3c17 authored over 5 years ago
Fix travis build

Hopefully this is all that's needed to make it go green, I'm not set up to test locally.

github.com/DNSCrypt/dnscrypt-proxy - 0c2fb1621440e718fe83e1acfdcbfe1c691b46b9 authored over 5 years ago
Remove the serverInfo rwlock; just use the global serversInfo rwlock

github.com/DNSCrypt/dnscrypt-proxy - 4824e91d4648b32bf074a9e7cb38161fe2c06061 authored over 5 years ago
make sure app main goroutine quits, before stopping

github.com/DNSCrypt/dnscrypt-proxy - 220d418f2feaf934112db31f4d003216292d43d0 authored over 5 years ago
make sure tcp/udp Conn are closed on stop signal

github.com/DNSCrypt/dnscrypt-proxy - 6680faf665eff42091b5621af65318fdfbb09e40 authored over 5 years ago
Add a more explicit message when a user is set on Windows

github.com/DNSCrypt/dnscrypt-proxy - ceed9051964f2b77a1057bae9c1c81ab44e5746e authored over 5 years ago
Add DNS stamps to JSON output

github.com/DNSCrypt/dnscrypt-proxy - e5f3eff760f041216d32df851d4a24c31c657b42 authored over 5 years ago
Correctly honor MaxTimeout on Windows, too

github.com/DNSCrypt/dnscrypt-proxy - 560577af00220070e4d327b0ae22c3377773fa2e authored over 5 years ago
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy

* 'master' of github.com:jedisct1/dnscrypt-proxy:
Reduce contention
Don't name different thi...

github.com/DNSCrypt/dnscrypt-proxy - 32b691a5c79307b794f8d2e742dc29a81bba6878 authored over 5 years ago
MaxTimeout is the maximum timeout, not the minimum

Fixes #977

github.com/DNSCrypt/dnscrypt-proxy - 94c16c31670de95c6b6aad2ad5f17a01a5a5a375 authored over 5 years ago