History log of /haiku-fatelf/src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp
Revision Date Author Comments
# c0b42ec1 29-Jan-2013 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix out of bounds access.
key.first is a pointer, so we shouldn't use the & operator here.
CID 610870 and 610871.
Should also fix ticket #9184. At least I cannot reproduce it anymore.


# 06d477cd 13-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

ipv6: added missing put_interface() call.

* Thanks to Stefano for pointing this out!


# 7d362bb3 09-Sep-2012 Axel Dörfler <axeld@pinc-software.de>

The sFragmentLock was never being initialized.

* This fixes bug #8958.


# ad4d57f1 19-Aug-2012 Rene Gollent <anevilyak@gmail.com>

Fix multicast double free issue in IPv4.

- IPv4 had the same problem as v6. Most likely this was an oversight
when converting from a C to a C++ module. Might help with #6736 and
#8894.


# 9db38fdf 19-Aug-2012 Rene Gollent <anevilyak@gmail.com>

Fix ticket #8870.

- multicast_address was being freed twice in ipv6_uninit_protocol(),
causing a panic on exit in apps that made use of it.


# 1684be5e 09-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

ipv6: Fix ability to disable ipv6 tracing. Disable ipv6 tracing


# 842cfbca 09-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

ipv6: bit of style cleanup. No functional change


# af662030 09-Jul-2011 Axel Dörfler <axeld@pinc-software.de>

* Converted the hash used to the BOpenHashTable instead of khash - basically
just applied r38391 to the IPv6 code (no time to resolve the TODO, and put
that into a shared class).
* Fixed failure on init handling.
* Not tested, but should work at least better than before, as the hashtable has
never been initialized before...
* This closes bug #7795.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8a9d5e34 28-Apr-2011 Rene Gollent <anevilyak@gmail.com>

Patch by Atis Elsts from GSoC 2010 that was overlooked.
- Adds IPv6 fragmentation support and some partial work to enable configuration of IPv6 in net_server. Not currently in the build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f505da5e 28-Apr-2011 Axel Dörfler <axeld@pinc-software.de>

* Removed two superfluous newlines from debug output.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41287 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3794b8e5 10-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied Atis latest changes to the IPv6 related modules. This brings them back
into a working state after the latest stack changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b415445 04-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Finished groundwork on ICMP by introducing a completely protocol agnostic
error mechanism.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d72a2493 29-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Replaced ENODEV with B_DEVICE_NOT_FOUND.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37803 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b216fbd0 28-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied next work in progress patch by Atis that takes into account most of
my comments so far. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37793 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d1485fa 19-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

Work in progress commit by Atis Elsts (I'm posting his ChangeLog comments
directly here), I made only a few style changes:
* introduced 'has_broadcast_address' field in
struct net_address_module_info
- REVIEW: the name, and the status of this field for UNIX and L2CAP
families
* ipv6 address family support
* ipv6 address printing
* ipv6 protocol support
* ipv6 multicast support
- TODO: add and remove multicast routes in a more proper way
- TODO: support MLD
* ipv6 datalink protocol support
* icmpv6 protocol support (EchoRequest and EchoResponse messages)
* ipv6 neigbor discovery protocol support
(Advertisement and Solicitation messages)
- TODO: only the very basic support is present,
the protocol state machine is by no means completed
- TODO: replying to Solicitation does not work too good ATM
(visible, when pinging Haiku from outside)
* added Jenkin's hash algorith
* minor changes in existing IPv4 code - cleanup function
ipv4_get_loopback_address(), written by myself
* add tests: raw, udp, tcp/udp, mullicast sender
* add 'hoplimit' field in struct net_buffer
- TODO: this is just a hack, more generic approach would be better.
* add 'receive_data' function pointer in
struct net_datalink_protocol_module_info
- TODO: this is also more like a hack, to support information
passing from ICMPv6 to IPv6_datagram level.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37604 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d362bb34cbcd56d13de9d09c6efc808c21bb452 09-Sep-2012 Axel Dörfler <axeld@pinc-software.de>

The sFragmentLock was never being initialized.

* This fixes bug #8958.


# ad4d57f14b01abc88a09dc4bdedd1b35258741df 19-Aug-2012 Rene Gollent <anevilyak@gmail.com>

Fix multicast double free issue in IPv4.

- IPv4 had the same problem as v6. Most likely this was an oversight
when converting from a C to a C++ module. Might help with #6736 and
#8894.


# 9db38fdf344c2a51694723291f65617b17fe4895 19-Aug-2012 Rene Gollent <anevilyak@gmail.com>

Fix ticket #8870.

- multicast_address was being freed twice in ipv6_uninit_protocol(),
causing a panic on exit in apps that made use of it.


# 1684be5e3965ace73199df186def27439c5315c4 09-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

ipv6: Fix ability to disable ipv6 tracing. Disable ipv6 tracing


# 842cfbca2d9e1d68e61959bb17fee7585ffdf156 09-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

ipv6: bit of style cleanup. No functional change


# af66203031e425c058de3a107ee547cb32053796 09-Jul-2011 Axel Dörfler <axeld@pinc-software.de>

* Converted the hash used to the BOpenHashTable instead of khash - basically
just applied r38391 to the IPv6 code (no time to resolve the TODO, and put
that into a shared class).
* Fixed failure on init handling.
* Not tested, but should work at least better than before, as the hashtable has
never been initialized before...
* This closes bug #7795.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8a9d5e34febe5626f9037b6eba9eb3acd4ca0f49 28-Apr-2011 Rene Gollent <anevilyak@gmail.com>

Patch by Atis Elsts from GSoC 2010 that was overlooked.
- Adds IPv6 fragmentation support and some partial work to enable configuration of IPv6 in net_server. Not currently in the build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f505da5e20c32f3b23d4e1700d260bc3d931d78a 28-Apr-2011 Axel Dörfler <axeld@pinc-software.de>

* Removed two superfluous newlines from debug output.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41287 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3794b8e560f691d50598e0dccf2b6aeba8e178eb 10-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied Atis latest changes to the IPv6 related modules. This brings them back
into a working state after the latest stack changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b4154458a820aa0b55b2800de9f0a13ea6ec1e2 04-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Finished groundwork on ICMP by introducing a completely protocol agnostic
error mechanism.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d72a2493e6eff7a91868b567965fe5ec45c4865c 29-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Replaced ENODEV with B_DEVICE_NOT_FOUND.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37803 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b216fbd0774446feb184ec1be17bb52bcbd75bbe 28-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Applied next work in progress patch by Atis that takes into account most of
my comments so far. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37793 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d1485fa06b26cb13b0417e3cdafd5b45520a567 19-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

Work in progress commit by Atis Elsts (I'm posting his ChangeLog comments
directly here), I made only a few style changes:
* introduced 'has_broadcast_address' field in
struct net_address_module_info
- REVIEW: the name, and the status of this field for UNIX and L2CAP
families
* ipv6 address family support
* ipv6 address printing
* ipv6 protocol support
* ipv6 multicast support
- TODO: add and remove multicast routes in a more proper way
- TODO: support MLD
* ipv6 datalink protocol support
* icmpv6 protocol support (EchoRequest and EchoResponse messages)
* ipv6 neigbor discovery protocol support
(Advertisement and Solicitation messages)
- TODO: only the very basic support is present,
the protocol state machine is by no means completed
- TODO: replying to Solicitation does not work too good ATM
(visible, when pinging Haiku from outside)
* added Jenkin's hash algorith
* minor changes in existing IPv4 code - cleanup function
ipv4_get_loopback_address(), written by myself
* add tests: raw, udp, tcp/udp, mullicast sender
* add 'hoplimit' field in struct net_buffer
- TODO: this is just a hack, more generic approach would be better.
* add 'receive_data' function pointer in
struct net_datalink_protocol_module_info
- TODO: this is also more like a hack, to support information
passing from ICMPv6 to IPv6_datagram level.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37604 a95241bf-73f2-0310-859d-f6bbb57e9c96