]>
git.ipfire.org Git - thirdparty/strongswan.git/blob - programs/starter/files.h
1 /* strongSwan file locations
2 * Copyright (C) 2001-2002 Mathieu Lafon - Arkoon Network Security
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * RCSID $Id: files.h,v 1.5 2006/02/04 18:52:58 as Exp $
17 #ifndef _STARTER_FILES_H_
18 #define _STARTER_FILES_H_
20 #ifndef DEFAULT_CTLBASE
21 #define DEFAULT_CTLBASE "/var/run/pluto"
23 #define CTL_SUFFIX ".ctl"
24 #define PID_SUFFIX ".pid"
26 #define MY_PID_FILE "/var/run/starter.pid"
28 #define DEV_RANDOM "/dev/random"
29 #define DEV_URANDOM "/dev/urandom"
31 #define PROC_NETKEY "/proc/net/pfkey"
32 #define PROC_IPSECVERSION "/proc/net/ipsec_version"
33 #define PROC_SYSFLAGS "/proc/sys/net/ipsec"
34 #define PROC_MODULES "/proc/modules"
36 #define CONFIG_FILE IPSEC_CONFDIR"/ipsec.conf"
37 #define SECRETS_FILE IPSEC_CONFDIR"/ipsec.secrets"
39 #define PLUTO_CMD IPSEC_EXECDIR"/pluto"
40 #define CTL_FILE DEFAULT_CTLBASE CTL_SUFFIX
41 #define PID_FILE DEFAULT_CTLBASE PID_SUFFIX
43 #define DYNIP_DIR "/var/run/dynip"
44 #define INFO_FILE "/var/run/ipsec.info"
46 #endif /* _STARTER_FILES_H_ */