search for: net_setup

Displaying 12 results from an estimated 12 matches for "net_setup".

Did you mean: init_setup
2010 Nov 13
3
[PATCH 1/4] Experimental IFF_ONE_QUEUE support for Linux
--- doc/tinc.conf.5.in | 3 +++ src/linux/device.c | 7 +++++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 2bfd5fe..01f7f81 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -255,6 +255,9 @@ a lookup if your DNS server is not responding. This does not affect resolving hostnames to IP addresses from the host
2005 Jan 18
1
tinc svn rev 1432 segfaults
...subnet.c:250 250 switch (subnet->type) { (gdb) bt #0 0x0805667c in net2str (netstr=0xbffff8a0 "SUBNET=", len=71, subnet=0x0) at subnet.c:250 #1 0x08056b35 in subnet_update (owner=0x80d3c48, subnet=0x0, up=true) at subnet.c:427 #2 0x0804f067 in setup_myself () at net_setup.c:467 #3 0x0804f528 in setup_network_connections () at net_setup.c:546 #4 0x080576a9 in main (argc=5, argv=0xbffffa44) at tincd.c:488 subnet_update is something which got added to net_setup.c between version 1.0.3 and now. Hope this helps in fixing this issue. If you need more info let me know....
2010 Sep 17
1
friend of a friend type darknets
...the ip of its peers. +This enables a FriendOfAFriend mode, where everybody just trusts +his direct peers and noone else. +.Bl -tag -width indent + .It off Incoming packets that are not meant for the local node, but which should be forwarded to another node, are dropped. diff -Nur tinc-1.0.13/src/net_setup.c tinc-1.0.13-patched/src/net_setup.c --- tinc-1.0.13/src/net_setup.c 2010-04-11 04:34:31.000000000 +0200 +++ tinc-1.0.13-patched/src/net_setup.c 2010-09-17 23:38:05.591481035 +0200 @@ -337,6 +337,10 @@ /* Check some options */ + get_config_bool(lookup_config(config_tree, "FriendOfAF...
2009 May 27
0
[PATCH] src/linux/device.c: Fix segfault when running without `--net'.
...cmov/libc.so.6 (gdb) bt #0 0xb7d30463 in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d30175 in strdup () from /lib/tls/i686/cmov/libc.so.6 #2 0x0805bf47 in xstrdup (s=0x0) at xmalloc.c:118 <--- #3 0x0805be33 in setup_device () at device.c:66 #4 0x0805072e in setup_myself () at net_setup.c:432 #5 0x08050db2 in setup_network () at net_setup.c:536 #6 0x0805b27f in main (argc=Cannot access memory at address 0x0) at tincd.c:580 This patch fixes this by checking `netname' in `setup_device'. An alternative would be to check for NULL-pointers in `xstrdup' and return NULL...
2011 Aug 07
1
"Cipher = none" doesn't seem to be working properly
I have a simple pair of nodes set up, connected wirelessly, with tincd 1.0.16 running in switch mode. Setting Cipher and Digest to "none", and Compression to 0, the bridge is still CPU-bound, with most of tincd's CPU time spent in libcrypto. I narrowed it down to this line in net_setup.c: myself->connection->outcipher = EVP_bf_ofb(); It looks as though all outgoing data is encrypted with blowfish, regardless of the Cipher setting. I pulled that assignment of outcipher up to match what happens with incipher, and then my bridge throughput doubled and tincd is no longer sp...
2017 May 27
1
Replacing of non-alphanumeric chars in Name can be confusing
...ose, (3) seems ugly and requires a directory scan. I prefer (1), as administrators are still very likely to get it accidentally wrong, especially when setting up tinc in automated deployments. Thank you! Niklas [1] https://github.com/gsliepen/tinc/blob/5c344f297682cf11793407fca4547968aee22d95/src/net_setup.c#L341 [2] https://github.com/gsliepen/tinc/blob/1.1/src/net_setup.c#L389
2014 May 14
2
Option to turn off listen port, e.g. client only mode
...ort 655 that no one is ever going to connect to. By setting "Port = -1", you would be able to tell tincd to act as client only? Maybe there is already such an option available by doing something else, but I couldn?t find anything in the documentation and I read thru the source code in net_setup.c and didn?t see anything about it either. Does anyone have any thoughts about this? I have just joined the mailing list, so maybe this have been up for discussion before? I?m running tincd-1.0.23, at the moment. Thanks, Kenth Andersson
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...= node->data; - if(c->status.active && c->status.mst && c != from->nexthop->connection) + if(c->status.st.active && c->status.st.mst && c != from->nexthop->connection) send_packet(c->node, packet); } } diff -ubr tinc-1.0.8/src/net_setup.c tinc-1.0.8.my/src/net_setup.c --- tinc-1.0.8/src/net_setup.c Sat Dec 16 13:46:40 2006 +++ tinc-1.0.8.my/src/net_setup.c Thu Sep 25 11:19:53 2008 @@ -437,7 +437,7 @@ myself->nexthop = myself; myself->via = myself; - myself->status.reachable = true; + myself->status.st.reachable =...
2005 Jun 30
1
Forcing tinc to use aes-128 cipher
...work traffic. So far, I'm not having any luck. I've tried putting it into the tinc.conf file, and it turns out that tinc is ignoring that code completely. I'm using tinc 1.0.4 (in TCP mode). Openssl version 0.9.7d. I've made some initial investigation into the source, and in net_setup.c I found a spot where EVP_get_cipherbyname was being called, and that call is being skipped, no matter what I have in the tinc.conf file. So, I changed the default a few lines down where myself->connection->cipher = EVP_bf_cbc(); to EVP_aes_128_cbc(); and I am still not getting aes ecrypt...
2006 Jun 01
1
compile cvs trunk
...src make[2]: Entering directory `/usr/src/tinc/src' gcc -g -O2 -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALSTATEDIR=\"/usr/local/var\" -g -O2 -o tincd conf.o connection.o edge.o event.o graph.o logger.o meta.o net.o net_packet.o net_setup.o net_socket.o netutl.o node.o process.o protocol.o protocol_auth.o protocol_edge.o protocol_misc.o protocol_key.o protocol_subnet.o route.o subnet.o tincd.o ../lib/libvpn.a -lcrypto -lz -llzo graph.o: In function `sssp_bfs':/usr/src/tinc/src/graph.c:278: undefined reference to `device'...
2014 Nov 22
2
Tinc 1.0.24 build failed on OSX Mavericks
...the following error when tried to compile tinc-1.0.24: gcc -g -O2 -pie -L/opt/local/lib -o tincd avl_tree.o conf.o connection.o dropin.o dummy_device.o edge.o event.o fake-getaddrinfo.o fake-getnameinfo.o getopt.o getopt1.o graph.o list.o logger.o meta.o multicast_device.o net.o net_packet.o net_setup.o net_socket.o netutl.o node.o pidfile.o process.o protocol.o protocol_auth.o protocol_edge.o protocol_misc.o protocol_key.o protocol_subnet.o raw_socket_device.o route.o subnet.o tincd.o utils.o xmalloc.o bsd/device.o -lcrypto -lz -llzo2 clang: warning: argument unused during compilati...
2003 Aug 04
1
OpenBSD 3.2 and Release 1
...tinc/src/connection.h U tinc/src/device.h U tinc/src/edge.c U tinc/src/edge.h U tinc/src/event.c U tinc/src/event.h U tinc/src/graph.c U tinc/src/graph.h U tinc/src/logger.c U tinc/src/logger.h U tinc/src/meta.c U tinc/src/meta.h U tinc/src/net.c U tinc/src/net.h U tinc/src/net_packet.c U tinc/src/net_setup.c U tinc/src/net_socket.c U tinc/src/netutl.c U tinc/src/netutl.h U tinc/src/node.c U tinc/src/node.h U tinc/src/process.c U tinc/src/process.h U tinc/src/protocol.c U tinc/src/protocol.h U tinc/src/protocol_auth.c U tinc/src/protocol_edge.c U tinc/src/protocol_key.c U tinc/src/protocol_misc.c U ti...