aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/ip_packet.c
Commit message (Collapse)AuthorAgeFilesLines
* ip-packet: Correctly determine protocol in fragmented IPv6 packetsTobias Brunner2017-09-181-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 packetsTobias Brunner2017-09-181-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 MinGWTobias Brunner2017-01-251-0/+29
| | | | Fixes #2118.
* Use standard unsigned integer typesAndreas Steffen2016-03-241-29/+29
|
* ip-packet: Fix length in IPv6 header of generated packetsTobias Brunner2014-10-201-1/+1
|
* ip-packet: Fix removal of TFC padding for IPv6Tobias Brunner2014-10-141-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 headersTobias Brunner2014-09-091-2/+27
|
* ip_packet: Add function to easily encode UDP packetsTobias Brunner2014-07-221-0/+18
|
* ip_packet: Apply transport protocol ports when encoding IP packetTobias Brunner2014-07-221-8/+25
|
* ip_packet: Add getter for IP payloadTobias Brunner2014-07-221-5/+18
|
* ip_packet: Allow creation of IP packets from dataTobias Brunner2014-07-221-0/+151
|
* ip_packet: Parse ports from TCP and UDP headersTobias Brunner2014-07-221-7/+63
|
* libipsec: Avoid name clash with sched.h clone()Martin Willi2014-06-041-2/+2
|
* libipsec: remove extra RFC4303 TFC padding appended to inner payloadMartin Willi2013-10-111-0/+6
|
* libipsec: fix memory management when cloning ip_packetMartin Willi2013-09-131-1/+1
|
* Fix detection and use of netinet/ip6.h on FreeBSDTobias Brunner2013-03-271-0/+1
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Fix parsing of IPv6 headers in ip_packet_tTobias Brunner2012-09-281-0/+1
|
* struct iphdr is Linux specific use struct ip insteadTobias Brunner2012-08-291-6/+6
|
* Fixed ip_packet_t if IPv6 is not availableTobias Brunner2012-08-081-0/+4
|
* ip_packet_t parses the header of IP packetsTobias Brunner2012-08-081-0/+188