1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 18:55:58 +01:00
Commit Graph

40 Commits

Author SHA1 Message Date
Christian Hammerl
52b0ee7ceb fix armv5 alignment issues 2014-07-31 15:49:52 +00:00
Matias Fontanini
2dff95700f Updated copyright notice. 2014-07-13 11:04:29 -03:00
Matias Fontanini
dd2ed5daa4 Added undef directive to avoid compilation error on windows. 2014-07-01 17:06:39 -03:00
Matias Fontanini
559c963d63 Fixed compilation errors on Windows. 2014-05-06 00:13:05 -03:00
Kyle McDonald
bd55307b47 changed ICMP::check to ICMP::checksum for both the public getter and private setter. closes #10 2014-05-03 17:43:35 -04:00
Matias Fontanini
ccb8ffd1b5 ICMP::gateway is now an IPv4Address. 2013-12-14 14:28:39 -03:00
Matias Fontanini
b83c1a2a96 Added support for ICMP address mask request/reply. 2013-12-14 14:21:04 -03:00
Matias Fontanini
81a947e3b3 Fixed bug on ICMP checksum calculation when using timestamp request/replies. 2013-12-14 13:42:12 -03:00
Matias Fontanini
9b57585b62 Added support for ICMP timestamp request/reply packets. ICMP::matches_response now works with these types of packets as well. 2013-12-13 17:23:17 -03:00
Matias Fontanini
6dd949611d Modified some header documentation. 2013-10-07 23:31:22 -03:00
Matias Fontanini
5064a9255b Fixed BSD notice. Updated AUTHORS file. 2013-04-23 20:33:00 -03:00
Matias Fontanini
66ff604580 assert() is only called when TINS_DEBUG is defined. 2013-04-22 18:45:56 -03:00
Matias Fontanini
d1b64ec48e PDU::matches_response is now const. 2013-04-21 20:03:47 -03:00
Matias Fontanini
69968cbc5c Removed deprecated methods/types. 2013-04-21 19:52:39 -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
f2a5f73337 Implemented matches_response on several PDUs. Added some test cases. 2013-04-02 21:05:53 -03:00
Matias Fontanini
8be0c4c23c Marked PDU::clone_packet as deprecated. 2013-03-24 16:08:09 -03:00
Matias Fontanini
742276c251 libtins compiles and runs under windows. Packets apparently can't be sent yet. 2012-12-02 20:25:05 -03:00
Matias Fontanini
6696c1b284 Ported almost everything to BSD. Utils::route_entries and sending link layer PDUs still don't work. 2012-11-28 00:11:42 -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
832a79a1e1 Moved endianness change functions to endianness.h. 2012-09-03 23:58:43 -03:00
Matias Fontanini
27f6eeccd4 Fixed some bugs in Dot11 and DNS. Most of the code uses host_to_be and be_to_host. 2012-08-16 00:34:18 -03:00
Matias Fontanini
892bc0ecd3 Started fixing endianess issues. 2012-08-15 12:04:13 -03:00
Matias Fontanini
c5fce38c3a Refactored several classes. 2012-08-03 13:08:24 -03:00
Matias Fontanini
e6ccdcd75e Fixed/added copy constructor to IP/TCP/UDP/ARP/EthernetII PDUs. 2012-03-24 01:27:22 -03:00
Matias Fontanini
1f2967c8fb Fixed some bugs. 2011-09-18 11:42:21 -03:00
Matias Fontanini
4d8fb5a4e5 Modified IP, ARP, ICMP and EthernetII's clone_packet. 2011-09-15 09:17:35 -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
7ccae0c994 Fixed exception syntax error.. 2011-08-24 00:00:24 -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
Santiago Alessandri
54584d4cd7 Fixed endianess in ICMP PDU. Added getters and setters. Getters and setters use little endian 2011-08-17 10:42:16 -03:00
Matias Fontanini
0d2b6a507b Documented all functions in header files. 2011-08-16 23:10:22 -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
cc7f1f6761 Added license to some files. 2011-08-15 20:08:23 -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 Fontanini
5c412208f9 Added recv mechanism on PacketSender. 2011-08-15 12:39:46 -03:00
Matias
1215ae135c Added ICMP class. It was tested and it's working. 2011-08-14 11:17:38 -03:00