Guus Sliepen
798fa2f04c
Use 64 bit counters to keep track of bytes sent/received from the virtual network interface.
2010-06-04 15:04:08 +02:00
Guus Sliepen
4c85542894
Drop support for localisation.
...
Localised messages don't make much sense for a daemon, and there is only the
Dutch translation which costs time to maintain.
2009-09-25 00:54:07 +02:00
Guus Sliepen
a227843b73
Remove checkpoint tracing.
...
This feature is not necessary anymore since we have tools like valgrind today
that can catch stack overflow errors before they make a backtrace in gdb
impossible.
2009-09-25 00:33:04 +02:00
Guus Sliepen
5dde6461a3
K&R style braces.
...
This is essentially commit f02d3ed3e1
from the
1.1 branch, making it easier to merge between master and 1.1.
2009-09-25 00:14:03 +02:00
Guus Sliepen
ab7c61b06f
Update the address of the Free Software Foundation in all copyright headers.
2009-09-25 00:01:00 +02:00
Guus Sliepen
c217d214f4
Remove all occurences of $Id$.
2009-09-24 23:39:16 +02:00
Guus Sliepen
b47c17bcde
Use a mutex to allow the TAP reader to process packets faster on Windows.
...
The TAP-Win32 device is not a socket, and select() under Windows only works
with sockets. Tinc used a separate thread to read from the TAP-Win32 device,
and passed this via a local socket to the main thread which could then select()
from it. We now use a global mutex, which is only unlocked when the main thread
is waiting for select(), to allow the TAP reader thread to process packets
directly.
2009-09-15 22:59:01 +02:00
Guus Sliepen
78fc59e994
Update THANKS and copyright information.
2009-03-05 14:12:36 +01:00
Guus Sliepen
a39a9506cd
Move free()s at the end om main() to the proper destructor functions.
2009-01-09 12:36:06 +01:00
Guus Sliepen
b069da90d6
Consistently allocate device and iface variables on the heap.
...
This fixes a segfault when no Device has been specified and tinc exits, and it
would try to free() a static string. Thanks to Borg for spottin.
2009-01-03 22:06:10 +01:00
Guus Sliepen
6af8900f8e
Don't free struct addrinfo too early. Spotted by Christian Cier-Zniewski.
2007-05-16 14:46:25 +00:00
Guus Sliepen
a1e72f84d0
Update copyright notices.
2007-01-05 13:18:36 +00:00
Guus Sliepen
40f02ff8ee
Tapreader socket should be bound to localhost only.
2007-01-04 15:28:36 +00:00
Guus Sliepen
03f3fc01e8
Use a ringbuffer in shared memory to transfer packets from the tapreader thread to the main thread.
...
It's a wonder it ever worked before. The socket that is created is not of a
datagram type, therefore packet boundaries were not preserved, which becomes
a problem as soon as the TAP-Win32 device receives packets in fast succession.
2007-01-03 18:18:54 +00:00
Guus Sliepen
de78d79db8
Update copyright notices, remove Ivo's email address.
2006-04-26 13:52:58 +00:00
Guus Sliepen
df3220a154
Update copyright notices.
2005-05-04 18:09:30 +00:00
Guus Sliepen
1f00810da3
static
2004-11-01 17:02:19 +00:00
Guus Sliepen
58153cca98
Allow tinc to work with the latest TAP-Win32 driver.
2004-10-01 18:26:15 +00:00
Guus Sliepen
7926a156e5
Update copyrights, links, email addresses and let Subversion update $Id$ keywords.
2004-03-21 14:21:22 +00:00
Guus Sliepen
f2ebdf7580
Set media status for newer TAP-Win32 driver.
2003-10-08 11:37:53 +00:00
Guus Sliepen
ef65a64443
Better error checking and reporting.
2003-08-08 19:49:47 +00:00
Guus Sliepen
6f30995955
Typo.
2003-08-08 17:20:12 +00:00
Guus Sliepen
5193a14dde
Use our own port when connecting to ourself.
2003-08-03 21:45:41 +00:00
Guus Sliepen
c044d12dfd
Cleanups and error messages.
2003-08-02 21:33:19 +00:00
Guus Sliepen
3fd96ebec7
Error messages.
2003-08-02 21:01:50 +00:00
Guus Sliepen
998ac634d4
Wrong function...
2003-08-01 08:18:22 +00:00
Guus Sliepen
2ed154e731
Cleanups.
2003-07-29 23:21:01 +00:00
Guus Sliepen
721e4caee0
Native Windows support.
2003-07-29 22:59:01 +00:00
Guus Sliepen
586f15ed20
Make sure (at least) the MinGW device driver works.
2003-07-29 12:38:49 +00:00
Guus Sliepen
ae50b0077e
Update dutch translation and make sure all device drivers are included in
...
the translation and distribution.
2003-07-29 11:06:23 +00:00
Guus Sliepen
c15e8a96bf
More generic handling of tap device under Windows.
2003-07-28 21:54:03 +00:00
Guus Sliepen
eefa28059a
Use bools and enums where appropriate.
2003-07-22 20:55:21 +00:00
Guus Sliepen
bad82522ec
Copy cygwin driver to mingw directory. It doesn't work (yet).
2003-07-21 15:51:00 +00:00