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
|
0f2bc45059
|
Moved definitions inside TINS_IS_CXX11 into header files.
|
2013-04-23 13:04:57 -03:00 |
|
Matias Fontanini
|
66ff604580
|
assert() is only called when TINS_DEBUG is defined.
|
2013-04-22 18:45:56 -03:00 |
|
Matias Fontanini
|
69968cbc5c
|
Removed deprecated methods/types.
|
2013-04-21 19:52:39 -03:00 |
|
Matias Fontanini
|
97f049580b
|
Link layer PDUs no longer contain a NetworkInterface.
|
2013-04-21 18:50:08 -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
|
fee938b46d
|
Added move constructor/assignment operator to PDU.
|
2013-04-10 18:43:24 -03:00 |
|
Matias Fontanini
|
f2a5f73337
|
Implemented matches_response on several PDUs. Added some test cases.
|
2013-04-02 21:05:53 -03:00 |
|
Matias Fontanini
|
82ef41dd92
|
IP now fills automatically the sender address when no link layer PDU is present. Made some protocols work when using PacketSender::send_recv.
|
2013-03-25 14:08:59 -03:00 |
|
Matias Fontanini
|
8be0c4c23c
|
Marked PDU::clone_packet as deprecated.
|
2013-03-24 16:08:09 -03:00 |
|
Matias Fontanini
|
16a29fab3e
|
Fixed memory leak in Packet's copy assignment operator.
|
2012-11-26 15:03:09 -03:00 |
|
Matias Fontanini
|
abaa2bf926
|
PacketSender now throws on error. Fixed the documentation on several header files.
|
2012-10-19 12:01:34 -03:00 |
|
Matias Fontanini
|
1c22dab2dc
|
libtins now uses a BSD license.
|
2012-10-07 20:33:45 -03:00 |
|
Matias Fontanini
|
153bcecc35
|
Removed the useless PDU::flag member. Added a PDU concatenation operator.
|
2012-10-07 18:51:06 -03:00 |
|
Matias Fontanini
|
e8151724c4
|
Removed PDU::clone_packet and renamed PDU::clone_pdu to PDU::clone.
|
2012-09-11 16:54:14 -03:00 |
|
Matias Fontanini
|
7cbd32361a
|
Modified some PacketSender and BaseSniffer functions to take references instead of pointers.
|
2012-09-11 08:51:25 -03:00 |
|
Matias Fontanini
|
9981819b71
|
Added PacketWriter class.
|
2012-09-06 14:18:07 -03:00 |
|
Matias Fontanini
|
3cb6603151
|
Improved compile time using forward declarations and removing useless includes.
|
2012-09-05 11:59:46 -03:00 |
|
Matias Fontanini
|
fbd6ef397b
|
Removed Utils::ip_to_int/string. Everything is using IPv4Address now.
|
2012-08-27 23:54:43 -03:00 |
|
Matias Fontanini
|
1b08d1af71
|
Added some serialization tests to every PDU.
|
2012-08-26 12:50:30 -03:00 |
|
Matias Fontanini
|
c5fce38c3a
|
Refactored several classes.
|
2012-08-03 13:08:24 -03:00 |
|
Matias Fontanini
|
b17ee6a6cb
|
Removed copy constructor from several PDUs.
|
2011-09-08 10:18:15 -03:00 |
|
Matias Fontanini
|
f30f404632
|
Moved PDU::pseudoheader_checksum and PDU::do_checksum to Utils namespace.
|
2011-09-07 09:52:58 -03:00 |
|
Matias Fontanini
|
3178c217b3
|
Added copy constructor and copy assignment operator to all PDUs.
|
2011-09-03 18:58:57 -03:00 |
|
Matias Fontanini
|
fdcefd2132
|
Added PDU::clone_pdu.
|
2011-09-03 00:13:31 -03:00 |
|
Matias Fontanini
|
48e72fc5d8
|
Fixed a bug in PDU::size.
|
2011-08-22 22:46:22 -03:00 |
|
Matias Fontanini
|
18750fe18a
|
Added Sniffer class. Added a constructor to eery PDU subclass which creates an instance of the PDU from a byte array.
|
2011-08-18 20:36:55 -03:00 |
|
Matias Fontanini
|
c49806603b
|
Added DHCP class. It's now working yet.
|
2011-08-17 12:16:48 -03:00 |
|
Matias Fontanini
|
3feb2fdeae
|
RawPDU now can copy the payload. Modified PDU::clone_inner_pdu to use this.
|
2011-08-16 21:11:42 -03:00 |
|
Matias Fontanini
|
e587d18796
|
Documented many header files. Done some minor code refactoring over PDU::clone_packet.
|
2011-08-16 20:53:55 -03:00 |
|
Santiago Alessandri
|
b76c9d0525
|
Working ethernet II PDU. Fixed bugs in IP and added checksum calculation. Added layer2 sending to PacketSender
|
2011-08-15 18:16:48 -03:00 |
|
Matias
|
398ba31111
|
UDP PDU is now working.
|
2011-08-12 21:17:44 -03:00 |
|
Matias
|
2cdf0f6b29
|
Fixed TCP checksum. Documented pdu.h.
|
2011-08-12 20:17:21 -03:00 |
|
Matias
|
6288574f85
|
Added LGPL notice. TCP pdu is working.
|
2011-08-11 17:27:15 -03:00 |
|
Matias
|
8dc0a5a832
|
Fixed IP packet.
|
2011-08-10 23:27:45 -03:00 |
|
Matias F
|
072ac15754
|
Added PacketSender class.
|
2011-08-10 15:10:14 -03:00 |
|
Matias F
|
bb859c6ed2
|
Added IP pdu class. It's compiling so far.
|
2011-08-10 13:35:11 -03:00 |
|
Matias F
|
b92a45d710
|
Initial commit. Created PDU class.
|
2011-08-10 11:51:52 -03:00 |
|