Commit Graph

1349 Commits

Author SHA1 Message Date
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
christos 99a3390caf Coverity CID/4421: Add extra check for NULL before deref. 2007-04-04 21:40:48 +00:00
ghen 94364b1084 Resolve conflicts. 2007-03-30 19:40:47 +00:00
ghen cc483ecacb Import bind-9.4.0. 2007-03-30 19:15:20 +00:00
christos a5346961e8 use memcpy instead of strlcpy because we want to truncate the string. 2007-03-27 01:29:44 +00:00
joerg cc1b813618 Don't segfault during decoding of unlimited strings in PPPoE. 2007-03-24 23:20:12 +00:00
dogcow f790a123d5 unbork openssl import borkage. 2007-03-07 03:18:53 +00:00
pooka 000760c6d5 make print format specifiers match types printed 2007-03-04 21:50:43 +00:00
jnemeth 9f5aa7f07f fallout from caddr_t -> void * change 2007-03-04 20:04:14 +00:00
pooka 7a41045ba4 squelch gcc warnings 2007-03-04 15:25:10 +00:00
pooka 17dbe768ca apply conflict therapy for 4.20 import 2007-03-04 15:22:07 +00:00
pooka 67e9db49c9 file 4.20, contains fixes to the magic parser, new syntax and a
buffer overflow fix
2007-03-04 14:54:42 +00:00
dogcow 53d226486b An incredibly grody hack to save a few more precious bytes: in dhclient,
don't include the unknown-{nn,mm} strings ifdef SMALL.
2007-03-01 01:02:33 +00:00
matt 75a9720952 #include <machine/lock.h> before _KERNEL is defined to bypass
lossage when including it when _KERNEL is defined in userland.
2007-02-20 15:40:08 +00:00
dyoung 2d212326ef Use the new ifnet->if_output signature, the one with a const
argument, when __NetBSD__Version >= 499001100.
2007-02-18 04:01:27 +00:00
dogcow 51701d90f7 constify struct sockaddr for no_output and write_output, due to if.h 1.122 2007-02-18 03:22:03 +00:00
christos f987814949 include <types.h> 2007-01-30 18:12:48 +00:00
christos 03f10a71aa provide non-atomic versions so that things compile for now. 2007-01-30 00:46:52 +00:00
christos fd07b4b277 handle resolv_mt.h 2007-01-27 23:02:37 +00:00
christos d7aeceb511 deal with base64.c 2007-01-27 22:28:22 +00:00
christos 4455b59ff4 Use __inline consistently so that we avoid unused warnings. 2007-01-27 21:30:22 +00:00