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

1296 Commits

Author SHA1 Message Date
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
50ce6e0a04 Fixed bug in TCP serialize/constructor from buffer. 2012-08-02 10:57:22 -03:00
Matias Fontanini
9fd3b77796 Removed assert macro call in DNS, replaced it with a throw statement. 2012-08-02 10:57:06 -03:00
Matias Fontanini
0d50ce5b2e Fixed a bug in DNS dname parsing. 2012-07-04 14:45:24 -03:00
Matias Fontanini
ef4594db17 Fixed bug when parsing MX records in DNS. Forging MX records needs to be fixed as well. 2012-07-03 11:58:51 -03:00
Matias Fontanini
45f4370301 Sniffer now can't be copied. 2012-06-19 12:00:17 -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
4c30ebcddd Added missing ipaddress.cpp file. 2012-05-18 20:23:01 -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
4235feb43e Utils::gateway_from_ip is now working. 2012-03-23 00:59:58 -03:00
Matias Fontanini
0b6b4e9921 Fixed endianness in some DHCP options. 2012-03-23 00:59:35 -03:00
Matias Fontanini
2dc004eceb Modified PacketSender::recv_match_loop timeout handling. 2012-03-22 23:36:23 -03:00
Matias Fontanini
d73f4dd8ab Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-03-22 22:43:08 -03:00
Matias Fontanini
67eb7e355f Added Utils::gateway_from_ip function.(not tested yet). 2012-03-22 22:42:37 -03:00
Matias Fontanini
73aed37555 Fixed bug in TCP option parsing. 2012-03-20 20:44:35 -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
Matias Fontanini
547a46f542 Fixed bug when using microsecond presition on PacketSender::recv_match_loop. 2012-03-19 17:16:35 -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
f06bf568d5 Added check for localhost ip address on Utils::interface_from_ip. 2012-03-18 19:40:03 -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
Matias Fontanini
642240a904 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-03-12 09:47:51 -03:00
Matias Fontanini
e9484209fc Added timeout to Sniffer class. 2012-03-12 09:47:30 -03:00
Matias Fontanini
44536943c9 Added microsecond precision on PacketSender::recv_match_loop. 2012-03-10 21:14:42 -03:00
Matias Fontanini
a49ac24972 Fixed bug in Utils::pseudoheader_checksum. 2012-03-06 09:16:31 -03:00
Matias Fontanini
21c864afb0 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2012-03-06 08:31:22 -03:00
Matias Fontanini
53dfad8bf2 Done minor modifications. 2012-03-06 08:31:10 -03:00
Santiago Alessandri
d42bb06a9a Fixed Makefile 2012-03-05 11:18:37 -03:00
Santiago Alessandri
a732d68e83 Fixed warnings in ip.cpp 2012-03-05 09:28:39 -03:00
Matias Fontanini
d2f6862b7b Renamed TCP::Options to TCP::Option. 2011-09-24 23:00:30 -03:00
Matias Fontanini
8f74ddbc30 Added IPTest. Fixed some IP bugs. 2011-09-24 22:59:58 -03:00
Santiago Alessandri
8a84910d9d Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-09-22 22:53:49 -03:00