Commit Graph

134554 Commits

Author SHA1 Message Date
simonb 1d351ebc53 Remove a incorrect semicolon at the end of an if().
Magic levels now appear after extensive play testing!
2005-02-25 15:04:43 +00:00
joff d42fc76092 Clear IFF_RUNNING flag before aborting usb pipes in atu_stop().
Really fixes kern/29326.
2005-02-25 14:47:19 +00:00
simonb 8d56c02e1c Regen for COMPAT_20 additions. 2005-02-25 13:52:21 +00:00
simonb 2d12f350f9 Regen for COMPAT_20 addition. 2005-02-25 13:49:07 +00:00
simonb ff8f0b23c9 Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
simonb 3882f544c1 KNF: put "if (...)" and following statement on separate lines. 2005-02-25 07:20:10 +00:00
simonb 61e2cd2f51 Remove some errant semicolons. 2005-02-25 07:18:40 +00:00
simonb 6e4737fc77 KNF: put "if (...)" and following statement on separate lines. 2005-02-25 07:09:58 +00:00
chs 1a3cd3af48 fix a typoe in previous. 2005-02-25 02:01:59 +00:00
manu 519aeb19a0 Resolve conflict 2005-02-24 20:59:24 +00:00
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