- May 04, 2011
-
-
Lubos Slovak authored
- Added rrset_compare_no_rdata() API function. refs #816 @30m
-
Lubos Slovak authored
refs #816
-
Lubos Slovak authored
- Added functions for checking and getting dname pointer. refs #816 @0:45
-
Lubos Slovak authored
-
Lubos Slovak authored
-
Lubos Slovak authored
refs #816 @0:45
-
Lubos Slovak authored
- Modified the way of iterating through the wire data in packet. - Changed API of dname_parse_from_wire(). - Added rdata API function rdata_from_wire() (not implemented yet). refs #816 @1h
-
- May 02, 2011
-
-
Lubos Slovak authored
- packet_parse_from_wire() implementation. - Implemented private functions packet_parse_rrs() and packet_parse_rr(). - Added some private functions from response. - add_tmp_rrsets() moved to packet. refs #816 @2:00
-
Lubos Slovak authored
- Not implemented yet. - Will be used to parse dnames from packet. refs #816
-
Lubos Slovak authored
- Added a lot of missing static functions (copied from old response API). - Fixed some bugs. - Implemented response_init_from_query(). refs #812 @1:00
-
Lubos Slovak authored
- Added function packet_contains(). - Added some missing static function. - Implemented packet_new(). refs #816 @0:45
-
Lubos Slovak authored
- General packet structure and API separated into packet.h/.c. - Query API separated to query.h/.c. - Response API separated to response2.h/.c These structures are not yet used, nor they are added to the makefile. A lot of functions not yet implemented, just a skeleton. refs #816 @2:00
-
Lubos Slovak authored
-
Lubos Slovak authored
-
Marek Vavrusa authored
Commit refs #799.
-
- Apr 28, 2011
-
-
Marek Vavrusa authored
Example: evsched_schedule_cb(server->sched, mycallback, data, 1000); // dt=1s Commit refs #799.
-
Marek Vavrusa authored
Commit refs #799.
-
Marek Vavrusa authored
Commit refs #799.
-
Marek Vavrusa authored
Scheduler works with the same event type as evqueue_t. Example: evsched_t *s = evsched_new(); evsched_schedule_cb(s, myfunc, data, 1000) // Schedule myfunc() after 1000ms event_t *ev = evsched_next(); // Run event scheduler evsched_event_free(s, ev); // Free executed event evsched_delete(s); Commit refs #799.
-
Marek Vavrusa authored
-
- Apr 27, 2011
-
-
Lubos Slovak authored
- Renamed ns_parse_query() to ns_parse_packet(). - Renamed dnslib_query_t to dnslib_packet_type_t. - ns_parse_packet() distinguishes between queries and responses. - Added packet types for responses. refs #801
-
Lubos Slovak authored
refs #782
-
- Apr 20, 2011
-
-
-
Marek Vavrusa authored
Commit refs #757.
-
Marek Vavrusa authored
Implemented proposed format. To do: * think of shorter syntax for ACLs Commit refs #757.
-
Lubos Slovak authored
- Added parameter to response_add_rrset_*() functions to set dname compression case-sensitivity. (Changed API). - Propagation of the parameter into all affected private functions. - Changes in nameserver and response-tests to reflect the changed API. - Changed the example zone file to contain domain names differing only in case of characters. refs #776
-
Lubos Slovak authored
- If case-sensitive, do not compare just pointers. refs #776
-
Lubos Slovak authored
- Added new API function. refs #776
-
Lubos Slovak authored
- Added parameter to response_add_opt() which determines if the max size will be overriden. refs #769
-
Lubos Slovak authored
-
Lubos Slovak authored
- OPT RR adding to normal responses. - OPT RR adding to AXFR. TODO: must somehow enforce larger packets than allowed by the OPT RR. - Stopping AXFR when any error occurs (do not try to send NSEC3s). - Real size of AXFR packets should not rewrite the buffer size in ns_xfr_t. - Added a lot of debug output.
-
Lubos Slovak authored
- Must retain Question section when clearing for AXFR. fixes #781
-
Lubos Slovak authored
- If both max size and OPT RR are given, the payload in the OPT RR cannot be larger than the max size - added check. - Fixed API of response_add_opt(). - Disabled reallocation in response_add_opt() - larger size in OPT RR should not override the max size already set (max size is more important). refs #769
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Lubos Slovak authored
-
Marek Vavrusa authored
-
Lubos Slovak authored
refs #755
-
Lubos Slovak authored
-
- Apr 19, 2011
-
-
Marek Vavrusa authored
XFR handler uses event queue for receiving requests. Each XFR handler thread asynchronously listens for events like UDP handler. Commit refs #752.
-