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

60 Commits

Author SHA1 Message Date
Matias Fontanini
ae1e1c2ce2 Modified some protocols' internal type names. 2013-04-09 15:40:58 -03:00
Matias Fontanini
20054e6c73 Several classes now use PDUOption::length_field instead of data_size. 2013-04-08 11:58:12 -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
356fe00aad Fixed compilation error in OSX. Fixed bug when sending IP PDUs in BSD. 2012-12-04 16:15:08 -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
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
abaa2bf926 PacketSender now throws on error. Fixed the documentation on several header files. 2012-10-19 12:01:34 -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
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
77478a6df7 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-10-07 19:00:25 -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
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
7cbd32361a Modified some PacketSender and BaseSniffer functions to take references instead of pointers. 2012-09-11 08:51:25 -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
83ec6e6bad Refactored TCP's interface. 2012-09-07 11:56:36 -03:00
Matias Fontanini
9981819b71 Added PacketWriter class. 2012-09-06 14:18:07 -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
e83acc92cc No code uses net_to_host_* now. 2012-08-16 23:45:50 -03:00
Matias Fontanini
27f6eeccd4 Fixed some bugs in Dot11 and DNS. Most of the code uses host_to_be and be_to_host. 2012-08-16 00:34:18 -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
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
Santiago Alessandri
418b753a3b Fix merging problems 2011-09-07 10:09:14 -03:00
Santiago Alessandri
26d791ee05 Added helper methods and Dot11ProbeResponse (still unfinished) 2011-09-07 10:04:50 -03:00
Matias Fontanini
577472e790 Fixed bug in Dot11 constructor. 2011-09-07 08:30:36 -03:00
Matias Fontanini
a30d75bf05 Fixed merge conflicts. 2011-09-06 11:59:52 -03:00