Displaying 2 results from an estimated 2 matches for "send_req_key".
2005 Apr 08
1
TrustedNodes option in TINC
...aa,bbb,ccc" ?
With this option :
(a) any ADD_EDGE/ADD_SUBNET/ANS_KEY/... will be cancelled if it comes
from a non-trusted connection
(b) all REQ_KEY will be sent to trusted nodes only.
(a) is easy, but we do not know how to manage (b).
In net_packet.c and protocol_key.c we see :
send_req_key(n->nexthop->connection, myself, n);
The question is : how to be sure that "n->nexthop->connection" will be a
"trusted connection" ? (c->name in TrustedNode). One of our question is
: if we cancel any ADD_* from untrusted node, can nexthop be a untrusted
node ?...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...,
_("No valid key known yet for %s (%s), queueing packet"),
n->name, n->hostname);
@@ -317,10 +317,10 @@
if(n->queue->count > MAXQUEUELENGTH)
list_delete_head(n->queue);
- if(!n->status.waitingforkey)
+ if(!n->status.st.waitingforkey)
send_req_key(n->nexthop->connection, myself, n);
- n->status.waitingforkey = true;
+ n->status.st.waitingforkey = true;
return;
}
@@ -427,7 +427,7 @@
ifdebug(TRAFFIC) logger(LOG_ERR, _("Sending packet of %d bytes to %s (%s)"),
packet->len, n->name, n->hostname)...