1
/* NetworkManager -- Network link manager
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License along
14
* with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
* (C) Copyright 2005 - 2012 Red Hat, Inc.
18
* (C) Copyright 2007 - 2008 Novell, Inc.
21
#ifndef NM_VPNC_PLUGIN_H
22
#define NM_VPNC_PLUGIN_H
24
#define NM_DBUS_SERVICE_VPNC "org.freedesktop.NetworkManager.vpnc"
25
#define NM_DBUS_INTERFACE_VPNC "org.freedesktop.NetworkManager.vpnc"
26
#define NM_DBUS_PATH_VPNC "/org/freedesktop/NetworkManager/vpnc"
28
#define NM_VPNC_KEY_GATEWAY "IPSec gateway"
29
#define NM_VPNC_KEY_ID "IPSec ID"
30
#define NM_VPNC_KEY_SECRET "IPSec secret"
31
#define NM_VPNC_KEY_XAUTH_USER "Xauth username"
32
#define NM_VPNC_KEY_XAUTH_PASSWORD "Xauth password"
33
#define NM_VPNC_KEY_DOMAIN "Domain"
34
#define NM_VPNC_KEY_DHGROUP "IKE DH Group"
35
#define NM_VPNC_KEY_PERFECT_FORWARD "Perfect Forward Secrecy"
36
#define NM_VPNC_KEY_VENDOR "Vendor"
37
#define NM_VPNC_KEY_APP_VERSION "Application Version"
38
#define NM_VPNC_KEY_SINGLE_DES "Enable Single DES"
39
#define NM_VPNC_KEY_NO_ENCRYPTION "Enable no encryption"
40
#define NM_VPNC_KEY_NAT_TRAVERSAL_MODE "NAT Traversal Mode"
41
#define NM_VPNC_KEY_DPD_IDLE_TIMEOUT "DPD idle timeout (our side)"
42
#define NM_VPNC_KEY_CISCO_UDP_ENCAPS_PORT "Cisco UDP Encapsulation Port"
43
#define NM_VPNC_KEY_LOCAL_PORT "Local Port"
44
#define NM_VPNC_KEY_AUTHMODE "IKE Authmode"
45
#define NM_VPNC_KEY_CA_FILE "CA-File"
47
#define NM_VPNC_NATT_MODE_NATT "natt"
48
#define NM_VPNC_NATT_MODE_NONE "none"
49
#define NM_VPNC_NATT_MODE_NATT_ALWAYS "force-natt"
50
#define NM_VPNC_NATT_MODE_CISCO "cisco-udp"
52
#define NM_VPNC_DHGROUP_DH1 "dh1"
53
#define NM_VPNC_DHGROUP_DH2 "dh2"
54
#define NM_VPNC_DHGROUP_DH5 "dh5"
56
#define NM_VPNC_PFS_SERVER "server"
57
#define NM_VPNC_PFS_NOPFS "nopfs"
58
#define NM_VPNC_PFS_DH1 "dh1"
59
#define NM_VPNC_PFS_DH2 "dh2"
60
#define NM_VPNC_PFS_DH5 "dh5"
62
#define NM_VPNC_VENDOR_CISCO "cisco"
63
#define NM_VPNC_VENDOR_NETSCREEN "netscreen"
65
#endif /* NM_VPNC_PLUGIN_H */