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

65 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
ed39eb36f5 Dot11BlockAck and Dot11BlockAckRequests' frag_seq, start_sequence and bar_control now use small_uint rather than uintX_t. 2013-04-22 12:54:27 -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
6f04329fbe All tests now run successfully on big endian architectures. 2013-04-21 15:40:28 -03:00
Matias Fontanini
91bdcca577 Dot11 now uses option_not_found. Sniffer catches malformed_packet rather than std::runtime_error while sniffing. 2013-04-19 14:06:59 -03:00
Matias Fontanini
75bd445bd3 Dot11 now uses malformed_packet. 2013-04-19 02:05:28 -03:00
Matias Fontanini
923f51ae15 Fixed bug triggered when parsing Dot11 QoS packets. 2013-04-16 15:01:48 -03:00
Matias Fontanini
ae1e1c2ce2 Modified some protocols' internal type names. 2013-04-09 15:40:58 -03:00
Matias Fontanini
d7dd1e131f Added an overload of add_option that takes an rvalue-ref in IP, TCP, DHCP, ICMPv6 and Dot11. 2013-03-24 00:08:53 -03:00
Matias Fontanini
247273e086 Added constructor from buffer test for Dot11BlockAckRequest. 2013-03-18 13:32:34 -03:00
Matias Fontanini
c7c56a610c Done some -pedantic modifications. 2013-01-24 13:44:30 -03:00
Matias Fontanini
647ba1f46e Fixed ternary operator associativity issue in dot11.h. 2012-12-03 20:56:47 -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
a18cd3e0de PDU::find_pdu now has a const overload. 2012-11-26 15:38:53 -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
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
676bea9035 Fixed Dot11 documentation. 2012-10-05 12:13:06 -03:00
Matias Fontanini
da60d99f98 Modified the Dot11 constructor. 2012-10-03 14:53:46 -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
e945ced307 Modified some file names. 2012-09-10 10:31:00 -03:00
Matias Fontanini
c49fbe9929 Added a generic PDUOption class. TCP, IP, DHCP and Dot11* now use this class to store their options. 2012-09-10 00:11:54 -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
832a79a1e1 Moved endianness change functions to endianness.h. 2012-09-03 23:58:43 -03:00
Matias Fontanini
279940c398 Refactored RSNInformation. 2012-09-02 23:49:41 -03:00
Matias Fontanini
958edcc74a Added small_uint class. 2012-09-02 18:24:59 -03:00
Matias Fontanini
da8c77c77e RAII'd some code. Everything(hopefully) uses IPv4Address now. 2012-08-27 00:16:56 -03:00
Matias Fontanini
ba17ca3045 Finished Dot11 tests. 2012-08-26 12:49:04 -03:00
Matias Fontanini
ab9beab5bf Added some Dot11 tests, fixed bugs. 2012-08-24 12:02:03 -03:00
Matias Fontanini
6aa1d874a1 Added several Dot11 tests, fixed some bugs on Dot11. 2012-08-24 00:20:36 -03:00
Matias Fontanini
9cd0e40600 Finished Dot11 taged option getters/unit tests. Added Dot11Disassoc tests. 2012-08-23 00:20:22 -03:00
Matias Fontanini
23076df07a Added unit tests for Dot11ManagementFrame. 2012-08-22 12:01:36 -03:00
Matias Fontanini
c0c1d43b5e Added some Dot11 tests and fixed some bugs. 2012-08-21 12:01:26 -03:00
Matias Fontanini
3ef29f831b Added some Dot11 unit tests. Fixed several bugs in Dot11 and its subclasses. 2012-08-21 00:03:00 -03:00
Matias Fontanini
55be59ee15 Done some minor fixes. 2012-08-09 23:39:32 -03:00
Matias Fontanini
91af0f9cc2 EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and HWAddress. 2012-08-09 12:00:29 -03:00
Matias Fontanini
1b57563a96 RadioTap and Dot11 now use HWAddress. 2012-08-07 23:20:16 -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
383deb8641 Modified header guards so they don't use reserved names containing double underscores. 2012-08-02 16:00:56 -03:00
Matias Fontanini
53dfad8bf2 Done minor modifications. 2012-03-06 08:31:10 -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
753378cb38 Fixed some leak or uninitialized memory usage bugs. 2011-09-10 20:05:41 -03:00
Santiago Alessandri
af50d41be1 Added Dot11ReAssoc PDU 2011-09-08 12:26:33 -03:00
Matias Fontanini
0376845507 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-09-08 11:27:11 -03:00
Matias Fontanini
83646d6064 Added PDU::matches_flag override on Dot11 subclasses. 2011-09-08 11:27:01 -03:00
Santiago Alessandri
3500187e39 Finished adding helpers. Finished beacon helpers 2011-09-08 11:25:55 -03:00
Santiago Alessandri
1c40470418 Implemented ProbeResponse. Still unfinished 2011-09-08 10:42:50 -03:00