Matias Fontanini
cab0ba8b9a
Fix bug on SessionKeys::SessionKeys.
2015-06-12 20:09:23 -07:00
Matias Fontanini
0a2fdfcd42
Fix compilation errors on android.
2015-06-07 15:25:57 -07:00
Matias Fontanini
0f3441ccf6
Add PacketWriter::write overload that takes a Packet.
2015-05-26 21:33:13 -07:00
Matias Fontanini
0dee5618f2
Allow retrieving keys on WPA2Decrypter.
2015-05-21 21:14:24 -07:00
Matias Fontanini
76c6511e0c
Add NetworkInterface::is_up and NetworkInterface::info.
2015-05-19 18:52:42 -07:00
Matias Fontanini
2f2a705127
Add NetworkInterface::Info::is_up.
2015-05-19 18:44:24 -07:00
Matias Fontanini
c42cd0114f
Fix compilation warnings on Windows x64.
2015-05-17 17:30:54 -07:00
Matias Fontanini
325de4abca
Fix error on VC triggered by pcap redefining the "inline" keyword.
2015-05-12 19:03:52 -07:00
Matias Fontanini
d1ffecb132
Soften DNS parsing rules. Fixes #74 .
2015-05-10 12:19:58 -07:00
Matias Fontanini
a607ab380c
Replace WIN32 macro with _WIN32.
2015-05-02 16:25:59 -07:00
Matias Fontanini
f229f9a81e
Merge pull request #72 from mfontanini/googletest-submodule
...
Googletest submodule
2015-04-25 18:57:57 -07:00
Matias Fontanini
62260ab93b
Fix more compilation warnings on Windows.
2015-04-25 18:54:43 -07:00
Matias Fontanini
c108f6e4e6
Fix compilation warnings on Windows.
2015-04-25 18:44:38 -07:00
Matias Fontanini
e64e0ce27b
Fix IPv6Address::to_string on Windows.
2015-04-25 12:20:47 -07:00
Matias Fontanini
995abd4d00
Fix DNS issues triggered on VC.
2015-04-25 11:32:47 -07:00
Ben McMorran
eb5598be7c
Perserve IP protocol when using RawPDU
...
Previously, the IP protocol field for non-fragmented packets was forcibly overwritten to the protocol of the inner PDU even if that PDU was a RawPDU. This behavior contradicts the documentation.
2015-04-20 02:45:27 -04:00
Matias Fontanini
8c2b56e286
Allow sending Dot3 on Windows using pcap_sendpacket.
2015-04-18 19:37:57 -07:00
Matias Fontanini
147c1a4315
Don't allow receiving l2 packets on windows.
2015-04-18 18:56:16 -07:00
Matias Fontanini
2fa4c2ade3
Soften more precompiler conditionals on PacketSender.
2015-04-18 18:26:49 -07:00
Matias Fontanini
621af33a81
Fix more precompiler conditionals.
2015-04-18 18:19:56 -07:00
Matias Fontanini
1a9cd63397
Remove more WIN32 guards.
2015-04-18 18:15:00 -07:00
Matias Fontanini
e2f96123a3
Remove some WIN32-guarded code.
2015-04-18 18:08:22 -07:00
Matias Fontanini
96fc1a3749
Use pcap_sendpacket to send packets if this mode is enabled.
2015-04-18 17:46:14 -07:00
Ulf Wetzker
7d7aae5929
Made rsn_information() a const member function to make Dot11ManagementFrame immutable
2015-04-08 14:45:56 +02:00
Matias Fontanini
a326463160
Add one integer field for all flags on TCP.
2015-04-05 11:53:12 -07:00
Matias Fontanini
3791fc0ee6
Fix ICMPv6 issue on big endian.
2015-04-02 23:02:28 -07:00
Matias Fontanini
40a8354125
Fix Dot11/RSNInformation big endian issues.
2015-04-02 22:59:47 -07:00
Matias Fontanini
bb683c9f79
Fix invalid DNS IPv4 address parsing on big endian arch.
2015-04-02 22:43:35 -07:00
Matias Fontanini
fa4a074e2f
Add missing RadioTap fields.
2015-03-04 21:27:47 -08:00
Matias Fontanini
695f191bb8
Fix invalid DNS record retrieval.
2015-03-04 18:11:33 -08:00
Ulf Wetzker
93a46366a0
Fixed type for _dbm_signal and _dbm_noise
2015-02-09 14:30:34 +01:00
Ulf Wetzker
d640eebb99
Add Exception for fields that are not present in RadioTap frames.
2015-02-09 13:23:03 +01:00
Joseph Beshay
7382cc65de
Fixed TKIP decryption. Now packets from AP to STA are also decrypted.
2015-01-22 19:51:05 -06:00
Matias Fontanini
1ca4f8166b
Fix bug on EAPOL over snap serialization.
2015-01-17 09:49:47 -08:00
Matias Fontanini
65607b0eb5
Fixed PKTAP next layer interpretation.
2014-12-21 10:51:18 -08:00
Matias Fontanini
a4c67e5acd
Added PKTAP header.
2014-12-21 10:18:59 -08:00
zhiweicai
8bf3b1af45
fix ip_to_int function on windows
2014-12-16 21:32:59 -05:00
Matias Fontanini
ae135bb035
Fixed IP total length zero bug.
2014-11-25 22:49:05 -08:00
Matias Fontanini
3b126ca02b
Removed access to potentially invalid positions on vector.
2014-11-12 21:11:01 -08:00
Matias Fontanini
0ba05f9d1a
Fixed assertion throw on DNS on Visual Studio.
2014-11-11 22:01:23 -08:00
Matias Fontanini
3a38d36a60
Fixed invalid parsing of RadioTap ext flag field.
2014-11-06 21:44:59 -08:00
Matias Fontanini
d55a03ca0c
Added L3 packet receive exception on BSD.
2014-10-25 17:42:46 -05:00
Matias Fontanini
c4609fedd6
Added Loopback::matches_response.
2014-10-25 00:23:52 -05:00
Matias Fontanini
69440fbc75
Fixed exception thrown when an interface didn't have IP address.
2014-10-23 00:04:20 -05:00
Matias Fontanini
64fac4f255
Added NetworkInterface::is_loopback.
2014-10-19 09:13:28 -03:00
Matias Fontanini
9ee90755d1
Moved headers to include/tins.
2014-10-17 12:14:00 -03:00
Matias Fontanini
a1636896aa
Fixed compilation warning on unsigned integral constant.
2014-10-17 12:03:37 -03:00
Matias Fontanini
3ad96422b9
Added correct parsing of PPPoE session packets.
2014-09-24 09:15:20 -03:00
Matias Fontanini
ff74f3103c
Fixed invalid Loopback protocol detection on FreeBSD/OSX.
2014-09-20 09:52:42 -03:00
Matias Fontanini
addf0b3d98
Fixed OSX IP packet sending.
2014-09-19 10:07:31 -03:00