Commit graph

38 commits

Author SHA1 Message Date
Sven M. Hallberg
aa295f1536 rewrite dns domain grammar using H_RULE 2013-01-16 15:40:10 +01:00
Sven M. Hallberg
a38d2e4ab0 replace another field access with a glue macro 2013-01-16 15:06:51 +01:00
Sven M. Hallberg
3412541370 move api additions to glue.[ch] 2013-01-16 15:05:04 +01:00
Sven M. Hallberg
4b30ebdb77 pull out struct types of complex rdata fields 2013-01-15 22:34:15 +01:00
Sven M. Hallberg
9c10a75f3d use H_SEQ_INDEX to access a sequence 2013-01-15 22:18:33 +01:00
Sven M. Hallberg
83f4944321 separate parsing and packing of rdata 2013-01-15 22:12:13 +01:00
Sven M. Hallberg
342e39eb61 add helpers for easier token construction and access to sequence elements 2013-01-15 20:02:53 +01:00
Sven M. Hallberg
b5db3177db normalize allocation of result in act_message wrt other actions 2013-01-15 17:50:18 +01:00
Sven M. Hallberg
acfc903a15 start pulling pack_dns_struct apart 2013-01-15 13:54:30 +01:00
Sven M. Hallberg
21df49cc15 split out act_header 2013-01-15 01:24:47 +01:00
Sven M. Hallberg
2db9cd23c8 grammar beautification 2013-01-15 00:19:43 +01:00
Sven M. Hallberg
2ff51ab9c3 rework dns example syntax into H_RULE style 2013-01-14 23:51:25 +01:00
Sven M. Hallberg
40ab87b4fb add user-defined token types for dns parts 2013-01-14 20:35:20 +01:00
Sven M. Hallberg
177281289c use h_in for restricted base64 digit cases 2013-01-08 00:24:13 +01:00
Sven M. Hallberg
87b5e668c3 remove comments about bugs that no longer exist 2013-01-08 00:20:34 +01:00
Sven M. Hallberg
bc486aa840 fix base64 example to parse more than the 2- and 1-byte special cases 2013-01-08 00:19:23 +01:00
Dan Hirsch
8eececcac8 Now builds without glib 2012-10-10 16:45:10 +02:00
Meredith L. Patterson
a68b93c618 adding pesco's base64 example 2012-06-02 03:45:28 +02:00
Dan Hirsch
883e8dd39c Server ready for demo 2012-05-26 19:42:07 +02:00
Dan Hirsch
d434f2c1a9 Example does something basic now 2012-05-26 19:14:26 +02:00
Meredith L. Patterson
3b336d0932 All helper functions for DNS parser done and compiling. 2012-05-26 15:59:06 +02:00
Meredith L. Patterson
0c324adaa6 Nearly done with RR parsing, need to write two helpers for this. 2012-05-26 15:50:39 +02:00
Meredith L. Patterson
d7818bb8c4 Great Symbol Renaming done; get_domain and set_rr stubbed 2012-05-26 14:27:12 +02:00
Meredith L. Patterson
a077251947 get_qname done, starting get_domain, going to finish Great Symbol Renaming first 2012-05-26 14:10:09 +02:00
Meredith L. Patterson
5163f002cf Great Symbol Renaming: types. 2012-05-26 13:23:00 +02:00
Meredith L. Patterson
595404e175 Three more helper functions and the DNS action is done. 2012-05-26 13:16:34 +02:00
Meredith L. Patterson
8959d6db07 action is all const all the time. Now to write the dns action. 2012-05-24 19:15:24 +02:00
Meredith L. Patterson
c7c21fcaab Merge branch 'master' of peewee-vb.local:Projects/hammer/hammer 2012-05-24 18:46:39 +02:00
Meredith L. Patterson
4226d67c26 DNS, refactored and compiling. Needs struct-building action written still. 2012-05-24 18:44:48 +02:00
Dan Hirsch
1bb27f6143 Added structs for DNS records 2012-05-24 17:57:20 +02:00
Dan Hirsch
40be28fb7e Merge remote-tracking branch 'bunter/master'
Also, fix makefile

Conflicts:
	src/hammer.c
2012-05-24 15:51:42 +02:00
Meredith L. Patterson
0d9497bce6 had qname wrong, fixed it 2012-05-24 13:58:38 +02:00
Meredith L. Patterson
3c51389eaf tidying up the dereferences a bit 2012-05-24 13:36:28 +02:00
Meredith L. Patterson
13395d8a54 counted_array now holds parsed_token_t's. TQ will fix the problem with accumulate_size. Compile-time bounds checks added to int_range. 2012-05-24 13:22:43 +02:00
Meredith L. Patterson
8e7a5cc2d3 getting the examples into the build, dns validator needs finished 2012-05-24 12:43:32 +02:00
Meredith L. Patterson
947b67b5a5 Continuing with DNS. Added some checks to attr_bool, and explained checks in docs. 2012-05-24 11:01:18 +02:00
Meredith L. Patterson
2ccb9d4a36 DNS first draft mostly done, just need to write validator and action for full msg 2012-05-22 02:41:33 +02:00
Meredith L. Patterson
d7582e62af Started on DNS 2012-05-22 00:57:33 +02:00