Matias Fontanini
|
17da10d76e
|
Add extract_metadata to main PDU classes
|
2016-02-20 22:19:12 -08:00 |
|
Matias Fontanini
|
fb4e5086fd
|
Update copyright notice
|
2016-01-31 20:03:49 -08:00 |
|
Matias Fontanini
|
757e54dc08
|
Use lower case names for DNS query/record and change type to query_type
|
2016-01-14 12:40:00 -08:00 |
|
Matias Fontanini
|
ced645fb02
|
Add DNS SOA record parsing and serialization
Fixes #48
|
2016-01-14 12:18:43 -08:00 |
|
Matias Fontanini
|
ca56cc10dd
|
Parse and serialize MX preference field correctly
|
2016-01-11 15:48:03 -08:00 |
|
Matias Fontanini
|
d84f10cf08
|
Code cleanup and use same syntax on the entire project
Initial code cleanup
More code cleanup
Cleanup more code
Cleanup Dot11 code
Fix OSX build issue
Cleanup examples
Fix ref and pointer declaration syntax
Fix braces
|
2016-01-09 10:01:58 -08:00 |
|
Matias Fontanini
|
02e2b278de
|
Add OutputMemoryStream and port most classes to use it
|
2015-12-26 06:30:00 -08:00 |
|
Matias Fontanini
|
13c05fbdb1
|
Add input memory stream class and port some PDUs to use it
|
2015-12-24 15:21:07 -08:00 |
|
Matias Fontanini
|
c42cd0114f
|
Fix compilation warnings on Windows x64.
|
2015-05-17 17:30:54 -07:00 |
|
Matias Fontanini
|
d1ffecb132
|
Soften DNS parsing rules. Fixes #74.
|
2015-05-10 12:19:58 -07:00 |
|
Matias Fontanini
|
995abd4d00
|
Fix DNS issues triggered on VC.
|
2015-04-25 11:32:47 -07:00 |
|
Matias Fontanini
|
bb683c9f79
|
Fix invalid DNS IPv4 address parsing on big endian arch.
|
2015-04-02 22:43:35 -07:00 |
|
Matias Fontanini
|
695f191bb8
|
Fix invalid DNS record retrieval.
|
2015-03-04 18:11:33 -08:00 |
|
Matias Fontanini
|
3b126ca02b
|
Removed access to potentially invalid positions on vector.
|
2014-11-12 21:11:01 -08:00 |
|
Matias Fontanini
|
0ba05f9d1a
|
Fixed assertion throw on DNS on Visual Studio.
|
2014-11-11 22:01:23 -08:00 |
|
Matias Fontanini
|
d2f0cd0686
|
Fixed issue #29: Added empty name check on DNS::encode_domain_name.
|
2014-08-20 22:44:03 -03:00 |
|
Matias Fontanini
|
5d0ba22ac4
|
Fixed invalid parsing of unknown DNS records.
|
2014-08-07 21:22:31 -03:00 |
|
Christian Hammerl
|
52b0ee7ceb
|
fix armv5 alignment issues
|
2014-07-31 15:49:52 +00:00 |
|
Matias Fontanini
|
2dff95700f
|
Updated copyright notice.
|
2014-07-13 11:04:29 -03:00 |
|
Matias Fontanini
|
c5404a6111
|
Removed DNSResourceRecord. Records in DNS are now managed completely by DNS::Resource.
|
2014-01-21 22:56:53 -03:00 |
|
Matias Fontanini
|
dbcdda9d36
|
Rewrote the DNS parsing algorithm. Everything is now done on the read buffer, without any extra data structures, making it work about 400% faster than before.
|
2014-01-19 13:11:50 -03:00 |
|
Matias Fontanini
|
4ca21bdad7
|
Fixed some issues when parsing DNS answers. MX records are now serialized correctly.
|
2013-08-04 14:27:03 -03:00 |
|
Matias Fontanini
|
2cc0ceb1aa
|
Fixed bug triggered in DNS when parsing some unknown record types.
|
2013-07-25 10:47:09 -03:00 |
|
Matias Fontanini
|
5064a9255b
|
Fixed BSD notice. Updated AUTHORS file.
|
2013-04-23 20:33:00 -03:00 |
|
Matias Fontanini
|
66ff604580
|
assert() is only called when TINS_DEBUG is defined.
|
2013-04-22 18:45:56 -03:00 |
|
Matias Fontanini
|
d1b64ec48e
|
PDU::matches_response is now const.
|
2013-04-21 20:03:47 -03:00 |
|
Matias Fontanini
|
3fd1b3d37d
|
Added malformed_packet exception. Every class except Dot11* use it.
|
2013-04-18 00:12:20 -03:00 |
|
Matias Fontanini
|
dfc0498b70
|
DNS, RadioTap and Dot1Q work when using PacketSender::send_recv.
|
2013-03-26 14:54:24 -03:00 |
|
Matias Fontanini
|
08b4c92dac
|
Added support for IPv6 addresses in DNS.
|
2012-11-20 23:57:02 -03:00 |
|
Matias Fontanini
|
60323ded9b
|
AAAA records are now parsed correctly.
|
2012-11-20 21:19:05 -03:00 |
|
Matias Fontanini
|
d0048e3aef
|
Fixed bug in DNS triggered when adding two records for the same domain name.
|
2012-11-20 16:10:24 -03:00 |
|
Matias Fontanini
|
1c22dab2dc
|
libtins now uses a BSD license.
|
2012-10-07 20:33:45 -03:00 |
|
Matias Fontanini
|
6b2db79e82
|
Merge branch 'master' of ssh://git.code.sf.net/p/libtins/code
|
2012-10-07 19:25:26 -03:00 |
|
Matias Fontanini
|
39623ef7ee
|
Refactored DNS.
|
2012-10-07 19:25:10 -03:00 |
|
Matias Fontanini
|
153bcecc35
|
Removed the useless PDU::flag member. Added a PDU concatenation operator.
|
2012-10-07 18:51:06 -03:00 |
|
Matias Fontanini
|
ef8344394c
|
Refactored DNS records.
|
2012-09-17 00:11:24 -03:00 |
|
Matias Fontanini
|
e945ced307
|
Modified some file names.
|
2012-09-10 10:31:00 -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
|
fbd6ef397b
|
Removed Utils::ip_to_int/string. Everything is using IPv4Address now.
|
2012-08-27 23:54:43 -03:00 |
|
Matias Fontanini
|
1b08d1af71
|
Added some serialization tests to every PDU.
|
2012-08-26 12:50:30 -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
|
66dfcb746b
|
Refactored DNS and UDP class.
|
2012-08-06 18:59:31 -03:00 |
|
Matias Fontanini
|
e2ad917549
|
Fixed bugs in IP and DNS.
|
2012-08-04 18:46: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
|
ae7e1b3d0d
|
Fixed some bugs in DNS. Added some helper functions.
|
2012-04-02 17:12:04 -03:00 |
|