[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34416 - in gnunet-gtk: contrib src/setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34416 - in gnunet-gtk: contrib src/setup |
Date: |
Sat, 22 Nov 2014 21:48:52 +0100 |
Author: grothoff
Date: 2014-11-22 21:48:52 +0100 (Sat, 22 Nov 2014)
New Revision: 34416
Modified:
gnunet-gtk/contrib/gnunet_setup_main_window.glade
gnunet-gtk/src/setup/gnunet-setup-options.c
Log:
enable TCP stealth option configuration
Modified: gnunet-gtk/contrib/gnunet_setup_main_window.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_setup_main_window.glade 2014-11-22 20:34:13 UTC
(rev 34415)
+++ gnunet-gtk/contrib/gnunet_setup_main_window.glade 2014-11-22 20:48:52 UTC
(rev 34416)
@@ -2367,6 +2367,24 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton"
id="GNUNET_setup_transport_http_stealth_checkbutton">
+ <property name="label"
translatable="yes">Use TCP Stealth (requires kernel support)</property>
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="tooltip_text"
translatable="yes">Use this option to make your TCP server "stealthy", that is
"invisible" (or at least much less visible) to port scanners. This requires
kernel support and may not be available on all operating systems. Note that if
you use this option, only clients that also support TCP Stealth (on their
operating system) will be able to connect to you. You do not need to check this
box to enable TCP Stealth client-side.</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkHBox"
id="GNUNET_setup_transport_http_test_hbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2439,7 +2457,7 @@
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
</object>
@@ -2842,6 +2860,24 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton"
id="GNUNET_setup_transport_https_stealth_checkbutton">
+ <property name="label"
translatable="yes">Use TCP Stealth (requires kernel support)</property>
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="tooltip_text"
translatable="yes">Use this option to make your TCP server "stealthy", that is
"invisible" (or at least much less visible) to port scanners. This requires
kernel support and may not be available on all operating systems. Note that if
you use this option, only clients that also support TCP Stealth (on their
operating system) will be able to connect to you. You do not need to check this
box to enable TCP Stealth client-side.</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkHBox"
id="GNUNET_setup_transport_https_test_hbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2914,7 +2950,7 @@
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
</object>
Modified: gnunet-gtk/src/setup/gnunet-setup-options.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-options.c 2014-11-22 20:34:13 UTC (rev
34415)
+++ gnunet-gtk/src/setup/gnunet-setup-options.c 2014-11-22 20:48:52 UTC (rev
34416)
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- (C) 2010, 2011, 2012 Christian Grothoff (and other contributing authors)
+ (C) 2010-2014 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -1940,6 +1940,20 @@
NULL, NULL,
NULL},
+ {
+ "GNUNET_setup_transport_http_stealth_checkbutton",
+ "toggled",
+ "transport-http",
+ "TCP_STEALTH",
+ gettext_noop ("Should GNUnet use TCP STEALTH for the TCP server?"),
+ "https://gnunet.org/knock",
+ &load_yes_no_check_tcp_stealth,
+ &save_yes_no, NULL,
+ NULL, NULL,
+ NULL },
+
+
+
/* HTTPS client */
{
@@ -2056,6 +2070,17 @@
NULL, NULL,
NULL},
+ {
+ "GNUNET_setup_transport_https_stealth_checkbutton",
+ "toggled",
+ "transport-https",
+ "TCP_STEALTH",
+ gettext_noop ("Should GNUnet use TCP STEALTH for the TCP server?"),
+ "https://gnunet.org/knock",
+ &load_yes_no_check_tcp_stealth,
+ &save_yes_no, NULL,
+ NULL, NULL,
+ NULL },
/* FS TAB */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34416 - in gnunet-gtk: contrib src/setup,
gnunet <=