1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 12:14:26 +01:00

Commit Graph

  • b6a55935b4 Modified some Dot11ManagementFrame documentation. Matias Fontanini 2013-10-07 14:00:45 -03:00
  • 01b2a9c7b2 Modified some examples fixed some doxygen documentation. Matias Fontanini 2013-10-06 23:00:20 -03:00
  • 58e2c93e30 Added HWAddress and IPv4Address::is_unicast and a static const member 'broadcast' for both classes. Matias Fontanini 2013-10-06 22:56:00 -03:00
  • bcfe26175a BaseSniffer now uses pcap_loop instead of pcap_dispatch. Matias Fontanini 2013-09-24 08:59:46 -03:00
  • c4e6a7c0d6 Fixed some compilation errors/warnings and bugs when using Big Endian architectures. Matias Fontanini 2013-09-24 00:34:14 -03:00
  • 9cbac6b044 BaseSniffer::next_packet now uses pcap_dispatch. Matias Fontanini 2013-09-23 22:55:18 -03:00
  • 2414edd1e7 Fixed a bug in PPI and Dot1Q triggered when constructing from buffer/serializing. Done some documentation fixes. Matias Fontanini 2013-09-22 19:37:02 -03:00
  • 74ef177e25 Added address_range.cpp. Matias Fontanini 2013-09-21 01:21:15 -03:00
  • 54d012b92e Done some fixes on HWAddress. Added HWAddress::operator/ which returns an AddressRange. Matias Fontanini 2013-09-20 17:37:20 -03:00
  • 1b4efc1520 Rolled the BaseSniffer changes since that was OK. Matias Fontanini 2013-09-20 12:37:21 -03:00
  • 96ecd054ab Fixed issue with bpf_programs on BaseSniffer. Done some documentation changes. Matias Fontanini 2013-09-20 11:07:09 -03:00
  • d7d2dec5cb Done some optimizations on TCP's constructor from buffer. Matias Fontanini 2013-09-15 16:01:00 -03:00
  • 20f3911e12 BaseSniffer::sniff_loop now uses begin() and end() to process packets, making it around 8% faster. Also added BaseSniffer::link_type to retrieve the pcap handle link type. Matias Fontanini 2013-09-15 12:16:54 -03:00
  • f8d71687e1 Modified some classes' documentation. Matias Fontanini 2013-09-14 19:01:05 -03:00
  • d393c1fbfc Moved calls to pcap_loop and pcap_breakloop to sniffer.cpp. Matias Fontanini 2013-09-08 19:20:52 -03:00
  • e21e34e194 Added IPv4Address, IPv6Address and HWAddress<> 'is_multicast' member function. Matias Fontanini 2013-09-08 17:23:08 -03:00
  • a01fff411e Added missing PPI files. Matias Fontanini 2013-09-05 09:09:56 -03:00
  • 7d4222fb17 Added PPI PDU. Matias Fontanini 2013-09-05 00:49:11 -03:00
  • de0ec914cc Fixed bug in RadioTap. The flags field was being used even if it was not present. Matias Fontanini 2013-09-04 16:34:24 -03:00
  • 15f2896811 Added is_private and is_loopback methods to IPv4 and IPv6 addresses. Matias Fontanini 2013-09-04 12:57:36 -03:00
  • b26f353e46 Added helper functions to Dot11Data to retrieve the source, destination and BSSID addresses. Matias Fontanini 2013-09-03 22:58:07 -03:00
  • 5f2c923c48 Added PDUAllocator class, which makes extending PDUs easier. Matias Fontanini 2013-08-29 23:31:10 -03:00
  • 4ca21bdad7 Fixed some issues when parsing DNS answers. MX records are now serialized correctly. Matias Fontanini 2013-08-04 14:27:03 -03:00
  • 2cc0ceb1aa Fixed bug triggered in DNS when parsing some unknown record types. Matias Fontanini 2013-07-25 10:47:09 -03:00
  • 7063e60af9 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2013-07-24 23:32:55 -03:00
  • 21b80a7370 BaseSniffer is now iterable. Matias Fontanini 2013-07-24 23:32:33 -03:00
  • fb8fb92ee6 BaseSniffer::next_packet now loops until either a valid packet is found or pcap_next fails. Matias Fontanini 2013-07-24 22:27:53 -03:00
  • 2a5b64526f Replaced tabs for spaces in the previous commit Santiago Alessandri 2013-07-14 13:13:38 -03:00
  • 02d3a14083 Fixed issue related with EthernetII protocol. Santiago Alessandri 2013-07-12 20:06:55 -03:00
  • 3b349471ea Added AddressRange class template. Matias Fontanini 2013-07-06 17:48:26 -03:00
  • f385e4e975 Added a const overload of TCP::get_flag. Added TCP::flags. Matias Fontanini 2013-06-17 21:25:30 -03:00
  • acff8f1e1f The --disable-wpa2 switch now works as expected. Matias Fontanini 2013-06-15 10:00:50 -03:00
  • 59090e62d2 Added -Wno-extra-portability to automake's flags. Matias Fontanini 2013-06-07 10:28:19 -03:00
  • 74594a3b20 Updated CHANGES file. Matias Fontanini 2013-06-05 09:08:42 -03:00
  • 681bdc727f Updated configure.ac and README files. Matias Fontanini 2013-06-04 20:04:10 -03:00
  • 996e0f139e Fixed bug on Dot11QoSData. Matias Fontanini 2013-06-04 15:49:49 -03:00
  • c2353314fa WEPDecrypter now returns true iff the packet was decrypted successfully. Matias Fontanini 2013-06-04 15:49:33 -03:00
  • 5d315c5b6d Fixed a CCMP padding bug. Matias Fontanini 2013-06-02 16:14:21 -03:00
  • 87ac5acdd8 WPA2Decrypter now decrypts both CCMP and TKIP encrypted traffic. Matias Fontanini 2013-06-01 21:29:06 -03:00
  • 3b4dc10211 Added HWAddress<>::operator[]. Matias Fontanini 2013-06-01 12:05:53 -03:00
  • 8c1d71c7b7 Both of WPA2Decrypter::add_supplicant_data overloads work. Matias Fontanini 2013-06-01 10:48:22 -03:00
  • 5db196a630 Fixed tests dependency file. Matias Fontanini 2013-05-31 22:33:50 -03:00
  • ec8374be60 Split dot11.h and dot11.cpp into several files. Matias Fontanini 2013-05-31 22:16:56 -03:00
  • eeb62add59 Added WPA2Decrypter tests. Matias Fontanini 2013-05-31 14:11:12 -03:00
  • 908fcb56e8 Added WPA2Decrypter class. Matias Fontanini 2013-05-30 23:36:14 -03:00
  • ddf47365c1 RadioTap now calculates its size always while serializing. Added 2 missing RadioTap fields as well. Matias Fontanini 2013-05-30 18:14:11 -03:00
  • b052aa1d88 Added HWAddress<>::is_broadcast. Matias Fontanini 2013-05-29 11:14:36 -03:00
  • cacf75995d Added automake foreign option. Matias Fontanini 2013-05-28 15:19:00 -03:00
  • 4960077495 RSNHandshakeCapturer is now DefaultConstructible. Matias Fontanini 2013-05-28 10:15:33 -03:00
  • 8147a2bfb7 Added RSNHandshakeCapturer class. Matias Fontanini 2013-05-25 18:00:20 -03:00
  • 28c8d393d6 do not parse Dot11 frame if FCS is wrong Piotr Haber 2013-05-23 19:58:14 +02:00
  • ec7e718e38 Implemented std::hash for IPv4Address and IPv6Address. Matias Fontanini 2013-05-21 13:07:14 -03:00
  • 62740e8e64 Implemented std::hash specialization for HWAddress. Matias Fontanini 2013-05-04 20:09:32 -03:00
  • 2bb699dc97 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2013-05-01 14:08:16 -03:00
  • 14b1a4988b take wildcard SSID into account Piotr Haber 2013-05-01 12:58:41 +02:00
  • 7f6e4446b4 Fixed the examples. Matias Fontanini 2013-04-24 12:07:52 -03:00
  • cf19c8758d UDP now calculates the checksum when the transport layer protocol is IPv6. v1.0 Matias Fontanini 2013-04-23 23:00:43 -03:00
  • 5197e7f5f1 Sniffer now differentiates between EthernetII and Dot3 when sniffing. Matias Fontanini 2013-04-23 22:55:32 -03:00
  • eb87b82c17 Fixed the CHANGES and README files. Matias Fontanini 2013-04-23 20:57:56 -03:00
  • 5064a9255b Fixed BSD notice. Updated AUTHORS file. Matias Fontanini 2013-04-23 20:33:00 -03:00
  • bf604339f0 Removed the PDU* parameter in several PDU's constructors. Matias Fontanini 2013-04-23 20:03:08 -03:00
  • 7e85058ef1 Added another overload of Utils::resolv_hwaddr. Matias Fontanini 2013-04-23 15:19:48 -03:00
  • ec05a49cce Done minor modifications on configure.ac Matias Fontanini 2013-04-23 14:46:56 -03:00
  • b0eefe15f9 Modified the soname. Matias Fontanini 2013-04-23 13:43:12 -03:00
  • 0f2bc45059 Moved definitions inside TINS_IS_CXX11 into header files. Matias Fontanini 2013-04-23 13:04:57 -03:00
  • f8134be8b7 Done some modifications on the configure script. Matias Fontanini 2013-04-23 13:03:00 -03:00
  • 8afbe14c82 PacketSender is not copyable and movable. Matias Fontanini 2013-04-23 11:05:44 -03:00
  • fdfb8b0dea Fixed compilation issues triggered in GNU/kFreeBSD. Matias Fontanini 2013-04-22 23:48:53 -03:00
  • 9be4f0ca37 Removed IP, UDP and IP checksum setters. Added some checksum tests. Matias Fontanini 2013-04-22 20:06:35 -03:00
  • 66ff604580 assert() is only called when TINS_DEBUG is defined. Matias Fontanini 2013-04-22 18:45:56 -03:00
  • 7e0e85db65 Added AC_CANONICAL_SYSTEM to configure.ac. Matias Fontanini 2013-04-22 13:58:42 -03:00
  • ed39eb36f5 Dot11BlockAck and Dot11BlockAckRequests' frag_seq, start_sequence and bar_control now use small_uint rather than uintX_t. Matias Fontanini 2013-04-22 12:54:27 -03:00
  • 7da8de6ea7 Added another test case for RadioTap's constructor from buffer. Matias Fontanini 2013-04-22 12:53:01 -03:00
  • d1b64ec48e PDU::matches_response is now const. Matias Fontanini 2013-04-21 20:03:47 -03:00
  • 69968cbc5c Removed deprecated methods/types. Matias Fontanini 2013-04-21 19:52:39 -03:00
  • 9e20c0241f Added a default interface to PacketSender. Matias Fontanini 2013-04-21 19:40:17 -03:00
  • 97f049580b Link layer PDUs no longer contain a NetworkInterface. Matias Fontanini 2013-04-21 18:50:08 -03:00
  • 6f04329fbe All tests now run successfully on big endian architectures. Matias Fontanini 2013-04-21 15:40:28 -03:00
  • 077b54bbed Added STP root_id and bridge_id setters/getters. Matias Fontanini 2013-04-21 13:22:15 -03:00
  • 759e92706f Sniffer::sniff_loop now catches malformed_packet and pdu_not_found, when thrown by the functor argument. Matias Fontanini 2013-04-21 13:21:47 -03:00
  • 2ea952d6ab Added PDU::rfind_pdu. Matias Fontanini 2013-04-19 22:27:48 -03:00
  • 91bdcca577 Dot11 now uses option_not_found. Sniffer catches malformed_packet rather than std::runtime_error while sniffing. Matias Fontanini 2013-04-19 14:06:59 -03:00
  • 75bd445bd3 Dot11 now uses malformed_packet. Matias Fontanini 2013-04-19 02:05:28 -03:00
  • 9812ad441f Added missing exceptions.h file. Matias Fontanini 2013-04-18 17:52:53 -03:00
  • 3fd1b3d37d Added malformed_packet exception. Every class except Dot11* use it. Matias Fontanini 2013-04-18 00:12:20 -03:00
  • 923f51ae15 Fixed bug triggered when parsing Dot11 QoS packets. Matias Fontanini 2013-04-16 15:01:48 -03:00
  • 804ea411fc Fixed bug in RadioTap when using FCS at the end. Matias Fontanini 2013-04-16 13:45:30 -03:00
  • 9bcfd07896 fix radiotap header parsing Piotr Haber 2013-04-16 17:03:52 +02:00
  • 58c8eccc46 Makefile issue fix. Matias Fontanini 2013-04-16 13:15:35 -03:00
  • a674640ef2 Now hopefully make problems are fixed. Matias F 2013-04-16 13:00:12 -03:00
  • dde890b24b Fixed make issues. Matias F 2013-04-16 12:51:07 -03:00
  • 38ccb4413b STP is now serialized correctly. LLC behaves correctly when it contains an STP is its inner pdu. Matias Fontanini 2013-04-16 01:05:06 -03:00
  • 9631734805 Added STP class. Matias F 2013-04-15 14:01:44 -03:00
  • 7faf514496 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2013-04-15 08:49:25 -03:00
  • 08091fc7c2 Added missing the deprecated header ieee802_3.h to Makefile.am. Matias Fontanini 2013-04-15 08:48:51 -03:00
  • 1450c8cf26 Fixed missing header in Makefile.in as well. Matias Fontanini 2013-04-15 08:41:21 -03:00
  • b533775cb4 Added missing the deprecated header ieee802_3.h to Makefile.am. Matias Fontanini 2013-04-15 08:33:35 -03:00
  • 3f4c48ad9f Fixed bug triggered when parsing EOL and NOP options in IP. Matias Fontanini 2013-04-15 00:23:29 -03:00
  • 30d6a4f2e0 UDP checksum is now calculated always inside write_serialization. Matias Fontanini 2013-04-12 13:42:11 -03:00
  • f4522acd44 IP and TCP now calculate checksums always inside write_serialization. Matias Fontanini 2013-04-11 00:57:36 -03:00