Mark Andrews
a04bb76973
improve the conditional declaration and use of variable to silence cppcheck
2018-02-24 17:50:41 -08:00
Ondřej Surý
a11e23b5ed
Replace all usage of inet_aton() with inet_pton()
2018-02-23 13:57:10 +01:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
34a4d241c6
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 10:20:38 +11:00
Mukund Sivaraman
f96133826e
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
2018-01-13 00:33:35 +05:30
Tinderbox User
1883d11ca2
update copyright notice / whitespace
2018-01-11 23:45:53 +00:00
Mark Andrews
2fca8cbdff
memset the remainder of sendcmsgbuf to 0 in a attempt to silence valgrind; msg->msg_control was not being set when it should have been; be consistent when setting msg->msg_control
2018-01-11 16:19:00 +11:00
Tinderbox User
099a9efd82
update copyright notice / whitespace
2018-01-09 23:45:45 +00:00
Mark Andrews
21f708c88c
4860. [bug] isc_int8_t should be signed char. [RT #46973 ]
2018-01-10 08:41:26 +11:00
Mark Andrews
1e10ef06ce
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
2018-01-04 09:57:40 +11:00
Tinderbox User
7bba3a7c44
update copyright notice / whitespace
2018-01-02 23:45:28 +00:00
Mark Andrews
0645f8f1ce
4853. [bug] Add REQUIRE's and INSIST's to isc_time_formatISO8601L
...
and isc_time_formatISO8601Lms. [RT #46916 ]
2018-01-02 10:57:31 +11:00
Mark Andrews
7770e0b069
4852. [bug] Handle strftime() failing in isc_time_formatISO8601ms.
...
Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601,
isc_time_formatISO8601ms. [RT #46892 ]
2018-01-02 10:48:08 +11:00
Mark Andrews
92bbc9914c
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
2017-11-02 10:42:42 +11:00
Mark Andrews
ff30290b48
4804. [port] win32: access() does not work on directories as
...
required by POSIX. Supply a alternative in
isc_file_isdirwritable. [RT #46394 ]
2017-11-01 09:29:24 +11:00
Michał Kępień
2361003a88
[master] Doxygen fixes and cleanups
...
4773. [doc] Fixed generating Doxygen documentation for functions
annotated using certain macros. Miscellaneous
Doxygen-related cleanups. [RT #46276 ]
2017-10-17 06:56:46 +02:00
Tinderbox User
7ac51a8380
update copyright notice / whitespace
2017-10-04 23:45:46 +00:00
Mark Andrews
396125eefe
#undef inet_ntop
2017-10-04 17:50:01 +11:00
Tinderbox User
ca0ae70046
update copyright notice / whitespace
2017-10-03 23:45:48 +00:00
Mark Andrews
a009d03a1a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
2017-10-03 14:54:19 +11:00
Michał Kępień
c2179857de
[master] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
2017-09-18 08:34:41 +02:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Mukund Sivaraman
188fa6ea68
Add missing <isc/print.h>
2017-09-13 19:44:47 +05:30
Mark Andrews
4c9ba9ded8
add #include <isc/string.h>
2017-09-13 23:43:43 +10:00
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Mark Andrews
34130ee25a
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
2017-09-13 09:50:51 +10:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Tinderbox User
f4eb664ce3
update copyright notice / whitespace
2017-08-09 23:47:50 +00:00
Evan Hunt
cdacec1dcb
[master] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
2017-08-09 00:17:44 -07:00
Mark Andrews
2019cf29e2
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
2017-08-03 08:42:27 +10:00
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Tinderbox User
0297ebcc89
update copyright notice / whitespace
2017-07-20 23:45:27 +00:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Tinderbox User
bb01fced12
update copyright notice / whitespace
2017-05-30 23:45:32 +00:00
Mark Andrews
e51d62ecae
4629. [bug] dns_client_startupdate could not be called with a
...
running client. [RT #45277 ]
2017-05-30 09:47:41 +10:00
Tinderbox User
6c5c871053
update copyright notice / whitespace
2017-05-10 23:45:32 +00:00
Mark Andrews
d352a9db95
4620. [port] Handle EPFNOSUPPORT being returned when probing
...
to see if a socket type is supported. [RT #45214 ]
2017-05-11 07:58:13 +10:00
Tinderbox User
18b7760b29
update copyright notice / whitespace
2017-04-24 23:45:33 +00:00
Evan Hunt
2dfb992349
[master] new-zones-directory option
...
4610. [func] The "new-zones-directory" option specifies the
location of NZF or NZD files for storing
configuration of zones added by "rndc addzone".
Thanks to Petr Menšík. [RT #44853 ]
2017-04-23 23:16:53 -07:00
Tinderbox User
3618b965d1
update copyright notice / whitespace
2017-04-21 23:45:41 +00:00
Evan Hunt
d26ae7fc08
[master] give threads unique names to assist debugging
...
4602. [func] Threads are now set to human-readable
names to assist debugging, when supported by
the OS. [RT #43234 ]
2017-04-21 13:59:40 -07:00
Tinderbox User
db1010fe82
update copyright notice / whitespace
2017-03-10 23:46:18 +00:00
Evan Hunt
612b2e2c0d
[master] timestamp suffixes for log files
...
4579. [func] Logging channels and dnstap output files can now
be configured with a "suffix" option, set to
either "increment" or "timestamp", indicating
whether to use incrementing numbers or timestamps
as the file suffix when rolling over a log file.
[RT #42838 ]
2017-03-08 23:20:40 -08:00
Tinderbox User
39f68aa480
update copyright notice / whitespace
2017-02-03 23:45:33 +00:00
Evan Hunt
f4d20b15a2
[master] silence "unused value" warning
2017-02-03 11:26:37 -08:00
Mark Andrews
c550e75ade
4567. [port] Call getprotobyname and getservbyname prior to calling
...
chroot so that shared libraries get loaded. [RT #44537 ]
2017-02-03 14:22:03 +11:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Evan Hunt
f2c7ae114a
[master] silence DSCP probing error
...
4529. [cleanup] Silence noisy log warning when DSCP probe fails
due to firewall rules. [RT #43847 ]
2016-12-08 08:44:20 -08:00
Mark Andrews
c1619b8420
4528. [bug] Only set the flag bits for the i/o we are waiting
...
for on EPOLLERR or EPOLLHUP. [RT #43617 ]
2016-12-08 16:59:46 +11:00