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

1306 Commits

Author SHA1 Message Date
Santiago Alessandri
a5e50f659a Added disassoc ieee802-11 PDU 2011-08-24 08:27:50 -03:00
Matias Fontanini
7ccae0c994 Fixed exception syntax error.. 2011-08-24 00:00:24 -03:00
Matias Fontanini
b746451b75 Sniffing now returns a RadioTap PDU when performed on wireless interfaces. 2011-08-23 23:58:59 -03:00
Matias Fontanini
2fa66c814d Added RadioTap constructor from buffer. It's working, although some flags are not implemented yet. 2011-08-23 23:58:05 -03:00
Matias Fontanini
22b84e5df0 Created IEEE802_11 constructor from buffer. Tagged option parsing and subclass parsing is missing. 2011-08-23 23:57:35 -03:00
Matias Fontanini
422b9f93ff Added RSNInformation class. Added helper function in IEEE802_11_Beacon to add a RSN information option. 2011-08-23 21:33:26 -03:00
Matias Fontanini
2510c825cd Fixed/added documentation to several classes. 2011-08-23 21:32:13 -03:00
Matias Fontanini
8afe3d7429 Fixed RadioTap FCS flag check. 2011-08-23 12:04:15 -03:00
Matias Fontanini
e323be12e6 Added IEEE802_11::BROADCAST. 2011-08-23 12:03:49 -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
e4413d3aef Added some helper functions to IEEE802_11_Beacon. 2011-08-22 22:59:38 -03:00
Matias Fontanini
3aaa895321 RadioTap is working. Added the flag field, implemented several flags' setters. 2011-08-22 22:58:50 -03:00
Matias Fontanini
48e72fc5d8 Fixed a bug in PDU::size. 2011-08-22 22:46:22 -03:00
Matias Fontanini
7d551fe919 Fixed IEEE802_11_Option constructor. 2011-08-22 13:53:48 -03:00
Santiago Alessandri
0622862e6d Fixed return type in write_fixed_parameters 2011-08-22 13:19:11 -03:00
Santiago Alessandri
8e4a748ec1 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-22 13:17:18 -03:00
Santiago Alessandri
75c5dfdc68 Added Management and Beacon subclasses 2011-08-22 13:17:11 -03:00
Matias Fontanini
0db209c829 Added support for IEEE802_11 tagged parameters. 2011-08-22 13:12:10 -03:00
Matias Fontanini
7aa6172d8a Fixed bug triggered by sending DHCP with no options. 2011-08-22 13:08:18 -03:00
Matias Fontanini
88146bac89 RadioTap is working now. 2011-08-21 21:09:19 -03:00
Matias Fontanini
393beda0d7 Added a constructor on IEEE802_11 which doesn't take an interface as a parameter. 2011-08-21 20:58:20 -03:00
Matias Fontanini
235f12e862 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-21 20:45:03 -03:00
Matias Fontanini
62bad313f9 Added RadioTap class. 2011-08-21 20:44:54 -03:00
Santiago Alessandri
6f4f4bedb4 Added enums for types and subtypes of IEEE802_11 frames 2011-08-21 19:40:11 -03:00
Santiago Alessandri
26e65d17f6 Fixed bugs in 802.11 PDU. 2011-08-21 19:12:36 -03:00
Matias Fontanini
3f239b8022 Added SNAP. Couldn't test it yet. 2011-08-21 16:29:10 -03:00
Santiago Alessandri
2d27d02d32 Fixed 802.11 _header 2011-08-20 20:32:55 -03:00
Matias Fontanini
e3dd417c47 Fixed struct packing error on IEEE802.11 2011-08-20 19:23:43 -03:00
Santiago Alessandri
f006ac5d74 Added IEEE802_11 PDU 2011-08-20 19:12:09 -03:00
Matias Fontanini
31358eca46 Done minor modifications over Sniffer. 2011-08-19 20:13:08 -03:00
Matias Fontanini
83476fd195 Normalized EthernetII source and destination addresses getters/setters. 2011-08-19 11:44:04 -03:00
Matias Fontanini
c267c86afc Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-19 11:40:35 -03:00
Matias Fontanini
2513488b92 TCP now stores options when instantiated from a buffer. 2011-08-19 11:40:13 -03:00
Santiago Alessandri
dbd2acc040 Added parsing of options to IP 2011-08-19 11:23:38 -03:00
Matias Fontanini
03aa49428c Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-19 10:13:57 -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
Santiago Alessandri
4fa5607fed Fixed merge conflics 2011-08-19 09:43:49 -03:00
Santiago Alessandri
33931365c7 Renamed some names from EthernetII PDU 2011-08-19 09:41:45 -03:00
Matias Fontanini
bb3ea10209 Fixed Makefile.in to link with libpcap. 2011-08-19 00:15:09 -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
a690f0db98 Sniffer::sniff_loop now stops sniffing when handler return false. 2011-08-18 20:50:12 -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
d6ae9d498d Added some arguments to ARP::ARP. 2011-08-18 15:43:53 -03:00
Matias Fontanini
23978343da Added arp spoofing example. 2011-08-18 12:29:15 -03:00
Matias Fontanini
c4bb187505 Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code 2011-08-18 11:04:40 -03:00
Matias Fontanini
9efee446f0 Added more DHCP options. 2011-08-18 11:04:22 -03:00
Santiago Alessandri
305a0a6b14 Added some getters and setter to ARP and refactored some methods 2011-08-18 10:58:20 -03:00
Santiago Alessandri
4532d8d236 Fixed IP PDU Options leaks. 2011-08-18 10:26:42 -03:00
Matias Fontanini
24e314283f Added some helper functions to set options to DHCP PDU. Added LGPL notice to dhcp.cpp 2011-08-17 16:20:02 -03:00