1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Commit Graph

  • 39623ef7ee Refactored DNS. Matias Fontanini 2012-10-07 19:25:10 -03:00
  • 77478a6df7 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2012-10-07 19:00:25 -03:00
  • c91c12aa1c Added NULL/Loopback PDU. Matias Fontanini 2012-10-07 18:51:41 -03:00
  • 153bcecc35 Removed the useless PDU::flag member. Added a PDU concatenation operator. Matias Fontanini 2012-10-07 18:51:06 -03:00
  • 676bea9035 Fixed Dot11 documentation. Matias Fontanini 2012-10-05 12:13:06 -03:00
  • da60d99f98 Modified the Dot11 constructor. Matias Fontanini 2012-10-03 14:53:46 -03:00
  • 16a81c0589 Fixed bugs on IP+big endian architecture. Matias Fontanini 2012-10-03 00:35:16 -03:00
  • 42098e8566 Added tests for TCPStreamFollower, fixed a bug. Matias Fontanini 2012-10-02 23:43:31 -03:00
  • ef8344394c Refactored DNS records. Matias Fontanini 2012-09-17 00:11:24 -03:00
  • fc0ccffe18 Modified PacketWriter interface to take references instead of pointers. Matias Fontanini 2012-09-12 23:02:53 -03:00
  • e8151724c4 Removed PDU::clone_packet and renamed PDU::clone_pdu to PDU::clone. Matias Fontanini 2012-09-11 16:54:14 -03:00
  • 7cbd32361a Modified some PacketSender and BaseSniffer functions to take references instead of pointers. Matias Fontanini 2012-09-11 08:51:25 -03:00
  • b977697367 Fixed bug on TCPStream when duplicate packets are sniffed. Matias Fontanini 2012-09-11 00:02:58 -03:00
  • e945ced307 Modified some file names. Matias Fontanini 2012-09-10 10:31:00 -03:00
  • c49fbe9929 Added a generic PDUOption class. TCP, IP, DHCP and Dot11* now use this class to store their options. Matias Fontanini 2012-09-10 00:11:54 -03:00
  • 83ec6e6bad Refactored TCP's interface. Matias Fontanini 2012-09-07 11:56:36 -03:00
  • 10681eee8f Added documentation to PacketWriter. Matias Fontanini 2012-09-06 20:57:32 -03:00
  • 9981819b71 Added PacketWriter class. Matias Fontanini 2012-09-06 14:18:07 -03:00
  • 3d2cbf349a Added FileSniffer class. Matias Fontanini 2012-09-06 00:37:12 -03:00
  • 3cb6603151 Improved compile time using forward declarations and removing useless includes. Matias Fontanini 2012-09-05 11:59:46 -03:00
  • 2aa4e10b91 Added TCPStreamFollower class. It seems to be working right. Matias Fontanini 2012-09-04 23:20:32 -03:00
  • 832a79a1e1 Moved endianness change functions to endianness.h. Matias Fontanini 2012-09-03 23:58:43 -03:00
  • 279940c398 Refactored RSNInformation. Matias Fontanini 2012-09-02 23:49:41 -03:00
  • 958edcc74a Added small_uint class. Matias Fontanini 2012-09-02 18:24:59 -03:00
  • fbd6ef397b Removed Utils::ip_to_int/string. Everything is using IPv4Address now. Matias Fontanini 2012-08-27 23:54:43 -03:00
  • e1a84be0cb Documented and fixed some bugs in IPv4Address. Matias Fontanini 2012-08-27 11:57:14 -03:00
  • da8c77c77e RAII'd some code. Everything(hopefully) uses IPv4Address now. Matias Fontanini 2012-08-27 00:16:56 -03:00
  • 1b08d1af71 Added some serialization tests to every PDU. Matias Fontanini 2012-08-26 12:50:30 -03:00
  • ba17ca3045 Finished Dot11 tests. Matias Fontanini 2012-08-26 12:49:04 -03:00
  • ab9beab5bf Added some Dot11 tests, fixed bugs. Matias Fontanini 2012-08-24 12:02:03 -03:00
  • 6aa1d874a1 Added several Dot11 tests, fixed some bugs on Dot11. Matias Fontanini 2012-08-24 00:20:36 -03:00
  • 9cd0e40600 Finished Dot11 taged option getters/unit tests. Added Dot11Disassoc tests. Matias Fontanini 2012-08-23 00:20:22 -03:00
  • 23076df07a Added unit tests for Dot11ManagementFrame. Matias Fontanini 2012-08-22 12:01:36 -03:00
  • c0c1d43b5e Added some Dot11 tests and fixed some bugs. Matias Fontanini 2012-08-21 12:01:26 -03:00
  • 80198909eb Fixed endianess issues in several classes. Everything is working on big endian architectures so far. Matias Fontanini 2012-08-21 00:03:55 -03:00
  • 3ef29f831b Added some Dot11 unit tests. Fixed several bugs in Dot11 and its subclasses. Matias Fontanini 2012-08-21 00:03:00 -03:00
  • e83acc92cc No code uses net_to_host_* now. Matias Fontanini 2012-08-16 23:45:50 -03:00
  • 27f6eeccd4 Fixed some bugs in Dot11 and DNS. Most of the code uses host_to_be and be_to_host. Matias Fontanini 2012-08-16 00:34:18 -03:00
  • 892bc0ecd3 Started fixing endianess issues. Matias Fontanini 2012-08-15 12:04:13 -03:00
  • 68ab7b094a Modified IPv4Address interface and fixed some tests. Matias Fontanini 2012-08-15 08:36:59 -03:00
  • 6fd0c14b45 Fixed Sniffer::sniff_loop argument types. Matias Fontanini 2012-08-15 08:36:37 -03:00
  • 4cf00d7682 Added a traceroute example and made the existing examples compile. Matias Fontanini 2012-08-15 08:35:02 -03:00
  • ad7936dfbe Fixed bug on TCP checksum calculation. Matias Fontanini 2012-08-15 08:34:32 -03:00
  • 0014d5e0f7 Done minor modifications on Utils. Matias Fontanini 2012-08-13 15:28:42 -03:00
  • e2223bf406 Fixed some bugs. Added a better dependency system for Makefiles. Matias Fontanini 2012-08-13 00:29:38 -03:00
  • 87e9c4051e Refactored Sniffer class and fixed some bugs in HWAddress. Matias Fontanini 2012-08-10 12:30:41 -03:00
  • e3ca2fd978 Fixed HWAddress and IPv4Address' constructors from const char*. Matias Fontanini 2012-08-10 00:22:15 -03:00
  • 55be59ee15 Done some minor fixes. Matias Fontanini 2012-08-09 23:39:32 -03:00
  • 91af0f9cc2 EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and HWAddress. Matias Fontanini 2012-08-09 12:00:29 -03:00
  • 29c5a696e5 NetworkInterface class is working. Matias Fontanini 2012-08-09 09:52:44 -03:00
  • dd1d1c3c49 Added NetworkInterface class. Needs testing. Matias Fontanini 2012-08-08 23:43:08 -03:00
  • 1b57563a96 RadioTap and Dot11 now use HWAddress. Matias Fontanini 2012-08-07 23:20:16 -03:00
  • ad11d3c244 ARP now uses HWAddress. Utils have been updated as well. Matias Fontanini 2012-08-07 17:28:46 -03:00
  • e64eb11f1c HWAddress class is working. EthernetII now uses this classes instead of raw uint8_t* Matias Fontanini 2012-08-07 16:12:40 -03:00
  • b8f39f1291 Added HWAddress class. Matias Fontanini 2012-08-07 12:05:05 -03:00
  • 4af3d3c697 Added a constant static value to each PDU indicating the corresponding PDU::PDUType flag. Matias Fontanini 2012-08-06 22:29:41 -03:00
  • 66dfcb746b Refactored DNS and UDP class. Matias Fontanini 2012-08-06 18:59:31 -03:00
  • e2ad917549 Fixed bugs in IP and DNS. Matias Fontanini 2012-08-04 18:46:22 -03:00
  • c5fce38c3a Refactored several classes. Matias Fontanini 2012-08-03 13:08:24 -03:00
  • c4a92d2b96 Fixed some bugs, added some tests. Matias Fontanini 2012-08-02 21:21:10 -03:00
  • 383deb8641 Modified header guards so they don't use reserved names containing double underscores. Matias Fontanini 2012-08-02 16:00:56 -03:00
  • cb81c65640 TCP Options are now implemented using std::vector. Matias Fontanini 2012-08-02 12:00:56 -03:00
  • 50ce6e0a04 Fixed bug in TCP serialize/constructor from buffer. Matias Fontanini 2012-08-02 10:57:22 -03:00
  • 9fd3b77796 Removed assert macro call in DNS, replaced it with a throw statement. Matias Fontanini 2012-08-02 10:57:06 -03:00
  • 0d50ce5b2e Fixed a bug in DNS dname parsing. Matias Fontanini 2012-07-04 14:45:24 -03:00
  • ef4594db17 Fixed bug when parsing MX records in DNS. Forging MX records needs to be fixed as well. Matias Fontanini 2012-07-03 11:58:51 -03:00
  • 45f4370301 Sniffer now can't be copied. Matias Fontanini 2012-06-19 12:00:17 -03:00
  • 0c3372fcbb Removed debug message in utils.cpp. Matias Fontanini 2012-06-18 11:18:25 -03:00
  • e4c0d74883 Added Utils::route_entries to retrieve routing table entries. Matias Fontanini 2012-06-07 11:45:51 -03:00
  • 4c30ebcddd Added missing ipaddress.cpp file. Matias Fontanini 2012-05-18 20:23:01 -03:00
  • 811e194148 Modified classes to use the IPv4Address class. Matias Fontanini 2012-05-15 11:19:25 -03:00
  • 08f8521ae7 Added IPv4Address class. Matias Fontanini 2012-05-03 12:03:26 -03:00
  • ae7e1b3d0d Fixed some bugs in DNS. Added some helper functions. Matias Fontanini 2012-04-02 17:12:04 -03:00
  • 44dbdbb116 DNS pdu forging and sniffing is working. Copy constructor/assignment operator are still pending. Matias Fontanini 2012-03-30 21:42:43 -03:00
  • a71f7e3fb2 Added methods to retrieve queries/answers in DNS. Not tested yet. Matias Fontanini 2012-03-30 11:59:36 -03:00
  • b55bafaedd DNS is working. Constructor from buffer is not implemented yet. Matias Fontanini 2012-03-30 01:03:36 -03:00
  • e81d9b7ea7 Started implementing DNS pdu. Matias Fontanini 2012-03-29 14:00:15 -03:00
  • e6ccdcd75e Fixed/added copy constructor to IP/TCP/UDP/ARP/EthernetII PDUs. Matias Fontanini 2012-03-24 01:27:22 -03:00
  • 594eabd282 Added option helper functions on DHCP. Matias Fontanini 2012-03-23 11:25:28 -03:00
  • e642dfa418 Added Utils::interface_info. Matias Fontanini 2012-03-23 11:25:14 -03:00
  • 4235feb43e Utils::gateway_from_ip is now working. Matias Fontanini 2012-03-23 00:59:58 -03:00
  • 0b6b4e9921 Fixed endianness in some DHCP options. Matias Fontanini 2012-03-23 00:59:35 -03:00
  • 2dc004eceb Modified PacketSender::recv_match_loop timeout handling. Matias Fontanini 2012-03-22 23:36:23 -03:00
  • d73f4dd8ab Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2012-03-22 22:43:08 -03:00
  • 67eb7e355f Added Utils::gateway_from_ip function.(not tested yet). Matias Fontanini 2012-03-22 22:42:37 -03:00
  • 73aed37555 Fixed bug in TCP option parsing. Matias Fontanini 2012-03-20 20:44:35 -03:00
  • fa9c260d85 Added Utils::ping_address. Fixed bugs in PacketSender::recv_match_loop. Matias Fontanini 2012-03-20 12:07:08 -03:00
  • b6adb7ba8d Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2012-03-19 17:17:42 -03:00
  • 333ec76fea Added promisc flag on Sniffer to start the put interfaces into promiscuous mode. Matias Fontanini 2012-03-19 17:17:13 -03:00
  • 547a46f542 Fixed bug when using microsecond presition on PacketSender::recv_match_loop. Matias Fontanini 2012-03-19 17:16:35 -03:00
  • 1c9ba54895 LLC now working with tests! IEEE802_3 also working \(without tests\) Santiago Alessandri 2012-03-19 14:00:57 -03:00
  • 01a7b812df LLC almost works Santiago Alessandri 2012-03-19 12:04:55 -03:00
  • 937a4d66cc Completed LLC. Not tested yet Santiago Alessandri 2012-03-19 08:06:52 -03:00
  • f06bf568d5 Added check for localhost ip address on Utils::interface_from_ip. Matias Fontanini 2012-03-18 19:40:03 -03:00
  • fd09f11ad5 Added renewal option add/search on DHCP. Matias Fontanini 2012-03-17 23:49:44 -03:00
  • 9ff5d85cd2 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2012-03-17 13:52:49 -03:00
  • 1f1cfdefa4 Modified RawPDU::payload's signature. Matias Fontanini 2012-03-17 10:05:19 -03:00
  • 1a0c1f7e02 Started writing the LLC PDU Santiago Alessandri 2012-03-16 12:01:50 -03:00
  • 018accc347 Fixed bug in DHCP. Matias Fontanini 2012-03-15 23:07:34 -03:00
  • 642240a904 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code Matias Fontanini 2012-03-12 09:47:51 -03:00