Commit Graph

134494 Commits

Author SHA1 Message Date
manu 34ec7ca0bb update ipsec-tools version 2005-02-24 20:56:19 +00:00
manu 6159f46a8d Import ipsec-tools ipsec-tools-0_6-20050224 2005-02-24 20:52:25 +00:00
christos d242353e08 Update status. 2005-02-24 15:15:27 +00:00
christos 1d6a9d3f17 Don't disable PAM when MKPIC=no. PAM should work with static libraries, and
this breaks PAM on programs that decide not to use PIC libraries, such as
the X server.
2005-02-24 14:56:55 +00:00
christos 7a46d959f1 The only file that needs to be compiled with -DUSE_PAM is utils.c 2005-02-24 14:54:02 +00:00
christos c0f3158a18 Add PAM hooks.
XXX: It would be nice if the specific Xservers did not trash
LDADD, so that we could use LDADD += instead of LDADD.os +=
2005-02-24 14:53:15 +00:00
christos 263bcf1fc7 Add pam hooks. 2005-02-24 14:47:38 +00:00
manu be15b99c92 Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu 77389b1f94 Update racoon status 2005-02-24 13:16:42 +00:00
martin 7719036ed6 Avoid use of freed memory. Reported by Ted Unangst on tech-kern. 2005-02-24 08:29:23 +00:00
martin 2ec706cc8a Fix memory leak reported by Ted Unangst as bug #2 on tech-kern. 2005-02-24 08:25:28 +00:00
martin 7ff97b3311 Fix memory leak reported by Ted Unangst as bug #3 on tech-kern. 2005-02-24 08:19:38 +00:00
martin 6192fdeaf6 Fix number of elements calculation when converting socket options.
Fixes bugs 4 and 5 reported by Ted Unangst on tech-kern.
2005-02-24 08:15:53 +00:00
martin 83fb9dbd1b Fix the size of psc_regs (0x3c >> 2 is the biggest index used to access
it now, so pick 0x40 >> 2). Fixes "Bug 6", reported by Ted Unangst on
tech-kern.
2005-02-24 08:04:02 +00:00
joff ba4b28e8e5 o Make sure interface is up before continuing with atu_start(). Should fix PR
kern/29326 as reported by Andreas Gustafsson.
o Use IFQ_DEQUEUE instead of IF_DEQUEUE
2005-02-24 06:06:11 +00:00
thorpej 8c9dd4bba7 Add missing RCS ID. 2005-02-24 05:11:34 +00:00
lukem 118f369d29 Rename compare_dir() to populate_dir() and add "$onlynew" argument,
which if true prevents existing but changed files from being updated.

Reimplement compare_dir() in terms of populate_dir() ($onlynew=false)

Reenable do_pam() and use populate_dir() instead of compare_dir().
This allows missing etc/pam.d files to be installed with "fix", but
leaves (possibly end-user) modified files alone.
2005-02-24 04:06:53 +00:00
joff 7f97da202c Add sysctl tree hw.tspld.* for query of jumper states, pld revision,
board model/options, etc...
2005-02-24 03:52:22 +00:00
martin dcffc13e8d Rename /dev/fb to /dev/fb0 and make /dev/fb a symlink to it. 2005-02-23 22:56:20 +00:00
dsl 8d3b64e3cb Exit with any failure code from the cmd or gzip.
Decode gzip -l output with strtoimax() (not sscanf()) so we don't use an
uninitialised variable if the output format isn't what we expect.
This might fix some installation PRs (no error being reported)
2005-02-23 22:32:31 +00:00
sjg 34180b9ccc In the case of :? modifier, variable can be an expression - say so. 2005-02-23 17:22:29 +00:00
manu da4d1abb40 bump ipsec-tools package version 2005-02-23 15:27:09 +00:00
manu 88856e235d Resolve conficts and remove autoconf files that were committed by mistake 2005-02-23 15:17:50 +00:00
manu 8006965b1b Import ipsec-tools 0.6 branch as of 2005/02/23. News from last imported version
according to ipsec-tools' ChangeLog:

2005-02-23  Emmanuel Dreyfus <manu@netbsd.org>

        * configure.ac, src/racoon/{Makefile.am|crypto_openssl.c}: optionnal
          support for patented algorithms: IDEA and RC5.
        * src/racoon/{isakmp_xauth.c|main.c}: don't initialize RADIUS if it
          is not required in the configuration
        * src/racoon/isakmp.c: do not reject addresses for which kernel
          refused UDP encapsulation, they can still be used for non NAT-T
          traffic (eg: NAT-T enabled racoon on non NAT-T enabled kernel)

2005-02-18  Emmanuel Dreyfus <manu@netbsd.org>

        * src/racoon/{main.c|eaytest.c|plairsa-gen.c}
          src/setkey/setkey.c: don't use fuzzy paths for package_version.h

2005-02-18  Yvan Vanhullebus  <vanhu@free.fr>

        * src/racoon/isakmp_inf.c: Purge generated SPDs when getting a
          related DELETE_SA
        * src/racoon/pfkey.c: do NOT unbindph12() when SA acquire

2005-02-17  Emmanuel Dreyfus <manu@netbsd.org>

        From Fred Senault <fred.letter@lacave.net>
        * src/racoon/remoteconf.c: Fix a bug in script init

2005-02-17  Yvan Vanhullebus  <vanhu@free.fr>

        * src/racoon/ipsec_doi.c: Workaround for phase1 lifetime checks

2005-02-15  Michal Ludvig  <michal@logix.cz>

        * configure.ac: Changed --enable-natt_NN to --enable-natt-versions=NN,NN
2005-02-23 14:53:33 +00:00
manu 3eda198fd5 Install racoon administrative socket in /var/run instead of /var/racoon 2005-02-23 14:44:41 +00:00
yamt 779901b125 re_init: correct usage of bus_dma(9).
now re@pci works on my alpha, in the case of !RE_USEIOSPACE.
2005-02-23 09:20:46 +00:00
yamt c51fcf7423 remove unused macros. 2005-02-23 09:19:38 +00:00
yamt 8e9a1567ec re_pci_probe: don't use i/o space unless RE_USEIOSPACE. 2005-02-23 09:18:46 +00:00
lukem 327af7ca04 Only install postfix config if ${MKPOSTFIX} != "no".
Based on PR misc/29341 by Takeshi Nakayama <nakayama@NetBSD.org>
2005-02-23 02:10:33 +00:00
christos 714867dee9 update for rexecd 2005-02-23 01:28:40 +00:00
christos 81e0d2b0af Add an example program that tests rexecd... I really don't want to encourage
its use though.
2005-02-23 01:27:32 +00:00
christos 62136d5653 PAMify: From John Nemeth with fixes from me. 2005-02-23 01:25:50 +00:00
rearnsha 4ccc523dcb Mention addition of support for artsata in DPA mode.
Mention support of CompactFlash card slot on evbarm/IQ31244.
2005-02-22 23:32:02 +00:00
yamt 751e975bfc handle partial reads. PR/29484. 2005-02-22 21:45:44 +00:00
briggs dcfd337d24 pmap_extract(): Only attempt to set '*pap' if pap is non-NULL.
PR port-powerpc/29507 from Neil Ludban.
2005-02-22 21:06:56 +00:00
christos 6dfb4cf082 add macppc bind compilation work-around. 2005-02-22 18:47:09 +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
peter 0f31823d7c Write IPv4 and IPv6 with a small 'v'. 2005-02-22 16:53:11 +00:00
martin 7cbebc44aa Cleanup: the PG_SZ macro was buggy (pointed out by Tim Newsham).
It was only used by (the also buggy/not ready for prime time) PMAP_PAGE_SIZE,
which in turn only was used in one place.

Get rid of all this and hardcode the result at the single place of use.
2005-02-22 16:21:07 +00:00
heas e8dfc3dc8e Re-gen for sysctl emulation 2005-02-22 16:16:48 +00:00
heas b8fe1f6779 Add FreeBSD sysctl emulation for their undocumented special OIDs rooted at
OID 0.  Only OID 0.3 is implemented for now, it 0.3 is the equivalent of
NetBSD's sysctlgetmibinfo().
This includes a new sysctl kern.osreldate with the value __NetBSD_Version__
for kernels with COMPAT_FREEBSD.

Both of these are used by 3ware's FreeBSD tw_cli, which seems to work now.
2005-02-22 16:14:50 +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
christos b74b94a591 PR/29505: Nicolas Joly: Increase width of csw value in systat vmstat. 2005-02-22 15:13:57 +00:00
chs 02376e86ad pc532 no longer abuses cf_unit. 2005-02-22 14:47:34 +00:00
chs e03cd70434 require that the register address and irq be specified in the config file
instead of inferring them from the unit number.
2005-02-22 14:42:17 +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
chs 0ee1494529 use bitwise-or instead of addition to combine tty flags. 2005-02-22 14:39:52 +00:00