Patrick Michel
838a4a5cb9
Refactored code related to stream/flow initialization. ( #170 )
...
- Removed client_flow().process_packet() in Stream constructor, in favor of processing on SYN in stream follower.
- Moved +1 to seq on SYN/ACK.
2016-09-28 07:30:16 -07:00
Matias Fontanini
e82b72e931
Use relative include for config.h
2016-09-27 22:06:09 -07:00
Matias Fontanini
fdc6ccdf5c
Only enable TCP stream's custom data if boost.any is found
2016-09-27 21:46:38 -07:00
Patrick Michel
52b389afe8
Allow setting custom user data to each TCP stream
2016-09-27 21:33:10 -07:00
Matias Fontanini
552006c876
Set EthernetII payload type to UNKNOWN if no inner_pdu
2016-09-27 07:47:32 -07:00
Matias Fontanini
f0b32edaa9
Use boost include paths/libs on appveyor build
2016-09-26 20:29:14 -07:00
Matias Fontanini
5a901ca155
Merge branch 'develop'
2016-09-26 19:52:12 -07:00
Jim Hague
9593cf4cf6
Correct typo preventing user buffer management for server TCP streams. ( #160 )
2016-08-31 09:13:43 -07:00
Huemac
64725e2ed9
Fix Cppcheck 1.75 warnings ( #159 )
...
- The scope of the variable 'last_index' & 'index' could be reduced.
- Prefer prefix ++/-- operators for non-primitive types.
2016-08-14 12:29:53 -07:00
Vikas Kumar
9260f9374a
Variable Boost_INCLUDE_DIRS incorrectly used in cmake file ( #158 )
...
`s/Boost_INCLUDE_DIRS/${Boost_INCLUDE_DIRS}/ inside `INCLUDE_DIRECTORIES`
2016-08-13 13:41:25 -07:00
Sergey Kovalevich
2ccf50db3e
Allow including libtins using add_subdirectory via CMake
2016-07-20 09:12:48 -07:00
ps790
e843ee7117
Added cmake compiling support for MinGW ( #155 )
...
* Added cmake compiling support for MinGW
These modificaitons allow to build Libtins on Windows with cmake directly by running
cmake ../ -DPCAP_ROOT_DIR="PATH_TO_WpdPack" -DLIBTINS_ENABLE_WPA2=0 -DLIBTINS_BUILD_SHARED=0 -G "MinGW Makefiles"
* Update CMakeLists.txt
2016-06-24 18:00:09 -07:00
Matias Fontanini
a192e814bf
Allow configuring pcap timestamp precision
2016-06-17 09:20:43 -07:00
Matias Fontanini
ccda631708
Fix timestamp integer overflow issue
2016-06-16 17:12:04 -07:00
Jacob Parker
1552e33c67
Add helper function to create StreamIdentifier from const Stream& ( #152 )
2016-06-07 13:19:55 -07:00
Wouter Overmeire
8afc784956
Fix typo in arp.h comment ( #151 )
2016-06-06 10:36:36 -07:00
Rolf Winter
5b00916f83
fixed: superfluous includes, docu ( #148 )
2016-05-26 09:11:48 -07:00
Matias Fontanini
6b7bc76603
Forward NetworkInterface argument when calling PacketSender::send_l2
2016-05-08 20:46:11 -07:00
Matias Fontanini
732c665af5
Fix compilation warning on VC
2016-05-08 10:34:49 -07:00
Matias Fontanini
8cf367d68c
Make Timestamp::current_time work on Windows
2016-05-08 10:26:57 -07:00
Matias Fontanini
d070978a54
Add TINS_API to DataTracker and AckTracker classes
2016-05-08 09:38:52 -07:00
Matias Fontanini
7f30efab38
Fix typo in macros.h
...
[ci skip]
2016-05-05 12:40:11 -07:00
Matias Fontanini
d7fed87ebb
Use recvfrom on BSD/OSX when capturing layer 3 packets
...
Fixes #147
2016-05-03 19:35:24 -07:00
Matias Fontanini
269ac164ed
Use exception strings on std::runtime_error's constructor
...
Fixes #146
2016-05-03 14:50:28 -07:00
Matias Fontanini
55edf31aa6
Move TCP data tracking into a separate class
2016-05-03 14:50:28 -07:00
Patrick Michel
364782b8af
Don't set Dot1Q's payload type if next proto type is UNKNOWN
2016-04-12 07:56:31 -07:00
Matias Fontanini
d3c576f6de
Properly handle out of order SACKs on AckTracker
2016-04-03 09:39:11 -07:00
Matias Fontanini
8d52d73968
Allow disabling TCPIP classes
2016-04-02 09:35:42 -07:00
Matias Fontanini
48022d3a3f
Rename and undef symbols that conflict with macro names on DNS
...
The undefs are a temporary fix until we get rid of the old,
conflicting, names
Fixes #141
Fixes #58
2016-04-02 09:16:28 -07:00
Matias Fontanini
ec1634d6d8
Move stream_id into a new file and rename it to StreamIdentifier
2016-03-28 21:38:43 -07:00
Matias Fontanini
688bb7094e
Rename BSD enum value so it doesn't conflict with macro
2016-03-28 20:31:48 -07:00
Matias Fontanini
928e66eb27
Fix issue considering an interface down when it's up
2016-03-27 08:21:05 -07:00
Matias Fontanini
d80c27de29
Add active test for TCP over ethernet
2016-03-26 16:11:03 -07:00
Matias Fontanini
6aac22fa74
Make Utils::resolve_hwaddress work on Windows
2016-03-22 20:34:06 -07:00
Matias Fontanini
7bc1ab41f7
Add TCP and Utils::resolve_hwaddress active tests
...
[ci skip]
2016-03-22 19:49:26 -07:00
Matias Fontanini
068e304baa
Fix active tests build issues
2016-03-20 19:01:58 -07:00
Matias Fontanini
5dc7b20a43
Add active tests for IPv4
2016-03-20 16:27:43 -07:00
Matias Fontanini
a70ce10bed
Add IPv4Address::from_prefix_length
2016-03-19 16:26:00 -07:00
Matias Fontanini
3773443fc8
Allow masking IPv4/6 and HW addresses
2016-03-19 15:44:55 -07:00
Matias Fontanini
1f4be63d08
Properly handle MLDv1 on ICMP
2016-03-17 21:49:06 -07:00
Matias Fontanini
6a69d1ff6c
Export proper artifacts for VS 2015
2016-03-17 21:46:56 -07:00
Matias Fontanini
85102b4546
Merge pull request #140 from asjadsyed/develop
...
don't set key_t to 0 when setting a key, because the two fields are unrelated
2016-03-17 21:07:15 -07:00
Asjad Syed
f188ea4d2a
don't set key_t to 0 when setting a key, because the two fields are unrelated
2016-03-17 22:26:16 -04:00
Matias Fontanini
a75dd9e3f9
Add Visual Studio 2015 to appveyor build
2016-03-16 22:51:50 -07:00
Matias Fontanini
dda673cad4
Merge branch 'develop'
2016-03-16 21:01:27 -07:00
Matias Fontanini
8b125d31f2
Add TINS_API to operator<< for IPv4Address
2016-03-16 20:51:37 -07:00
Matias Fontanini
67ee3e8a7d
Merge pull request #137 from stubbfel/pullrequest/first_address_from_mask
...
calc the complete addressrange of a network when call AddressRange::from_mask
2016-03-16 20:51:03 -07:00
stubbfel
d70536f9ab
add first_address_from_mask in internals and call them from addressrange::from_mask
2016-03-16 22:28:21 +01:00
Matias Fontanini
bfe9f9f4a5
Update changelog
v3.4
2016-03-09 20:25:09 -08:00
Matias Fontanini
97e24131c6
Fix issues pointed out by scan.coverity
2016-03-07 20:29:12 -08:00