Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ip-packet: Correctly determine protocol in fragmented IPv6 packets | Tobias Brunner | 2017-09-18 | 1 | -6/+57 |
| | | | | | | We don't attempt to parse the transport headers for fragments, not even for the initial fragment (it's not guaranteed they contain the header, depending on the number and type of extension headers). | ||||
* | ip-packet: Fix "packet too short" error when parsing fragmented IPv4 packets | Tobias Brunner | 2017-09-18 | 1 | -1/+6 |
| | | | | | Only attempt to parse the transport header of an IPv4 packet if it's not fragmented or the first fragment. | ||||
* | libipsec: Fix Windows build via MinGW | Tobias Brunner | 2017-01-25 | 1 | -0/+29 |
| | | | | Fixes #2118. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 1 | -29/+29 |
| | |||||
* | ip-packet: Fix length in IPv6 header of generated packets | Tobias Brunner | 2014-10-20 | 1 | -1/+1 |
| | |||||
* | ip-packet: Fix removal of TFC padding for IPv6 | Tobias Brunner | 2014-10-14 | 1 | -1/+1 |
| | | | | | | The IPv6 length field denotes the payload length after the 40 bytes header. Fixes: 293515f95cf5 ("libipsec: remove extra RFC4303 TFC padding appended to inner payload") | ||||
* | ip-packet: Define our own structs to handle TCP/UDP headers | Tobias Brunner | 2014-09-09 | 1 | -2/+27 |
| | |||||
* | ip_packet: Add function to easily encode UDP packets | Tobias Brunner | 2014-07-22 | 1 | -0/+18 |
| | |||||
* | ip_packet: Apply transport protocol ports when encoding IP packet | Tobias Brunner | 2014-07-22 | 1 | -8/+25 |
| | |||||
* | ip_packet: Add getter for IP payload | Tobias Brunner | 2014-07-22 | 1 | -5/+18 |
| | |||||
* | ip_packet: Allow creation of IP packets from data | Tobias Brunner | 2014-07-22 | 1 | -0/+151 |
| | |||||
* | ip_packet: Parse ports from TCP and UDP headers | Tobias Brunner | 2014-07-22 | 1 | -7/+63 |
| | |||||
* | libipsec: Avoid name clash with sched.h clone() | Martin Willi | 2014-06-04 | 1 | -2/+2 |
| | |||||
* | libipsec: remove extra RFC4303 TFC padding appended to inner payload | Martin Willi | 2013-10-11 | 1 | -0/+6 |
| | |||||
* | libipsec: fix memory management when cloning ip_packet | Martin Willi | 2013-09-13 | 1 | -1/+1 |
| | |||||
* | Fix detection and use of netinet/ip6.h on FreeBSD | Tobias Brunner | 2013-03-27 | 1 | -0/+1 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Fix parsing of IPv6 headers in ip_packet_t | Tobias Brunner | 2012-09-28 | 1 | -0/+1 |
| | |||||
* | struct iphdr is Linux specific use struct ip instead | Tobias Brunner | 2012-08-29 | 1 | -6/+6 |
| | |||||
* | Fixed ip_packet_t if IPv6 is not available | Tobias Brunner | 2012-08-08 | 1 | -0/+4 |
| | |||||
* | ip_packet_t parses the header of IP packets | Tobias Brunner | 2012-08-08 | 1 | -0/+188 |