1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-25 11:41:35 +01:00
Commit Graph

216 Commits

Author SHA1 Message Date
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
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
b8f39f1291 Added HWAddress class. 2012-08-07 12:05:05 -03:00
Matias Fontanini
4af3d3c697 Added a constant static value to each PDU indicating the corresponding PDU::PDUType flag. 2012-08-06 22:29:41 -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
383deb8641 Modified header guards so they don't use reserved names containing double underscores. 2012-08-02 16:00:56 -03:00
Matias Fontanini
cb81c65640 TCP Options are now implemented using std::vector. 2012-08-02 12:00:56 -03:00
Matias Fontanini
0d50ce5b2e Fixed a bug in DNS dname parsing. 2012-07-04 14:45:24 -03:00
Matias Fontanini
45f4370301 Sniffer now can't be copied. 2012-06-19 12:00:17 -03:00
Matias Fontanini
e4c0d74883 Added Utils::route_entries to retrieve routing table entries. 2012-06-07 11:45:51 -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
Matias Fontanini
e81d9b7ea7 Started implementing DNS pdu. 2012-03-29 14:00:15 -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
594eabd282 Added option helper functions on DHCP. 2012-03-23 11:25:28 -03:00
Matias Fontanini
e642dfa418 Added Utils::interface_info. 2012-03-23 11:25:14 -03:00
Matias Fontanini
67eb7e355f Added Utils::gateway_from_ip function.(not tested yet). 2012-03-22 22:42:37 -03:00
Matias Fontanini
fa9c260d85 Added Utils::ping_address. Fixed bugs in PacketSender::recv_match_loop. 2012-03-20 12:07:08 -03:00
Matias Fontanini
b6adb7ba8d Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-03-19 17:17:42 -03:00
Matias Fontanini
333ec76fea Added promisc flag on Sniffer to start the put interfaces into promiscuous mode. 2012-03-19 17:17:13 -03:00
Santiago Alessandri
1c9ba54895 LLC now working with tests! IEEE802_3 also working \(without tests\) 2012-03-19 14:00:57 -03:00
Santiago Alessandri
01a7b812df LLC almost works 2012-03-19 12:04:55 -03:00
Santiago Alessandri
937a4d66cc Completed LLC. Not tested yet 2012-03-19 08:07:16 -03:00
Matias Fontanini
fd09f11ad5 Added renewal option add/search on DHCP. 2012-03-17 23:49:44 -03:00
Matias Fontanini
9ff5d85cd2 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-03-17 13:52:49 -03:00
Matias Fontanini
1f1cfdefa4 Modified RawPDU::payload's signature. 2012-03-17 10:05:19 -03:00
Santiago Alessandri
1a0c1f7e02 Started writing the LLC PDU 2012-03-16 12:01:50 -03:00
Matias Fontanini
018accc347 Fixed bug in DHCP. 2012-03-15 23:07:34 -03:00