Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d TODO; should check /etc/ipsec.conf owner/permission,



details:   https://anonhg.NetBSD.org/src/rev/3adb260097ea
branches:  trunk
changeset: 487848:3adb260097ea
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jun 13 18:17:13 2000 +0000

description:
TODO; should check /etc/ipsec.conf owner/permission,
while we don't have find(1).

diffstat:

 etc/rc.d/ipsec |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1e5dd1874218 -r 3adb260097ea etc/rc.d/ipsec
--- a/etc/rc.d/ipsec    Tue Jun 13 17:31:37 2000 +0000
+++ b/etc/rc.d/ipsec    Tue Jun 13 18:17:13 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ipsec,v 1.1 2000/06/13 16:29:54 itojun Exp $
+# $NetBSD: ipsec,v 1.2 2000/06/13 18:17:13 itojun Exp $
 #
 
 # PROVIDE: ipsec
@@ -30,6 +30,8 @@
        if [ ! -f /etc/ipsec.conf ]; then
                err 1 "/etc/ipsec.conf not readable; ipsec start aborted."
        fi
+       # XXX should check if ipsec.conf is secure enough
+       #
        echo "Installing ipsec manual keys/policies."
        /sbin/setkey -f /etc/ipsec.conf
 }



Home | Main Index | Thread Index | Old Index