Commit Graph

274 Commits (ed8fa682eb7e706e9c0a65bfa76da643d7e817ac)
 

Author SHA1 Message Date
JeremyRand ed8fa682eb
Add plumbing for stream isolation
The stream ID is not yet passed to namecoind.
5 years ago
JeremyRand 54d7d303be
Merge #116: Travis: Fix goxsys error on Go 1.11 and earlier
344672c Travis: Fix goxsys error on Go 1.11 and earlier (JeremyRand)

Pull request description:

ACKs for commit 344672:

Tree-SHA512: 5c2331cd0a092d3aacfe343ac408adc6229b665e9530c285b404a230bfbe17747b72654113ed2b429c1bc7ba5f4ef204c2595a626431d453dbfbff16c8452c8b
5 years ago
JeremyRand 344672cdae
Travis: Fix goxsys error on Go 1.11 and earlier 5 years ago
JeremyRand 6f8baae316
Merge #115: Add no_namecoin_tls build tag
0e63698 Add no_namecoin_tls build tag (JeremyRand)

Pull request description:

  This PR allows building ncdns without TLSA record support.  Doing so decreases the binary size and attack surface significantly.

ACKs for commit 0e6369:

Tree-SHA512: 84ab2a36ab2931e40d6511997ba7f06a0b66d9773dba8002f3044abd21da5729a6d9239042be74a86a23c18678b83edc80e8d105045ca787af88c495a0856d8d
5 years ago
JeremyRand 0e6369824f
Add no_namecoin_tls build tag 5 years ago
JeremyRand d2db4756d6
Merge #111: Travis: Notify IRC when build fails
fd96cf0 Travis: Notify IRC when build fails (JeremyRand)

Pull request description:

ACKs for commit fd96cf:

Tree-SHA512: 53adf86342086a453f02883411b60995b7b7403baf7e443bad405a1d80f1eedbb84fa67566b50ec27d5f3150bf26b06ab139388b0f7d1cf03478a3a41698712d
5 years ago
JeremyRand fd96cf09de
Travis: Notify IRC when build fails 5 years ago
JeremyRand 3f037e8724
Merge #110: Fix build instructions for external x509
9d294da Add missing `git checkout` to build instructions (JeremyRand)
86206ee Fix build instructions for external x509 (JeremyRand)

Pull request description:

  Fixes https://github.com/namecoin/ncdns/issues/109

ACKs for commit 9d294d:

Tree-SHA512: 45f71e9d82a4be7e939236a6b14a7aef53c6f1518e681a6b488728142f92a20915e0d26528b2649349d67ba419914434dc5d5834fb21eed5201c4875748ddc7c
5 years ago
JeremyRand 9d294dacf1
Add missing `git checkout` to build instructions 5 years ago
JeremyRand 86206ee584
Fix build instructions for external x509
Fixes https://github.com/namecoin/ncdns/issues/109
5 years ago
JeremyRand 006f537e01
Merge #104: generate_nmc_cert: Use external x509 package in parent.go
360369c generate_nmc_cert: Use external x509 package in parent.go (JeremyRand)

Pull request description:

  `parent.go` was accidentally not updated when `x509` moved to an external repo; this is breaking the Travis build.  This PR fixes that.

ACKs for commit 360369:

Tree-SHA512: d90deee1bfd9d8bdab7e33d48897508781c0d0b97b823e36a8142d80472dee2cf8d10bcfdcd92b4b6719d8db44d37bf0cd98ffdc41a11cd412db736b3e4a4d6d
5 years ago
JeremyRand d9c24e2e0e
Merge #93: ncdumpzone: Add mode for a URL list.
39fbbc0 ncdumpzone: Add mode for a URL list. (JeremyRand)

Pull request description:

  This PR is intended to facilitate YaCy crawl jobs.

ACKs for commit 39fbbc:

Tree-SHA512: 070cfd9ad1ee4bc59286ec2c0c120379f30b4cfd761bd3eecd5e2a028b70091171b6dd054acb3c9205800d454187c88fed9e1be9c6591e087d808dd49e2ecda4
5 years ago
JeremyRand 360369c55e
generate_nmc_cert: Use external x509 package in parent.go 5 years ago
JeremyRand d569a8667c
Merge #102: Travis: use more Go versions with x509-signature-splice
7e25dea Travis: use more Go versions with x509-signature-splice (JeremyRand)

Pull request description:

  TODO:

  - [x] Merge #101 first.

ACKs for commit 7e25de:

Tree-SHA512: 5c9057f16268a0db4e2dba02a1f5a5e248ea7bea86827a6e4cfd11523f56bb01a67b2013adebbcda674b253c81715c0031068d27d6c2d07b655d930bc18cf36f
5 years ago
JeremyRand 7e25deafa8
Travis: use more Go versions with x509-signature-splice
In theory we could use older Go versions as well, but current miekg/dns
doesn't support them anymore.
5 years ago
JeremyRand 13500dbc55
Merge #101: Move x509 subpackage to its own repo
7db5b5a Move x509 subpackage to its own repo (JeremyRand)

Pull request description:

  This avoids tying the ncdns repo to a specific Go version; we can maintain separate branches of the x509-signature-splice repo per Go version with much less hassle.

ACKs for commit 7db5b5:

Tree-SHA512: e6d784c6b344d46955d0ca275174772b6da6bf86bfa84e03a5a59faa9f0a88805d32ecfe29d83970c61246904e1025859dd4cff031ec8052b8f544867c55bf21
5 years ago
JeremyRand beefb9f9bc
Merge #89: generate_nmc_cert: Support name-constrained CA's
d5bac49 Support name-constrained CA's (JeremyRand)

Pull request description:

  This enables compatibility of generated certs with mozilla::pkix TLS clients such as Firefox (which don't allow end-entity trust anchors), and also decreases the size of the data stored in the blockchain.  Support for actually using the generated certs is out of scope for this PR; the relevant code for ncp11 is already written, and the relevant code for certinject shouldn't be difficult to write later.

ACKs for commit d5bac4:

Tree-SHA512: 100a3f24bc350fccd5421482ea95637dbf492b2fcca0a4c1359217603852f130a2806c2ee245ef7d4ed0a0da2d53fb8563997b228f9e567636d5aab37c8db285
5 years ago
JeremyRand d5bac49746
Support name-constrained CA's 5 years ago
JeremyRand 7db5b5a2d2
Move x509 subpackage to its own repo
This avoids tying the ncdns repo to a specific Go version; we can maintain
separate branches of the x509-signature-splice repo per Go version with
much less hassle.
5 years ago
JeremyRand d5168ce530
Merge #99: Rebase x509 onto Go 1.12
e5918ac Travis: Drop support for Go 1.11.x and lower (JeremyRand)
bb16218 Travis: Set Go 1.12.5 as release version (JeremyRand)
f687a9b Add Go 1.11.x, 1.12.5, and 1.12.x to Travis (JeremyRand)
759c009 Rebase x509 onto Go 1.12 (JeremyRand)
9c1ba94 Rebase x509 onto Go 1.11 (JeremyRand)

Pull request description:

  Tor is now using Go 1.12.5 for their rbm builds; this PR restores compatibility with Go 1.12.x.  The x509 generate script has also been refactored a bit.

ACKs for commit e5918a:

Tree-SHA512: f9d9b346c49be124caad896360ca64e26d6b77b5a584f24994adc95ef35eab89aa02fcac5c3ce3d3ee130b8b5feed3362af1338f8077089f21ca678223152823
5 years ago
JeremyRand e5918ac80f
Travis: Drop support for Go 1.11.x and lower
Our x509 package is no longer compatible with them.
5 years ago
JeremyRand bb16218f52
Travis: Set Go 1.12.5 as release version
This is the version Tor is currently using with rbm.
5 years ago
JeremyRand f687a9bbcf
Add Go 1.11.x, 1.12.5, and 1.12.x to Travis
1.12.5 is currently used by Tor's rbm scripts.
5 years ago
JeremyRand 759c009e74
Rebase x509 onto Go 1.12 5 years ago
JeremyRand 9c1ba94379
Rebase x509 onto Go 1.11 5 years ago
JeremyRand 4ea036742b
Merge #94: Make Namecoin RPC timeout configurable
9a4ee1e Make Namecoin RPC timeout configurable (JeremyRand)

Pull request description:

  The 1500ms timeout regularly gets hit when using Electrum-NMC over Tor, so being able to configure it seems like a good idea.

Tree-SHA512: 77915c56df2e98800108af3a130d20a1bbb04af2fe7cfb4291eff7f9c5611ed011f17ade9f3929988ec54989109bc8e2efa5e75948f515ff97b7c2a6951db155
5 years ago
JeremyRand 75ac493c43
Merge #95: Disable q and dns-prop279 in Travis
d74be4d Disable q and dns-prop279 in Travis (JeremyRand)

Pull request description:

  Both of them are broken due to upstream issues.  The upstream breakage should be possible to workaround in rbm when we get around to it, but that's probably not going to happen before the next ncdns release.

Tree-SHA512: a6f0bf2cc947d41b2f13200263b1971674d727f967a07c6ee70bd07f9e0f5cda5e0ecc428e7ac903251e74f33e52f5f628f40ebef45956342b75fac65210edd7
5 years ago
JeremyRand d74be4d0c4
Disable q and dns-prop279 in Travis
Both of them are broken due to upstream issues.
5 years ago
JeremyRand 9a4ee1e04a
Make Namecoin RPC timeout configurable 5 years ago
JeremyRand 39fbbc0ec5
ncdumpzone: Add mode for a URL list.
This can be used as input for a YaCy crawl job.
5 years ago
JeremyRand 3b7ffcbc45
Merge #85: Support tlsrestrictnsssync
524d09d Travis: mark gosec static analyzer as non-critical (JeremyRand)
9bcdd25 (WIP) Support tlsrestrictnsssync. (JeremyRand)

Pull request description:

  This PR adds the ability to automatically re-apply name constraints whenever an NSS application such as Firefox is updated.  Depends on https://github.com/namecoin/tlsrestrictnss/pull/14 .

Tree-SHA512: 9d7055ef493236b8bf1dd75487984bb80827c64e602a0745da522974462c5a7bb389dd4d7c06dec06bce9b3814e8337afc30f703e9efb63d5699d8ec86d04b06
6 years ago
JeremyRand 524d09d3a2
Travis: mark gosec static analyzer as non-critical 6 years ago
JeremyRand 9bcdd25a1d
(WIP) Support tlsrestrictnsssync.
Tested and working; still need to run static analysis.
6 years ago
JeremyRand 5235417cf4
Merge #84: Travis: Update to Go 1.10.3 for releases, and test on newer Go versions.
4ee5a1c Travis: Update to Go 1.10.3 for releases, and test on newer Go versions. (JeremyRand)

Pull request description:

  TODO:

  - [x] Test this on Travis.

Tree-SHA512: 0cf071d09cf359e2cc327d6eca76e5e832cc762543d62e57948c957d6ab7560367f747f666246778727d9bd2d06f24be0a466b7f9da461c799cd369bfe9c0c97
6 years ago
JeremyRand 4ee5a1c22f
Travis: Update to Go 1.10.3 for releases, and test on newer Go versions. 6 years ago
JeremyRand bad0c81eba
Merge #80: Automatically sync TLSA records with Firefox cert_override.txt
fade5f4 Allow ncdns to automatically sync TLSA records with Firefox cert_override.txt. (JeremyRand)

Pull request description:

Tree-SHA512: 05360437bea506eacb71e37d62781627f5c60de61c4b30d60c2e0efa7da9f511a087715514cdc5be0ab0fbcf0229bfea31133dcb486c947a4068d7b562ad13c4
6 years ago
JeremyRand fade5f412a
Allow ncdns to automatically sync TLSA records with Firefox cert_override.txt. 6 years ago
JeremyRand 21c3c3d041
Merge #66: Upgrade to Go 1.10.
443f1b1 x509: Fix goimports warning in x509_splice.go (JeremyRand)
437303f Rebase x509 onto Go 1.10. (JeremyRand)
8d44b53 x509: Update install script for Go 1.10. (JeremyRand)
5884c30 Travis: Upgrade to Go 1.10. (JeremyRand)

Pull request description:

  Depends on #65 .  Should not be merged until The Tor Project has upgraded their RBM descriptor to Go 1.10 or higher.

Tree-SHA512: e32dac7b7e1edeb16ffc94c53d1c25fb97fff5ab12ae2ab175a190babde38735d9785805f1f8455b7883283c949db4fd3dcd9f749bb0766bbbb46acd47c8051b
6 years ago
JeremyRand 443f1b1574
x509: Fix goimports warning in x509_splice.go 6 years ago
JeremyRand 437303f33d
Rebase x509 onto Go 1.10. 6 years ago
JeremyRand 8d44b532aa
x509: Update install script for Go 1.10. 6 years ago
JeremyRand 5884c3020e
Travis: Upgrade to Go 1.10.
Remove older Go versions, because ncdns's x509 fork no longer builds with them.
6 years ago
JeremyRand 5150db0795
Merge #78: Travis: enable goimports static analyzer as critical.
9496034 Travis: disable gofmt linter. (JeremyRand)
99cb7d9 Travis: enable goimports static analyzer as critical. (JeremyRand)

Pull request description:

  Depends on https://github.com/namecoin/ncdns/pull/54 and https://github.com/namecoin/ncdns/pull/77 .  Should be mergeable after those are merged, assuming Travis passes at that point.

Tree-SHA512: 174fc0d5b0bd5734703d4e97d04d70389883071fec41436ef6a93b543e449032db8faab2ab0a3b287a3c180504e3a2e64d446c613cc4643016c90e13a4744c7a
6 years ago
JeremyRand 6a17fdf647
Merge #82: ncdumpzone: Refactor into library and executable.
1a6a3db ncdumpzone: Refactor into library and executable. (JeremyRand)

Pull request description:

  Also a few other minor refactorings of ncdumpzone.

  Refs https://github.com/namecoin/ncdns/pull/80 .

Tree-SHA512: 2e456f07125dec4a39dd840685090b3b6809663993995ab0103405d4301eec2671c1533c2b5fccd099e6716e9957a1acaf03be6973e088a63450bdae5b68ebb6
6 years ago
JeremyRand b464ead48d
Merge #81: Travis: disable gochecknoglobals as critical.
c4a72a8 Travis: disable gochecknoglobals as critical. (JeremyRand)

Pull request description:

  The gochecknoglobals is newly added to gometalinter, and it's breaking the build right now.  We should disable it until we've evaluated whether the issues it flags are significant.

Tree-SHA512: 71d305d72fd5c7283878c0b93607efee6f68bf52501d29ad23ea2cad7e3465e7e5a1f47b292023ad252ad6d1af8a696639431f1f6da40f3de05f381c70f58faf
6 years ago
JeremyRand 1a6a3db340
ncdumpzone: Refactor into library and executable. 6 years ago
JeremyRand c4a72a8fe2
Travis: disable gochecknoglobals as critical. 6 years ago
JeremyRand 94960344ae
Travis: disable gofmt linter.
goimports is still enabled, and it's a superset of gofmt.
6 years ago
JeremyRand 99cb7d993b
Travis: enable goimports static analyzer as critical. 6 years ago
JeremyRand c0b4e4d3e6
Merge #79: ncdumpzone: Refactor RR printing.
96c4999 ncdumpzone: Refactor RR printing. (JeremyRand)

Pull request description:

Tree-SHA512: 9c39483130addf33040cba4e48da98441a04da4f0795ebc1e92ffdbf45a34f82b209c1e85e67bf6e7dc5705efd0763971375d4e8cbe5b25b38596ccac3286fc5
6 years ago