summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-14Merge pull request #439 from adriancostin6/dns-comment-fixmasterMatias Fontanini
Fix getter being labeled as setter in dns header file comments
2021-04-24Fix getter being labeled as setter in dns header file commentsAdrian Costin
2021-03-28Merge pull request #437 from ceerRep/masterMatias Fontanini
Fix wrong address endian
2021-03-24Fix wrong address endianceerrep
Host endian has been implicitly converted to big endian in "IPv4Address::operator uint32_t()"
2021-03-06Merge pull request #433 from visuve/masterMatias Fontanini
Close socket when setsockopt fails
2021-03-04Close socket when setsockopt failsvisuve
- Prevent resource leak
2021-01-04Merge pull request #427 from nhutchinson-te/bsd-routing-tableMatias Fontanini
Fix infinite loop when querying BSD routing table
2021-01-04Fix infinite loop when querying BSD routing tableNick Hutchinson
Fix `query_route_table()` returning a buffer padded with extra '\0' bytes because it ignored the buffer size returned by `sysctl()`. This caused `route_entries()` / `route6_entries()` to fall into an infinite loop, forever trying to parse a 0-length routing entry.
2020-12-29Merge pull request #426 from theDogOfPavlov/masterMatias Fontanini
Added RFC8335 Extended echo types to headers
2020-12-29Added RFC8335 Extended Echo typesMartin O'Neal
2020-12-29Added RFC8355 ICMP Extended Echo supportMartin O'Neal
Added RFC8355 ICMP Extended Echo request/reply to Flags (no other changes made)
2020-09-17Bump version to 4.4 in CMakeLists.txtMatias Fontanini
2020-09-17Add changelog for version 4.3v4.3Matias Fontanini
2020-09-10Merge pull request #420 from mfontanini/control-ta-fixMatias Fontanini
Assign a PDUType for Dot11ControlTA
2020-09-10Assign a PDUType for Dot11ControlTAMatias Fontanini
2020-02-01Merge pull request #374 from almikhayl/373-espMatias Fontanini
Fix malformed packet exception on esp header
2020-02-01Merge pull request #382 from laudrup/fix-install-without-libpcapMatias Fontanini
Don't include non-existing headers when installed without libpcap
2020-02-01Merge pull request #383 from laudrup/silence-msvc2017-warningsMatias Fontanini
Fix compiler warnings from MSVC 2017
2019-12-20Fix compiler warnings from MSVC 2017Kasper Laudrup
The MS C++ compiler doesn't seem to understand that a small constant like 0, although strictly being an integer, will fit perfectly fine into an 8 bit type so add some safe casts to silence that warning.
2019-12-20Don't include non-existing headers when installed without libpcapKasper Laudrup
If libpcap support has been disabled (LIBTINS_ENABLE_PCAP=OFF) then the headers requiring that library will not be installed, but they will still be included from the main tins.h convenience header. This fixes that by sorrounding the includes with an #ifdef the same way it has been done for DOT11 support.
2019-10-19Fix malformed packet exception on esp headerAleksey Mikhaylov
2019-10-02Merge pull request #369 from avast/ipv6-local-unicastMatias Fontanini
add IPv6 check for Link-Local unicast address
2019-10-02Fix "fi" in commentMatias Fontanini
2019-10-01add IPv6 check for Link-Local unicast addressKaras Lukáš
2019-04-25Merge pull request #346 from pallas/avoid-unused-variable-warningMatias Fontanini
radiotap: avoid unused variable warning
2019-04-24radiotap: remove unused variableDerrick Lyndon Pallas
2019-04-12Merge pull request #343 from pallas/fix-several-leaksMatias Fontanini
Fix several leaks
2019-04-11OfflinePacketFilter: avoid leak during copy-construction or assignmentDerrick Lyndon Pallas
2019-04-11PacketWriter: avoid use-after-free on error in initDerrick Lyndon Pallas
2019-04-11OfflinePacketFilter: avoid leaks on error in initDerrick Lyndon Pallas
2019-04-10Merge pull request #342 from pallas/avoid-gcc-warningMatias Fontanini
tests/dhcp: avoid warning: type qualifiers ignored on cast result type
2019-04-10tests/dhcp: avoid warning: type qualifiers ignored on cast result typeDerrick Lyndon Pallas
2019-04-08Merge pull request #341 from m-peko/masterMatias Fontanini
Fix possible memory leak in active tests
2019-04-08Fix possible memory leak in active testsMarin Peko
2019-03-20Merge pull request #335 from avast/stream-synMatias Fontanini
Fix detection of a new TCP flow
2019-03-18fix detection of a new TCP streamMartin Beran
2019-03-14Merge pull request #333 from DDoSolitary/patch-radiotap-writerMatias Fontanini
Overhaul RadioTapWriter
2019-03-14simplify tcp flag checks, fix stream_follower (#334)Lukáš Karas
* simplify tcp flag checks, fix stream_follower On various places was used simple comparison for checking state of flags. tcp.flags() == (TCP::SYN | TCP::ACK) This is not what you want usually, because this check is false in case that another flag is set also. Correct check for syn-ack packet should be: (tcp.flags() & (TCP::SYN | TCP::ACK)) == (TCP::SYN | TCP::ACK) To simplify this kind of check, add new has_flags method: bool TCP::has_flags(small_uint<12> check_flags) const * remove duplicate TCP::SYN flag check
2019-03-12Add tests for 2f16497bf84400b53d5527306895f70d6288ae20 and ↵DDoSolitary
78aa7d178734694addd1becd929791cc80afa35f.
2019-03-10Fix alignment padding calculation.DDoSolitary
2019-03-10Correct option upper bound testing.DDoSolitary
2019-03-10Avoid float precision problems of logarithm.DDoSolitary
2019-03-07Bump library version in CMake file to 4.3Matias Fontanini
2019-03-07Use version 4.2 in CMakev4.2Matias Fontanini
2019-03-07Update changelog for version 4.2Matias Fontanini
2019-02-20Merge pull request #331 from Kaisrlik/cmake_config_file_locationMatias Fontanini
cmake: update location of cmake configuration files for unix subsystems
2019-02-20cmake: update location of cmake configuration files for unix subsystemsJan Kaisrlik
2019-02-07Merge pull request #330 from danvratil/fix-crosscompilation-checkMatias Fontanini
Fix check whether we are crosscompiling
2019-02-07Fix check whether we are crosscompilingDaniel Vrátil
CMake defines CMAKE_CROSSCOMPILING when crosscompiling so use that instead of the undefined CROSS_COMPILING variable.
2019-01-27Merge pull request #324 from pepper-jk/fix_frame_lengthMatias Fontanini
Fix frame length