Piotr Haber
14b1a4988b
take wildcard SSID into account
...
Specification states (Ch 8.4.2.2 of IEEE Std 802.11-2007)
that in Probe Reqest frames SSID IE of length 0 signifies
"wildcard" SSID.
Return "BROADCAST" from Dot11ManagementFrame::ssid()
in such case.
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com >
2013-05-01 14:06:02 -03:00
Matias Fontanini
5064a9255b
Fixed BSD notice. Updated AUTHORS file.
2013-04-23 20:33:00 -03:00
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
fdfb8b0dea
Fixed compilation issues triggered in GNU/kFreeBSD.
2013-04-22 23:48:53 -03:00
Matias Fontanini
66ff604580
assert() is only called when TINS_DEBUG is defined.
2013-04-22 18:45:56 -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
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