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
Matias Fontanini
1ba203d742
Fixed compilation errors on FreeBSD.
2014-09-19 08:50:35 -03:00
Matias Fontanini
977231cf46
Fixed bug when allocating IP over IP packets.
2014-09-09 08:37:17 -03:00
Matias Fontanini
b532753a16
Fixed network naming on Windows.
2014-09-07 23:48:37 -03:00
Matias Fontanini
e0b9e38587
Utils::network_interface returns pcap compatible names on Windows.
2014-09-07 17:54:11 -03:00
Matias Fontanini
9d4bdce7a9
NetworkInterface::name now works on Windows.
2014-09-07 16:40:50 -03:00
Matias Fontanini
57be666de1
Added documentation generation through the build system.
2014-09-04 22:44:10 -03:00
Matias Fontanini
8bd3313010
Removed print statement.
2014-08-31 18:46:13 -03:00
Matias Fontanini
4d8658ca54
Merge pull request #33 from mfontanini/sniffer-config-object
...
Sniffer config object
2014-08-31 18:44:02 -03:00
Matias Fontanini
b6fdba0077
The timeout Sniffer option is set to 1000 by default.
2014-08-31 18:34:52 -03:00
Matias Fontanini
83ced826d0
Fixed using pcap_compile on a not-yet activated pcap handle.
2014-08-30 23:54:18 -03:00
Matias Fontanini
7135473d19
Fixed bug triggered on Dot3 serialization.
...
In addition, Dot3 now always sets the packet length on
serialization.
2014-08-30 23:02:41 -03:00
Matias Fontanini
a7a4105cf8
Added OfflinePacketFilter class.
2014-08-30 23:01:46 -03:00
Santiago Alessandri
2b6a079980
Added back the original constructors of the Sniffer and FileSniffer to keep compatibility. Tagged them as deprecated, though.
...
Changed the default if_mask to 0 as PCAP_NETMASK_UNKNOWN is still not present in all versions of pcap.
Snap length is always set and it's default value is of 65535 not 0.
2014-08-30 17:29:30 -07:00
Matias Fontanini
9d2a60ef43
Added DataLinkType class.
2014-08-30 14:28:29 -03:00
Santiago Alessandri
49f451ecd1
Changed the name to SnifferConfiguration, it sounds better.
2014-08-29 16:35:13 -07:00
Santiago Alessandri
5b2934e102
Refactored sniffer class to take a SnifferConfigurator to do the setup.
...
This way it is easier to extend the different configuration capabilities.
2014-08-29 16:30:13 -07:00
Matias Fontanini
74c85085fb
IPv4Address now uses inet_pton when constructing from string.
2014-08-28 22:53:47 -03:00
Matias Fontanini
f5b0603799
CMake compilation now works on Windows.
2014-08-24 18:06:58 -03:00
Matias Fontanini
2c2df752d0
Added tests to CMake build system.
2014-08-23 18:50:00 -03:00
Matias Fontanini
3a02bd0a3f
Fix build system issues.
2014-08-23 13:05:51 -03:00
Santiago Alessandri
fb7dbed58a
First approach towards moving to CMake
2014-08-22 11:03:16 -07:00
Matias Fontanini
d2f0cd0686
Fixed issue #29 : Added empty name check on DNS::encode_domain_name.
2014-08-20 22:44:03 -03:00
Matias Fontanini
2d6fcfb74a
Fix ICMPv6 serialization (patch by einarjon).
2014-08-18 09:11:03 -03:00
Matias Fontanini
5d0ba22ac4
Fixed invalid parsing of unknown DNS records.
2014-08-07 21:22:31 -03:00
Matias Fontanini
8a44b29d92
Protocols now always set the next layer protocol flag.
2014-08-07 20:42:17 -03:00
Matias Fontanini
8e6ddfd764
Fixed bug in EthernetII when changing its inner PDU.
2014-08-07 19:38:05 -03:00
Matias Fontanini
1c2bfd42ca
Fixed invalid address passed to memcpy.
2014-08-07 19:37:06 -03:00
Christian Hammerl
52b0ee7ceb
fix armv5 alignment issues
2014-07-31 15:49:52 +00:00
Matias Fontanini
3ef85aae38
Added BaseSniffer::set_extract_raw_pdus.
2014-07-30 23:01:03 -03:00
Kyle McDonald
416edc34f7
added Utils::to_string(PDU::PDUType). closes #12 .
2014-07-27 00:24:16 -04: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
dd2ed5daa4
Added undef directive to avoid compilation error on windows.
2014-07-01 17:06:39 -03:00
Matias Fontanini
c25d4738b4
Added check for HAVE_DOT11 macro in RSNInformation header/source files.
2014-06-09 22:50:49 -03:00
Matias Fontanini
3d4f509a62
Added call to pcap_can_set_rfmon before calling pcap_set_rfmon.
2014-06-09 10:24:09 -03:00
Matias Fontanini
c9e955903e
Fixed ICMPv6 checksum calculation.
2014-06-09 10:09:20 -03:00
Matias Fontanini
201ea885a1
Added method in TCP and IP that emplaces an option.
2014-06-01 12:55:36 -03:00
Matias Fontanini
356ea2a68a
Added small option optimization to PDUOption.
2014-05-29 23:15:44 -03:00