Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-27 | dns_utils: fix wrong asserts | moneromooo-monero | 1 | -2/+2 | |
Braino. | |||||
2015-08-30 | dns_utils: remove unnecessary string conversion | moneromooo-monero | 1 | -5/+2 | |
2015-08-30 | dns_utils: factor the fetching code for different DNS record types | moneromooo-monero | 1 | -59/+21 | |
2015-08-30 | dns_utils: simplify string handling and fix leak | moneromooo-monero | 1 | -5/+1 | |
2015-08-27 | dns_utils: add a const where possible | moneromooo-monero | 1 | -1/+1 | |
2015-08-27 | dns_utils: lock access to the singleton | moneromooo-monero | 1 | -0/+4 | |
This avoids races which could result in two objects being created | |||||
2015-08-27 | dns: make ctor private | moneromooo-monero | 1 | -0/+5 | |
This ensures one can't instanciate a DNSResolver object by mistake, but uses the singleton. A separate create static function is added for cases where a new object is explicitely needed. | |||||
2015-06-20 | Set dnssec_valid value correctly in dns_utils; fix address_from_url test | Rostislav | 1 | -3/+3 | |
2015-06-07 | dns_utils: simpify smart pointer use, and use for url strings too | moneromooo-monero | 1 | -38/+45 | |
OK, I admit I wanted to template this struct for fun too. | |||||
2015-05-19 | Allow name@domain.tld for OpenAlias lookups | warptangent | 1 | -0/+13 | |
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 | |||||
2015-05-19 | Revert "Allow name@domain.tld for OpenAlias lookups" | warptangent | 1 | -21/+13 | |
This reverts commit b18368b635ba08aea541ef52ebc74180822644a2. | |||||
2015-04-29 | Allow name@domain.tld for OpenAlias lookups | Thomas Winget | 1 | -13/+21 | |
2015-04-10 | [fix] log level change. compilation: dns, tests | rfree2monero | 1 | -1/+1 | |
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again | |||||
2015-04-02 | Fixed DNS resolution bug in Windows | Thomas Winget | 1 | -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. | |||||
2015-04-01 | remerged; commands JSON. logging upgrade. doxygen | rfree2monero | 1 | -1/+18 | |
2015-03-24 | DNSSEC added (hardcoded key) | Thomas Winget | 1 | -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). | |||||
2015-01-02 | year updated in license | Riccardo Spagni | 1 | -1/+1 | |
2014-10-06 | build libunbound from external if no local libunbound or for static builds | Riccardo Spagni | 1 | -1/+2 | |
2014-10-06 | build libunbound from external if no local libunbound or for static builds | Riccardo Spagni | 1 | -1/+2 | |
2014-10-03 | quick hacky fix for broken TXT reads | Riccardo Spagni | 1 | -1/+9 | |
2014-09-30 | updated DNSResolver/things that use it for DNSSEC | Thomas Winget | 1 | -3/+9 | |
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. | |||||
2014-09-24 | Remove LDNS dep and fix a bug in libunbound const correctness fix | Thomas Winget | 1 | -3/+3 | |
2014-09-24 | Removed ldns dependency | Thomas Winget | 1 | -4/+3 | |
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. | |||||
2014-09-24 | libunbound has const correctness issues... | Thomas Winget | 1 | -5/+19 | |
2014-09-24 | temp commit | Thomas Winget | 1 | -15/+42 | |
2014-09-23 | Added function to check syntax of URL for DNS lookup | Thomas Winget | 1 | -8/+35 | |
For now, simply checks for '.' character, but that will be easy to change in the future if necessary/desired. | |||||
2014-09-23 | change to allow (at least a bit) for multiple TXT records | Thomas Winget | 1 | -5/+10 | |
2014-09-23 | Monero addres from DNS TXT record implemented, tests pass | Thomas Winget | 1 | -17/+40 | |
Still need to deal with DNSSEC and optional fields in the TXT record. | |||||
2014-09-23 | Use the loop iterator, previous version of me. | Thomas Winget | 1 | -2/+2 | |
2014-09-23 | ipv4 and ipv6 resolution working | Thomas Winget | 1 | -11/+92 | |
IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds. | |||||
2014-09-23 | Initial commit of DNS code | Thomas Winget | 1 | -12/+21 | |
2014-07-23 | License updated to BSD 3-clause | fluffypony | 1 | -3/+29 | |
2014-03-03 | moved all stuff to github | Antonio Juarez | 1 | -0/+20 | |