Matias Fontanini
|
53efc67f6f
|
Added some unit tests for RadioTap.
|
2012-10-17 18:44:46 -03:00 |
|
Matias Fontanini
|
1c22dab2dc
|
libtins now uses a BSD license.
|
2012-10-07 20:33:45 -03:00 |
|
Matias Fontanini
|
fc0ccffe18
|
Modified PacketWriter interface to take references instead of pointers.
|
2012-09-12 23:02:53 -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
|
9981819b71
|
Added PacketWriter class.
|
2012-09-06 14:18:07 -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
|
832a79a1e1
|
Moved endianness change functions to endianness.h.
|
2012-09-03 23:58:43 -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
|
da8c77c77e
|
RAII'd some code. Everything(hopefully) uses IPv4Address now.
|
2012-08-27 00:16:56 -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
|
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
|
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 |
|