1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-24 19:21:35 +01:00
Commit Graph

260 Commits

Author SHA1 Message Date
Matias Fontanini
53efc67f6f Added some unit tests for RadioTap. 2012-10-17 18:44:46 -03:00
Matias Fontanini
a0f5d26987 The FCS-at-end flag was being ignored in RadioTap. Added beacon display example. 2012-10-15 23:53:36 -03:00
Matias Fontanini
87292a6039 Added tests for WEPDecrypter. 2012-10-12 00:32:56 -03:00
Matias Fontanini
17d351cb82 Added support for decrypting WEP encrypted packets on the fly. 2012-10-10 23:37:16 -03:00
Matias Fontanini
5b54cdefad Implemented operator< on both HWAddress and IPv4Address. 2012-10-10 21:14:25 -03:00
Matias Fontanini
3139020df2 Done some fixes on Sniffer and Dot11Data. 2012-10-10 21:06:06 -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
6b2db79e82 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-10-07 19:25:26 -03:00
Matias Fontanini
39623ef7ee Refactored DNS. 2012-10-07 19:25:10 -03:00
Matias Fontanini
77478a6df7 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-10-07 19:00:25 -03:00
Matias Fontanini
c91c12aa1c Added NULL/Loopback PDU. 2012-10-07 18:51:41 -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
676bea9035 Fixed Dot11 documentation. 2012-10-05 12:13:06 -03:00
Matias Fontanini
da60d99f98 Modified the Dot11 constructor. 2012-10-03 14:53:46 -03:00
Matias Fontanini
16a81c0589 Fixed bugs on IP+big endian architecture. 2012-10-03 00:35:16 -03:00
Matias Fontanini
42098e8566 Added tests for TCPStreamFollower, fixed a bug. 2012-10-02 23:43:31 -03:00
Matias Fontanini
ef8344394c Refactored DNS records. 2012-09-17 00:11:24 -03:00
Matias Fontanini
fc0ccffe18 Modified PacketWriter interface to take references instead of pointers. 2012-09-12 23:02:53 -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
b977697367 Fixed bug on TCPStream when duplicate packets are sniffed. 2012-09-11 00:02:58 -03:00
Matias Fontanini
e945ced307 Modified some file names. 2012-09-10 10:31:00 -03:00
Matias Fontanini
c49fbe9929 Added a generic PDUOption class. TCP, IP, DHCP and Dot11* now use this class to store their options. 2012-09-10 00:11:54 -03:00
Matias Fontanini
83ec6e6bad Refactored TCP's interface. 2012-09-07 11:56:36 -03:00
Matias Fontanini
10681eee8f Added documentation to PacketWriter. 2012-09-06 20:57:32 -03:00
Matias Fontanini
9981819b71 Added PacketWriter class. 2012-09-06 14:18:07 -03:00
Matias Fontanini
3d2cbf349a Added FileSniffer class. 2012-09-06 00:37:12 -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
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
6fd0c14b45 Fixed Sniffer::sniff_loop argument types. 2012-08-15 08:36:37 -03:00
Matias Fontanini
4cf00d7682 Added a traceroute example and made the existing examples compile. 2012-08-15 08:35:02 -03:00