Commit Graph

871 Commits

Author SHA1 Message Date
peter 94921da3bb Changes to build on NetBSD:
* #ifdef out some things we don't have or do differently.
* Write struct "pcap_sf_pkthdr" instead of "pcap_pkthdr".
  Fixes an LP64 specific problem with reading the pflog with tcpdump(8).
  (OpenBSD fixed this by changing the structs to always use 32-bit fields)

Reviewed by yamt@.
2005-03-15 16:26:49 +00:00
peter 0a9aa9779a Install pf(4) examples. Reviewed by yamt@.
Thanks to hubertf@ for the reminder.
2005-03-15 16:05:03 +00:00
he e3e9ad241e Get rid of a compiler warning saying "dereferencing type-punned pointer
will break strict-aliasing rules" by casting the argument to rn_inithead()
to (void*) instead of (void**).
2005-03-13 10:44:40 +00:00
wiz b67bc0fbc2 Re-remove superfluous .Pp. 2005-03-04 12:32:31 +00:00
christos e0ebf94412 Regen. 2005-03-03 02:09:04 +00:00
christos 0711b6123a Deal with the NUSER addition. 2005-03-03 02:07:07 +00:00
christos 9ec5ce8afc Add a variable to pass in the nested user. 2005-03-03 02:06:42 +00:00
wiz 663b6c2589 Remove superfluous .Pp. 2005-02-28 10:48:08 +00:00
christos c2c52ef2eb Resolve conflicts. 2005-02-26 20:58:24 +00:00
christos 4ef1eb92fc Import feterita from www.openpam.org 2005-02-26 20:44:47 +00:00
christos 85962585ac Remove inline from rotate_{left,right}. Breaks compilation with gcc-3.3
and macppc. It is fixed in gcc-3.4
2005-02-22 18:42:15 +00:00
wiz 3748b0d6f7 Add xref to openpam_free_data (for man page). 2005-02-22 15:22:02 +00:00
wiz d2ef6b97b8 Add sections to some functions so xrefs in man page will be correct. 2005-02-22 15:21:26 +00:00
wiz ea9fa3e293 Some fixes:
. add RCS Id to generated man pages
. fix for =cleanup (special case for one man page, sorry)
. sort xrefs in SEE ALSO correctly.
2005-02-22 15:20:48 +00:00
wiz cf3e23f3e8 Use Ar for function argument. 2005-02-22 15:15:51 +00:00
peter 1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
pooka fcb550ad2b Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:57 +00:00
pooka ef5d11d8e1 import python also + nuke one extra linefeed when adding RCSId's 2005-02-21 15:25:56 +00:00
pooka 2fb3e4a058 Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:56 +00:00
pooka 373a872a16 autoconf-stuff wants the python-dir when building tools/file, so
it's just easier to import this small amount of extra payload than
to attempt a war on autotools.
2005-02-21 15:16:06 +00:00
pooka 5b40621389 conflicts 2005-02-21 15:00:04 +00:00
pooka dfba91ada0 file 4.13
Just the usual bugfixes and magic additions, nothing major.
2005-02-21 14:32:55 +00:00
dsl 4bcbdc6712 Reinstate the ntohs() on port numbers returned bu getport() 2005-02-20 21:44:51 +00:00
martin 5605ab81e0 Do not use bogus (long) casts and ntohl() on port numbers.
Only test for -1 error return from getport().
2005-02-20 21:15:37 +00:00
wiz b061c59389 Fix some xrefs. 2005-02-20 19:34:40 +00:00
wiz c952b0b731 FreeBSD -> .Fx. 2005-02-20 19:33:59 +00:00
wiz 85c561fa24 Drop superfluous .Pp. 2005-02-20 19:33:39 +00:00
wiz 0ebd8f8b30 Fix xrefs. 2005-02-20 19:30:51 +00:00
wiz f0d89116f5 Add RCS Id. 2005-02-20 19:27:58 +00:00
cube bd797f6b31 We don't want README.sol2 next time. 2005-02-20 10:51:52 +00:00
cube d62a80864e Add a helper script for future pppd import. 2005-02-20 10:51:07 +00:00
cube 2b974d094e Bring in the diffs we had against the previous versions of pppd.
That includes:
	o Manpage fixes
	o to{lower,upper,whatever} fixes
	o strl* use
	o use of getopt() in chat(8)
	o use of NetBSD's md5 and sha1 APIs
	o support for utmp and utmpx
	o a slightly different way of handling active and pass filters, to
	  avoid depend on "inbound" and "outbound" keywords of libpcap
	o addition of plug-in hooks for LCP
	o use of the former TDB code (ppp-2.4.3 uses a GPL version, which
	  was removed prior to the import)
	o changes in the compressor API.
2005-02-20 10:47:16 +00:00
cube ee7ef76378 Import of pppd 2.4.3 (ppp-2.4.3), with GPL'd components removed as well as
things we won't use.  OK'd by christos.
2005-02-20 10:28:32 +00:00
martti 460bbcc960 Upgraded IPFilter to 4.1.6 2005-02-19 21:30:24 +00:00
martti 76b5d9e30f Import IPFilter 4.1.6 2005-02-19 21:26:02 +00:00
martti fdf846c8d1 REMOVED 2005-02-08 07:20:11 +00:00
martti a023cb1d19 Upgraded IPFilter to 4.1.5 2005-02-08 07:01:52 +00:00
martti 4d6a62d250 Import IPFilter 4.1.5 2005-02-08 06:52:59 +00:00
christos d48b4dc8c5 Regen. 2005-02-01 17:53:07 +00:00
christos 192f3d9e5a Add a PAM_SOCKADDR extension so that we can pass the socket address
of the host we logged in from to the lastlog module.
2005-02-01 17:51:01 +00:00
christos 4f025fd3d0 Protect alarm(0) the same way we protected the other alarm calls.
From Dag-Erling Sm=F8rgrav
2005-02-01 13:20:25 +00:00
itojun 3d34ee60f0 fix CERT VU#938617 (vulnerable to denial of service in validator code)
ftp://ftp.isc.org/isc/bind/9.3.0/9.3.0-patch1
2005-01-27 03:56:23 +00:00
wiz 959a1400b9 Remove duplicate description for -d. From Chris Ross in PR 29035. 2005-01-21 15:10:16 +00:00
yamt 83aa569ca0 allow to escape newline in string literals.
(being compatible with solaris /usr/xpg4/bin/awk and GNU awk.)
2005-01-13 12:10:02 +00:00
christos 0e59802be5 Fail closed for NetBSD. If /etc/pam.d and /etc/pam.conf are missing, then
return PAM_SYSTEM_ERR. This is done by checking that chains have at least
one member.
2005-01-12 01:38:23 +00:00
lukem c6f2cec0b0 include <isc/net.h> so that -UWANT_IPV6 compiles correctly. 2005-01-10 02:14:46 +00:00
lukem a546e7bfc2 Fix compilation with -UUSE_INET6 2005-01-10 02:08:51 +00:00
christos edd9734813 Fix debugging compilation. 2005-01-08 07:58:02 +00:00
martti 4ce4e7d229 Fixed ifdef logic 2005-01-04 12:36:02 +00:00
thorpej a6336417c1 openpam_dynamic(): If the pathname provided is not an absolute pathname,
prepend PAM_SOPREFIX to the name before dlopen()'ing it.  On NetBSD, define
PAM_SOPREFIX as "/usr/lib/security/".
2005-01-03 17:21:48 +00:00