1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 10:45:57 +01:00
Commit Graph

236 Commits

Author SHA1 Message Date
Matias Fontanini
2aa4e10b91 Added TCPStreamFollower class. It seems to be working right. 2012-09-04 23:20:32 -03:00
Matias Fontanini
832a79a1e1 Moved endianness change functions to endianness.h. 2012-09-03 23:58:43 -03:00
Matias Fontanini
279940c398 Refactored RSNInformation. 2012-09-02 23:49:41 -03:00
Matias Fontanini
958edcc74a Added small_uint class. 2012-09-02 18:24:59 -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
e1a84be0cb Documented and fixed some bugs in IPv4Address. 2012-08-27 11:57:14 -03:00
Matias Fontanini
da8c77c77e RAII'd some code. Everything(hopefully) uses IPv4Address now. 2012-08-27 00:16:56 -03:00
Matias Fontanini
1b08d1af71 Added some serialization tests to every PDU. 2012-08-26 12:50:30 -03:00
Matias Fontanini
ba17ca3045 Finished Dot11 tests. 2012-08-26 12:49:04 -03:00
Matias Fontanini
ab9beab5bf Added some Dot11 tests, fixed bugs. 2012-08-24 12:02:03 -03:00
Matias Fontanini
6aa1d874a1 Added several Dot11 tests, fixed some bugs on Dot11. 2012-08-24 00:20:36 -03:00
Matias Fontanini
9cd0e40600 Finished Dot11 taged option getters/unit tests. Added Dot11Disassoc tests. 2012-08-23 00:20:22 -03:00
Matias Fontanini
23076df07a Added unit tests for Dot11ManagementFrame. 2012-08-22 12:01:36 -03:00
Matias Fontanini
c0c1d43b5e Added some Dot11 tests and fixed some bugs. 2012-08-21 12:01:26 -03:00
Matias Fontanini
80198909eb Fixed endianess issues in several classes. Everything is working on big endian architectures so far. 2012-08-21 00:03:55 -03:00
Matias Fontanini
3ef29f831b Added some Dot11 unit tests. Fixed several bugs in Dot11 and its subclasses. 2012-08-21 00:03:00 -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
892bc0ecd3 Started fixing endianess issues. 2012-08-15 12:04:13 -03:00
Matias Fontanini
68ab7b094a Modified IPv4Address interface and fixed some tests. 2012-08-15 08:36:59 -03:00
Matias Fontanini
ad7936dfbe Fixed bug on TCP checksum calculation. 2012-08-15 08:34:32 -03:00
Matias Fontanini
0014d5e0f7 Done minor modifications on Utils. 2012-08-13 15:28:42 -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
87e9c4051e Refactored Sniffer class and fixed some bugs in HWAddress. 2012-08-10 12:30:41 -03:00
Matias Fontanini
e3ca2fd978 Fixed HWAddress and IPv4Address' constructors from const char*. 2012-08-10 00:22:15 -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
29c5a696e5 NetworkInterface class is working. 2012-08-09 09:52:44 -03:00
Matias Fontanini
dd1d1c3c49 Added NetworkInterface class. Needs testing. 2012-08-08 23:43:08 -03:00
Matias Fontanini
1b57563a96 RadioTap and Dot11 now use HWAddress. 2012-08-07 23:20:16 -03:00
Matias Fontanini
ad11d3c244 ARP now uses HWAddress. Utils have been updated as well. 2012-08-07 17:28:46 -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
66dfcb746b Refactored DNS and UDP class. 2012-08-06 18:59:31 -03:00
Matias Fontanini
e2ad917549 Fixed bugs in IP and DNS. 2012-08-04 18:46:22 -03:00
Matias Fontanini
c5fce38c3a Refactored several classes. 2012-08-03 13:08:24 -03:00
Matias Fontanini
c4a92d2b96 Fixed some bugs, added some tests. 2012-08-02 21:21:10 -03:00
Matias Fontanini
cb81c65640 TCP Options are now implemented using std::vector. 2012-08-02 12:00:56 -03:00
Matias Fontanini
50ce6e0a04 Fixed bug in TCP serialize/constructor from buffer. 2012-08-02 10:57:22 -03:00
Matias Fontanini
9fd3b77796 Removed assert macro call in DNS, replaced it with a throw statement. 2012-08-02 10:57:06 -03:00
Matias Fontanini
0d50ce5b2e Fixed a bug in DNS dname parsing. 2012-07-04 14:45:24 -03:00
Matias Fontanini
ef4594db17 Fixed bug when parsing MX records in DNS. Forging MX records needs to be fixed as well. 2012-07-03 11:58:51 -03:00
Matias Fontanini
0c3372fcbb Removed debug message in utils.cpp. 2012-06-18 11:18:25 -03:00
Matias Fontanini
e4c0d74883 Added Utils::route_entries to retrieve routing table entries. 2012-06-07 11:45:51 -03:00
Matias Fontanini
4c30ebcddd Added missing ipaddress.cpp file. 2012-05-18 20:23:01 -03:00
Matias Fontanini
811e194148 Modified classes to use the IPv4Address class. 2012-05-15 11:19:25 -03:00
Matias Fontanini
08f8521ae7 Added IPv4Address class. 2012-05-03 12:03:26 -03:00
Matias Fontanini
ae7e1b3d0d Fixed some bugs in DNS. Added some helper functions. 2012-04-02 17:12:04 -03:00
Matias Fontanini
44dbdbb116 DNS pdu forging and sniffing is working. Copy constructor/assignment operator are still pending. 2012-03-30 21:42:43 -03:00
Matias Fontanini
a71f7e3fb2 Added methods to retrieve queries/answers in DNS. Not tested yet. 2012-03-30 11:59:36 -03:00
Matias Fontanini
b55bafaedd DNS is working. Constructor from buffer is not implemented yet. 2012-03-30 01:03:36 -03:00