Commit Graph

1818 Commits

Author SHA1 Message Date
plunky 6e14638c94 format string needs end of statement ; for previous commit 2011-02-24 18:33:06 +00:00
christos 0040aced9a define the format as a constant so that we don't break if sprintf is a macro.
XXX: make it so that sprintf is not a macro.
2011-02-24 14:33:23 +00:00
rmind 7d1dd86a47 - Fix man pages list for MKNPF=no case. Based on a patch from Scott Ellis.
- Fix build with MKNPF=yes and MKIPFILTER=no as well; close PR/44512.
2011-02-10 14:04:29 +00:00
rmind 07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
wiz bdc7bbc56f Fix typo reported in PR 44429 by Ryo HAYASAKA. 2011-01-21 09:15:20 +00:00
christos f4dfcf5469 warns=4 2010-12-13 01:45:38 +00:00
christos bbf28506fe things moved to external. 2010-12-11 23:36:08 +00:00
christos c0b8ed591c Adjust to the new libpcap prototypes for compatibility. 2010-12-05 05:20:28 +00:00
schnoebe 041d7f637f bin/44088
Change the initialization state of gtagsmode to 0, (unset).

This brings about least astonishment for users, permittings tags
functionality to work as expected.
2010-11-14 20:53:54 +00:00
christos cefc0995de PR/44006: Ralph G: vi: CTRL-A does not handle end-of-word correctly
End-of-word was not included in search regexp leading to false positives.
http://patches.ubuntu.com/by-release/extracted/debian/n/nvi/1.81.6-7/15search_word.dpatch
2010-10-28 18:12:47 +00:00
christos 8fb564818f avoid integer overflow that can lead to buffer overflow 2010-09-20 19:39:20 +00:00
drochner ebb3b30048 minimal ansification/constification 2010-09-12 16:03:39 +00:00
wiz eb06495b27 refering -> referring, per PR 43814. 2010-08-30 10:41:54 +00:00
christos b318098f2e bye old wpa 2010-08-26 14:59:01 +00:00
christos bbd9165a6e Apply changes from 2.4.5. Supposedly fixes some 3G issues. 2010-08-07 20:38:13 +00:00
dholland 810cb26dbe Don't attempt to store bitmasks in a variable of type 'bool'.
From Shuichiro URATA in PR 42390. Should be pulled up to -5.
2010-07-31 21:21:17 +00:00
jruoho 811c1709b9 Fix a typo and comment out a dead FTP link.
From "bughunting" in PR misc/40107.
2010-07-06 17:42:32 +00:00
plunky 08432b7b14 handle STDC and GNUC inline semantic differences by providing and
using an EXTERN_INLINE definition for functions that are defined as
inline but provide an externally callable reference.

(these are externally called in ipftest)
2010-06-01 08:53:20 +00:00
joerg 2885f987a5 Reorder sections. 2010-05-14 16:43:34 +00:00
joerg c6f74bb52a Programs exit, they don't return values. 2010-05-14 16:43:07 +00:00
wiz 1337439409 Add missing minus to fix build of HTML page. 2010-05-14 12:02:23 +00:00
wiz 58e9b016de Convert to mdoc. Reorder content to sort flags and sections. 2010-05-14 09:16:17 +00:00
joerg 1a922c0c77 Drop undefined macro .PU. Drop unnecessary .ll. Fix .TH to use upper
case.
2010-05-14 01:52:48 +00:00
tnozaki 50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
mbalmer f782664b92 Language fix: upto date -> up to date. 2010-05-11 18:27:04 +00:00
darrenr 91cf3dd7bf ip_fil_compat.c is another file that needs to be both in src/dist/ipf and
also in src/sys/dist/ipf/netinet
2010-04-17 22:05:53 +00:00
darrenr 46fa5e0711 Commit IPFilter 4.1.34 to HEAD 2010-04-17 21:00:08 +00:00
darrenr abd0900a99 Import IPFilter 4.1.34 into NetBSD
4.1.34 - Release 11 March 2010
2964907 uninitialised use compile error
2959506 ipfstat does not display rules with compat
2949139 FR_T_BUILTIN masked out incorrectly
2937422 packets filtered with pools should not be cached
2935529 use of rules with tags leads to deadlock
2917501 whitespace cleanup required
2881514 in/out object functions not wired for compatibility
2841771 ipf/ippool rule maintenace bugs: memory leak, ref-counter bug
2839698 H.323 proxy does not clear fin_state/fin_nat
2010-04-17 20:44:16 +00:00
wiz 19e1a3b574 Bump date for new CAVEATS. 2010-04-12 21:28:23 +00:00
ahoka 0bb59a3f04 mention pfsync not working as a kernel module 2010-04-12 14:26:11 +00:00
plunky 5ae9f3630e use static __inline__ as per latest upstream, fixes problem with
C99 vs GNUC semantics of extern __inline__
2010-04-10 08:33:35 +00:00
christos f1b28409da ctime can return NULL 2010-04-04 01:36:03 +00:00
pgoyette e11dcd85ce Insert missing ) 2010-04-03 02:08:30 +00:00
christos a41de9d317 check ctime. 2010-04-02 21:37:22 +00:00
christos f7cd580182 check ctime return 2010-04-02 21:33:14 +00:00
christos 23b25caf0c handle ctime returning NULL. 2010-04-02 15:40:14 +00:00
christos d80643a1f0 remove bogus cast that hides bugs if tv_sec is non POSIX compliant. 2010-04-02 15:38:05 +00:00
joerg d87aa4973c Fix \\ encoding 2010-03-30 14:26:16 +00:00
mrg 8ffc8574e6 fix some powerpc64 build issues. 2010-03-22 05:08:54 +00:00
wiz 198f608b4a Bump date for previous. 2010-03-20 11:24:29 +00:00
joerg 1b51c5fb09 Apply the equivalent of r426 and r427 from openpam repository:
Fix doc: pam_strerror() ignores pamh.
Portability tip.
2010-03-19 18:26:14 +00:00
joerg bf23d3125d Apply r432 from openpam repository:
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
2010-03-19 18:16:14 +00:00
joerg bfbe4c3572 Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
2010-03-01 00:13:47 +00:00
wiz 8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
snj c4acb3fa95 Fix a thinko: the DHCP _client_ is doing the requesting.
Reported by Anonymous in PR misc/39162.
2010-02-17 01:17:36 +00:00
drochner 4aab8ad6b5 sync with rev. 1.5 of sys/dist/pf/net/if_pflog.h (which was before
the 5.x branch), to make filter expressions in pflog dumps work again,
from Lucio Albornoz per PR bin/42780
(pullup candidate)
2010-02-12 21:16:56 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
drochner ae6fdb5ce4 rather than adding braces in the code, define the offending macro
to "(void)0". This is what similar code in bind9 (up to 9.5) does.
(native NetBSD code usually does "do { } while (/* CONSTCOND */ 0)"
in this case)
Anyway, I've checked the code, didn't find ambiguities due to
the empty statements, so the whole thing is harmless.
2010-01-26 19:11:00 +00:00
drochner 7393fe922a fix some cases where the EREPORT macro defined to null (as in the NetBSD
build) could change the behaviour of the code in unexpected ways
2010-01-25 20:33:57 +00:00
wiz bfc69b9f22 Add missing parentheses in ifdef(OLD_LEXER). Found by cppcheck. 2010-01-17 22:42:36 +00:00