Home | Back
commit b133776cd380fa28ddbc99b67b864e8bed8a7878
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Mar 30 21:51:34 2013 +0100

    Replace FATAL_ERROR with WARNING
    
    If ENABLE_CXX is not set when ENABLE_PYTHON is, print a warning and set
    it. It's less painfull :)


commit 02180e10cfba781c2901d87602e07fae31200c23
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Mar 30 21:44:46 2013 +0100

    Unbreak compilation of python binding


commit e8d7e4741030535413c673926ccc47c2113d1981
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Mar 30 01:32:04 2013 +0100

    Correct the path of C++ binding


commit a7501706a27f9d7a0b1e9ddcef4e691462af6a21
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Mar 29 15:22:22 2013 +0100

    Add a README in bindings/

create mode 100644 bindings/README

commit eebd8ff885652512bd2ce771f8bd33e2d2eaf595
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Mar 29 15:18:33 2013 +0100

    Move bindings stuff to bindings/
    
    Also include bindings/*/CMakeLists.txt conditionally from the root
    CMakeLists.txt.

create mode 100644 bindings/cpp/CMakeLists.txt
create mode 100644 bindings/cpp/tuntap++.cc
create mode 100644 bindings/cpp/tuntap++.hh
create mode 100644 bindings/python/CMakeLists.txt
create mode 100644 bindings/python/__init__.py
create mode 100644 bindings/python/pytuntap.cc
delete mode 100644 cpp/tuntap++.cc
delete mode 100644 cpp/tuntap++.hh
delete mode 100644 python/__init__.py
delete mode 100644 python/pytuntap.cc

commit f51d5d9288037f90273ff307712aa0fca1b01542
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Mar 29 11:36:30 2013 +0100

    Add two options ENABLE_{CXX,PYTHON}
    
    Theses options wrapps Fabien's work (@drepdash) and are disabled by
    default.


commit 4977b1432a5f2e27263d9fff48e05004afe3c70e
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Wed Mar 27 23:01:24 2013 +0100

    Make a read python module, wrapping the c++ binding

create mode 100644 python/__init__.py

commit aba1a0eb7dd6859a6549232b6948a968f7e9ad31
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Sun Mar 24 19:39:04 2013 +0100

    C++/python: add a native_handle method in order to get the tuntap FD
    
    This will allow to create a 'file' in python thanks to os.fdopen


commit 6b3be70d4ddb958a93776a34fdef348f28153055
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Sun Mar 24 19:38:21 2013 +0100

    First 'oops' for python binding :)


commit 97bb53c01776f15c4201148241cb299e674720d5
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Sun Mar 24 19:17:51 2013 +0100

    Fix typo


commit bba82b616b5b63d48f40f53cf7e6bbc59262e236
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Sun Mar 24 19:17:23 2013 +0100

    Add a python binding

create mode 100644 python/pytuntap.cc

commit 1b50d102ccc64c368cdfba7a970b9e3832123bfc
Author: Fabien `chipot' PICHOT <pichot.fabien@infinit.io>
Date:   Sun Mar 24 19:16:29 2013 +0100

    Write a simple C++ binding

create mode 100644 cpp/tuntap++.cc
create mode 100644 cpp/tuntap++.hh

commit ae2d672cf765dd9ede38499e265cc931332d15a5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 29 15:52:40 2012 +0100

    test17 seems to work on Windows


commit 030dbebc4f67c1cdd5f36ddd2fd22e4f8d3212b9
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 29 15:52:24 2012 +0100

    Export tuntap_log
    
    Prevent a segfault for test38 on Windows.
    The same problem hapened for Darwin, but has not been fixed yet.


commit bb392fd7e75d8ceb0117cd2402efb3af13fe6b00
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 29 15:22:02 2012 +0100

    Sync tuntap_get_hwaddr on Windows


commit 8e3e0e053e9d4bda56fced910b5be83ea9769ac7
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Nov 27 15:01:59 2012 +0100

    Add the version number in README


commit c5a3e28dce54e22d4c7395abc39050fcd38c8492
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Nov 27 14:48:23 2012 +0100

    Bump shared library minor version number.
    
    https://github.com/lvc/abi-compliance-checker showed that only the source compatibility was broken compared to release 0.2.


commit 88c2dfb5847ca1aa50f2dc57c9ec82aa3f3b9eae
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Nov 27 14:47:40 2012 +0100

    Add tuntap_version()


commit 80d51901350eb7fe4ea6dda13a7a63eb7158a0a4
Author: mota <pierre.wacrenier@gmail.com>
Date:   Tue Nov 27 12:23:49 2012 +0100

    Update doc/api.md
    
    Spelling correction.


commit 4d20ae185229b0095a558121ec979c3b6de04c47
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Nov 27 11:56:10 2012 +0100

    Add a basic API description in markdown

create mode 100644 doc/api.md

commit cb3ded2385bf938478d651241f0c7c6dc0eb92ad
Author: Tristan Le Guern <tristan.leguern@gmail.com>
Date:   Tue Nov 27 10:33:43 2012 +0100

    Update README
    
    Add two lines in Features.


commit c01b5e7175b6b5622142471961fc58934021c62d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 22 15:51:28 2012 +0100

    Match libevent behaviour for thr log callback


commit b4b0863d647f4438a88247ee083b907c6c6fb50b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Nov 21 20:23:35 2012 +0100

    Add a comment in test13
    
    Document the fact that calling tuntap_set_ip() after tuntap_up() on
    Windows doesn't work.


commit 4168a321deb9a7f681f8016319542c5c2298152b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Nov 19 11:11:54 2012 +0100

    Correct a warning


commit cfdaf0a714cd8435ad568c71ea9f61125fc9bbc2
Author: Pierre Wacrenier <pierre.wacrenier@epitech.net>
Date:   Sat Nov 17 14:14:00 2012 +0100

    Fix on OS X portability, now compiles


commit 9390d960bdd5c3c8d47f6129bd67bc52835e9927
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Nov 14 00:39:53 2012 +0100

    Update CMakeLists.txt and regress/CMakeLists.txt
    
    Yes, I already did it on master. This is for CDash.


commit 9a659de4c74a0d4f8b5d1fe2eafaa9f5c449c7d5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Nov 14 00:35:54 2012 +0100

    Modify CMakeLists.txt to include the goot tuntap.h


commit b1fff7213fc884c3a25f2d47254e972139b1716c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Nov 12 15:40:33 2012 +0100

    Check for tun < 0 on Linux
    
    While here, clarify a bit test3{3,6}.sh


commit 111b6fda082f41b564999b0615e804fd06142e41
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Nov 9 20:27:27 2012 +0100

    Windows now select the first tap driver
    
    Cool :D


commit 53ac5f2fe55a83da29c26e9ffed77a536b145c48
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Nov 9 12:42:19 2012 +0100

    Minor corrections


commit fa393f2544bc9d8fecb7e4da9b7d170244f8149e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Nov 9 12:22:14 2012 +0100

    Re-enable Windows in CMakeLists.txt
    
    Was break since 66e850352346d1219ddea42b9089b6a7eb739662


commit fb90243ec99856827a1b3bf5aca0a012bf637b98
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Nov 9 12:07:40 2012 +0100

    test13 is now working on Windows


commit 6f03dd4f9ed404cf234c33e9b2cb2a2752153b23
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 8 21:04:13 2012 +0000

    Clean regression tests handling
    
    - Split CMakeLists.txt in two
    - Handle both testXX.c and testXX.sh
    - Cancerously install shell-based tests in build directory

create mode 100644 regress/CMakeLists.txt
create mode 100644 regress/helper33.c
create mode 100644 regress/helper34.c
create mode 100644 regress/helper35.c
create mode 100644 regress/helper36.c
delete mode 100644 regress/test15.c
delete mode 100644 regress/test16.c
delete mode 100644 regress/test19.c
delete mode 100644 regress/test20.c
delete mode 100644 regress/test33.c
create mode 100644 regress/test33.sh
delete mode 100644 regress/test34.c
create mode 100644 regress/test34.sh
delete mode 100644 regress/test35.c
create mode 100644 regress/test35.sh
delete mode 100644 regress/test36.c
create mode 100644 regress/test36.sh
delete mode 100755 regress/testPD
delete mode 100755 regress/testPR

commit 00be4a79245caa657a1f7e9eeee263fbf0f47829
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Nov 8 11:20:17 2012 +0000

    memcpy -> strlcpy leftover cleaning


commit c5d9922240b6ad343f47678c04d86b565e373a57
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Nov 5 14:03:38 2012 +0100

    Unbreak Linux


commit cd842c4f978ad2844345eafc2ee22f04ac064660
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Nov 2 20:49:24 2012 +0100

    Support tuntap_sys_set_ipv4() on Windows
    
    Also add two new privates types for Windows portablity, wich lead to
    change in the tuntap_sys_set_ipv?() prototypes.
    
    Its effects are untested on Linux, *BSDs, ect.


commit beca8e77020544a061e88a6137461a2ecbf971d4
Author: Antoine Marandon <ntnmrndn@gmail.com>
Date:   Fri Nov 2 20:32:52 2012 +0100

    Fix static warning


commit 0f87a33c383cf390d53cb77347959ad6c261eff4
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 19 19:57:34 2012 +0200

    Add a non-working tuntap_sys_set_ipv4 on Windows
    
    The call return a success but the address is not set.


commit f46154d8cfa902bb3e76b8d56405e86a18051bc9
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 19 19:16:12 2012 +0200

    Smoother windows regression test


commit 99bd3800b2755194dabab4036a3e0c1429954bb3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 19 19:15:21 2012 +0200

    More stuff on Windows
    
    Move tuntap_set_ip() in tuntap.c, as it is portable, and implement
    tuntap_get_hwaddr(), tuntap_get_mtu(), tuntap_read(), tuntap_write(),
    tuntap_up() and tuntap_down().


commit 3a28f12d59eac9bdc91f2c082e981fddc6ca139c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 19 11:18:52 2012 +0200

    Add error messages and change some error level
    
    Every message saying "Your system does not support *" is
    TUNTAP_LOG_NOTICE.


commit 4ac14680adb657cb99259e132eb263654776d50f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Oct 18 18:39:59 2012 +0200

    New stuff for Windows
    
    Support the creation of a tap driver, and nothing else.


commit 3b886afcaeeb3176ce21cbcb18fc893ebf8ae2ea
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 16:58:15 2012 -0500

    It's SIOCSIFNAME which allow to change the name


commit 86508dac5d1831448b2de82bb30d08bb27a9de03
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 16:57:15 2012 -0500

    It's not an error to fail tuntap_set_debug


commit 390dc64eb974075a5a02f587ab170f4051d56840
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 16:34:08 2012 -0500

    Unbreak Linux
    
    Fuck. Never save ifr.ifr_name before calling SIOCGIFFLAGS


commit 924da23dd67f9707d94a2e34b62178346353f454
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 22:23:20 2012 +0100

    DragonFlyBSD has a working tuntap_set_debug() too


commit 3ee02125f6726d9144959f36bb6a1b8b8e36d371
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 22:18:51 2012 +0100

    Support DragonFlyBSD


commit 40ae7c81cbd025bde2563babf2d0a51749e69a41
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 15:41:42 2012 -0500

    Add more tuntap_log() on Linux


commit ad34889c62b3398c99c37babeb14d868092be392
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Oct 10 20:23:57 2012 +0100

    Move tuntap_sys_set_descr out of tuntap-unix-bsd.c
    
    It's not supported on Darwin and NetBSD, and FreeBSD and OpenBSD
    don't have the same interface.


commit aa73c68f273311b88b191a21aef4cc6b863cc286
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 00:48:11 2012 -0500

    Call TUNGETIFF if !TUNTAP_IF_ANY on Linux


commit f7cf10b3c3cf05a682a55777318de4db54aac085
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 00:21:04 2012 -0500

    Unbreak Linux and add more error messages


commit 6c3fe5d21c5e98a13db2f091d465eadb09973de1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Oct 6 16:51:02 2012 -0500

    Force traditional device naming with tuntap_start
    
    This is for Linux only, as it will happily accept "tun-1"


commit 45d26e652c77e6a6ce2d4f5838535525c70a5280
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Oct 6 16:30:30 2012 -0500

    Set the interface name before its creation
    
    On Linux the interface name was wrongly set: it was left to the
    kernel every time, even when it was explicitely set.


commit 0d2185f2d3eb30634fedd18d75877c010246baf2
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Oct 6 16:27:45 2012 -0500

    Correct the TUNTAP_MODE_PERSIST bits on Linux
    
    So tuntap_destroy() will really destroy the interface :)


commit bfbc88cd19062654070aeed1003731aa6dfec57b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 5 16:45:55 2012 +0200

    Add full path for test3{3-6} in CMakeLists.txt


commit d8d1a4ab70ce9cb192f86da630fe0c388550f820
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 5 16:37:30 2012 +0200

    Try to make TESTP? portable among UNIXes


commit f35b0f4e5c5fb0e75011712a6d6f2fa4053fdc8c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 5 16:18:44 2012 +0200

    Shrink testXX in two, to check release and destroy

create mode 100755 regress/testPD
create mode 100755 regress/testPR
delete mode 100755 regress/testXX

commit a13e62b6dc1a9133d88667a4e7e3f3771a9b82ba
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 5 15:58:28 2012 +0200

    Include the tests rules in the main CMakeLists

create mode 100755 regress/testXX

commit 84b596c39bdafb36fac8589b3c806e16ba5f864e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Oct 5 12:21:02 2012 +0200

    Update some IFNAMSIZ and hard-coded ETHER_ADDR_LEN


commit 6a81c09b4abd3eba7fef73c0f9241b2aeadbf84b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Oct 4 16:06:11 2012 +0200

    Update macros and types differences in tuntap.h


commit f792918345e417c2d66d9ca70ed351931675223b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Oct 4 14:34:01 2012 +0200

    Include regression tests in the main CMakeLists
    
    Depending on the option ENABLE_REGRESS, the regression tests will
    or will not be compiled with libtuntap.
    
    They depend on libtuntap.so

delete mode 100644 regress/CMakeLists.txt

commit c2bbae821c60e1f7282874c0adb3fac16e717787
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Oct 4 12:37:01 2012 +0200

    Allow Linux tap device to be usable again
    
    tuntap_sys_start() sigsegv'ed on 32-bit Linux systems, because I passed
    a 'struct ether_addr' to SIOCGIFHWADDR instead of a 'struct ifreq'.
    
    Pointed out by Fabien Pichot and Florent Tribouilloy


commit 023a227357a0b91f70a6e803129a61c6860d63d2
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 28 16:08:07 2012 +0200

    Add a missing include file for Linux


commit 5dfa420de29997c1b06bebdcea48b4743a094a94
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 28 14:59:46 2012 +0200

    Allow Linux to build again
    
    Linux defines TUNSETDEBUG, not TUNSDEBUG like {Open/Net}BSD do.
    Pointed out by Fabien Pichot.


commit 12bf957c7bf99f607c7d21fdfb5b18e150d8ab65
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 16:27:15 2012 +0200

    Move the #if !defined Darwin
    
    In order to export tuntap_set_debug() symbol


commit 6384c219247444e8bac2e6160188089ae8766fdd
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 16:23:24 2012 +0200

    Announce Darwin as supported
    
    2 regression tests still fail, test37 and test38, they concern tuntap_log()


commit 5a51e2d86f215c318eaccae57d7df295376b9c6c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 16:13:44 2012 +0200

    Get the initial MAC address on Darwin :)
    
    "Classic" ioctl() calls to get MAC address fail on tuntaposx, so just
    get it with getifaddrs()


commit 3930dcef7bdc8fe6dafa6d3ba77871101d77d64e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 14:30:49 2012 +0200

    Two fixes for Darwin
    
    This patch ifdefed an include  of net/if_tun.h and the definition of
    tuntap_set_debug().
    
    The last part is obviously not a good solution at the moment, I will
    deal with it later.


commit 40ee41a197987cef561dfcceefcfb8d56f9b589d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 14:29:17 2012 +0200

    Replace a call to printf() with tuntap_log()


commit 47c681e992b5fef51559e20dd958bbd312a9ec2f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 12:17:03 2012 +0200

    Allow libtuntap to build again on UNIXes
    
    Stupid windows.h


commit cbce7b3f53e787247f25d45930fd81b0fb400139
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Sep 27 12:11:32 2012 +0200

    test06 to test39 now build fine on Windows


commit 9ba12c9a537f7cfaffc137bfe4bc8926810d081b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:41:54 2012 +0200

    Update the README


commit bd008e10fb627346eb51ec4ee3e49cdcf5c76428
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:38:53 2012 +0200

    Add a skeleton file for the future AIX port

create mode 100644 tuntap-unix-aix.c

commit b1e6dadf6413a37ccb2c55f886436513d9459b1a
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:36:08 2012 +0200

    Remove garbage


commit feec99b6e6f1dbcb654a3281b07b1d00e409e028
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:21:24 2012 +0200

    test01 to test05 now compile on Windows
    
    It's a boring missing include file. Fuck. I will do a bit at a time.


commit b8ec92d9d5360c5e1534c9935b6b399e460ad3be
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:17:20 2012 +0200

    Remove the non-portable unistd.h header from tests


commit d5dbc2b4d5c53d325a87d5ed3700ab53edccde74
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 14:00:29 2012 +0200

    Add test39, to test tuntap_set_debug()
    
    There is not a lot of thing tested here, because the interface is
    not fully designed yet.
    
    The test is marked as WILL_FAIL because this feauture, if presents,
    is not compiled by default on the operating system side.

create mode 100644 regress/test39.c

commit 650d3d69ea179fed0ce55b6edc52b4f5bda47d39
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 13:58:46 2012 +0200

    link_directories() rule isn't the same on Windows


commit 71f4a229bd2dbe50ee62bf74342d67cc67a4c613
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 13:57:12 2012 +0200

    Only add the 'lib' prefix on Unix systems


commit 0326f4b662a4b8b6d5c13e65acc51809855a4592
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 13:36:45 2012 +0200

    Fix other missing bits in tuntap-windows,c


commit 243e04a82d88783a4ebc74447f03ab6a755b00d4
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 11:49:53 2012 +0200

    Fix compilation issues related to Windows headers


commit a492acb514d6381668651c3024adeec3794c85ec
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 24 13:16:34 2012 +0200

    Add a CMakeLists.txt into regress/
    
    The regression suite is now handle by CMake, but it has some limitation.
    
    The libtuntap must be build in the build directory at the root of the project:
        $ mkdir build
        $ cd build
        $ cmake ..
        $ make
    
    It's the same for the regression tests:
        $ cd regress
        $ mkdir build
        $ cd build
        $ cmake ..
        $ make
        $ make test
    
    If you want to build the tests differently, edit the CMakeLists.txt file

create mode 100644 regress/CMakeLists.txt

commit d120bf87847b9a6811c0a8968bc4922ca529ea9c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 17:53:08 2012 +0200

    TODO/XXX and ideas, nothing usable


commit 90603c617b277a11061a2f1e5a056c9bff7fb519
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 16:00:23 2012 +0200

    Add tuntap_sys_destroy() in tuntap-windows.c


commit b7c73c2b43591bfdcabc9c643bf8a1725103f0a0
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 15:59:50 2012 +0200

    Link with Ws2_32.lib on Windows


commit b8d5313de0e648018bedac0988ffe7987bb5edfc
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 15:49:20 2012 +0200

    Move back tuntap_release() in non-portable files


commit b9391b5c0323e08ed38438ffc2394fd4ae5f632e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 15:36:33 2012 +0200

    Move portable code to tuntap.c
    
    tuntap.c holds globally portable code, while tuntap-unix.c holds
    code portable among all Unixes

create mode 100644 tuntap.c

commit ea269adc1a3b0d8b73fa411a02d2606c516c2aba
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 14:56:40 2012 +0200

    Correct 'Windows' spelling in CMakeLists.txt
    
    From WINDOWS to Windows


commit 79e68d9d5b2885e55e16ca093d2d8965ad8c104f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 21 12:28:34 2012 +0200

    Portable code is now portable on Windows
    
    I added some macro and ifdef goo to build nicely on Windows


commit 716b9f5f6e56903279a8fa7406f40ada58098ee1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 17 17:49:49 2012 +0200

    Abandon IPv6 for now


commit 89d583e4030ba42687fdb1bb7ec17a3cbd4ff71f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 10 19:12:26 2012 +0200

    Make room for the incoming Windows porting effort

delete mode 100644 tuntap-darwin.c
delete mode 100644 tuntap-freebsd.c
delete mode 100644 tuntap-linux.c
delete mode 100644 tuntap-netbsd.c
delete mode 100644 tuntap-openbsd.c
delete mode 100644 tuntap-sunos.c
create mode 100644 tuntap-unix-darwin.c
create mode 100644 tuntap-unix-freebsd.c
create mode 100644 tuntap-unix-linux.c
create mode 100644 tuntap-unix-netbsd.c
create mode 100644 tuntap-unix-openbsd.c
create mode 100644 tuntap-unix-sunos.c
create mode 100644 tuntap-unix.c
create mode 100644 tuntap-windows.c
delete mode 100644 tuntap.c

commit a68c615ed3a8a224c1ee8df6244aaa4d085a6bae
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 10 17:42:20 2012 +0200

    Add tuntap_set_debug()


commit 3eca29f8d9a507cd875dbe5c4df3b1bd54849832
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 10 17:27:39 2012 +0200

    Add tuntap_set_nonblocking()


commit 055de178cdb2927f9106ad943ed599de336c12ab
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 10 17:18:48 2012 +0200

    Add tuntap_get_readable() with a fallback for Linux


commit 6277cc7e18c7ed18e5bf84c738427c5261a787a3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Sep 10 18:16:24 2012 +0200

    Remove error if SIOCDIFADDR calls fail


commit 3109bfb902d93d029a05ff03a9d8914e7fc070d1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 7 21:11:40 2012 +0200

    Another try


commit 4a3ea722ed49881e957530722e8d9e7ed88a1153
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Sep 7 18:35:59 2012 +0200

    Try to find out why tunnels are broken on OpenBSD


commit 60a07bde6f6b110a84d4838139c251d20fd4037e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 31 19:25:26 2012 -0500

    Fix a regression in Linux


commit 658c51ee2255645c61f76655c1fec398a795a395
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Aug 18 14:16:19 2012 +0100

    Correct a wrong debug output


commit d322143700d6bfec83e737bf8fcdf601c3e28a35
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Aug 18 13:59:39 2012 +0100

    Change (again) tuntap_sys_set_ipv{4,6} prototypes
    
    But it might the last one ;)


commit a42c1339e74d61db41da165f390f96e1c2682899
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Aug 1 00:14:17 2012 +0200

    reorder


commit 04e68d0c77da996ec2d081ab822d1609f768054c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 31 17:00:51 2012 -0500

    Change default install directory for Linux


commit 38198a17d0dafd08bc4845bcbb3cc85191c38d55
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 31 16:57:38 2012 -0500

    Save MAC after creation of a tap device on Linux


commit b91ad00d3ffbae9572b7e2b1c900e4c57da7739f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jul 30 16:02:30 2012 +0200

    Remove a call to sleep()


commit b88d482de4e14e7984fca2a68dda1bf4cea98fe3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jul 30 14:53:42 2012 +0200

    Build shared library too
    
    Solve task {T115}


commit f4ca22697e012cd4a37d6b26cd3fb82fd374ffb3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 28 01:41:28 2012 +0200

    Remove a wrong XXX coment


commit 63441ad4d60659419ba1671985f8676dc6b5fc0b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 28 01:41:00 2012 +0200

    Add one space


commit 0f297210447e9dce9e296fba4671a66198f39ab3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 28 01:33:46 2012 +0200

    Correct tuntap_sys_set_hwaddr() for Darwin


commit 775980eb0006cad227d30d6bb9731b42d5ee44ad
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 28 01:31:18 2012 +0200

    Add a buggy support of IPv6 for OpenBSD


commit 4a0286918b1864d03192415b8a58cff7cd20fc99
Author: Antoine Marandon <ntnmrndn@gmail.com>
Date:   Sat Jul 28 00:58:21 2012 +0200

    Correct few mistakes for darwin. Now works !


commit bafcdd609ebae2a9ee3a0e0c68cbb1c5d0f2c036
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 6 11:47:49 2012 +0200

    Correct tuntap_log_hexdump output


commit 405c2adbe0e4b5f41c2fa86b7a136c61120fd68e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 6 16:31:51 2012 +0100

    Correct warnings in regress/
    
    Conflicts:
    
     regress/test37.c


commit d6a087025f8ff0cfdbfccc696451c79eb7f35aad
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 27 11:55:02 2012 +0200

    Support Darwin in the CMakeLists.txt


commit 5e27af2dfece94200e11774cf2c29797b48e4c61
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 26 18:56:24 2012 +0200

    Clean-up printf and trailing newlinew


commit bfed4abfef9e5980115306c55986412dd57a6656
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 26 17:44:37 2012 +0200

    First step for Darwin port
    
    This is a rough implementation I blind coded following the driver documentation.
    This needs testing!


commit 79f524eab6ff5a0aa9995234963fbb244d2ef1d3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 26 17:28:36 2012 +0200

    Update tuntap_sys_set_ip() on NetBSD


commit b4b248a2aeae425e2cd18731f982d49737613544
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 26 14:11:51 2012 +0200

    Add skeletons for FreeBSD, Darwin and Solaris

create mode 100644 tuntap-darwin.c
create mode 100644 tuntap-freebsd.c
create mode 100644 tuntap-sunos.c

commit 4a744bfbfb31aa5ad31bdebac6452cf6b02b6981
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 26 12:31:08 2012 +0200

    Document test38


commit eb1452ce57540c1f17150154fc31ccc526d546b3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 24 23:11:35 2012 +0200

    Avoid warnings in test37.c


commit 2153cd710bd7bfa4479d52d4cf22e84d562e5538
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 24 23:10:52 2012 +0200

    Add log levels to tuntap.h
    
    They are not used in libtuntap yet, so don't count on them.

create mode 100644 regress/test38.c

commit 6031b5a3733a0c6a699c08aff363a9012f0e0b18
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 24 22:51:33 2012 +0200

    Shorten TUNTAP_TUN* to TUNTAP_*
    
    It means that TUNTAP_TUNID_ANY is now TUNTAP_ID_ANY and
    options like TUNTAP_TUNMODE_PERSIST is now TUNTAP_MODE_PERSIST.


commit 3b5073bdd3c271ee80dc58e10611b9861cb538ce
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 24 22:37:59 2012 +0200

    Sort #include in tuntap-openbsd.c


commit 4b62ac410a9d70efe1d0b3ba2dc5d1d6df24b8be
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 24 22:33:37 2012 +0200

    Preparation for IPv6 support
    
    This diff adds:
       - Four tests which will fail on every systems for the moment;
       - tuntap_sys_set_ipv{4,6}() system specific calls;
    
    System specific implementation of tuntap_sys_set_ipv6() will come later.

create mode 100644 regress/test15.c
create mode 100644 regress/test16.c
create mode 100644 regress/test19.c
create mode 100644 regress/test20.c

commit 190871c5588e6e2fdec61a9a3ced0318c8ed0d8e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 13 16:23:20 2012 +0100

    reorder include


commit 0b14b07c83334c99db09fa0d548d47402480ec2e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 04:28:12 2012 +0100

    NetBSD and Darwin seem to not support SIOCSDESCR


commit 909e31cc2fb48695d2545b00648003060059ca68
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 22:49:02 2012 +0100

    Byebye, cryptic error messages!
    
    This patch:
       - Rewrite all the error messages
       - Link tuntap-unix-bsd.c on Darwin
       - Make use of the first parameter of tuntap_log()
       - Rewrite tuntap_log()


commit b7c0636fed8ba94ecf9e6fa08cfa236148b0ab5a
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 21:42:21 2012 +0100

    Add tuntap-unix-bsd.c to hold some tuntap_sys_*
    
    tuntap-unix-bsd.c hold:
       - tuntap_sys_set_ipv6()
       - tuntap_sys_set_ifname()
       - tuntap_sys_set_descr()
    
    This file is linked for FreeBSD, NetBSD and OpenBSD

create mode 100644 tuntap-unix-bsd.c

commit 26d53c3350c3d5f599702f4a642cb2873f3e7e37
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 21:33:26 2012 +0100

    libtuntap.so.2.0


commit 2ce4b76c8434891df682d8677c376a9a1c49611d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 21:17:36 2012 +0100

    FreeBSD is in current porting effort


commit 944d86e18d062f9d06dacc4fcc5b1ba6cb1abb92
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 21:16:55 2012 +0100

    Mark test44 as WILL_FAIL for non BSD systems


commit 9ad0b1ddac73e34deed7d8d58caaa7dae2ee8c9e
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 21:10:33 2012 +0100

    Add support for tuntap_set_descr()
    
    This patch concerns OpenBSD, NetBSD and FreeBSD, but has been tested
    only on the last one.
    
    This patch also include two regression tests:
    - One to test tuntap_set_descr() with a valid description
    - One to test tuntap_set_descr() with an invalid description

create mode 100644 regress/test44.c
create mode 100644 regress/test45.c

commit d6c6d99db882fbe1f29773bd0815aa17bd336544
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 20:38:39 2012 +0100

    Link the tests in the CMakeLists.txt


commit 43387da6aab384bb93829cdcb00dfdbe7ff6f041
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 20:19:08 2012 +0100

    Add three regression tests for tuntap_set_ifname()

create mode 100644 regress/test41.c
create mode 100644 regress/test42.c
create mode 100644 regress/test43.c

commit 0a2b094ddd1412d09f8e8a7efbd4f9d8b95202ec
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 20:14:06 2012 +0100

    Add support for tuntap_set_ifname()
    
    This is only available on Linux


commit 646d68f7caba959fad6743504ece4cdd07ae39cd
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 19:39:43 2012 +0100

    Try to uniformize a bit all the tuntap_sys_start()
    
    This patch concerns Linux, FreeBSD and OpenBSD.
    I tried to move the same pieces of code and comments at the same
    place in the function everytime it was possible.


commit 29a2225f9dad6df756e29948b9263d117856e52c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 18:54:36 2012 +0100

    Port to FreeBSD
    
    Regression tests seem to pass, but it's a lie.
    - tun devices might be not that usable
    - tun and tap devices are persistents by default
    - it's actualy not possible to destroy a device


commit 26ee06eebd244ea473ef11b851943fe73bf15ae6
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 14:16:23 2012 +0100

    Disable debug at start-up
    
    This impact NetBSD and FreeBSD


commit 8b77d9f98907431d44c500469262f32693b550fa
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Oct 7 14:15:27 2012 +0100

    Move a preprocessor configuration in tuntap.h


commit 6094ce6f0c3c4f3b6419c1afb9c69a74901840d2
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 03:56:58 2012 +0100

    Correct an old bug on NetBSD


commit cd20d67e4304c9e79eff9d773258ed634d1c9df5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 03:34:58 2012 +0100

    Pass test32 on NetBSD
    
    I didn't get any good result with SIOCGLIFADDR so NetBSD use the same
    code as Darwin: it uses getifaddr()


commit abf3e34b347ac8696687c7304ad4e820c585d9fe
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 00:20:38 2012 +0100

    Correct the if(!NetBSD) in CMakeLists.txt


commit 37d72fb6c01652a5bd0e223be18417656287895d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 00:06:05 2012 +0100

    Add test40 to also test debug on a tun device

create mode 100644 regress/test40.c

commit 5a0e9b20844d3cd8a4413150012226ffee6ed0c6
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Jul 7 00:00:18 2012 +0100

    Don't settest39 has WILL_FAIL on NetBSD


commit 339d67291b287f4ba5a108514f3f638a4f5ee3f4
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 6 23:37:39 2012 +0100

    Unbreak build on NetBSD


commit 2df7a7f907a03f7e2a7046dc2acc4d5e6c3ffcd1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 6 17:40:10 2012 +0100

    Don't use internal object from struct ether_addr
    
    FreeBSD does not use the same name as NetBSD, OpenBSD and Linux.


commit 7bbe7c4eba44e2f1c98e7be093e1cba5c0f5bae4
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Jul 6 17:39:53 2012 +0100

    test32.c now catch NetBSD null MAC


commit 421016eddbe9626010122285bb68b8ba2de01d93
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 5 18:11:26 2012 +0200

    Add the CMakeLists.txt.local mechanism


commit a1e5f39dffb42c8131922c2cd1a032c7b6a7f657
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 5 17:54:24 2012 +0200

    Add a function to overwrite the default callback
    
    To overwrite the default behaviour of libtuntap, which is printing
    things on stderr, you can create your own callback matching the
    t_tuntap_log type.

create mode 100644 regress/test37.c

commit 17b25875260064b1db2d1affd9bc4d246465d354
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 5 16:49:37 2012 +0200

    replace ntohl with htonl


commit b0891d40a34376ced29894f0ccf1c3ae50c0e30b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 5 16:15:58 2012 +0200

    Add a (not finished) log callback
    
    I will add later log levels

create mode 100644 tuntap_log.c

commit 4460b552f9ac5632442d72b790b98e0ba3068836
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jul 5 16:14:01 2012 +0200

    Catch every unknown systems


commit 518bdeb912e93d0d391da467b0174820bf99e566
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 3 14:05:08 2012 +0200

    Update tuntap_set_ip() calls in regress/


commit e97dfa07ffd408a89254b20dfc5540243f039fe1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 3 14:04:34 2012 +0200

    Deprecate test27 and test28


commit 16c13aea7bf47e48ed287934e10e71ebf8cef941
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jul 3 14:02:19 2012 +0200

    Change tuntap_set_ip() interface
    
    The third parameter, the netmask, is now an integer.
    It means that instead of sending "255.255.255.0", you send 24.

delete mode 100644 regress/test27.c
delete mode 100644 regress/test28.c

commit d736c7ed0bb83f2b0cbd6e67bf9e9f724b8099bd
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 28 22:22:17 2012 +0200

    Fix breakage introduced on NetBSD
    
    The commit "Support persistent interface on NetBSD" broke every
    operations on a tun device.


commit 5d24c46c70a100f211d8c629a2f6c2c34b121f1f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 28 21:59:43 2012 +0200

    Correct two error messages


commit d4c676c95f328058fdde54454b30ac302954ed72
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 28 21:50:09 2012 +0200

    Update the README


commit 7e3c0485a1517107ce16d83ae5e6798b785ffee1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 28 21:45:34 2012 +0200

    Support persistent interface on Linux


commit 55c5c21b7ca0f848a705040968e6ace548f6ec8f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Jun 27 14:12:28 2012 +0200

    test32 now work correctly
    
    The pointer returned by tnt_get_hwaddr() was checked against NULL,
    but it's value was 0:0:0:0:0:0


commit 7cf131a84814e18576c11b9abc8fd5480eb8a854
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Jun 27 09:13:17 2012 +0200

    Support persistent interface on NetBSD


commit 79b402c5b5c67db11ba7c8b901fc0fdec6d1345d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jun 26 14:25:48 2012 +0200

    Remove an unused variable


commit a04637a669bd098cf7ce72347e6b5bfc5ab313b5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jun 25 01:49:39 2012 +0200

    Add regression test for the persistent interfaces

create mode 100644 regress/test33.c
create mode 100644 regress/test34.c
create mode 100644 regress/test35.c
create mode 100644 regress/test36.c

commit cb780eeee38925a281609f334c8c6ee71d46d216
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jun 25 01:47:50 2012 +0200

    Support persistent interface on OpenBSD
    
    The second parameter to tuntap_start() can be or-ed with
    TUNTAP_TUNMODE_PERSIST


commit 0ef854c5b41a4e6ec4c81d5a1998ce4d47feb88f
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jun 25 01:45:55 2012 +0200

    Indentation change in tuntap.h


commit df5c7f54a30cc8dae07021f0a35d61ac5e605027
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jun 25 01:37:57 2012 +0200

    Fail gracefully (test01 to test13)
    
    Destroy the interface in case of error


commit 36c0f3f5a3320df978f12789265ec3754b6dfb79
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Jun 18 22:45:21 2012 +0200

    Set hwaddr at the creation of tap device on OpenBSD

create mode 100644 regress/test32.c

commit dc0d1db9aba2ded21e88cfccf9a9fc732d889bc5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Jun 12 11:26:36 2012 +0200

    libtuntap now reside in their own namespace
    
    This commit breaks binary compat


commit 3d3729bb3814dc0703475e9ee5d228dfa48e8fe0
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Apr 27 04:29:05 2012 -0500

    Change the valid behaviour of test08 and test10
    
    It's normal to get an error while trying to set the Ethernet address
    of a tun device.


commit d0ef1f1f0f4e7d65e4a8ef90aad07a6033c5d9c8
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 14 07:07:13 2012 +0100

    tuntap_set_hwaddr works on NetBSD with 4.0 compat


commit cd66ab30562a8a0284a9a5f152837424cba06383
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Jun 14 04:32:21 2012 +0100

    Requesting a specific tapN works on NetBSD


commit 436761b5c687ff71a640d209ea488d884202a9f4
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Apr 26 22:35:03 2012 -0500

    Correct warnings in regress tests


commit 761b91610a2881374f7c8c578d489c8a01c44c9c
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Mar 16 10:34:58 2012 +0000

    Huge modification of the regression tests

create mode 100644 regress/README
delete mode 100644 regress/test15.c
delete mode 100644 regress/test16.c
delete mode 100644 regress/test19.c
delete mode 100644 regress/test20.c
create mode 100644 regress/test21.c
create mode 100644 regress/test22.c
create mode 100644 regress/test23.c
create mode 100644 regress/test24.c
create mode 100644 regress/test25.c
create mode 100644 regress/test26.c
create mode 100644 regress/test27.c
create mode 100644 regress/test28.c
create mode 100644 regress/test29.c
create mode 100644 regress/test30.c
create mode 100644 regress/test31.c

commit 3b7c2e9c7d0ef4db52ff2a55750ac76b811d3ad8
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Apr 7 13:30:41 2012 +0100

    Change test03 and test04
    
    Now these tests are useful


commit fa8b61767dd7a1b0066122b32939e64ca76468ab
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Apr 7 06:15:52 2012 +0100

    Add four more regression tests
    
    test1{7,8,9} and test20 are focused on bad inputs for tnt_tt_set_ip().

create mode 100644 regress/test17.c
create mode 100644 regress/test18.c
create mode 100644 regress/test19.c
create mode 100644 regress/test20.c

commit 32aec299f394869d5f647a10e6261aeb529ccc58
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Apr 7 06:13:23 2012 +0100

    Fix a segfault in case of bad input
    
    tnt_tt_set_ip() now warns in any case of bad inputs:
    null pointers and invalid address.


commit 06e8c70e99156a7a0c58f7cda5a4b9fa8a589fef
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Apr 7 05:53:13 2012 +0100

    Add three more regression test
    
    test1{4,5,6} are focused on bad input for tnt_tt_start()

create mode 100644 regress/test14.c
create mode 100644 regress/test15.c
create mode 100644 regress/test16.c

commit 98a2e4a77292087012c2b7ff2c8f2b6106518327
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Apr 7 05:06:32 2012 +0100

    Add read and write routines


commit ebf6dbbe9428754d51f61e6c47d32ef7919150b3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Apr 24 09:54:02 2012 +0200

    libtuntap.h is suitable for both C and C++


commit 92bce0a0a8a453413df313b0600b7e5761279cf8
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Mon Apr 23 16:36:02 2012 +0200

    Replace strlcpy with memcpy in non-openbsd code
    
    Linux should be free of libbsd now.


commit b282ac4a677c85f0f3ef991cae57119d37fdbb80
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Apr 19 12:06:15 2012 +0200

    Change the header guard


commit 0b77acbac8d255d5585e955d3330a1ea74f089c5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Apr 17 17:41:57 2012 +0200

    Add explicit casts
    
    Warnings busted using lint.


commit 263371c8771f6ac19c843c55f0221423333d681a
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Apr 17 16:38:00 2012 +0200

    CMake will issue an error on unsuported OS
    
    As suggested by Chipot, I added a FATAL_ERROR flag to message()


commit fc9cfa3ecd8c31e1b61afcd631619b395c27e816
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Apr 17 15:59:13 2012 +0200

    Add a getter for tun_fd


commit 1fae4a0c2c2d1f0b438d4eac60546b55a81a7488
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Apr 6 03:25:20 2012 +0100

    Replace every call to warn() for fprintf()
    
    First step to get rid of libbsd on Linux


commit 4ce9966912e2349bd03948d2080707eac397677d
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Tue Apr 17 03:17:27 2012 -0500

    Don't link with libbsd
    
    Actually it will force every project that use libtuntap
    to also use libbsd, but that anoyance will soon be removed.


commit 6a3f998bc74063d1459bf98779d98514d346fb23
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Apr 5 23:54:05 2012 +0100

    Add a CMakeLists.txt that work on OpenBSD

create mode 100644 CMakeLists.txt

commit 5b1a9e69b2f5af697b98ff1a9a2bfdc1fa70fd70
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Apr 5 18:50:51 2012 +0100

    Update test??.c files to include tuntap.h

delete mode 100644 regress/demo1.c

commit 2bbbe9e0dd87ebd41e314e5f2febe1489bc42d09
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Apr 5 18:47:04 2012 +0100

    Rename files from tun* to tuntap*

delete mode 100644 tun-linux.c
delete mode 100644 tun-openbsd.c
delete mode 100644 tun.c
delete mode 100644 tun.h
create mode 100644 tuntap-linux.c
create mode 100644 tuntap-openbsd.c
create mode 100644 tuntap.c
create mode 100644 tuntap.h

commit 838e05be29bd454e506418eaecf54ef745d73af0
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Mar 16 07:27:54 2012 +0000

    Support for NetBSD
    
    The port is not finished, some things are still broken:
     - Creation of tap device only via auto-clonning (ie only TNT_TUNID_ANY)
     - tnt_tt_{set,get}_mtu() are not working
     - tnt_tt_set_hwaddr() is not working
    
    The assignation of IP address has not been tested a lot too.

create mode 100644 tuntap-netbsd.c

commit 64edc97f1a571a157e278e2c8c3d1b129c2223ff
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 06:48:48 2012 +0000

    Remove struct ifreq from struct device


commit 554f489960ddc174eeac420cbfcce1756e8b74a3
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 06:39:46 2012 +0000

    Correct a bug in tnt_tt_down


commit 0a170f143b55588847f8443a912bdaa7b31886f0
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 06:36:38 2012 +0000

    Get rid of dev->started


commit d2327506da093959cd991dd39fa4ac5ce534391a
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Mar 24 04:45:11 2012 -0500

    Test test09 with a MAC address without 0


commit d80f2cb61ab91b7be04f82c9b1876ee6d2ac5063
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 06:21:12 2012 +0000

    test09 compare case insensitively


commit 222fcda90d3b2477dbc183aaea3559db5032eb64
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 06:17:06 2012 +0000

    tnt_tt_get_hwaddr return the correct MAC address
    
    The address is stored in a static field and is presented in lower case


commit 95cb2d54ef0131de117230857beec720a6e6a374
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 05:41:57 2012 +0000

    tnt_tt_set_hwaddr can now generate a random MAC


commit f3c4b95db2e1c81585d215e489c7473cfecc5da1
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 03:20:27 2012 +0000

    Add regression tests
    
    There is actually 13 tests, more will come later.
    They return 1 in case of error, 0 otherwise.

create mode 100644 regress/test01.c
create mode 100644 regress/test02.c
create mode 100644 regress/test03.c
create mode 100644 regress/test04.c
create mode 100644 regress/test05.c
create mode 100644 regress/test06.c
create mode 100644 regress/test07.c
create mode 100644 regress/test08.c
create mode 100644 regress/test09.c
create mode 100644 regress/test10.c
create mode 100644 regress/test11.c
create mode 100644 regress/test12.c
create mode 100644 regress/test13.c

commit 918c9c27387b2702d3bbe209b41f08a3b94437fa
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 03:12:25 2012 +0000

    Save the if name in the struct device
    
    In an effort to move the struct ifreq out of struct device, now
    every other calls initialize its ifreq with dev->if_name rather
    than dev->ifr.ifr_name.


commit f76be6ffc47fcbae4dfa5a037ce789da09c63184
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Mar 24 00:26:24 2012 -0500

    Update Linux and introduce tnt_tt_sys_destroy
    
    Now, there is a per-OS call to remove unused interface.
    OpenBSD calls ioctl with SIOCIFDESTROY
    Linux does nothing, for the moment


commit 57e8a35f581db0d2fb8ca9c1558d5b5075dc543a
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Thu Mar 8 01:23:15 2012 +0000

    voidify unused return value


commit 5864103b543466409549db8e6bd5d4ea4cd7f360
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Mar 7 23:21:31 2012 +0000

    Introduce the dev->flags


commit a94f771684da0dc2172af773675c72e6d1d3e917
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Mar 7 23:20:48 2012 +0000

    Introduce the dev->flags


commit 343368d094f18660b697717534a3ad9c48a14b79
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 08:39:24 2012 +0000

    API change
    
    tnt_tt_destroy call ioctl to really destroy the interface
    tnt_tt_stop is now tnt_tt_release and juste release memory and close fd


commit e4da5fbb5dfc0c09bda5a67403a358c711280016
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 07:55:10 2012 +0000

    tnt_tt_*_mtu don't use dev->ifr anymore


commit 662d86f0fa6e28d3f350bf3febd1b88aa5b56b62
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 07:29:18 2012 +0000

    Add a usefull include in tun.h


commit fbeb155861c62e6446763509db661fec3bf13eec
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 03:27:39 2012 +0000

    Correct prototypes


commit ba799e5eea2d8b44b3c6562b123e25258f5da460
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 03:23:53 2012 +0000

    Prevent a cast from uint to int


commit 26664f448e641ecd38af2cb3febdded5e478c07b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sun Feb 26 03:22:34 2012 +0000

    Norm - no binary change


commit 90028ede616476a247f1034f1e04d54ec0e244ec
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Feb 25 13:50:30 2012 +0000

    tnt_tt_set_hwaddr() works on OpenBSD


commit 472458b7e78c1cbb63b0a1ca0b691f2cf109637b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Sat Feb 25 11:19:01 2012 +0000

    tnt_tt_set_mtu is portable, don't use sys_set_mtu
    
    Every targeted UNIX system has the SIOCSIFMTU


commit 1159d7eed10e45fdd989aab681ad14c88f6091a2
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Feb 24 19:38:11 2012 +0000

    Add a README

create mode 100644 README

commit beb52b2ce6651da1b76ff34d211e96dca6bf9d46
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Feb 24 19:24:44 2012 +0000

    ether_aton needs differents include


commit 9709b4b6c10bc81e2e8c802b8c826a2c3264d141
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Feb 22 18:03:01 2012 -0600

    tnt_tt_set_hwaddr works on Linux


commit 9ee4875d36c187b5883c364fc08327084ff25781
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Feb 22 16:49:01 2012 -0600

    Setting the MTU now work on Linux


commit a574ce1931723c57977b168025032e977eae8243
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Feb 22 16:18:44 2012 -0600

    Add demo/regression test code

create mode 100644 regress/demo1.c

commit 2c2a73471a6a82e80365c7d4e1efc0cbbbeef84b
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Feb 22 15:59:42 2012 -0600

    Change SIOCGIFFLAGS to SIOCSIFFLAGS
    
    A little mistake I made, but which seems to not anoy OpenBSD.


commit 1378b3a8b16777c4c6271e52321d2ede589059b5
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Wed Feb 22 15:59:13 2012 -0600

    Correct details on Linux


commit 8582d61ad5e77f36393c66e44d12b9661a90f290
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Feb 24 14:00:46 2012 +0000

    Add the Linux portability

create mode 100644 tun-linux.c

commit 0e555d961df2a2ac49f4a841b93973744c18cde8
Author: Aversiste <tristan.leguern@gmail.com>
Date:   Fri Feb 24 12:28:07 2012 +0000

    First import
    
    Work on OpenBSD.

create mode 100644 tun-openbsd.c
create mode 100644 tun.c
create mode 100644 tun.h