1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00
Commit Graph

70 Commits

Author SHA1 Message Date
Matias Fontanini
bf604339f0 Removed the PDU* parameter in several PDU's constructors. 2013-04-23 20:03:08 -03:00
Matias Fontanini
0f2bc45059 Moved definitions inside TINS_IS_CXX11 into header files. 2013-04-23 13:04:57 -03:00
Matias Fontanini
d1b64ec48e PDU::matches_response is now const. 2013-04-21 20:03:47 -03:00
Matias Fontanini
69968cbc5c Removed deprecated methods/types. 2013-04-21 19:52:39 -03:00
Matias Fontanini
97f049580b Link layer PDUs no longer contain a NetworkInterface. 2013-04-21 18:50:08 -03:00
Matias Fontanini
2ea952d6ab Added PDU::rfind_pdu. 2013-04-19 22:27:48 -03:00
Matias Fontanini
3fd1b3d37d Added malformed_packet exception. Every class except Dot11* use it. 2013-04-18 00:12:20 -03:00
Matias F
9631734805 Added STP class. 2013-04-15 14:01:44 -03:00
Matias Fontanini
fee938b46d Added move constructor/assignment operator to PDU. 2013-04-10 18:43:24 -03:00
Matias Fontanini
f7f5a9bc9a Added PPPoE. 2013-04-07 20:57:43 -03:00
Matias Fontanini
f2a5f73337 Implemented matches_response on several PDUs. Added some test cases. 2013-04-02 21:05:53 -03:00
Matias Fontanini
82ef41dd92 IP now fills automatically the sender address when no link layer PDU is present. Made some protocols work when using PacketSender::send_recv. 2013-03-25 14:08:59 -03:00
Matias Fontanini
8be0c4c23c Marked PDU::clone_packet as deprecated. 2013-03-24 16:08:09 -03:00
Matias Fontanini
f5ecaa3faa Added Dot1Q class. 2013-03-17 23:27:34 -03:00
Matias Fontanini
c7c56a610c Done some -pedantic modifications. 2013-01-24 13:44:30 -03:00
Matias Fontanini
044d0a5a31 Added DHCPv6 initial support. 2013-01-16 20:15:04 -03:00
Matias Fontanini
02265061cc Added SLL pseudo protocol header. 2013-01-16 00:05:28 -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
a18cd3e0de PDU::find_pdu now has a const overload. 2012-11-26 15:38:53 -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
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
abaa2bf926 PacketSender now throws on error. Fixed the documentation on several header files. 2012-10-19 12:01:34 -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
1c22dab2dc libtins now uses a BSD license. 2012-10-07 20:33:45 -03:00
Matias Fontanini
153bcecc35 Removed the useless PDU::flag member. Added a PDU concatenation operator. 2012-10-07 18:51:06 -03:00
Matias Fontanini
e8151724c4 Removed PDU::clone_packet and renamed PDU::clone_pdu to PDU::clone. 2012-09-11 16:54:14 -03:00
Matias Fontanini
7cbd32361a Modified some PacketSender and BaseSniffer functions to take references instead of pointers. 2012-09-11 08:51:25 -03:00
Matias Fontanini
83ec6e6bad Refactored TCP's interface. 2012-09-07 11:56:36 -03:00
Matias Fontanini
3cb6603151 Improved compile time using forward declarations and removing useless includes. 2012-09-05 11:59:46 -03:00
Matias Fontanini
958edcc74a Added small_uint class. 2012-09-02 18:24:59 -03:00
Matias Fontanini
fbd6ef397b Removed Utils::ip_to_int/string. Everything is using IPv4Address now. 2012-08-27 23:54:43 -03:00
Matias Fontanini
1b08d1af71 Added some serialization tests to every PDU. 2012-08-26 12:50:30 -03:00
Matias Fontanini
6aa1d874a1 Added several Dot11 tests, fixed some bugs on Dot11. 2012-08-24 00:20:36 -03:00
Matias Fontanini
55be59ee15 Done some minor fixes. 2012-08-09 23:39:32 -03:00
Matias Fontanini
4af3d3c697 Added a constant static value to each PDU indicating the corresponding PDU::PDUType flag. 2012-08-06 22:29:41 -03:00
Matias Fontanini
c5fce38c3a Refactored several classes. 2012-08-03 13:08:24 -03:00
Matias Fontanini
383deb8641 Modified header guards so they don't use reserved names containing double underscores. 2012-08-02 16:00:56 -03:00
Matias Fontanini
b55bafaedd DNS is working. Constructor from buffer is not implemented yet. 2012-03-30 01:03:36 -03:00
Santiago Alessandri
01a7b812df LLC almost works 2012-03-19 12:04:55 -03:00
Santiago Alessandri
937a4d66cc Completed LLC. Not tested yet 2012-03-19 08:07:16 -03:00
Santiago Alessandri
4dc3301134 Added Auth and Deauth Packets to 802.11. Added check of symbols definition in makefile.in 2011-09-12 11:47:27 -03:00
Matias Fontanini
db0e838e6f Added PDU::matches_pdu override on RC4EAPOL and RSNEAPOL. 2011-09-08 15:44:05 -03:00
Santiago Alessandri
af50d41be1 Added Dot11ReAssoc PDU 2011-09-08 12:26:33 -03:00
Matias Fontanini
83646d6064 Added PDU::matches_flag override on Dot11 subclasses. 2011-09-08 11:27:01 -03:00
Matias Fontanini
b17ee6a6cb Removed copy constructor from several PDUs. 2011-09-08 10:18:15 -03:00
Matias Fontanini
f30f404632 Moved PDU::pseudoheader_checksum and PDU::do_checksum to Utils namespace. 2011-09-07 09:52:58 -03:00
Matias Fontanini
5bd2637f88 Added some Dot11 PDU flags. 2011-09-06 11:43:18 -03:00
Matias Fontanini
477a757f5a Renamed IEEE802_11 and all subclasses to Dot11 2011-09-04 10:19:58 -03:00
Matias Fontanini
3178c217b3 Added copy constructor and copy assignment operator to all PDUs. 2011-09-03 18:58:57 -03:00
Matias Fontanini
fdcefd2132 Added PDU::clone_pdu. 2011-09-03 00:13:31 -03:00