IPv6 readyNote: This archive passes through spamassassin. Every mail marked with the subject "*****SPAM*****" has exceed a certain threshold of spam-like behaviour.

[Users] Re: [Design] Can i move ipsec.secretes to any other place

From: D. Hugh Redelmeier (hugh_at_mimosa.com)
Date: Wed Jun 05 2002 - 20:30:44 CEST


| From: =?iso-8859-1?q?its=20ravi?= <hi2yadav_at_yahoo.co.in>
| Subject: [Design] Can i move ipsec.secretes to any other place

[It is better to send mail in plain ASCII (or perhaps iso-8859-1) than
HTML.]

| I am using freeswan 1.95 with AES. Its working fine.
|
| Now i wants to move /etc/ipsec.secrets to any other
| place (in floppy or CDROM or in anyother directory in hard disk).
|
| Andreas Steffen <andreas.steffen_at_zhwin.ch> told me to use symbolic link. It is working fine.
| =>Is there any way by which i can change the path of /etc/ipsec.secretes in make file itself or any other place other than symbolic link.

If you want to do something this tricky, you ought to be able to read
the source.

Hint:

    [in the Pluto source directory]

    pluto $ egrep -n /etc/ipsec.secrets `make distlist`
    Makefile:59:# -DSHARED_SECRETS_FILE=string overrides /etc/ipsec.secrets as the
    Makefile:62:# -DSHARED_SECRETS_FILE='"/etc/ipsec.secrets"'
    pluto.8:387:The file \fI/etc/ipsec.secrets\fP is used to keep preshared secret keys
    pluto.8:1214:(default: \fI/etc/ipsec.secrets\fP).
    pluto.8:1441:\fI/etc/ipsec.secrets\fP
    ipsec.secrets.5:23:# sample /etc/ipsec.secrets file for 10.1.0.1
    ipsec.secrets.5:157:/etc/ipsec.secrets
    keys.h:20:# define SHARED_SECRETS_FILE "/etc/ipsec.secrets"

    pluto $ egrep -n SHARED_SECRETS_FILE `make distlist`
    Makefile:59:# -DSHARED_SECRETS_FILE=string overrides /etc/ipsec.secrets as the
    Makefile:62:# -DSHARED_SECRETS_FILE='"/etc/ipsec.secrets"'
    Makefile:76: -DSHARED_SECRETS_FILE=\"${FINALCONFDIR}/ipsec.secrets\"
    keys.c:183:const char *shared_secrets_file = SHARED_SECRETS_FILE;
    keys.h:19:#ifndef SHARED_SECRETS_FILE
    keys.h:20:# define SHARED_SECRETS_FILE "/etc/ipsec.secrets"

Hugh Redelmeier
hugh_at_mimosa.com voice: +1 416 482-8253

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:13 CEST