4 * This file contains some tuneable parameters, most of which can be overriden
7 * $Id: defaults.h,v 1.9 2006/09/04 23:17:25 quozl Exp $
10 #ifndef _PPTPD_DEFAULTS_H
11 #define _PPTPD_DEFAULTS_H
13 /* Definitions for true and false */
20 /* String sizes for the config file */
22 #define MAX_CONFIG_FILENAME_SIZE 256
23 #define MAX_CONFIG_STRING_SIZE 512
30 /* Default configuration values, mostly configurable */
32 #define CONNECTIONS_DEFAULT 6
33 #define DEFAULT_LOCAL_IP_LIST "192.168.0.1-100"
34 #define DEFAULT_REMOTE_IP_LIST "192.168.1.1-100"
36 #define MAX_CALLS_PER_TCP_LINK 128
42 #define PPP_SPEED_DEFAULT "115200"
44 #define PPTPD_CONFIG_FILE_DEFAULT "/etc/config/pptpd.conf"
46 #define PPTPD_CONFIG_FILE_DEFAULT "/etc/pptpd.conf"
48 #define PIDFILE_DEFAULT "/var/run/pptpd.pid"
50 #define STIMEOUT_DEFAULT 10 /* seconds */
52 /* Location of binaries */
54 #define PPTP_CTRL_BIN SBINDIR "/pptpctrl"
55 #define PPTPD_BIN SBINDIR "/pptpd"
56 #define BCRELAY_BIN SBINDIR "/bcrelay"
58 #define PPTP_CTRL_BIN "/usr/sbin/pptpctrl"
59 #define PPTPD_BIN "/usr/sbin/pptpd"
60 #define BCRELAY_BIN "/usr/sbin/bcrelay"
62 /* Parameters permitted in the config file */
64 #define CONNECTIONS_KEYWORD "connections"
65 #define SPEED_KEYWORD "speed"
66 #define PPPD_OPTION_KEYWORD "option"
67 #define DEBUG_KEYWORD "debug"
69 #define BCRELAY_KEYWORD "bcrelay"
71 #define LOCALIP_KEYWORD "localip"
72 #define REMOTEIP_KEYWORD "remoteip"
73 #define LISTEN_KEYWORD "listen"
74 #define PIDFILE_KEYWORD "pidfile"
75 #define STIMEOUT_KEYWORD "stimeout"
76 #define NOIPPARAM_KEYWORD "noipparam"
77 #define PPP_BINARY_KEYWORD "ppp"
78 #define LOGWTMP_KEYWORD "logwtmp"
79 #define DELEGATE_KEYWORD "delegate"
81 #endif /* !_PPTPD_DEFAULTS_H */