Matias Fontanini
|
8276e7d086
|
Added IPv6 class. It's working, but there's no support for extension headers yet.
|
2012-11-21 22:09:58 -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
|
73577c744a
|
Every test now pass on big endian architectures. Ported about half of the library to windows as well.
|
2012-10-08 21:14:57 -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
|
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
|
832a79a1e1
|
Moved endianness change functions to endianness.h.
|
2012-09-03 23:58:43 -03:00 |
|
Matias Fontanini
|
da8c77c77e
|
RAII'd some code. Everything(hopefully) uses IPv4Address now.
|
2012-08-27 00:16:56 -03:00 |
|
Matias Fontanini
|
e83acc92cc
|
No code uses net_to_host_* now.
|
2012-08-16 23:45:50 -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
|
e2223bf406
|
Fixed some bugs. Added a better dependency system for Makefiles.
|
2012-08-13 00:29:38 -03:00 |
|
Matias Fontanini
|
55be59ee15
|
Done some minor fixes.
|
2012-08-09 23:39:32 -03:00 |
|
Matias Fontanini
|
91af0f9cc2
|
EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and HWAddress.
|
2012-08-09 12:00:29 -03:00 |
|
Matias Fontanini
|
e64eb11f1c
|
HWAddress class is working. EthernetII now uses this classes instead of raw uint8_t*
|
2012-08-07 16:12:40 -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
|
9c2293b2aa
|
Fixed bug in EthernetII::ADDR_SIZE definition.
|
2011-09-19 01:00:59 -03:00 |
|
Santiago Alessandri
|
8b7f016278
|
Added test for EthernetII PDU
|
2011-09-15 12:01:45 -03:00 |
|
Matias Fontanini
|
4d8fb5a4e5
|
Modified IP, ARP, ICMP and EthernetII's clone_packet.
|
2011-09-15 09:17:35 -03:00 |
|
Matias Fontanini
|
abe73f185f
|
Added constants header.
|
2011-09-12 12:01:17 -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
|
7ccae0c994
|
Fixed exception syntax error..
|
2011-08-24 00:00:24 -03:00 |
|
Matias Fontanini
|
3f239b8022
|
Added SNAP. Couldn't test it yet.
|
2011-08-21 16:29:10 -03:00 |
|
Matias Fontanini
|
83476fd195
|
Normalized EthernetII source and destination addresses getters/setters.
|
2011-08-19 11:44:04 -03:00 |
|
Matias Fontanini
|
03aa49428c
|
Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code
|
2011-08-19 10:13:57 -03:00 |
|
Matias Fontanini
|
3e2168f6fc
|
Added DHCP and BootP constructors from uint8_t buffer. Normalized IP destination and source address getters/setters.
|
2011-08-19 10:13:35 -03:00 |
|
Santiago Alessandri
|
4fa5607fed
|
Fixed merge conflics
|
2011-08-19 09:43:49 -03:00 |
|
Santiago Alessandri
|
33931365c7
|
Renamed some names from EthernetII PDU
|
2011-08-19 09:41:45 -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
|
e587d18796
|
Documented many header files. Done some minor code refactoring over PDU::clone_packet.
|
2011-08-16 20:53:55 -03:00 |
|
Santiago Alessandri
|
cb647d1642
|
Added wrappers to build ARP requests and replies. Defined BROADCAST in EthernetII
|
2011-08-16 13:21:25 -03:00 |
|
matias
|
a489eab8b9
|
Added PacketSender::recv_l2. Ethernet packets can now expect a response packet. ARP response is working now.
|
2011-08-16 00:36:59 -03:00 |
|
Santiago Alessandri
|
49712c34be
|
Removed Debug printing code
|
2011-08-15 19:18:07 -03:00 |
|
Santiago Alessandri
|
6e801011c2
|
Added enum to identify PDU type. ARP is being sent but not well implemented
|
2011-08-15 19:14:31 -03:00 |
|