-
Notifications
You must be signed in to change notification settings - Fork 114
Merge Development branches #81
Merge Development branches #81
Conversation
* Fix crashes when invalid router.{keys,info} * remove commandline argument requirements in RouterContext * make logging actually STFU if log = 0 in kovri.conf
…so crashes benchmarks occasionally
I would like to merge if you are willing + able to make the appropriate adjustments/fixes:
|
re: varmap
re: i2lua not in core
re: linting stuff good point re: style I tried really hard but I don't see anything that is massively off? can you point to an example so I can correct it? re: pr more often can do. |
Awesome, I'm glad you're flexible. I'll be flexible too.
Our model is dependent on communication and I think we need more of that before every idea is PR'd. Workflow too + topic branches, especially so we don't have to cherry pick things like this in the future. The absolute last thing I want to do in a review is trip over style, so if it helps that I keep refactoring any PRs (and that in turn is the example), then I can do that (I learn by example too). On that note, these other factors effect my opinion re: codebase decisions:
So, I think we should get the fixes out of this PR and into development a.s.a.p. If your tree is clean (after merging into a personal dev branch perhaps?), maybe a git revert of everything here but the fixes and then a new PR will do the trick. I'm open to ideas. I don't want to squash anyone's workflow but I also want to be on the same page. |
* add i2p::Buffer for pre filled buffers * various changes to unfux crypto parts
nevermind then, this is way too much bullshit for me to go through. |
If by "bullshit" you mean failing to follow through with your agreement and the basics of our contributing guide, then I agree. If you mean "bullshit" as in the facts-of-life behind running a real organization, then I disagree: basic standards must be set and adhered to. I don't know who you work for, but I can't imagine that they tolerate that kind of immaturity and response. Like I've said before, I'm flexible and open to discussion - but rage quitting is not the solution, and you're always welcome to finish what you've started. |
There is too much red tape for a project with 2 (maybe 1 soon?) contributors.
Such a lovely and mature (totally not patronizing or condescending) way to frame your response.
Your actions so far seem to contradict this statement.
Allow me to contribute code if you're serious about that. |
This is your 10th pull request to Kovri since Nov. 17th, 2015. All previous 9 have been merged without question. This is the only one that had issues which came under scrutiny before merging. @fluffypony will merge this in the morning, SAST time. Once that's done, we'll open the appropriate tickets for the issues that will arise. |
c45f521 fix up i2lua to conform to style guide better (Jeff Becker) b4f94eb check for dsax >= dsaq (Jeff Becker) 8e77042 (probably) fixed issue with CryptoPP exceptions (Jeff Becker) e768333 * add documentation strings * add i2p::Buffer for pre filled buffers * various changes to unfux crypto parts (Jeff Becker) 803c799 fix up lua parts, implement i2lua.GetRouterByHash (Jeff Becker) ede65b2 remove linting related things (Jeff Becker) 88da250 more indentation fixups (Jeff Becker) 14cf9aa more style fixups (Jeff Becker) 3829173 linting (Jeff Becker) 5889c60 if not logging still start daemon (Jeff Becker) 502d187 fix up PRNG bits (Jeff Becker) d4e577b add linting helper tools (Jeff Becker) 9eae20b we don't need a dummy rng for eddsa anymore (Jeff Becker) 5f473be * use function pointers and NOT std::function in benchmarks as doing so crashes benchmarks occasionally (Jeff Becker) 94ea36f add i2lua documentation (Jeff Becker) 88a511e fix boost::log link error (Jeff Becker) 8605937 * make lua interpreter actually work (Jeff Becker) 243c898 add initial boilerplate for lua interpreter (jeff)
Re: #83, @fluffypony and I have agreed to revert the appropriate commits instead of opening a slew of tickets because: A) Neither of us have the time to do so However, I will open tickets for an introduced bug, an i2plua feature request, and a review of RouterContext. Topic branchesOur contributor workflow is inline with Bitcoin's so commits like 8605937 have a better chance of causing less friction for any development team if appropriate topic branches are used for each relevant commit/PR. From now on, we will allow a wiki-git philosophy where we will merge regardless of quality, but all contributors should realize that this is a community project and everyone may have to (at some point) self-sacrifice for the good of the software. All contributors are free to do whatever they want within their own forks but, like any pull request, a "request" is just that: a request to be considered - not a demand to be satisfied. Thank you 🙇 |
9afe4bd Add core/util/Log.h to Daemon.cpp. Fixes #85. (anonimal) e330dcd don't send ssu packets if they are too big (also covers underflow of size_t which in this case made kovri segfault last night) (Jeff Becker) 24e9b71 fix #85 (Jeff Becker) 53c9867 Huge cleanup of logging implementation. (anonimal) ab6fae4 Cherry-pick remaining doc/crypto commits from #81 (anonimal) 47223f8 Cherry-pick commits from #81. (anonimal) 661b002 Revert #81 before cherry-picking. (anonimal) c45f521 fix up i2lua to conform to style guide better (Jeff Becker) b4f94eb check for dsax >= dsaq (Jeff Becker) 8e77042 (probably) fixed issue with CryptoPP exceptions (Jeff Becker) e768333 * add documentation strings * add i2p::Buffer for pre filled buffers * various changes to unfux crypto parts (Jeff Becker) 803c799 fix up lua parts, implement i2lua.GetRouterByHash (Jeff Becker) ede65b2 remove linting related things (Jeff Becker) 88da250 more indentation fixups (Jeff Becker) 14cf9aa more style fixups (Jeff Becker) 3829173 linting (Jeff Becker) 15594e4 Update .codedocs + .gitignore. (anonimal) b567bba Add .codedocs file and CodeDocs badge to README.md (Paul Novotny) 5889c60 if not logging still start daemon (Jeff Becker) 502d187 fix up PRNG bits (Jeff Becker) d4e577b add linting helper tools (Jeff Becker) 60173bf Massive refactor of #72. Update style guidelines. (anonimal) 9eae20b we don't need a dummy rng for eddsa anymore (Jeff Becker) 5f473be * use function pointers and NOT std::function in benchmarks as doing so crashes benchmarks occasionally (Jeff Becker) 94ea36f add i2lua documentation (Jeff Becker) 88a511e fix boost::log link error (Jeff Becker) 8605937 * make lua interpreter actually work (Jeff Becker) 243c898 add initial boilerplate for lua interpreter (jeff) 51d9a21 fix benchmarks (jeff) a8b2b44 fix typo (jeff) a8035b0 Update Coverity configuration (not yet enabled). (anonimal) 26a4482 compiles and links but untested refactor of all parts using CryptoPP's PRNG to use i2p::crypto::Rand* functions which wrap CryptoPP's PRNG such that it can be swapped out with relative ease if needed. (jeff) 39b513a fix i2pcontrol crash (jeff) 2429f3a add tunnels.cfg reload (jeff)
51dcb23 License/Docs: implement 0MQ 22/C4.1 + revise docs. (anonimal) 5dc950f License/Docs: minor revisions to license. (anonimal) fd859a7 Crypto: update RandInRange() backend + unit-test. (anonimal) 9c330cb Crypto: create true RandInRange(). Fixes #130. (anonimal) de59b56 Config: implement single-switch opts, refactor. (anonimal) 06cd79b Reseed: update server list + certificates. (anonimal) e6e8b15 Refactor: resolve all using-directive TODO's. (anonimal) 5153a94 I2NP/NetDb: move NETWORK_ID to Version.h (anonimal) 037e4f6 I2NP: fix tunnel build request raw memory leak. (anonimal) 456a14d NTCPSession: fix Phase2 raw memory leak. Refs #65. (anonimal) eb6d2e6 NTCPSession: refactor datatypes + identifiers. (anonimal) 5d64e62 NTCPSession: resolve a refactor TODO. (anonimal) 8999af5 Reseed: improve non-standard ports patch (581dd9e) (anonimal) 581dd9e Reseed: fix bug for servers with non-standard ports. (anonimal) 8eb187f CMake: update OSX OpenSSL. (anonimal) 0958052 Minor ammendments to reflect new lib organization. (anonimal) cf48ea0 Fix build, forgot to include crypto/Rand.h (EinMByte) a5de2d6 Fix bitmask used to select SSU fragment size (thanks orignal). (EinMByte) 1dcbe27 Fill padding with random bytes in NTCP (thanks psi). (EinMByte) d23138d Add bounds check to SU3 fileNameLength (thanks psi). (EinMByte) 2dc4d74 Fix typo in ElGamal.cpp. (EinMByte) 20859e6 Review PR #112 (resolves #114). (EinMByte) 0bff9a2 Cleanup (following cpplint advice) (EinMByte) aeca942 Clean up comments in DSA and ElGamal unit tests. (EinMByte) 1e457f3 Rename crypto unit test files for consistency. (EinMByte) 7c5315f add copyright (Jeff Becker) 9e70f59 fix up elg tests (Jeff Becker) 3c0bca4 use main prng in Elgamal Key Generation (Jeff Becker) d4ffd85 add elg tests and fix up dsa tests (Jeff Becker) 748ec5b fix up elgamal, add bounds check and zero pad check (Jeff Becker) 43f582f add dsa tests (Jeff Becker) 6298dfb make it compile (Jeff Becker) 79620dc reorganize existing crypto unit tests into their own files (Jeff Becker) 5792af6 Fix #109. (EinMByte) 193c3f4 remove OpenSSL link instructions from building.md (Riccardo Spagni) 1f8d3f0 find installed OpenSSL on OS X (Riccardo Spagni) 835cfea Update MacOSX build requirements. Resolves #37. (anonimal) 4bbe89d Resolve #107. (EinMByte) 43f14e1 Move config file constants to Config.h. (EinMByte) 2f39034 Separated libcore, libclient and kovri application (issue #98) (EinMByte) 6efa143 Move Daemon to kovri-main. (EinMByte) e0f9c73 Merge libclient and libapi. (EinMByte) d2c0908 Remove coreVersion + stat_uptime. Bump to 0.9.24. (anonimal) 9a14807 Remove redundant #pragma once in Daemon.h. (EinMByte) 76c1cf2 Fix race condition in Transports.cpp. (EinMByte) 9afe4bd Add core/util/Log.h to Daemon.cpp. Fixes #85. (anonimal) e330dcd don't send ssu packets if they are too big (also covers underflow of size_t which in this case made kovri segfault last night) (Jeff Becker) 24e9b71 fix #85 (Jeff Becker) 53c9867 Huge cleanup of logging implementation. (anonimal) ab6fae4 Cherry-pick remaining doc/crypto commits from #81 (anonimal) 47223f8 Cherry-pick commits from #81. (anonimal) 661b002 Revert #81 before cherry-picking. (anonimal) c45f521 fix up i2lua to conform to style guide better (Jeff Becker) b4f94eb check for dsax >= dsaq (Jeff Becker) 8e77042 (probably) fixed issue with CryptoPP exceptions (Jeff Becker) e768333 * add documentation strings * add i2p::Buffer for pre filled buffers * various changes to unfux crypto parts (Jeff Becker) 803c799 fix up lua parts, implement i2lua.GetRouterByHash (Jeff Becker) ede65b2 remove linting related things (Jeff Becker) 88da250 more indentation fixups (Jeff Becker) 14cf9aa more style fixups (Jeff Becker) 3829173 linting (Jeff Becker) 15594e4 Update .codedocs + .gitignore. (anonimal) b567bba Add .codedocs file and CodeDocs badge to README.md (Paul Novotny) 5889c60 if not logging still start daemon (Jeff Becker) 502d187 fix up PRNG bits (Jeff Becker) d4e577b add linting helper tools (Jeff Becker) 60173bf Massive refactor of #72. Update style guidelines. (anonimal) 9eae20b we don't need a dummy rng for eddsa anymore (Jeff Becker) 5f473be * use function pointers and NOT std::function in benchmarks as doing so crashes benchmarks occasionally (Jeff Becker) 94ea36f add i2lua documentation (Jeff Becker) 88a511e fix boost::log link error (Jeff Becker) 8605937 * make lua interpreter actually work (Jeff Becker) 243c898 add initial boilerplate for lua interpreter (jeff) 51d9a21 fix benchmarks (jeff) a8b2b44 fix typo (jeff) 26a4482 compiles and links but untested refactor of all parts using CryptoPP's PRNG to use i2p::crypto::Rand* functions which wrap CryptoPP's PRNG such that it can be swapped out with relative ease if needed. (jeff) 39b513a fix i2pcontrol crash (jeff) 2429f3a add tunnels.cfg reload (jeff)
changes include: