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

31 Commits

Author SHA1 Message Date
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
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
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
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
4235feb43e Utils::gateway_from_ip is now working. 2012-03-23 00:59:58 -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
f06bf568d5 Added check for localhost ip address on Utils::interface_from_ip. 2012-03-18 19:40:03 -03:00
Matias Fontanini
a49ac24972 Fixed bug in Utils::pseudoheader_checksum. 2012-03-06 09:16:31 -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
730dcdea44 Added Utils::channel_to_mhz to convert channel to mhz frequency. 2011-08-23 12:01:59 -03:00
Matias Fontanini
3e2168f6fc Added DHCP and BootP constructors from uint8_t buffer. Normalized IP destination and source address getters/setters. 2011-08-19 10:13:35 -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
0d2b6a507b Documented all functions in header files. 2011-08-16 23:10:22 -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
Santiago Alessandri
b76c9d0525 Working ethernet II PDU. Fixed bugs in IP and added checksum calculation. Added layer2 sending to PacketSender 2011-08-15 18:16:48 -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
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