[tor-dev] [PATCH] Fix some compiler warnings (torsocks)

2015-01-23 Thread Tim Ruehsen
I fixed some compiler warnings that came up with my standard gcc flags, nothing serious. BTW, the code uses some gcc extensions which are not compatible through compilers and/or systems: - pointer arithmetic with void * - function pointer and void * assignments - gcc variadic macro extensions

[tor-dev] [PATCH] Fix clang warning in test code

2015-01-23 Thread Tim Ruehsen
There are still 5 reports from clang analyzer. They are either false positives or (in the test code) 'easy-to-read' programming by purpose (easy to get rid of, but absolutely no need to do). Tim From 5e8bd25a38ffb4b72ab85b6c855720bd9e35ec04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim Rühsen?=

Re: [tor-dev] [PATCH] torify/torsocks and TCP Fast Open

2015-01-14 Thread Tim Ruehsen
Upps, I made a last second failure... Here is the amended (and working) patch. Tim On Wednesday 14 January 2015 14:55:58 Tim Ruehsen wrote: Hi, no answer yet, so I created a first 'works for me' patch to let torified TFO aware clients not leak silently. (I hope I am on the right list here

Re: [tor-dev] torify/torsocks and TCP Fast Open

2015-01-14 Thread Tim Ruehsen
On Wednesday 14 January 2015 09:01:40 David Goulet wrote: On 13 Jan (15:25:35), Tim Ruehsen wrote: Hi, I tried to torify my wget-like application (https://github.com/rockdaboot/mget) and after some struggling I found that TFO is enabled by default (where available). I guess

[tor-dev] [PATCH] torify/torsocks and TCP Fast Open

2015-01-14 Thread Tim Ruehsen
Hi, no answer yet, so I created a first 'works for me' patch to let torified TFO aware clients not leak silently. (I hope I am on the right list here) Please review and apply|comment. Tim On Tuesday 13 January 2015 15:25:35 Tim Ruehsen wrote: Hi, I tried to torify my wget-like application

[tor-dev] torify/torsocks and TCP Fast Open

2015-01-13 Thread Tim Ruehsen
Hi, I tried to torify my wget-like application (https://github.com/rockdaboot/mget) and after some struggling I found that TFO is enabled by default (where available). I guess, the problem is TFO not using connect() but sendto(). Please enlighten me, what I can do (despite turning off TFO).