1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-24 03:05:57 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Matias Fontanini
832a79a1e1 Moved endianness change functions to endianness.h. 2012-09-03 23:58:43 -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
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
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
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
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
ad11d3c244 ARP now uses HWAddress. Utils have been updated as well. 2012-08-07 17:28:46 -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
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
Santiago Alessandri
9e98e2e454 Started utils test. cChanged IP format 2011-09-22 22:53:09 -03:00
Matias Fontanini
f30f404632 Moved PDU::pseudoheader_checksum and PDU::do_checksum to Utils namespace. 2011-09-07 09:52:58 -03:00
Matias Fontanini
2510c825cd Fixed/added documentation to several classes. 2011-08-23 21:32:13 -03:00
Matias Fontanini
730dcdea44 Added Utils::channel_to_mhz to convert channel to mhz frequency. 2011-08-23 12:01:59 -03:00
Santiago Alessandri
d7f1a59092 Finished getters and setters for Beacon in IEEE802.11. Added a new constructor 2011-08-23 09:44:42 -03:00
Matias Fontanini
3a751848a8 Added a portscan example. It's kind of nasty, but works. 2011-08-19 00:07:41 -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
9b897db21f Utils::resolve_hwaddr is not working. 2011-08-16 18:11:47 -03:00
Matias Fontanini
80705ac249 Fixed compilation issues. 2011-08-16 13:50:32 -03:00
Matias Fontanini
0989027f3d Documented PacketSender. Added Utils::resolve_hwaddr, it's not working yet. 2011-08-16 13:48:49 -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
Matias Fontanini
c803e25db4 Added Utils::interface_id. 2011-08-15 00:10:02 -03:00
Matias Fontanini
89b04a1238 Added util functions to handle network interfaces. Documented Utils namespace. 2011-08-14 15:50:57 -03:00
Santiago Alessandri
019998d8ad Added ethernet packet(not tested). Updated PacketSender interface(not implemented). Added crc32 in Utils 2011-08-12 23:53:09 -03:00
Matias
6288574f85 Added LGPL notice. TCP pdu is working. 2011-08-11 17:27:15 -03:00
Matias F
1c2b255747 Added TCP pdu. 2011-08-11 13:50:30 -03:00
Matias F
424d9c6476 Added Utils::resolve_ip. IP pdu now uses this function to resolve ips. 2011-08-11 10:40:06 -03:00
Santiago Alessandri
f9445b05b6 Updated IP, PDU and PacketSender so as to send forged ip packets successfully 2011-08-11 09:35:23 -03:00
Matias F
bb859c6ed2 Added IP pdu class. It's compiling so far. 2011-08-10 13:35:11 -03:00