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

Commit Graph

  • d2f0cd0686 Fixed issue #29: Added empty name check on DNS::encode_domain_name. Matias Fontanini 2014-08-20 22:44:03 -03:00
  • 2d6fcfb74a Fix ICMPv6 serialization (patch by einarjon). Matias Fontanini 2014-08-18 09:11:03 -03:00
  • 424e31bdd6 Updated configure files. Matias Fontanini 2014-08-09 14:42:11 -03:00
  • 5d8f3e6741 Updated README and CHANGES files. v3.0 Matias Fontanini 2014-08-07 21:39:54 -03:00
  • 5d0ba22ac4 Fixed invalid parsing of unknown DNS records. Matias Fontanini 2014-08-07 21:22:31 -03:00
  • 8a44b29d92 Protocols now always set the next layer protocol flag. Matias Fontanini 2014-08-07 20:42:17 -03:00
  • 1b47623484 Timestamps can now be constructed from std::chrono::duration. Matias Fontanini 2014-08-07 20:12:19 -03:00
  • 282cd0913c Added Packet constructor. Matias Fontanini 2014-08-07 19:58:41 -03:00
  • aed5ccdfca Updated configure files. Matias Fontanini 2014-08-07 19:56:29 -03:00
  • 8e6ddfd764 Fixed bug in EthernetII when changing its inner PDU. Matias Fontanini 2014-08-07 19:38:05 -03:00
  • 1c2bfd42ca Fixed invalid address passed to memcpy. Matias Fontanini 2014-08-07 19:37:06 -03:00
  • b9db3ea1d3 Merge pull request #22 from mantiz/fix-armv5-alignment-issues Matias Fontanini 2014-07-31 13:47:17 -03:00
  • 52b0ee7ceb fix armv5 alignment issues Christian Hammerl 2014-07-31 01:05:10 +02:00
  • 3ef85aae38 Added BaseSniffer::set_extract_raw_pdus. Matias Fontanini 2014-07-30 23:01:03 -03:00
  • 3bb310dd6b Updated autotools files. Matias Fontanini 2014-07-30 22:59:14 -03:00
  • a918229d4b Merge pull request #21 from jedahan/master Matias Fontanini 2014-07-30 22:52:08 -03:00
  • 95a9d18b6b minimum automake version from 1.13 -> 1.11 Jonathan Dahan 2014-07-30 11:44:24 -04:00
  • 7371b95ebc Merge pull request #19 from kylemcdonald/master Matias Fontanini 2014-07-29 08:57:44 -03:00
  • 416edc34f7 added Utils::to_string(PDU::PDUType). closes #12. Kyle McDonald 2014-07-27 00:24:16 -04:00
  • 2dff95700f Updated copyright notice. Matias Fontanini 2014-07-13 11:04:29 -03:00
  • 46b52ad26e Updated example. Matias Fontanini 2014-07-13 10:59:00 -03:00
  • 22e7c1d7c4 Fixed error compilations on windows. Matias Fontanini 2014-07-02 19:02:48 -03:00
  • dd2ed5daa4 Added undef directive to avoid compilation error on windows. Matias Fontanini 2014-07-01 17:06:39 -03:00
  • c25d4738b4 Added check for HAVE_DOT11 macro in RSNInformation header/source files. Matias Fontanini 2014-06-09 22:50:49 -03:00
  • 3d4f509a62 Added call to pcap_can_set_rfmon before calling pcap_set_rfmon. Matias Fontanini 2014-06-09 10:24:09 -03:00
  • c9e955903e Fixed ICMPv6 checksum calculation. Matias Fontanini 2014-06-09 10:09:20 -03:00
  • 201ea885a1 Added method in TCP and IP that emplaces an option. Matias Fontanini 2014-06-01 12:55:36 -03:00
  • 356ea2a68a Added small option optimization to PDUOption. Matias Fontanini 2014-05-29 23:15:44 -03:00
  • 559c963d63 Fixed compilation errors on Windows. Matias Fontanini 2014-05-06 00:13:05 -03:00
  • 4bf5876adf Fixed compilation error in RSNInformation. Matias Fontanini 2014-05-05 08:34:16 -03:00
  • b2788fad63 Simplified error string generation on Sniffer::pcap_open_live_extended. Matias Fontanini 2014-05-05 08:32:45 -03:00
  • c249ff608c Merge pull request #11 from kylemcdonald/master Matias Fontanini 2014-05-03 18:52:29 -03:00
  • bd55307b47 changed ICMP::check to ICMP::checksum for both the public getter and private setter. closes #10 Kyle McDonald 2014-05-03 17:43:35 -04:00
  • 6b17dc78e5 Merge pull request #9 from kylemcdonald/master Matias Fontanini 2014-05-03 14:32:27 -03:00
  • 5fe4ab0de8 added pcap_open_live_extended() shim to sniffer.cpp and set rfmon to true in beacon capture example Kyle McDonald 2014-05-03 12:48:35 -04:00
  • 4ee89662f2 Fix bug on TCPStreamFollower. Matias Fontanini 2014-04-12 11:53:00 -03:00
  • 86e3f138f8 Added correct handling of the PDU::IPv6 flag in Internals::pdu_flag_to_ip_type. Matias Fontanini 2014-04-07 13:29:14 -03:00
  • cd2b9aab98 TCPStreamFollower now doesn't clear its state each time follow_streams is called. Matias Fontanini 2014-04-07 11:29:09 -03:00
  • f05840b9e9 Merge pull request #5 from lodagro/patch-1 Matias Fontanini 2014-04-03 13:38:43 -03:00
  • 8c2abf9249 Fix typo in test name Wouter Overmeire 2014-04-03 15:39:26 +02:00
  • 64d35b4903 TCPStreamFollower now handles overlapping fragments. Matias Fontanini 2014-04-02 11:10:44 -03:00
  • 10421fe945 Added DHCP::hostname. Matias Fontanini 2014-04-01 10:22:05 -03:00
  • 7c8aefccfe Merge pull request #4 from jacob-baines/patch-1 Matias Fontanini 2014-03-12 14:40:46 -02:00
  • 60404296fb Remove Extra Qualification Jacob Baines 2014-03-12 12:19:29 -04:00
  • dbc3ab4c32 Updated the LICENSE file. Matias Fontanini 2014-03-05 18:23:16 -03:00
  • f83521f778 Merge pull request #3 from JeanJoskin/master Matias Fontanini 2014-02-27 11:25:54 -02:00
  • 6fb8cbfc86 PacketSender::send matched PDU against most specific type, hence the PDU::DOT11 case would never be chosen. Jean Joskin 2014-02-27 13:34:14 +01:00
  • 0acf388277 Removed 'no newline at end of file' warnings. Matias Fontanini 2014-02-10 18:21:46 -03:00
  • 4c4a5f6c03 Fixed bug when calling BIOCIMMEDIATE on *BSD. Matias F 2014-02-10 12:33:48 -03:00
  • fbef2e765d Fixed bug on PacketSender::send_recv which didn't work under OSX and FreeBSD. Matias Fontanini 2014-02-06 15:10:23 -03:00
  • ea927caa4b Added BSD notice to DNS stats example. Matias F 2014-02-03 10:57:30 -03:00
  • 60f9116af1 Added DNS stats example. Matias F 2014-02-03 10:55:37 -03:00
  • 75c6bb46dc Fixed compilation error in OSX caused by including pcap/bpf.h instead of pcap.h in src/ppi.cpp. Matias Fontanini 2014-01-25 18:45:55 -03:00
  • 0a2f3b477b Merge pull request #2 from itay-grudev/master Matias Fontanini 2014-01-25 13:00:07 -08:00
  • e73ea43f7b Fixed bug - not included std::string Itay Grudev 2014-01-25 22:55:59 +02:00
  • 17933765d3 dns_spoof example now uses DNS::Resource. Matias F 2014-01-24 09:54:03 -03:00
  • ed175e0ad6 Updated CHANGES, README and configure.ac files. v2.0 Matias F 2014-01-23 11:30:05 -03:00
  • c5404a6111 Removed DNSResourceRecord. Records in DNS are now managed completely by DNS::Resource. Matias Fontanini 2014-01-21 22:56:53 -03:00
  • 6d7e06535a Fixed some endianness bugs on ICMPv6 and PPI. Matias Fontanini 2014-01-19 14:40:57 -03:00
  • 853e1ce647 tins.h now includes ppi.h. Matias Fontanini 2014-01-19 14:17:25 -03:00
  • dbcdda9d36 Rewrote the DNS parsing algorithm. Everything is now done on the read buffer, without any extra data structures, making it work about 400% faster than before. Matias Fontanini 2014-01-19 13:11:50 -03:00
  • 17ceba6064 Fixed broken strict-aliasing rules on ICMPv6. Matias Fontanini 2014-01-15 19:56:58 -03:00
  • 52078cc567 Finished porting DHCPv6. Matias Fontanini 2014-01-15 19:39:07 -03:00
  • e2656739f1 Ported DHCP and Dot11. Almost ported DHCPv6 completely. Matias Fontanini 2013-12-23 23:02:58 -03:00
  • 33091ccbae Ported PPPoE and started porting Dot11. Matias Fontanini 2013-12-18 13:02:41 -03:00
  • ca6b603478 Finished porting ICMPv6. Matias Fontanini 2013-12-17 19:00:00 -03:00
  • 069ae82b10 Keep porting ICMPv6 to use PDUOption::to<>. Matias Fontanini 2013-12-17 00:10:26 -03:00
  • ea6638c163 IP now uses PDUOption::to<>. Started porting ICMPv6 to do so as well. Matias Fontanini 2013-12-16 15:50:17 -03:00
  • 112a357726 Added PDUOption::to<>. TCP options now use this method when being converted to their appropriate types. Matias Fontanini 2013-12-16 14:11:53 -03:00
  • 0e54579200 Layer 3 packets sent using PacketSender::send_recv for which the answer is a different PDU type(such as ICMP destination unreachable), are detected by PacketSender and matched like usual. Matias Fontanini 2013-12-14 18:10:33 -03:00
  • ccb8ffd1b5 ICMP::gateway is now an IPv4Address. Matias Fontanini 2013-12-14 14:28:39 -03:00
  • b83c1a2a96 Added support for ICMP address mask request/reply. Matias Fontanini 2013-12-14 14:21:04 -03:00
  • 81a947e3b3 Fixed bug on ICMP checksum calculation when using timestamp request/replies. Matias Fontanini 2013-12-14 13:42:12 -03:00
  • 1cec0f106d Fixed bug in PacketSender when using send_recv and a layer 2 PDU. The interface in which the packet was sent was not the default_interface set when the sender was constructed. Matias Fontanini 2013-12-14 12:49:50 -03:00
  • 0acb0fee3e IP packets sent using PacketSender::send_recv now match ICMP responses. Matias Fontanini 2013-12-14 12:48:56 -03:00
  • 9b57585b62 Added support for ICMP timestamp request/reply packets. ICMP::matches_response now works with these types of packets as well. Matias Fontanini 2013-12-13 17:23:17 -03:00
  • 2ddec368c3 Fixed bug on IP when serializing fragmented packets. Matias Fontanini 2013-12-04 10:56:48 -03:00
  • 83dc8819b6 Updated README.md. matias 2013-11-24 16:37:10 -03:00
  • 5e668e6e83 Updated README.md matias 2013-11-24 13:31:19 -03:00
  • ca4912ded4 Added README.md and updated README. matias 2013-11-24 11:07:39 -03:00
  • 295ebb679c Added 1000ms as the default read timeout used when calling pcap_open_live. Added BaseSniffer::set_timeout to modify this parameter. Matias Fontanini 2013-11-19 20:51:58 -03:00
  • 6355aff3cd Added IPv4Reassembler class. Matias Fontanini 2013-11-17 15:32:24 -03:00
  • a6655191d4 Fragmented IP packet's inner_pdu PDUs are not decoded now. Matias Fontanini 2013-11-16 19:40:08 -03:00
  • dc6c37777b Updated configure.ac and README files. Matias Fontanini 2013-11-10 14:14:25 -03:00
  • 23552ea105 Fixed issue with relative include paths in dot11 headers. Matias Fontanini 2013-11-10 11:55:36 -03:00
  • 9962381fc7 Added the --disable-dot11 configure switch. Matias Fontanini 2013-11-09 14:41:08 -03:00
  • 93ab8d3b91 Removed useless include directives from ip.cpp and ipv6.cpp. Matias Fontanini 2013-11-04 23:31:46 -03:00
  • 5345b29f8c Added support for IPSec. Matias Fontanini 2013-11-04 23:05:00 -03:00
  • de06fee5ab Fixed bug triggered when ifaddrs::ifa_addr was null. Matias Fontanini 2013-11-04 15:53:55 -03:00
  • 6d329424f1 Created an overload of Internals::pdu_from_flag for transport layer PDUs. Matias Fontanini 2013-11-04 13:46:25 -03:00
  • dfbbea33d5 Added another overload of Utils::route_entries and fixed a bug in Utils::network_interfaces. Matias Fontanini 2013-11-02 19:19:55 -03:00
  • 0b02af616a Added ARP monitor example. Matias Fontanini 2013-10-29 21:10:11 -03:00
  • a101ec9796 Added the missing WPS detector example. Matias Fontanini 2013-10-29 19:19:53 -03:00
  • b0868b5d60 Added another Sniffer constructor. Matias Fontanini 2013-10-21 23:31:07 -03:00
  • f57b8c189c Added WPS detector example. Updated configure files. Matias Fontanini 2013-10-21 22:54:18 -03:00
  • a507355e27 Added tins_cast as a replacement for dynamic_cast when using it on PDU classes. Matias Fontanini 2013-10-18 09:28:43 -03:00
  • 87fdd62b57 Added some examples. Matias Fontanini 2013-10-17 20:44:54 -03:00
  • 3337335df2 Fixed compilation error on internals.h. Matias Fontanini 2013-10-16 14:45:03 -03:00
  • 08113b8f5f Updated the CHANGES file. v1.2 Matias Fontanini 2013-10-07 23:50:54 -03:00
  • 6dd949611d Modified some header documentation. Matias Fontanini 2013-10-07 23:31:22 -03:00