search for: send_meta

Displaying 4 results from an estimated 4 matches for "send_meta".

Did you mean: send_data
2013 Mar 27
1
send_meta() called with NULL pointer!
...st ps aux wasn't showing it). They logged the following for approx. 20 minutes in the /var/log/syslog: Mar 27 01:52:14 us16 tinc.vpn[9528]: Flushing meta data to <peer_host> (xxx.xxx.xxx.xxx port 655) failed: Connection reset by peer and eventually: Mar 27 01:53:03 us16 tinc.vpn[9528]: send_meta() called with NULL pointer! Any suggestions what could be the reason for this crash and if upgrading to the latest 1.0.20 might prevent it happening in the future very much appreciated. Kind regards, Chris
2006 Jan 14
1
[PATCH] Maintain outgoing TCP meta buffer
Here's a patch that does the steps I mentioned in my last email: - remove BlockingTCP - make send_meta return true on EWOULDBLOCK - add logic to main_loop to watch for write availability of meta connections with non-empty buffers and flush them. It fixes the extra packets with TCPOnly and should resolve the problems that made BlockingTCP necessary also. (No testing of that last bit.) The buf...
2006 Jan 13
1
[PATCH] tcp options fix
Attached is a patch that corrects two problems with TCP options: * The options on accepted sockets don't inherit from the listen socket, at least on Linux and OS X. * OS X doesn't have SOL_TCP defined, so Nagle was not getting disabled. IPPROTO_TCP should always be the same thing. This patch makes my ping times across a TCP VPN go from ~180 ms to ~85ms. Something still doesn't
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...mp;outlen, (unsigned char *)buffer, length); if(!result || outlen < length) { @@ -126,7 +126,7 @@ for(node = connection_tree->head; node; node = node->next) { c = node->data; - if(c != from && c->status.active) + if(c != from && c->status.st.active) send_meta(c, buffer, length); } } @@ -170,7 +170,7 @@ while(lenin > 0) { /* Decrypt */ - if(c->status.decryptin && !decrypted) { + if(c->status.st.decryptin && !decrypted) { result = EVP_DecryptUpdate(c->inctx, (unsigned char *)inbuf, &lenout, (unsigned char *)...