1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-25 19:51:34 +01:00
Commit Graph

467 Commits

Author SHA1 Message Date
Matias Fontanini
3b4dc10211 Added HWAddress<>::operator[]. 2013-06-01 12:05:53 -03:00
Matias Fontanini
8c1d71c7b7 Both of WPA2Decrypter::add_supplicant_data overloads work. 2013-06-01 10:48:22 -03:00
Matias Fontanini
5db196a630 Fixed tests dependency file. 2013-05-31 22:33:50 -03:00
Matias Fontanini
ec8374be60 Split dot11.h and dot11.cpp into several files. 2013-05-31 22:16:56 -03:00
Matias Fontanini
eeb62add59 Added WPA2Decrypter tests. 2013-05-31 14:11:12 -03:00
Matias Fontanini
908fcb56e8 Added WPA2Decrypter class. 2013-05-30 23:36:14 -03:00
Matias Fontanini
ddf47365c1 RadioTap now calculates its size always while serializing. Added 2 missing RadioTap fields as well. 2013-05-30 18:14:11 -03:00
Matias Fontanini
b052aa1d88 Added HWAddress<>::is_broadcast. 2013-05-29 11:14:36 -03:00
Matias Fontanini
cacf75995d Added automake foreign option. 2013-05-28 15:19:00 -03:00
Matias Fontanini
4960077495 RSNHandshakeCapturer is now DefaultConstructible. 2013-05-28 10:15:33 -03:00
Matias Fontanini
8147a2bfb7 Added RSNHandshakeCapturer class. 2013-05-25 18:00:20 -03:00
Piotr Haber
28c8d393d6 do not parse Dot11 frame if FCS is wrong
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
2013-05-23 17:54:17 -03:00
Matias Fontanini
ec7e718e38 Implemented std::hash for IPv4Address and IPv6Address. 2013-05-21 13:07:14 -03:00
Matias Fontanini
62740e8e64 Implemented std::hash specialization for HWAddress. 2013-05-04 20:09:32 -03:00
Matias Fontanini
2bb699dc97 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2013-05-01 14:08:16 -03:00
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
7f6e4446b4 Fixed the examples. 2013-04-24 12:07:52 -03:00
Matias Fontanini
cf19c8758d UDP now calculates the checksum when the transport layer protocol is IPv6. v1.0 2013-04-23 23:00:43 -03:00
Matias Fontanini
5197e7f5f1 Sniffer now differentiates between EthernetII and Dot3 when sniffing. 2013-04-23 22:55:32 -03:00
Matias Fontanini
eb87b82c17 Fixed the CHANGES and README files. 2013-04-23 20:57:56 -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
7e85058ef1 Added another overload of Utils::resolv_hwaddr. 2013-04-23 15:19:48 -03:00
Matias Fontanini
ec05a49cce Done minor modifications on configure.ac 2013-04-23 14:46:56 -03:00
Matias Fontanini
b0eefe15f9 Modified the soname. 2013-04-23 13:43:12 -03:00
Matias Fontanini
0f2bc45059 Moved definitions inside TINS_IS_CXX11 into header files. 2013-04-23 13:04:57 -03:00
Matias Fontanini
f8134be8b7 Done some modifications on the configure script. 2013-04-23 13:03:00 -03:00
Matias Fontanini
8afbe14c82 PacketSender is not copyable and movable. 2013-04-23 11:05:44 -03:00
Matias Fontanini
fdfb8b0dea Fixed compilation issues triggered in GNU/kFreeBSD. 2013-04-22 23:48:53 -03:00
Matias Fontanini
9be4f0ca37 Removed IP, UDP and IP checksum setters. Added some checksum tests. 2013-04-22 20:06:35 -03:00
Matias Fontanini
66ff604580 assert() is only called when TINS_DEBUG is defined. 2013-04-22 18:45:56 -03:00
Matias Fontanini
7e0e85db65 Added AC_CANONICAL_SYSTEM to configure.ac. 2013-04-22 13:58:42 -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
7da8de6ea7 Added another test case for RadioTap's constructor from buffer. 2013-04-22 12:53:01 -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
9e20c0241f Added a default interface to PacketSender. 2013-04-21 19:40:17 -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
077b54bbed Added STP root_id and bridge_id setters/getters. 2013-04-21 13:22:15 -03:00
Matias Fontanini
759e92706f Sniffer::sniff_loop now catches malformed_packet and pdu_not_found, when thrown by the functor argument. 2013-04-21 13:21:47 -03:00
Matias Fontanini
2ea952d6ab Added PDU::rfind_pdu. 2013-04-19 22:27:48 -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
9812ad441f Added missing exceptions.h file. 2013-04-18 17:52:53 -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
923f51ae15 Fixed bug triggered when parsing Dot11 QoS packets. 2013-04-16 15:01:48 -03:00
Matias Fontanini
804ea411fc Fixed bug in RadioTap when using FCS at the end. 2013-04-16 13:45:30 -03:00
Piotr Haber
9bcfd07896 fix radiotap header parsing
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
2013-04-16 13:37:31 -03:00
Matias Fontanini
58c8eccc46 Makefile issue fix. 2013-04-16 13:15:35 -03:00