Thomas Hindoe Paaboel Andersen
71d35b6b55
tree-wide: sort includes in *.h
...
This is a continuation of the previous include sort patch, which
only sorted for .c files.
2015-11-18 23:09:02 +01:00
Torstein Husebø
dc61b7e45d
treewide: fix typos
2015-09-08 12:55:50 +02:00
Lennart Poettering
f0258e4736
resolved: add comments to DNS_PACKET_MAKE_FLAGS() clarifying DNS vs LLMNR
...
Some flags are defined differently on unicast DNS and LLMNR, let's
document this in the DNS_PACKET_MAKE_FLAGS() macro.
2015-08-25 19:04:04 +02:00
Daniel Mack
106784ebb7
resolved: use switch-case statements for protocol details
...
With more protocols to come, switch repetitive if-else blocks with a
switch-case statements.
2015-08-25 14:25:56 +02:00
Lennart Poettering
f6a5fec6b9
resolved: when passing RRs across the bus, make sure not to use name compression
...
We explicitly need to turn off name compression when marshalling or
demarshalling RRs for bus transfer, since they otherwise refer to packet
offsets that reference packets that are not transmitted themselves.
2015-08-21 16:04:59 +02:00
Tom Gundersen
5d45a88084
resolved: rr - add NSEC3 support
...
Needed for DNSSEC.
2015-07-14 22:17:24 +02:00
Tom Gundersen
a0166609f7
resolved: packet - ensure there is space for IP+UDP headers
...
Currently we only make sure our links can handle the size of the payload witohut
taking the headers into account.
2015-07-14 12:03:04 +02:00
Daniel Mack
8b757a3861
resolved: separate LLMNR specific header bits
...
The C and T bits in the DNS packet header definitions are specific to LLMNR.
In regular DNS, they are called AA and RD instead. Reflect that by calling
the macros accordingly, and alias LLMNR specific macros.
While at it, define RA, AD and CD getters as well.
2015-07-13 11:28:29 -04:00
Thomas Hindoe Paaboel Andersen
2eec67acbb
remove unused includes
...
This patch removes includes that are not used. The removals were found with
include-what-you-use which checks if any of the symbols from a header is
in use.
2015-02-23 23:53:42 +01:00
Lennart Poettering
51323288fc
resolved: allow passing on which protocol, family and interface to look something up
...
Also, return on which protocol/family/interface we found something.
2014-08-14 01:01:43 +02:00
Lennart Poettering
a407657425
resolved: implement full LLMNR conflict detection logic
2014-08-11 15:06:22 +02:00
Zbigniew Jędrzejewski-Szmek
151226ab4b
resolved: RRSIG records
2014-08-03 22:02:32 -04:00
Zbigniew Jędrzejewski-Szmek
ff3d6560be
resolved: add identifiers for dnssec algorithms
2014-08-03 22:02:32 -04:00
Zbigniew Jędrzejewski-Szmek
8db0d2f5c3
resolved: DNSKEY records
2014-08-03 22:02:32 -04:00
Lennart Poettering
ea917db9e6
resolved: discard more invalid llmnr messages
2014-07-29 20:57:58 +02:00
Lennart Poettering
623a4c97b9
resolve: add llmnr responder side for UDP and TCP
...
Name defending is still missing.
2014-07-29 20:57:58 +02:00
Lennart Poettering
7e8e0422ae
resolved: implement negative caching
2014-07-23 02:00:40 +02:00
Lennart Poettering
faa133f3aa
resolved: rework logic so that we can share transactions between queries of different clients
2014-07-23 02:00:40 +02:00
Lennart Poettering
0dd25fb9f0
change type for address family to "int"
...
Let's settle on a single type for all address family values, even if
UNIX is very inconsitent on the precise type otherwise. Given that
socket() is the primary entrypoint for the sockets API, and that uses
"int", and "int" is relatively simple and generic, we settle on "int"
for this.
2014-07-18 16:10:51 +02:00
Lennart Poettering
1716f6dcf5
resolved: add LLMNR support for looking up names
2014-07-18 12:38:32 +02:00
Lennart Poettering
322345fdb9
resolved: add DNS cache
2014-07-17 19:39:50 +02:00
Lennart Poettering
e1c959948c
resolved: properly handle MTU logic
2014-07-17 01:41:52 +02:00
Lennart Poettering
8ba9fd9cee
resolved: add CNAME lookup support
2014-07-16 22:51:50 +02:00
Lennart Poettering
ad86766293
resolved: support for TCP DNS queries
2014-07-16 20:15:47 +02:00
Lennart Poettering
c73ce96b56
dns-packet: allow dynamic resizing of DNS packets
2014-07-16 18:04:14 +02:00
Lennart Poettering
3cb10d3a0b
dns-domain: introduce macros for accessing all DNS header fields
2014-07-16 18:03:46 +02:00
Lennart Poettering
74b2466e14
resolved: add a DNS client stub resolver
...
Let's turn resolved into a something truly useful: a fully asynchronous
DNS stub resolver that subscribes to network changes.
(More to come: caching, LLMNR, mDNS/DNS-SD, DNSSEC, IDN, NSS module)
2014-07-16 00:31:38 +02:00