The Samba-Bugzilla – Attachment 8953 Details for
Bug 9632
internal server cannot retrieve large DNS queries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add support for OPT record
0001-idl-Add-support-for-parsing-OPT-records.patch (text/plain), 1.47 KB, created by
Kai Blin
on 2013-06-09 09:09:03 UTC
(
hide
)
Description:
Add support for OPT record
Filename:
MIME Type:
Creator:
Kai Blin
Created:
2013-06-09 09:09:03 UTC
Size:
1.47 KB
patch
obsolete
>From b4a99b1e769d7e9d46f05dde3f769a4c8ef13eca Mon Sep 17 00:00:00 2001 >From: Kai Blin <kai@samba.org> >Date: Sat, 25 May 2013 13:21:32 +0200 >Subject: [PATCH 1/2] idl: Add support for parsing OPT records > >Signed-off-by: Kai Blin <kai@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >(cherry picked from commit 5bcebb54da8eed535e5f7034ed1f7a95456f19b1) >--- > librpc/idl/dns.idl | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl >index 984f2b3..5b86f7e 100644 >--- a/librpc/idl/dns.idl >+++ b/librpc/idl/dns.idl >@@ -106,6 +106,7 @@ interface dns > DNS_QTYPE_ATMA = 0x0022, > DNS_QTYPE_NAPTR = 0x0023, > DNS_QTYPE_DNAME = 0x0027, >+ DNS_QTYPE_OPT = 0x0029, > DNS_QTYPE_DS = 0x002B, > DNS_QTYPE_RRSIG = 0x002E, > DNS_QTYPE_NSEC = 0x002F, >@@ -168,6 +169,12 @@ interface dns > } dns_srv_record; > > typedef [public] struct { >+ uint16 option_code; >+ uint16 option_length; >+ uint8 option_data[option_length]; >+ } dns_opt_record; >+ >+ typedef [public] struct { > dns_string algorithm; > uint32 inception; > uint32 expiration; >@@ -216,6 +223,7 @@ interface dns > [case(DNS_QTYPE_TXT)] dns_txt_record txt_record; > [case(DNS_QTYPE_AAAA)] ipv6address ipv6_record; > [case(DNS_QTYPE_SRV)] dns_srv_record srv_record; >+ [case(DNS_QTYPE_OPT)] dns_opt_record opt_record; > [case(DNS_QTYPE_TSIG)] dns_tsig_record tsig_record; > [case(DNS_QTYPE_TKEY)] dns_tkey_record tkey_record; > [default]; >-- >1.8.1.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
abartlet
:
review+
Actions:
View
Attachments on
bug 9632
:
8527
|
8528
|
8919
|
8920
| 8953 |
8954