1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00
Commit Graph

353 Commits

Author SHA1 Message Date
Matias Fontanini
dd9c0b3fd5 Fixed bugs in IPv6 and ICMPv6 when constructing an object from a buffer. 2012-12-01 13:43:19 -03:00
Matias Fontanini
9bdee61e5b Fixed some issues with Endian::change_endian triggered in OSX. 2012-11-29 21:30:13 -03:00
Matias Fontanini
e2426b493e configure script now works on BSD. 2012-11-29 18:00:41 -03:00
Matias Fontanini
acff776d56 Utils::route_entries now works on BSD. 2012-11-29 17:11:10 -03:00
Matias Fontanini
4036e7daa2 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-11-29 14:01:55 -03:00
Matias Fontanini
93b5b86c5d Added some ICMPv6 option getters/setters. 2012-11-29 14:01:22 -03:00
Matias Fontanini
de82dc2322 Link layer protocols can now be sent on BSD. 2012-11-28 16:50:47 -03:00
Matias Fontanini
6696c1b284 Ported almost everything to BSD. Utils::route_entries and sending link layer PDUs still don't work. 2012-11-28 00:11:42 -03:00
Matias Fontanini
e6e3e8453b Fixed some bugs in ICMPv6. 2012-11-26 19:47:15 -03:00
Matias Fontanini
4576d8746c Added another constructor to Packet. 2012-11-26 16:01:26 -03:00
Matias Fontanini
b42c868a66 Added .so file symlinks. 2012-11-26 15:50:06 -03:00
Matias Fontanini
a18cd3e0de PDU::find_pdu now has a const overload. 2012-11-26 15:38:53 -03:00
Matias Fontanini
88faee9b26 Added Packet conversion to bool. 2012-11-26 15:22:29 -03:00
Matias Fontanini
16a29fab3e Fixed memory leak in Packet's copy assignment operator. 2012-11-26 15:03:09 -03:00
Matias Fontanini
cd6bc16d48 Packets are now copyable and movable. 2012-11-26 14:02:50 -03:00
Matias Fontanini
443803caf0 Added ICMPv6 class. It's working. Option getters/setters are missing. 2012-11-24 18:50:21 -03:00
Matias Fontanini
75a4bbfed6 Added Timestamp conversion to std::chrono::microseconds. BaseSniffer is now movable. 2012-11-23 20:30:16 -03:00
Matias Fontanini
b74a353c17 Added packet.h and timestamp.h to tins.h 2012-11-23 18:56:39 -03:00
Matias Fontanini
492fd611f9 Added Packet and some wrapper packet classes. Modified the return value of BaseSniffer::next_packet. 2012-11-23 18:10:51 -03:00
Matias Fontanini
a938d2ecfd Added support for IPv6 extension headers. Specific headers getters and setters are not yet implemented. 2012-11-22 17:18:59 -03:00
Matias Fontanini
8276e7d086 Added IPv6 class. It's working, but there's no support for extension headers yet. 2012-11-21 22:09:58 -03:00
Matias Fontanini
ffdfb160c4 Added ipv6_address.h include to tins.h. 2012-11-21 15:52:31 -03:00
Matias Fontanini
bf6c086b3d Added BaseSniffer::timestamp method. 2012-11-21 13:33:28 -03:00
Matias Fontanini
08b4c92dac Added support for IPv6 addresses in DNS. 2012-11-20 23:57:02 -03:00
Matias Fontanini
2a0b248518 Added IPv6Address. 2012-11-20 23:46:22 -03:00
Matias Fontanini
60323ded9b AAAA records are now parsed correctly. 2012-11-20 21:19:05 -03:00
Matias Fontanini
f3ea99e0b0 Used a better strategy in DNSResourceRecord's constructor from buffer which will parse the data even if contains_dname returns false. 2012-11-20 18:31:33 -03:00
Matias Fontanini
7e080cf1ab Added some missing DNS record types which contain domain names to the 'contains_dname' helper function. 2012-11-20 18:27:59 -03:00
Matias Fontanini
688be1e1da Fixed the try/catch block in BaseSniffer::sniff_loop. It now only catches std::runtime_errors. 2012-11-20 16:33:26 -03:00
Bruno Nery
28e5df3abc Fixed BaseSniffer::next_packet() to return when error occurred. Updated its documentation.
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
2012-11-20 16:30:34 -03:00
Matias Fontanini
d0048e3aef Fixed bug in DNS triggered when adding two records for the same domain name. 2012-11-20 16:10:24 -03:00
Matias Fontanini
5fd892c77e Fixed some bugs. Added documentation. v0.2 2012-10-20 11:12:59 -03:00
Matias Fontanini
abaa2bf926 PacketSender now throws on error. Fixed the documentation on several header files. 2012-10-19 12:01:34 -03:00
Matias Fontanini
15b58b4f37 Added PDUCacher class template. 2012-10-18 23:23:28 -03:00
Matias Fontanini
b7ea989530 Added several tests for EAPOL. Now both RadioTap and EAPOL work on big endian architectures. 2012-10-18 23:22:42 -03:00
Matias Fontanini
d4bcefb1d6 Added RC4EAPOL tests. 2012-10-18 12:42:05 -03:00
Matias Fontanini
f4d37f5a51 Fixed some parsing bugs in RadioTap. 2012-10-17 23:33:05 -03:00
Matias Fontanini
cd9d29f354 Added BSD notice to the code examples. 2012-10-17 18:49:43 -03:00
Matias Fontanini
53efc67f6f Added some unit tests for RadioTap. 2012-10-17 18:44:46 -03:00
Matias Fontanini
a0f5d26987 The FCS-at-end flag was being ignored in RadioTap. Added beacon display example. 2012-10-15 23:53:36 -03:00
Matias Fontanini
87292a6039 Added tests for WEPDecrypter. 2012-10-12 00:32:56 -03:00
Matias Fontanini
17d351cb82 Added support for decrypting WEP encrypted packets on the fly. 2012-10-10 23:37:16 -03:00
Matias Fontanini
5b54cdefad Implemented operator< on both HWAddress and IPv4Address. 2012-10-10 21:14:25 -03:00
Matias Fontanini
3139020df2 Done some fixes on Sniffer and Dot11Data. 2012-10-10 21:06:06 -03:00
Matias Fontanini
73577c744a Every test now pass on big endian architectures. Ported about half of the library to windows as well. 2012-10-08 21:14:57 -03:00
Matias Fontanini
1c22dab2dc libtins now uses a BSD license. 2012-10-07 20:33:45 -03:00
Matias Fontanini
6b2db79e82 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-10-07 19:25:26 -03:00
Matias Fontanini
39623ef7ee Refactored DNS. 2012-10-07 19:25:10 -03:00
Matias Fontanini
77478a6df7 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-10-07 19:00:25 -03:00
Matias Fontanini
c91c12aa1c Added NULL/Loopback PDU. 2012-10-07 18:51:41 -03:00