Matias Fontanini
1ba203d742
Fixed compilation errors on FreeBSD.
2014-09-19 08:50:35 -03:00
Matias Fontanini
74cca6a483
Improved documentation on several classes.
2014-09-14 14:13:25 -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
e00d6aaa7e
Removed obsolete README file.
2014-09-07 11:22:44 -03:00
Matias Fontanini
9bda470f9d
Completely removed autotools build system.
...
Also cleaned up the project's root, moving some files
into subdirectories.
2014-09-07 00:47:27 -03:00
Matias Fontanini
8b2f6a7fb2
Updated version to 3.2.
2014-09-04 23:04:36 -03:00
Matias Fontanini
57be666de1
Added documentation generation through the build system.
2014-09-04 22:44:10 -03:00
Matias Fontanini
050214a5dc
Updated documentation on several classes.
2014-09-02 23:46:27 -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
d820b0d19d
Added documentation for SnifferConfiguration.
2014-08-30 23:35:05 -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
07be8e244c
Renamed NOEXCEPT macro to TINS_NOEXCEPT.
2014-08-30 14:30:47 -03:00
Matias Fontanini
9d2a60ef43
Added DataLinkType class.
2014-08-30 14:28:29 -03:00
Matias Fontanini
88fc1e7a87
Merge pull request #32 from mfontanini/BUG-31
...
BUG #31 (Closed): Fixed CMake files.
2014-08-29 23:56:30 -03:00
Santiago Alessandri
b063687621
BUG #31 (Closed): Fixed CMake files.
2014-08-29 18:43:40 -07:00
Santiago Alessandri
039b41cb76
Updated the examples to work with the new Sniffer constructor using the SnifferConfiguration object.
2014-08-29 18:20:15 -07:00
Santiago Alessandri
49f451ecd1
Changed the name to SnifferConfiguration, it sounds better.
2014-08-29 16:35:13 -07:00
Santiago Alessandri
10c5013305
Created gitignore file to exclude build directory and config.h automatically generated file.
2014-08-29 16:31:01 -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
e7e66808a4
Updated files for release.
v3.1
2014-08-24 21:40:22 -03:00
Matias Fontanini
2beebd6df3
Fix invalid lib name.
2014-08-24 20:07:30 -03:00
Matias Fontanini
0e967b4d30
Removed unnecessary check for CXX11_COMPILER_FLAGS.
2014-08-24 18:44:53 -03:00
Matias Fontanini
f5b0603799
CMake compilation now works on Windows.
2014-08-24 18:06:58 -03:00
Matias Fontanini
443974335a
Added examples to CMake build system.
2014-08-23 23:12:19 -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
d0d4379b1b
Added missing files.
2014-08-22 11:28:09 -07: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
424e31bdd6
Updated configure files.
2014-08-09 14:42:11 -03:00
Matias Fontanini
5d8f3e6741
Updated README and CHANGES files.
v3.0
2014-08-07 21:39:54 -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
1b47623484
Timestamps can now be constructed from std::chrono::duration.
2014-08-07 20:12:19 -03:00
Matias Fontanini
282cd0913c
Added Packet constructor.
2014-08-07 19:58:41 -03:00
Matias Fontanini
aed5ccdfca
Updated configure files.
2014-08-07 19:56:29 -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
Matias Fontanini
b9db3ea1d3
Merge pull request #22 from mantiz/fix-armv5-alignment-issues
...
fix armv5 alignment issues
2014-07-31 13:47:17 -03:00
Christian Hammerl
52b0ee7ceb
fix armv5 alignment issues
2014-07-31 15:49:52 +00:00