| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fix issue reported by Mikolaj Kucharski.
ok martijn@ deraadt@
|
| |
|
|
|
|
|
| |
Checking Disabled flag. Introduce a RES flag to do so. ok krw@
deraadt@ eric@
|
|
|
|
|
| |
lookups isn't left lying around the address space.
ok eric
|
|
|
|
|
| |
with NULL
ok eric
|
|
|
|
|
|
|
|
|
|
|
|
| |
RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing
queries. The resolver is then supposed to set the AD bit in the reply
if it managed to validate the answer through DNSSEC. Useful when the
application doesn't implement validation internally. This scheme
assumes that the validating resolver is trusted and that the
communication channel between the validating resolver and and the client
is secure.
ok eric@ gilles@
|
|
|
|
|
|
|
|
|
| |
elements of the union.
This field is for internal asr flags. The flags in "struct rrset" and
"struct ni" are different kinds of flags.
ok eric@
|
|
|
|
|
|
|
|
| |
In particular, truncated packets without the TC flag set (non-compliant
server sending too large packets) now fail with EOVERFLOW instead of EINVAL,
so the TCP fallback mechanism can work.
feedback and ok krw@ jca@ benno@
|
|
|
|
|
|
|
| |
EDNS allows for various DNS extensions, among which UDP DNS packets size
bigger than 512 bytes. The default is still to not advertize anything.
ok eric@
|
|
|
|
|
|
|
|
|
|
| |
broken DNS servers out there that send packets >512 bytes w/o even the
courtesy of trying to use EDNS0.
A partial workaround as more complete packet parsing solutions are
worked on.
ok jca@ eric@
|
|
|
|
|
|
| |
dnssonnect() calls. Be a bit careful crossing over this, need a kernel
no older than Monday.
ok guenther tedu semarie
|
|
|
|
|
|
|
|
|
|
|
| |
system calls. These signal to the pledge kernel code that a DNS
transaction is happening. These special sockets only work well with
port 53 (there are some cute plans...).
Programs calling pledge "inet" will not work! You need pledge "dns",
and of course, you need a fairly fresh kernel.
ok guenther kettenis tedu
|
| |
|
| |
|
|
|
|
| |
direction & ok guenther
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
print_sockaddr is internal to asr, and conflicts with ports/net/samba4.
ok eric@
|
|
|
|
|
|
| |
Include tweaks suggested by mpi@
ok deraadt@
|
|
|
|
|
|
| |
structures, functions and defines.
discussed with and ok deraadt@ guenther@
|
|
|
|
|
|
| |
the API gets public.
ok deraadt@
|
|
|
|
|
|
| |
to prevent collisions with third-party programs.
suggested by sthen@, ok theo@
|
|
|
|
| |
things around.
|
|
|
|
|
| |
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.
|
| |
|
|
|
|
| |
suggested by deraadt@
|
|
|
|
|
|
| |
we don't trigger SIGPIPE.
ok millert
|
| |
|
|
|
|
|
|
| |
multiple read.
prodded by deraadt@
|
| |
|
| |
|
|
|
|
|
|
| |
short writes.
prodded by deraadt@
|
|
|
|
| |
in the former resolver.
|
|
|
|
|
| |
Better not diverge too much in behavior at this point.
Typo fix and doc update while there.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.
ok deraadt@
|