1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-25 19:51:34 +01:00
Commit Graph

304 Commits

Author SHA1 Message Date
Bruno Nery
a13d7d0cb1 Fixed Timestamp::operator std::chrono::microseconds issue.
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
2013-01-15 18:38:35 -03:00
Matias Fontanini
7a86012292 IPv6::send now works on linux. BSD does not support sending IPv6 as the lowest layer. 2012-12-10 20:31:32 -03:00
Matias Fontanini
c933faaf5e Null/Loopback PDUs can now be sent on *BSD. 2012-12-09 13:05:39 -03:00
Matias Fontanini
a7e0c094fb Implemented several ICMPv6 option getters/setters. 2012-12-08 11:15:41 -03:00
Matias Fontanini
592a15ebe4 Added some ICMPv6 option getters/setters. 2012-12-05 23:33:09 -03:00
Matias Fontanini
75b32c75bc Added concat operator to Packet and an overload that takes a PDU*. 2012-12-05 17:04:39 -03:00
Matias Fontanini
765285c6ee Added several ICMPv6 option getters/setters. 2012-12-04 23:15:38 -03:00
Matias Fontanini
356fe00aad Fixed compilation error in OSX. Fixed bug when sending IP PDUs in BSD. 2012-12-04 16:15:08 -03:00
Matias Fontanini
647ba1f46e Fixed ternary operator associativity issue in dot11.h. 2012-12-03 20:56:47 -03:00
Matias Fontanini
53fe80d8a7 Added fix for IP::tot_len's endianess in OSX. 2012-12-03 20:34:15 -03:00
Matias Fontanini
742276c251 libtins compiles and runs under windows. Packets apparently can't be sent yet. 2012-12-02 20:25:05 -03:00
Matias Fontanini
6d1e96866e libtins now compiles on windows. A couple of features were disabled and need to be fixed though. 2012-12-02 00:45:10 -03:00
Matias Fontanini
dbe67c8cae DNSRecords are now movable.! 2012-12-01 20:18:23 -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
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
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
5fd892c77e Fixed some bugs. Added documentation. 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
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