aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow name@domain.tld for OpenAlias lookupswarptangent2015-05-192-0/+25
| | | | | | | | | | | | | | | | | | Based on tewinget's update. Make OpenAlias address format independent of existing DNS functions. Add tests. Test: make debug-test cd build/debug/tests/unit_tests # test that regular DNS functions work, including IPv4 lookups. # also test function that converts OpenAlias address format make && ./unit_tests --gtest_filter=DNSResolver* # test that OpenAlias addresses like donate@getmonero.org work from # wallet tools make && ./unit_tests --gtest_filter=AddressFromURL.Success
* Revert "Allow name@domain.tld for OpenAlias lookups"warptangent2015-05-192-25/+14
| | | | This reverts commit b18368b635ba08aea541ef52ebc74180822644a2.
* Allow name@domain.tld for OpenAlias lookupsThomas Winget2015-04-292-14/+25
|
* [fix] log level change. compilation: dns, testsrfree2monero2015-04-101-1/+1
| | | | | old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again
* Merge pull request #252Riccardo Spagni2015-04-023-1/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 618f20c Network 1.7; Quieted the debug a bit. (rfree2monero) 391c7f9 Utils: use const, document dbg. Less default debug (rfree2monero) 44f4234 [fix] mac os x includes std::random... (rfree2monero) 162c993 Network 1.6: network limits, logging, +doxy (rfree2monero) a3b2226 my changelog (rfree2monero) 2900b1e doxygen files (rfree2monero) 1489310 doxygen related tool (rfree2monero) f9dba47 added windows_stream.* console colors (rfree2monero) c511abf remerged; commands JSON. logging upgrade. doxygen (rfree2monero) f79821a fix locking in count-peers thread (2) (rfree2monero) 0198ffb 2014 network limit 1.3 fix log/path/data +utils (rfree2monero) ae2a506 2014 network limit 1.2 +utils +toc -doc -drmonero (rfree2monero) 0f06dca fixed size_t on windows (rfree2monero) 39fc63f removed not needed <netinet/in.h> (rfree2monero) 5ce4256 2014 network limit 1.1 +utils +toc -doc -drmonero (rfree2monero) eabb519 2014 network limit 1.0a +utils +toc -doc -drmonero (rfree2monero)
| * remerged; commands JSON. logging upgrade. doxygenrfree2monero2015-04-013-1/+24
| |
* | Fixed DNS resolution bug in WindowsThomas Winget2015-04-021-4/+2
|/ | | | | | | | | | | | Due to a bug in unbound, we were passing a string containing a null character to ub_ctx_resolvconf and ub_ctx_hosts rather than a NULL pointer. On *nix this wasn't causing headache, but on Windows this was causing unbound to not correctly load DNS settings from the OS. Note on the bug: in a Windows-specific code branch in the function ub_ctx_hosts(), if the hosts file specified was a NULL pointer, a call to getenv() was stored in a local char* and later freed. This is incorrect, as we do not own that data, and caused the program to crash.
* DNSSEC added (hardcoded key)Thomas Winget2015-03-241-0/+66
| | | | | | | | DNSSEC is now implemented with the hardcoded key from unbound. This will need to be not hardcoded in the future, but is okay for now. Unit tests updated for DNSSEC (as well as for the fact that, contrary to previous assumption, example.com does not have a static IP address).
* Hopefully fixes build on WindowsThomas Winget2015-03-202-1/+13
|
* Daemonize changes pulled in -- daemon buildsThomas Winget2015-02-244-0/+272
| | | | | | | many RPC functions added by the daemonize changes (and related changes on the upstream dev branch that were not merged) were commented out (apart from return). Other than that, this *should* work...at any rate, it builds, and that's something.
* year updated in licenseRiccardo Spagni2015-01-0214-14/+14
|
* cmake: support 2.8.7Ben Boeckel2014-10-241-1/+1
| | | | | | Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
* cmake: handle private vs. public headersBen Boeckel2014-10-231-2/+10
|
* cmake: refactor common code with librariesBen Boeckel2014-10-231-9/+1
|
* cmake: put each library into its own directoryBen Boeckel2014-10-231-0/+64
| | | | | This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
* build libunbound from external if no local libunbound or for static buildsRiccardo Spagni2014-10-061-1/+2
|
* quick hacky fix for broken TXT readsRiccardo Spagni2014-10-031-1/+9
|
* updated DNSResolver/things that use it for DNSSECThomas Winget2014-09-302-6/+14
| | | | | | | Note: DNSResolver does not yet *use* DNSSEC, but rather this commit is preparation for including DNSSEC validation. The function in src/wallet/wallet2.cpp that uses DNSResolver still needs its parameters updated accordingly.
* Revert "low risk, potentially varint overflow bug patched thanks to BBR"Riccardo Spagni2014-09-251-24/+1
| | | | This reverts commit 4e2b2b942daa4206ec44c66e59863670dfe3fde4.
* Remove LDNS dep and fix a bug in libunbound const correctness fixThomas Winget2014-09-242-4/+4
|
* Removed ldns dependencyThomas Winget2014-09-242-4/+9
| | | | | | ldns dependency was only still around for constants defined in ldns/rr.h, but those constants are RFC specified DNS constants, and to reduce deps have been replicated in dns_utils.h instead of including ldns/rr.h.
* low risk, potentially varint overflow bug patched thanks to BBRRiccardo Spagni2014-09-241-1/+24
|
* libunbound has const correctness issues...Thomas Winget2014-09-241-5/+19
|
* temp commitThomas Winget2014-09-241-15/+42
|
* Added function to check syntax of URL for DNS lookupThomas Winget2014-09-232-8/+44
| | | | | For now, simply checks for '.' character, but that will be easy to change in the future if necessary/desired.
* change to allow (at least a bit) for multiple TXT recordsThomas Winget2014-09-232-9/+14
|
* Monero addres from DNS TXT record implemented, tests passThomas Winget2014-09-232-24/+45
| | | | Still need to deal with DNSSEC and optional fields in the TXT record.
* Use the loop iterator, previous version of me.Thomas Winget2014-09-231-2/+2
|
* ipv4 and ipv6 resolution workingThomas Winget2014-09-232-21/+125
| | | | | | IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds.
* Initial commit of DNS codeThomas Winget2014-09-232-0/+141
|
* Separate testnet default data dirZachary Michaels2014-09-152-0/+2
|
* HOW DO I ENGLISH?jebes2014-09-111-1/+1
|
* mispelled brief, corrected itjebes2014-09-112-14/+14
|
* HOW DO I GIT?jebes2014-09-111-1/+1
|
* Documented varintjebes2014-09-114-40/+80
|
* commented util.hjebes2014-09-092-8/+45
|
* License updated to BSD 3-clausefluffypony2014-07-2311-34/+319
|
* Fix assert bug in base58 encodeZachary Michaels2014-07-011-1/+1
| | | | | | | | The previous implementation was almost certainly a typo. full_block_size is the maximum index in the encoded_block_sizes array, and size is used as an index in this array. So now 1 <= size <= full_block_size == 8 instead of 1 <= size <= sizeof(full_block_size) == size_of(size_t) == ? (maybe 4 on 32-bit systems!)
* DRY cin input_line (and test replacement of non-DRY usage)Thomas Winget2014-06-122-0/+15
|
* builds, but doesn't link. other than that, electrum-style recovery ↵Thomas Winget2014-06-121-0/+6
| | | | implemented (but not tested\!)
* initial [broken] updatemydesktop2014-05-033-5/+80
|
* json rpc for wallet and bugfixAntonio Juarez2014-04-021-0/+2
|
* some fixesAntonio Juarez2014-03-204-5/+64
|
* moved all stuff to githubAntonio Juarez2014-03-0311-0/+1249