projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
80b4a85
)
Correctly cycle through ConnectTo variables.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 4 May 2001 18:45:02 +0000
(18:45 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 4 May 2001 18:45:02 +0000
(18:45 +0000)
TODO
patch
|
blob
|
history
src/net.c
patch
|
blob
|
history
diff --git
a/TODO
b/TODO
index
e502d6e
..
bacd12c
100644
(file)
--- a/
TODO
+++ b/
TODO
@@
-3,6
+3,7
@@
TODO LIST
Goals for 1.0 release:
* Check Solaris port
Goals for 1.0 release:
* Check Solaris port
+* Check FreeBSD port again
* Check different linux architectures (x86, alpha and sparc32 done)
* Store private key in a separate file (done, 1 dec 2000)
* Sanity checks on configuration directory (mostly done)
* Check different linux architectures (x86, alpha and sparc32 done)
* Store private key in a separate file (done, 1 dec 2000)
* Sanity checks on configuration directory (mostly done)
@@
-10,7
+11,7
@@
Goals for 1.0 release:
* Reenable queues for delayed packets (done)
* Merge documentation files (SECURITY, INSTALL, PROTOCOL) into tinc.texi
* Different authentication scheme (done)
* Reenable queues for delayed packets (done)
* Merge documentation files (SECURITY, INSTALL, PROTOCOL) into tinc.texi
* Different authentication scheme (done)
-
+* Add randomness to packet headers and PING/PONG requests
Goals for future releases:
Goals for future releases:
diff --git
a/src/net.c
b/src/net.c
index
3a58749
..
ce1d5e9
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.35.4.10
3 2001/03/13 21:32:24
guus Exp $
+ $Id: net.c,v 1.35.4.10
4 2001/05/04 18:45:02
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-848,12
+848,18
@@
sigalrm_handler(int a)
cp
cfg = get_config_val(upstreamcfg, config_connectto);
cp
cfg = get_config_val(upstreamcfg, config_connectto);
- if(!cfg && upstreamcfg == config)
+ if(!cfg)
+ if(upstreamcfg == config)
{
/* No upstream IP given, we're listen only. */
signal(SIGALRM, SIG_IGN);
return;
}
{
/* No upstream IP given, we're listen only. */
signal(SIGALRM, SIG_IGN);
return;
}
+ else
+ {
+ /* We previously tried all the ConnectTo lines. Now wrap back to the first. */
+ cfg = get_config_val(config, config_connectto);
+ }
while(cfg)
{
while(cfg)
{