Lennart Poettering
c5ed93163e
resolved: don't trip up when an rtlink message does not include the MTU
2014-07-17 19:39:50 +02:00
Lennart Poettering
39762fdf67
resolved: enforce limit on concurrent outstanding queries
2014-07-17 01:58:14 +02:00
Lennart Poettering
a2ba62c719
sd-network: remove redundant array size parameter from functions that return arrays
...
As long as the number of array entries is relatively small it's nicer to
simply return the number of entries directly, instead of using a size_t*
return parameter for it.
2014-07-17 01:42:26 +02:00
Lennart Poettering
b45d9e86e4
resolved: fix check for mdns names
2014-07-17 01:41:52 +02:00
Lennart Poettering
faec72d5de
resolved: we are never authoritative for localhost
2014-07-17 01:41:52 +02:00
Lennart Poettering
e1c959948c
resolved: properly handle MTU logic
2014-07-17 01:41:52 +02:00
Lennart Poettering
76f468c8ea
dns-domain: enforce maximum DNS domain name length
2014-07-17 01:41:52 +02:00
Lennart Poettering
0014a4ad50
sd-network: fix parameter order for sd_network_monitor_new()
...
Constructors should return the object they created as first parameter,
except when they are generated as a child/member object of some other
object in which case that should be first.
2014-07-17 01:41:52 +02:00
Zbigniew Jędrzejewski-Szmek
36f822c4bd
Let config_parse open file where applicable
...
Special care is needed so that we get an error message if the
file failed to parse, but not when it is missing. To avoid duplicating
the same error check in every caller, add an additional 'warn' boolean
to tell config_parse whether a message should be issued.
This makes things both shorter and more robust wrt. to error reporting.
2014-07-16 18:47:20 -04:00
Kay Sievers
e1bbf3d12f
resolved: do not free() sd_dhcp_lease_get_dns() results
2014-07-16 23:50:45 +02:00
Lennart Poettering
309e9d86f0
resolved: properly pass canonical name information to resolving client
...
Also, hook up nss-resolve to make use of this information
2014-07-16 22:51:50 +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
Zbigniew Jędrzejewski-Szmek
4e0296a943
resolve: avoid use of uninitalized variable
2014-07-15 22:47:03 -04:00
Zbigniew Jędrzejewski-Szmek
e9f3d2d508
Constify ConfigTableItem tables
2014-07-15 22:34:40 -04:00
Kay Sievers
18641cb17e
resolved: add legacy dbus service and policy files
2014-07-16 03:41:39 +02:00
Lennart Poettering
4d1cf1e229
resolved: add small NSS module that uses resolved to resolve DNS names
2014-07-16 03:31:30 +02:00
Lennart Poettering
1fa65c593c
dns-domain: never allow labels that are larger than 63 chars
2014-07-16 03:29:20 +02:00
Lennart Poettering
3fe1169fe3
dns-domain: fix generation of reverse IP address lookup name
2014-07-16 03:28:52 +02:00
Lennart Poettering
b9d394ea56
resolve: add distinct bus error code for hosts that exist but lack A or AAAA records
2014-07-16 03:28:18 +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
Lennart Poettering
3b653205cf
shared: split out in_addr related calls from socket-util.[ch] into its private in-addr-util.[ch]
...
These are enough calls for a new file, and they are sufficiently
different from the sockaddr-related calls, hence let's split this out.
2014-07-10 21:15:26 +02:00
Lennart Poettering
096b677388
resolved: properly free network monitor
2014-07-10 20:12:34 +02:00
Lennart Poettering
c92e531c82
resolved: make use of union in_addr_union in resolved, too
2014-07-07 23:11:48 +02:00
Lennart Poettering
b9e7a9d870
resolved: make sure SIGTER/SIGINT actually can be caught and processed
2014-07-07 23:09:02 +02:00
Lennart Poettering
987d561fe2
resolved: let config_parse() open the configuration file for us
2014-07-07 23:03:17 +02:00
Tom Gundersen
682265d5e2
resolved: run as unpriviliged "systemd-resolve" user
...
This service is not yet network facing, but let's prepare nonetheless.
Currently all caps are dropped, but some may need to be kept in the
future.
2014-06-03 10:40:28 +02:00
Tom Gundersen
b686acb27e
resolved: move resolv.conf to resolved's runtime dir
2014-06-02 15:14:32 +02:00
Tom Gundersen
091a364c80
resolved: add daemon to manage resolv.conf
...
Also remove the equivalent functionality from networkd.
2014-05-19 18:14:56 +02:00