Merge branch 'nm-updates'
Provides several fixes and cleanups for the NM build (does not include fixes for recent NM versions). Closes strongswan/strongswan#39.
This commit is contained in:
@@ -22,3 +22,6 @@ charon_nm_LDADD = \
|
|||||||
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||||
$(top_builddir)/src/libcharon/libcharon.la \
|
$(top_builddir)/src/libcharon/libcharon.la \
|
||||||
-lm $(PTHREADLIB) $(ATOMICLIB) $(DLLIB) ${nm_LIBS}
|
-lm $(PTHREADLIB) $(ATOMICLIB) $(DLLIB) ${nm_LIBS}
|
||||||
|
|
||||||
|
dbusservicedir = $(sysconfdir)/dbus-1/system.d
|
||||||
|
dbusservice_DATA = nm-strongswan-service.conf
|
||||||
|
|||||||
-1
@@ -10,7 +10,6 @@
|
|||||||
<policy context="default">
|
<policy context="default">
|
||||||
<deny own="org.freedesktop.NetworkManager.strongswan"/>
|
<deny own="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
<deny send_destination="org.freedesktop.NetworkManager.strongswan"/>
|
<deny send_destination="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
<deny send_interface="org.freedesktop.NetworkManager.strongswan"/>
|
|
||||||
</policy>
|
</policy>
|
||||||
</busconfig>
|
</busconfig>
|
||||||
|
|
||||||
@@ -2,10 +2,7 @@ AUTOMAKE_OPTIONS = foreign
|
|||||||
|
|
||||||
SUBDIRS = properties auth-dialog po
|
SUBDIRS = properties auth-dialog po
|
||||||
|
|
||||||
dbusservicedir = $(sysconfdir)/dbus-1/system.d
|
nmvpnservicedir = $(prefix)/lib/NetworkManager/VPN
|
||||||
dbusservice_DATA = nm-strongswan-service.conf
|
|
||||||
|
|
||||||
nmvpnservicedir = $(sysconfdir)/NetworkManager/VPN
|
|
||||||
nmvpnservice_DATA = nm-strongswan-service.name
|
nmvpnservice_DATA = nm-strongswan-service.name
|
||||||
|
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
@@ -15,20 +12,35 @@ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
|
|||||||
appdata_in_files = NetworkManager-strongswan.appdata.xml.in
|
appdata_in_files = NetworkManager-strongswan.appdata.xml.in
|
||||||
@INTLTOOL_XML_RULE@
|
@INTLTOOL_XML_RULE@
|
||||||
|
|
||||||
|
# Install a file with full path to plugins for an old gnome-shell
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=693590
|
||||||
|
install-data-hook:
|
||||||
|
mkdir -p $(DESTDIR)$(sysconfdir)/NetworkManager/VPN
|
||||||
|
sed -e "1s|^|# This file is obsoleted by a file in $(NM_VPN_SERVICE_DIR)\n\n|" \
|
||||||
|
-e 's|[@]NM_LIBEXECDIR[@]|$(nm_libexecdir)|g' \
|
||||||
|
-e 's|[@]NM_PLUGINDIR[@]|$(nm_plugindir)|g' \
|
||||||
|
-e 's|[@]CHARON[@]|$(charon)|' \
|
||||||
|
<$(srcdir)/nm-strongswan-service.name.in \
|
||||||
|
>$(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-strongswan-service.name
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-strongswan-service.name
|
||||||
|
|
||||||
nm-strongswan-service.name: $(srcdir)/nm-strongswan-service.name.in
|
nm-strongswan-service.name: $(srcdir)/nm-strongswan-service.name.in
|
||||||
$(AM_V_GEN) \
|
$(AM_V_GEN) \
|
||||||
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' \
|
sed -e 's|[@]NM_LIBEXECDIR[@]|$(nm_libexecdir)|' \
|
||||||
|
-e 's|[@]NM_PLUGINDIR[@]/|$(nm_plugindir_abs)|g' \
|
||||||
-e 's|[@]CHARON[@]|$(charon)|' $< >$@
|
-e 's|[@]CHARON[@]|$(charon)|' $< >$@
|
||||||
|
|
||||||
EXTRA_DIST = nm-strongswan-service.name.in \
|
EXTRA_DIST = \
|
||||||
$(dbusservice_DATA) \
|
nm-strongswan-service.name.in \
|
||||||
$(appdata_in_files) \
|
$(appdata_in_files) \
|
||||||
$(appdata_DATA) \
|
$(appdata_DATA) \
|
||||||
intltool-extract.in \
|
intltool-extract.in \
|
||||||
intltool-merge.in \
|
intltool-merge.in \
|
||||||
intltool-update.in
|
intltool-update.in
|
||||||
|
|
||||||
CLEANFILES = $(nmvpnservice_DATA) $(appdata_DATA) *~
|
CLEANFILES = $(appdata_DATA) *~
|
||||||
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
|
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
libexec_PROGRAMS = nm-strongswan-auth-dialog
|
nm_libexec_PROGRAMS = nm-strongswan-auth-dialog
|
||||||
|
|
||||||
nm_strongswan_auth_dialog_CPPFLAGS = \
|
nm_strongswan_auth_dialog_CPPFLAGS = \
|
||||||
$(GTHREAD_CFLAGS) \
|
|
||||||
$(GTK_CFLAGS) \
|
$(GTK_CFLAGS) \
|
||||||
$(LIBGNOMEUI_CFLAGS) \
|
$(LIBGNOMEUI_CFLAGS) \
|
||||||
$(GNOMEKEYRING_CFLAGS) \
|
$(LIBSECRET_CFLAGS) \
|
||||||
$(NETWORK_MANAGER_CFLAGS) \
|
$(NETWORK_MANAGER_CFLAGS) \
|
||||||
$(NM_UTILS_CFLAGS) \
|
$(NM_UTILS_CFLAGS) \
|
||||||
-DG_DISABLE_DEPRECATED \
|
-DG_DISABLE_DEPRECATED \
|
||||||
@@ -18,6 +17,5 @@ nm_strongswan_auth_dialog_SOURCES = \
|
|||||||
nm_strongswan_auth_dialog_LDADD = \
|
nm_strongswan_auth_dialog_LDADD = \
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
$(LIBGNOMEUI_LIBS) \
|
$(LIBGNOMEUI_LIBS) \
|
||||||
$(GNOMEKEYRING_LIBS) \
|
$(LIBSECRET_LIBS) \
|
||||||
$(NM_UTILS_LIBS)
|
$(NM_UTILS_LIBS)
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gnome-keyring.h>
|
#include <libsecret/secret.h>
|
||||||
#include <libgnomeui/libgnomeui.h>
|
#include <libgnomeui/libgnomeui.h>
|
||||||
#include <nm-vpn-plugin.h>
|
#include <nm-vpn-plugin.h>
|
||||||
#include <nm-setting-vpn.h>
|
#include <nm-setting-vpn.h>
|
||||||
@@ -31,35 +31,6 @@
|
|||||||
|
|
||||||
#define NM_DBUS_SERVICE_STRONGSWAN "org.freedesktop.NetworkManager.strongswan"
|
#define NM_DBUS_SERVICE_STRONGSWAN "org.freedesktop.NetworkManager.strongswan"
|
||||||
|
|
||||||
/**
|
|
||||||
* lookup a password in the keyring
|
|
||||||
*/
|
|
||||||
static char *lookup_password(char *name, char *service)
|
|
||||||
{
|
|
||||||
GList *list;
|
|
||||||
GList *iter;
|
|
||||||
char *pass = NULL;
|
|
||||||
|
|
||||||
if (gnome_keyring_find_network_password_sync(g_get_user_name(), NULL, name,
|
|
||||||
NULL, service, NULL, 0, &list) != GNOME_KEYRING_RESULT_OK)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (iter = list; iter; iter = iter->next)
|
|
||||||
{
|
|
||||||
GnomeKeyringNetworkPasswordData *data = iter->data;
|
|
||||||
|
|
||||||
if (strcmp(data->object, "password") == 0 && data->password)
|
|
||||||
{
|
|
||||||
pass = g_strdup(data->password);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
gnome_keyring_network_password_list_free(list);
|
|
||||||
return pass;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wait for quit input
|
* Wait for quit input
|
||||||
*/
|
*/
|
||||||
@@ -118,7 +89,7 @@ int main (int argc, char *argv[])
|
|||||||
gchar *name = NULL, *uuid = NULL, *service = NULL, *keyring = NULL, *pass;
|
gchar *name = NULL, *uuid = NULL, *service = NULL, *keyring = NULL, *pass;
|
||||||
GOptionContext *context;
|
GOptionContext *context;
|
||||||
char *agent, *type;
|
char *agent, *type;
|
||||||
guint32 itemid, minlen = 0;
|
guint32 minlen = 0;
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
GOptionEntry entries[] = {
|
GOptionEntry entries[] = {
|
||||||
{ "reprompt", 'r', 0, G_OPTION_ARG_NONE, &retry, "Reprompt for passwords", NULL},
|
{ "reprompt", 'r', 0, G_OPTION_ARG_NONE, &retry, "Reprompt for passwords", NULL},
|
||||||
@@ -162,7 +133,12 @@ int main (int argc, char *argv[])
|
|||||||
if (!strcmp(type, "eap") || !strcmp(type, "key") || !strcmp(type, "psk") ||
|
if (!strcmp(type, "eap") || !strcmp(type, "key") || !strcmp(type, "psk") ||
|
||||||
!strcmp(type, "smartcard"))
|
!strcmp(type, "smartcard"))
|
||||||
{
|
{
|
||||||
pass = lookup_password(name, service);
|
pass = secret_password_lookup_sync(SECRET_SCHEMA_COMPAT_NETWORK, NULL, NULL,
|
||||||
|
"user", g_get_user_name(),
|
||||||
|
"server", name,
|
||||||
|
"protocol", service,
|
||||||
|
NULL);
|
||||||
|
|
||||||
if ((!pass || retry) && allow_interaction)
|
if ((!pass || retry) && allow_interaction)
|
||||||
{
|
{
|
||||||
if (!strcmp(type, "eap"))
|
if (!strcmp(type, "eap"))
|
||||||
@@ -216,12 +192,15 @@ too_short_retry:
|
|||||||
case GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING:
|
case GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING:
|
||||||
break;
|
break;
|
||||||
case GNOME_PASSWORD_DIALOG_REMEMBER_SESSION:
|
case GNOME_PASSWORD_DIALOG_REMEMBER_SESSION:
|
||||||
keyring = "session";
|
keyring = SECRET_COLLECTION_SESSION;
|
||||||
/* FALL */
|
/* FALL */
|
||||||
case GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER:
|
case GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER:
|
||||||
if (gnome_keyring_set_network_password_sync(keyring,
|
if (!secret_password_store_sync(SECRET_SCHEMA_COMPAT_NETWORK,
|
||||||
g_get_user_name(), NULL, name, "password", service, NULL, 0,
|
keyring, "", pass, NULL, NULL,
|
||||||
pass, &itemid) != GNOME_KEYRING_RESULT_OK)
|
"user", g_get_user_name(),
|
||||||
|
"server", name,
|
||||||
|
"protocol", service,
|
||||||
|
NULL))
|
||||||
{
|
{
|
||||||
g_warning ("storing password in keyring failed");
|
g_warning ("storing password in keyring failed");
|
||||||
}
|
}
|
||||||
@@ -231,6 +210,7 @@ too_short_retry:
|
|||||||
if (pass)
|
if (pass)
|
||||||
{
|
{
|
||||||
printf("password\n%s\n", pass);
|
printf("password\n%s\n", pass);
|
||||||
|
g_free(pass);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
AC_INIT(NetworkManager-strongswan, 1.3.1, [email protected], NetworkManager-strongswan)
|
AC_INIT(NetworkManager-strongswan, 1.3.2, [email protected], NetworkManager-strongswan)
|
||||||
AM_INIT_AUTOMAKE([subdir-objects])
|
AM_INIT_AUTOMAKE([subdir-objects])
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
@@ -14,6 +14,7 @@ AC_PROG_CC
|
|||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Required headers
|
dnl Required headers
|
||||||
@@ -42,32 +43,13 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
|
|||||||
IT_PROG_INTLTOOL([0.35])
|
IT_PROG_INTLTOOL([0.35])
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
|
|
||||||
AC_SUBST(GTHREAD_CFLAGS)
|
|
||||||
AC_SUBST(GTHREAD_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= 0.30)
|
|
||||||
AC_SUBST(DBUS_CFLAGS)
|
|
||||||
AC_SUBST(DBUS_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6)
|
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6)
|
||||||
AC_SUBST(GTK_CFLAGS)
|
|
||||||
AC_SUBST(GTK_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBGNOMEUI, libgnomeui-2.0)
|
PKG_CHECK_MODULES(LIBGNOMEUI, libgnomeui-2.0)
|
||||||
AC_SUBST(LIBGNOMEUI_CFLAGS)
|
PKG_CHECK_MODULES(LIBSECRET, libsecret-1)
|
||||||
AC_SUBST(LIBGNOMEUI_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GNOMEKEYRING, gnome-keyring-1)
|
|
||||||
AC_SUBST(GNOMEKEYRING_CFLAGS)
|
|
||||||
AC_SUBST(GNOMEKEYRING_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_EXISTS([libnm-glib],
|
PKG_CHECK_EXISTS([libnm-glib],
|
||||||
[PKG_CHECK_MODULES(NM_UTILS, NetworkManager >= 0.9.0 libnm-util libnm-glib libnm-glib-vpn)],
|
[PKG_CHECK_MODULES(NM_UTILS, NetworkManager >= 0.9.0 libnm-util libnm-glib libnm-glib-vpn)],
|
||||||
[PKG_CHECK_MODULES(NM_UTILS, NetworkManager >= 0.9.0 libnm-util libnm_glib libnm_glib_vpn)]
|
[PKG_CHECK_MODULES(NM_UTILS, NetworkManager >= 0.9.0 libnm-util libnm_glib libnm_glib_vpn)]
|
||||||
)
|
)
|
||||||
AC_SUBST(NM_UTILS_CFLAGS)
|
|
||||||
AC_SUBST(NM_UTILS_LIBS)
|
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[charon],
|
[charon],
|
||||||
@@ -75,6 +57,17 @@ AC_ARG_WITH(
|
|||||||
[AC_SUBST(charon, "$withval")],
|
[AC_SUBST(charon, "$withval")],
|
||||||
[AC_SUBST(charon, "${libexecdir}/ipsec/charon-nm")]
|
[AC_SUBST(charon, "${libexecdir}/ipsec/charon-nm")]
|
||||||
)
|
)
|
||||||
|
AC_ARG_ENABLE(
|
||||||
|
[nm-absolute-paths],
|
||||||
|
AS_HELP_STRING([--enable-nm-absolute-paths],[use absolute paths for NM plugins in the .name file])
|
||||||
|
)
|
||||||
|
|
||||||
|
nm_libexecdir=$($PKG_CONFIG --variable=libgnome_serverdir NetworkManager)
|
||||||
|
AC_SUBST(nm_libexecdir)
|
||||||
|
nm_plugindir=$($PKG_CONFIG --variable=plugindir NetworkManager)
|
||||||
|
AC_SUBST(nm_plugindir)
|
||||||
|
test x"$enable_nm_absolute_paths" = x"yes" && nm_plugindir_abs="$(nm_plugindir)/"
|
||||||
|
AC_SUBST(nm_plugindir_abs)
|
||||||
|
|
||||||
NM_COMPILER_WARNINGS
|
NM_COMPILER_WARNINGS
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ Build-Depends: cdbs,
|
|||||||
libnm-util-dev (>= 0.9),
|
libnm-util-dev (>= 0.9),
|
||||||
libnm-glib-dev (>= 0.9),
|
libnm-glib-dev (>= 0.9),
|
||||||
libnm-glib-vpn-dev (>= 0.9),
|
libnm-glib-vpn-dev (>= 0.9),
|
||||||
libdbus-glib-1-dev,
|
|
||||||
libgnomeui-dev,
|
libgnomeui-dev,
|
||||||
|
libsecret-1-dev,
|
||||||
automake,
|
automake,
|
||||||
gnome-common,
|
gnome-common,
|
||||||
Standards-Version: 3.8.3
|
Standards-Version: 3.8.3
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ service=org.freedesktop.NetworkManager.strongswan
|
|||||||
program=@CHARON@
|
program=@CHARON@
|
||||||
|
|
||||||
[GNOME]
|
[GNOME]
|
||||||
auth-dialog=@LIBEXECDIR@/nm-strongswan-auth-dialog
|
auth-dialog=@NM_LIBEXECDIR@/nm-strongswan-auth-dialog
|
||||||
properties=libnm-strongswan-properties
|
properties=@NM_PLUGINDIR@/libnm-strongswan-properties
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
plugindir = $(libdir)/NetworkManager
|
nm_plugin_LTLIBRARIES = libnm-strongswan-properties.la
|
||||||
plugin_LTLIBRARIES = libnm-strongswan-properties.la
|
|
||||||
|
|
||||||
libnm_strongswan_properties_la_SOURCES = \
|
libnm_strongswan_properties_la_SOURCES = \
|
||||||
nm-strongswan.c \
|
nm-strongswan.c \
|
||||||
|
|||||||
@@ -1,113 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 2.12 -->
|
<!-- interface-requires gtk+ 2.12 -->
|
||||||
<object class="GtkWindow" id="strongswan-widget">
|
<object class="GtkVBox" id="strongswan-vbox">
|
||||||
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="title" translatable="yes">window1</property>
|
<property name="valign">start</property>
|
||||||
|
<property name="border_width">12</property>
|
||||||
|
<property name="spacing">16</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="strongswan-vbox">
|
<object class="GtkVBox" id="gateway-vbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="valign">start</property>
|
<property name="spacing">6</property>
|
||||||
<property name="border_width">12</property>
|
|
||||||
<property name="spacing">16</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="gateway-vbox">
|
<object class="GtkLabel" id="gateway-label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="spacing">6</property>
|
<property name="xalign">0</property>
|
||||||
<child>
|
<property name="label" translatable="yes"><b>Gateway</b></property>
|
||||||
<object class="GtkLabel" id="gateway-label">
|
<property name="use_markup">True</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes"><b>Gateway</b></property>
|
|
||||||
<property name="use_markup">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkAlignment" id="gateway-alignement">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="left_padding">12</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkTable" id="gateway-table">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="n_rows">2</property>
|
|
||||||
<property name="n_columns">2</property>
|
|
||||||
<property name="column_spacing">6</property>
|
|
||||||
<property name="row_spacing">6</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="address-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">_Address:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="mnemonic_widget">address-entry</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkEntry" id="address-entry">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="has_tooltip">True</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">An IP address or hostname the Gateway can be contacted.</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="certificate-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">C_ertificate:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="mnemonic_widget">certificate-button</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="top_attach">1</property>
|
|
||||||
<property name="bottom_attach">2</property>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkFileChooserButton" id="certificate-button">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">Gateway or CA certificate to use for gateway authentication. If none is specified, pre-installed CA certificates are used.</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
<property name="top_attach">1</property>
|
|
||||||
<property name="bottom_attach">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
@@ -116,264 +27,347 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="client-vbox">
|
<object class="GtkAlignment" id="gateway-alignement">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="spacing">6</property>
|
<property name="left_padding">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="client-label">
|
<object class="GtkTable" id="gateway-table">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="xalign">0</property>
|
<property name="n_rows">2</property>
|
||||||
<property name="label" translatable="yes"><b>Client</b></property>
|
<property name="n_columns">2</property>
|
||||||
<property name="use_markup">True</property>
|
<property name="column_spacing">6</property>
|
||||||
</object>
|
<property name="row_spacing">6</property>
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkAlignment" id="client-aligement">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="left_padding">12</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTable" id="client-table">
|
<object class="GtkLabel" id="address-label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="n_rows">4</property>
|
<property name="xalign">0</property>
|
||||||
<property name="n_columns">2</property>
|
<property name="label" translatable="yes">_Address:</property>
|
||||||
<property name="column_spacing">6</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="row_spacing">6</property>
|
<property name="mnemonic_widget">address-entry</property>
|
||||||
<child>
|
|
||||||
<object class="GtkFileChooserButton" id="userkey-button">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">Private key to use for client authentication. This key has to match the certificates public key and may be encrypted.</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
<property name="top_attach">3</property>
|
|
||||||
<property name="bottom_attach">4</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="userkey-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">Private _key:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="mnemonic_widget">userkey-button</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="top_attach">3</property>
|
|
||||||
<property name="bottom_attach">4</property>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="method-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">Au_thentication:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="user-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">_Username:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="mnemonic_widget">user-entry</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="top_attach">1</property>
|
|
||||||
<property name="bottom_attach">2</property>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkEntry" id="user-entry">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="has_tooltip">True</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">The username (identity) to use for authentication against the gateway.</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
<property name="top_attach">1</property>
|
|
||||||
<property name="bottom_attach">2</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="usercert-label">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes">Ce_rtificate:</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="mnemonic_widget">usercert-button</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="top_attach">2</property>
|
|
||||||
<property name="bottom_attach">3</property>
|
|
||||||
<property name="x_options">GTK_FILL</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkFileChooserButton" id="usercert-button">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">Client certificate to use for client authentication.</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
<property name="top_attach">2</property>
|
|
||||||
<property name="bottom_attach">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkComboBoxText" id="method-combo">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="address-entry">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="has_tooltip">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">An IP address or hostname the Gateway can be contacted.</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="certificate-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">C_ertificate:</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">certificate-button</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="bottom_attach">2</property>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFileChooserButton" id="certificate-button">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">Gateway or CA certificate to use for gateway authentication. If none is specified, pre-installed CA certificates are used.</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="bottom_attach">2</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkVBox" id="client-vbox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="spacing">6</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="client-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes"><b>Client</b></property>
|
||||||
|
<property name="use_markup">True</property>
|
||||||
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">False</property>
|
<property name="fill">False</property>
|
||||||
<property name="position">1</property>
|
<property name="position">0</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="options-vbox">
|
<object class="GtkAlignment" id="client-aligement">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="spacing">6</property>
|
<property name="left_padding">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="options-label">
|
<object class="GtkTable" id="client-table">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="xalign">0</property>
|
<property name="n_rows">4</property>
|
||||||
<property name="label" translatable="yes"><b>Options</b></property>
|
<property name="n_columns">2</property>
|
||||||
<property name="use_markup">True</property>
|
<property name="column_spacing">6</property>
|
||||||
</object>
|
<property name="row_spacing">6</property>
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkAlignment" id="options-alignement">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="left_padding">12</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="options-inner-vbox">
|
<object class="GtkFileChooserButton" id="userkey-button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<child>
|
<property name="tooltip_text" translatable="yes">Private key to use for client authentication. This key has to match the certificates public key and may be encrypted.</property>
|
||||||
<object class="GtkCheckButton" id="virtual-check">
|
|
||||||
<property name="label" translatable="yes">Request an _inner IP address</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
<property name="has_tooltip">True</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">The Gateway may provide addresses from a pool to use for communication in the Gateways network. Check to request such an address.</property>
|
|
||||||
<property name="use_action_appearance">False</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkCheckButton" id="encap-check">
|
|
||||||
<property name="label" translatable="yes">En_force UDP encapsulation</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
<property name="has_tooltip">True</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">Some firewalls block ESP traffic. Enforcing UDP capsulation even if no NAT situation is detected might help in such cases.</property>
|
|
||||||
<property name="use_action_appearance">False</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkCheckButton" id="ipcomp-check">
|
|
||||||
<property name="label" translatable="yes">Use IP c_ompression</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
<property name="has_tooltip">True</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">IPComp compresses raw IP packets before they get encrypted. This saves some bandwidth, but uses more processing power.</property>
|
|
||||||
<property name="use_action_appearance">False</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
<property name="bottom_attach">4</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="userkey-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">Private _key:</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">userkey-button</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
<property name="bottom_attach">4</property>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="method-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">Au_thentication:</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="user-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">_Username:</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">user-entry</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="bottom_attach">2</property>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="user-entry">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="has_tooltip">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">The username (identity) to use for authentication against the gateway.</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="bottom_attach">2</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="usercert-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">Ce_rtificate:</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">usercert-button</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="bottom_attach">3</property>
|
||||||
|
<property name="x_options">GTK_FILL</property>
|
||||||
|
<property name="y_options"></property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFileChooserButton" id="usercert-button">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">Client certificate to use for client authentication.</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="bottom_attach">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="method-combo">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="right_attach">2</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">True</property>
|
||||||
<property name="fill">True</property>
|
<property name="fill">True</property>
|
||||||
<property name="position">2</property>
|
<property name="position">1</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkVBox" id="options-vbox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="spacing">6</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="options-label">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes"><b>Options</b></property>
|
||||||
|
<property name="use_markup">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="options-alignement">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="left_padding">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkVBox" id="options-inner-vbox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="virtual-check">
|
||||||
|
<property name="label" translatable="yes">Request an _inner IP address</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="has_tooltip">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">The Gateway may provide addresses from a pool to use for communication in the Gateways network. Check to request such an address.</property>
|
||||||
|
<property name="use_action_appearance">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="encap-check">
|
||||||
|
<property name="label" translatable="yes">En_force UDP encapsulation</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="has_tooltip">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">Some firewalls block ESP traffic. Enforcing UDP capsulation even if no NAT situation is detected might help in such cases.</property>
|
||||||
|
<property name="use_action_appearance">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="ipcomp-check">
|
||||||
|
<property name="label" translatable="yes">Use IP c_ompression</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="has_tooltip">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">IPComp compresses raw IP packets before they get encrypted. This saves some bandwidth, but uses more processing power.</property>
|
||||||
|
<property name="use_action_appearance">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
Reference in New Issue
Block a user