[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1504 - Extractor-docs/WWW GNUnet/src/applications/pingpong
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1504 - Extractor-docs/WWW GNUnet/src/applications/pingpong GNUnet-docs/WWW doodle-docs/WWW i18nHTML/src i18nHTML-docs/WWW |
Date: |
Wed, 13 Jul 2005 20:49:06 -0700 (PDT) |
Author: grothoff
Date: 2005-07-13 20:48:56 -0700 (Wed, 13 Jul 2005)
New Revision: 1504
Modified:
Extractor-docs/WWW/i18nhtml.inc.php
GNUnet-docs/WWW/i18nhtml.inc.php
GNUnet/src/applications/pingpong/pingpong.c
doodle-docs/WWW/i18nhtml.inc.php
i18nHTML-docs/WWW/i18nhtml.inc.php
i18nHTML/src/i18nhtml.inc.php
Log:
stuff
Modified: Extractor-docs/WWW/i18nhtml.inc.php
===================================================================
--- Extractor-docs/WWW/i18nhtml.inc.php 2005-07-14 03:46:18 UTC (rev 1503)
+++ Extractor-docs/WWW/i18nhtml.inc.php 2005-07-14 03:48:56 UTC (rev 1504)
@@ -790,7 +790,7 @@
global $HTTP_SERVER_VARS;
P();
- echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005
Christian Grothoff.<br />\n";
+ echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005 <a
href=\"http://grothoff.org/christian/\">Christian Grothoff</a>.<br />\n";
if ( ($xlang) && ($xlang != "English") ) {
$back = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] .
$HTTP_SERVER_VARS["REQUEST_URI"];
echo "<center><small>\n";
@@ -867,7 +867,15 @@
DD($b);
}
function LILI($a,$b) {
- echo "<li>" . extlink_($a,$b) . "</li>\n";
+ if ( ($a[0] == '#') ||
+ ( ($a[0] == 'h') &&
+ ($a[1] == 't') &&
+ ($a[2] == 't') &&
+ ($a[3] == 'p') ) ) {
+ echo "<li>" . extlink_($a,$b) . "</li>\n";
+ } else {
+ echo "<li>" . intlink_($a,$b) . "</li>\n";
+ }
}
function ANCHOR($a) {
echo "<a name=\"$a\"></a>\n";
Modified: GNUnet/src/applications/pingpong/pingpong.c
===================================================================
--- GNUnet/src/applications/pingpong/pingpong.c 2005-07-14 03:46:18 UTC (rev
1503)
+++ GNUnet/src/applications/pingpong/pingpong.c 2005-07-14 03:48:56 UTC (rev
1504)
@@ -53,19 +53,20 @@
p2p_HEADER header;
/**
+ * The challenge is a (pseudo) random number that an adversary that
+ * wants to fake a pong message would have to guess. Since even if
+ * the number is guessed, the security impact is at most some wasted
+ * resources, 32 bit are more than enough.
+ */
+ int challenge;
+
+ /**
* Which peer is the target of the ping? This is important since for
* plaintext-pings, we need to catch faulty advertisements that
* advertise a correct address but with the wrong public key.
*/
PeerIdentity receiver;
- /**
- * The challenge is a (pseudo) random number that an adversary that
- * wants to fake a pong message would have to guess. Since even if
- * the number is guessed, the security impact is at most some wasted
- * resources, 32 bit are more than enough.
- */
- int challenge;
} PINGPONG_Message;
#define DEBUG_PINGPONG NO
@@ -76,9 +77,9 @@
PeerIdentity receiverIdentity;
int challenge;
int plaintext;
- TIME_T sendTime;
CronJob method;
void * data;
+ TIME_T sendTime;
} PingPongEntry;
static PingPongEntry * pingPongs;
Modified: GNUnet-docs/WWW/i18nhtml.inc.php
===================================================================
--- GNUnet-docs/WWW/i18nhtml.inc.php 2005-07-14 03:46:18 UTC (rev 1503)
+++ GNUnet-docs/WWW/i18nhtml.inc.php 2005-07-14 03:48:56 UTC (rev 1504)
@@ -790,7 +790,7 @@
global $HTTP_SERVER_VARS;
P();
- echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005
Christian Grothoff.<br />\n";
+ echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005 <a
href=\"http://grothoff.org/christian/\">Christian Grothoff</a>.<br />\n";
if ( ($xlang) && ($xlang != "English") ) {
$back = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] .
$HTTP_SERVER_VARS["REQUEST_URI"];
echo "<center><small>\n";
Modified: doodle-docs/WWW/i18nhtml.inc.php
===================================================================
--- doodle-docs/WWW/i18nhtml.inc.php 2005-07-14 03:46:18 UTC (rev 1503)
+++ doodle-docs/WWW/i18nhtml.inc.php 2005-07-14 03:48:56 UTC (rev 1504)
@@ -790,7 +790,7 @@
global $HTTP_SERVER_VARS;
P();
- echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005
Christian Grothoff.<br />\n";
+ echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005 <a
href=\"http://grothoff.org/christian/\">Christian Grothoff</a>.<br />\n";
if ( ($xlang) && ($xlang != "English") ) {
$back = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] .
$HTTP_SERVER_VARS["REQUEST_URI"];
echo "<center><small>\n";
@@ -867,7 +867,15 @@
DD($b);
}
function LILI($a,$b) {
- echo "<li>" . extlink_($a,$b) . "</li>\n";
+ if ( ($a[0] == '#') ||
+ ( ($a[0] == 'h') &&
+ ($a[1] == 't') &&
+ ($a[2] == 't') &&
+ ($a[3] == 'p') ) ) {
+ echo "<li>" . extlink_($a,$b) . "</li>\n";
+ } else {
+ echo "<li>" . intlink_($a,$b) . "</li>\n";
+ }
}
function ANCHOR($a) {
echo "<a name=\"$a\"></a>\n";
Modified: i18nHTML/src/i18nhtml.inc.php
===================================================================
--- i18nHTML/src/i18nhtml.inc.php 2005-07-14 03:46:18 UTC (rev 1503)
+++ i18nHTML/src/i18nhtml.inc.php 2005-07-14 03:48:56 UTC (rev 1504)
@@ -790,7 +790,7 @@
global $HTTP_SERVER_VARS;
P();
- echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005
Christian Grothoff.<br />\n";
+ echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005 <a
href=\"http://grothoff.org/christian/\">Christian Grothoff</a>.<br />\n";
if ( ($xlang) && ($xlang != "English") ) {
$back = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] .
$HTTP_SERVER_VARS["REQUEST_URI"];
echo "<center><small>\n";
Modified: i18nHTML-docs/WWW/i18nhtml.inc.php
===================================================================
--- i18nHTML-docs/WWW/i18nhtml.inc.php 2005-07-14 03:46:18 UTC (rev 1503)
+++ i18nHTML-docs/WWW/i18nhtml.inc.php 2005-07-14 03:48:56 UTC (rev 1504)
@@ -790,7 +790,7 @@
global $HTTP_SERVER_VARS;
P();
- echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005
Christian Grothoff.<br />\n";
+ echo "Translation engine based on <a
href=\"http://gnunet.org/i18nHTML/\">i18nHTML</a> (C) 2003, 2004, 2005 <a
href=\"http://grothoff.org/christian/\">Christian Grothoff</a>.<br />\n";
if ( ($xlang) && ($xlang != "English") ) {
$back = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] .
$HTTP_SERVER_VARS["REQUEST_URI"];
echo "<center><small>\n";
@@ -867,7 +867,15 @@
DD($b);
}
function LILI($a,$b) {
- echo "<li>" . extlink_($a,$b) . "</li>\n";
+ if ( ($a[0] == '#') ||
+ ( ($a[0] == 'h') &&
+ ($a[1] == 't') &&
+ ($a[2] == 't') &&
+ ($a[3] == 'p') ) ) {
+ echo "<li>" . extlink_($a,$b) . "</li>\n";
+ } else {
+ echo "<li>" . intlink_($a,$b) . "</li>\n";
+ }
}
function ANCHOR($a) {
echo "<a name=\"$a\"></a>\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1504 - Extractor-docs/WWW GNUnet/src/applications/pingpong GNUnet-docs/WWW doodle-docs/WWW i18nHTML/src i18nHTML-docs/WWW,
grothoff <=