Asjad Syed
f188ea4d2a
don't set key_t to 0 when setting a key, because the two fields are unrelated
2016-03-17 22:26:16 -04:00
Matias Fontanini
17da10d76e
Add extract_metadata to main PDU classes
2016-02-20 22:19:12 -08:00
Matias Fontanini
fb4e5086fd
Update copyright notice
2016-01-31 20:03:49 -08:00
Matias Fontanini
d84f10cf08
Code cleanup and use same syntax on the entire project
...
Initial code cleanup
More code cleanup
Cleanup more code
Cleanup Dot11 code
Fix OSX build issue
Cleanup examples
Fix ref and pointer declaration syntax
Fix braces
2016-01-09 10:01:58 -08:00
Matias Fontanini
df3bca099a
Fix invalid RSNEAPOL parsing issue
2015-12-29 07:07:38 -08:00
Matias Fontanini
38239be472
Remove unused cassert header inclusions
2015-12-27 04:38:31 -08:00
Matias Fontanini
02e2b278de
Add OutputMemoryStream and port most classes to use it
2015-12-26 06:30:00 -08:00
Matias Fontanini
13c05fbdb1
Add input memory stream class and port some PDUs to use it
2015-12-24 15:21:07 -08:00
Matias Fontanini
c42cd0114f
Fix compilation warnings on Windows x64.
2015-05-17 17:30:54 -07:00
Matias Fontanini
2dff95700f
Updated copyright notice.
2014-07-13 11:04:29 -03:00
Matias Fontanini
22e7c1d7c4
Fixed error compilations on windows.
2014-07-02 19:02:48 -03:00
Matias Fontanini
c4e6a7c0d6
Fixed some compilation errors/warnings and bugs when using Big Endian architectures.
2013-09-24 00:34:14 -03:00
Santiago Alessandri
02d3a14083
Fixed issue related with EthernetII protocol.
...
The Ethernet II protocol forces a minimum length of 60 bytes. It is necessary to add a trailer for padding of null-bytes when the inner_pdu's size does not meet the requirement.
Also EthernetII packets received were being incorrectly parsed due to the existance of this padding.
The issue has been solved and several tests were added. All tests successfully pass.
2013-07-12 20:06:55 -03:00
Matias Fontanini
ec8374be60
Split dot11.h and dot11.cpp into several files.
2013-05-31 22:16:56 -03:00
Matias Fontanini
5064a9255b
Fixed BSD notice. Updated AUTHORS file.
2013-04-23 20:33:00 -03:00
Matias Fontanini
66ff604580
assert() is only called when TINS_DEBUG is defined.
2013-04-22 18:45:56 -03:00
Matias Fontanini
3fd1b3d37d
Added malformed_packet exception. Every class except Dot11* use it.
2013-04-18 00:12:20 -03:00
Matias Fontanini
931a86eff9
Done minor modification, mostly on documentation.
2013-01-29 16:18: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
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
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
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
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
db0e838e6f
Added PDU::matches_pdu override on RC4EAPOL and RSNEAPOL.
2011-09-08 15:44:05 -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
ed2e0e944c
Added GPL notice.
2011-09-02 22:30:44 -03:00
Matias Fontanini
e4dae4c024
Added RSN constructor from buffer. It's working.
2011-08-30 19:40:39 -03:00
Matias Fontanini
f3d3dd3c25
RSNEAPOL is working. Key flags accessors are not implemented yet.
2011-08-30 00:05:16 -03:00
Matias Fontanini
b8fdf57353
Added EAPOL and RC4EAPOL constructors from byte buffer, it's untested. Fixed getters endianess in EAPOL.
2011-08-28 15:21:12 -03:00
Matias Fontanini
4d4defeed4
Added EAPOL class. Implemented RC4EAPOL. It's working.
2011-08-28 14:53:01 -03:00