Commit Graph

1369 Commits

Author SHA1 Message Date
plunky
55e2ff23b1 fix build for the "USE_INET6=no" case, the two variables 'nxt' and 'len32'
are only used in the inet6 code.
2007-07-26 18:15:12 +00:00
dogcow
1ad9ad78c6 fix compilation on 64-bit platforms by avoiding spurious EXTRACT_32BITS 2007-07-25 06:31:32 +00:00
christos
5b94024b59 Import bind 9.4.1-P1
2206.   [security]      "allow-query-cache" and "allow-recursion" now
                        cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]

2203.   [security]      Query id generation was cryptographically weak.
                        [RT # 16915]

2202.   [security]      The default acls for allow-query-cache and
                        allow-recursion were not being applied. [RT #16960]

2193.   [port]          win32: BINDInstall.exe is now linked statically.
                        [RT #16906]

2192.   [port]          win32: use vcredist_x86.exe to install Visual
                        Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-07-24 23:52:54 +00:00
christos
92b1ea3abe Import bind 9.4.1-P1 2007-07-24 23:32:11 +00:00
drochner
2e9d41b4db merge in NetBSD changes 2007-07-24 12:41:07 +00:00
drochner
7ef8b6e9b2 avoid a pointer signedness warning 2007-07-24 11:55:13 +00:00
drochner
d8f5b90097 merged tcpdump-3.9.7 2007-07-24 11:53:36 +00:00
drochner
57e6a30fe7 import tcpdump-3.9.7 (after running the tcpdump2netbsd script and
defusing NetBSD id strings used as reference)
2007-07-24 11:42:50 +00:00
rumble
23622f237e Ensure that the special host token '*SMBSERVER' is not automatically
hyphenated, as this can lead to some confusion (e.g.: '*SMB-SERVER' isn't
valid).

(Thanks Wiz!)
2007-07-21 22:41:09 +00:00
drochner
adf4078381 Fix a possible integer overflow in buffer length calculation due to
insufficient check of snprintf()'s return value, see gentoo bug #184815.
The exploit provided appearently doesn't trigger the overflow in
NetBSD; this might be due to different error return behavior of snprintf
implementations, or due to the fact that out tcpdump is still 3.8.3
while the bug was reported against 3.9.x. The fix looks correct in any
case.
The exploit caused an endless loop at another place instead, due
to an obvious bug, so fix this too.
Also apply another patch which was applied to the 3.8 branch upstream
but never released: rev. 1.72.2.5, infinite loop protection for ldp and bgp

We should update tcpdump to 3.9.x.
2007-07-20 17:12:37 +00:00
christos
8f80c199b2 remove uucp references; from Anon-Ymous 2007-07-18 18:36:57 +00:00
joerg
700b744d72 Remove files accidently commited in first import of pkg_install 2007-07-18 14:27:12 +00:00
joerg
764d59fb69 Import fix for the download-vulnerability-list script forgotten
in the original merge and remove a created file accidently added.
2007-07-18 14:23:32 +00:00
joerg
d243200850 Import of pkg_install-20070715 from pkgsrc.
This is part one of moving the authoritive version from
src/usr.sbin/pkg_install to pkgsrc/pkgtools/pkg_install/files.

Discussed with and agreed by: jlam@, agc@, adrianp@
Raised issue to and not objected by: core@
2007-07-16 13:01:43 +00:00
dsl
71edd4968d Add new 'data_len' parameter to mount(). 2007-07-14 16:03:05 +00:00
kardel
d370a3332c sync with release 2007-07-06 21:20:25 +00:00
kardel
d7d9fc60cc sync with release / removes debug NULL deref 2007-07-06 21:19:33 +00:00
kardel
db56afd343 compile fix for amd64 2007-06-24 19:39:06 +00:00
kardel
9238104d09 resolve merge conflicts of 4.2.4p2 import 2007-06-24 16:55:11 +00:00
kardel
d3063e9f3c Import ntp 4.2.4p2 2007-06-24 15:47:02 +00:00
agc
ad9b63f6fb Move my own code from a 4 clause to a 3 clause licence. 2007-06-16 23:13:25 +00:00
martin
c77a3f5aad Upgraded IPFilter to v4.1.23 2007-06-16 10:52:24 +00:00
martin
03f2531d69 Import IPFilter 4.1.23 2007-06-16 10:33:08 +00:00
agc
bcf774971d Re-generate autoconf parts.
No change to NetBSD distribution, since it is made using reachover Makefiles.
2007-06-16 10:02:23 +00:00
agc
e6bf177ae1 Apply the fix from PR 36354, from yamt.
yamt's reading of RFC 3720 is correct (see section 12.10, InitialR2T).

The desired transfer length in the initial ready to transmit
negotiation should not include any immediate data.
2007-06-15 19:57:30 +00:00
pooka
86146f9e2e put LP64 SIZE_T_MAX on a diet: 17 f's is too much, trim it down to 16 2007-06-14 19:26:17 +00:00
pooka
549f6b16d1 Make this match the distributing by removing some extra goo that was
added a few years back when battling AM_MAINTAINER_MODE and has been
lugged around ever since.

from adrianp
2007-06-14 19:10:54 +00:00
christos
6f5be32dbf print millis too. 2007-06-09 19:52:36 +00:00
christos
419556ce9d Instead of printing the priority, print the time before each message which
is more useful.
2007-06-09 17:10:59 +00:00
pooka
9afe6367b3 crunch cornflakes 2007-06-07 11:32:44 +00:00
pooka
40ad27db84 file 4.21. bugfixes 2007-06-07 11:24:27 +00:00
martti
fff7fd04df s/iplattach/ipfattach/ and s/ipldetach/ipfdetach/ 2007-06-04 12:38:58 +00:00
christos
f84135414c don't make bogus assumptions about struct alignment. 2007-05-31 02:58:10 +00:00
tls
67fcd29261 Do not include internal header files from libpcap without setting the
feature-test macros they use.  Really, of course, this code should not
include such header files at all.
2007-05-28 11:55:19 +00:00
cube
62e0f430f0 p needs to be const. [hi christos!] 2007-05-28 00:39:00 +00:00
tls
ac016a7fc2 Changes required for FORTIFY_SOURCE: don't rely on #define read (etc.)
before system header file inclusion magically causing what "read" is
#defined to to pick up a read-like prototype.  For sanity's sake, put
prototypes for revolting trace_mr stuff in their own header file (instead
of nowhere at all and using the trick referenced above).
2007-05-27 16:27:57 +00:00
martti
657382d62b Added missing .TP 2007-05-23 05:18:45 +00:00
christos
67f0e23f0f coverity CID 4418: Don't call strlen() with NULL. 2007-05-16 20:53:49 +00:00
martin
6718c86598 Merge IP-Filter 4.1.22 2007-05-15 22:52:20 +00:00
martin
29fd0d9db1 Import IPFilter 4.1.22 2007-05-15 22:26:02 +00:00
dyoung
e096ddfc8a Document state policy flags for 'nat' and 'rdr' rules. 2007-05-10 23:03:22 +00:00
dyoung
f7748bc6aa pfctl: extend pf.conf(5) syntax. Let the operator supply an optional
"state lock" flag (if-bound, gr-bound, floating) at the end of a
NAT rule.  The new syntax is backwards-compatbile with the old
syntax.

PF (kernel): change the macro BOUND_IFACE() to the inline function
bound_iface(), and add a new argument, the applicable NAT rule.
Use both the flags on the applicable filter rule and on the applicable
NAT rule to decide whether or not to bind a state to the interface
or the group where it is created.
2007-05-10 22:30:54 +00:00
christos
2d0d2fc81d merge conflicts 2007-05-01 22:15:12 +00:00
christos
5f9b8877e1 Import bind 9.4.1 2007-05-01 21:51:06 +00:00
martti
872147fef7 Upgraded IPFilter to 4.1.20 2007-05-01 19:08:03 +00:00
martti
68eb121d73 Import IPFilter 4.1.20 2007-05-01 19:00:58 +00:00
dsl
8767590c76 On amd64 U_QUAD_T is (probably) 'unsigned long', but "%qd" expects to see
a "long long" - giving a compilation warning.
Check for the presence of PRIu64 and use that in preference.
Adjust code to avoid multiple printf() calls.
Use unsigned format specifiers in all cases.
2007-04-21 11:16:53 +00:00
dogcow
65febf04fc fix build on arches with chars that're by default unsigned.
(patch supplied by martin.)
2007-04-16 02:36:24 +00:00
martin
8ebafcc992 Update IPFilter to version 4.1.19 2007-04-14 20:34:18 +00:00
martin
993d757ec6 Import IPFilter 4.1.19 2007-04-14 20:17:19 +00:00