libcli/dns tcp
Dimitris Gravanis
dimgrav at gmail.com
Wed Jul 12 18:06:20 UTC 2017
Hi,
I attach to you two files concerning tcp packets from the client,
heavily based on the existing work on libcli/dns and dns_server.
tstream_read_pdu_blob_send() and tstream_read_pdu_blob_recv() don't
appear to be defined in tsocket, I went on to use
tstream_readv_pdu_send()/recv() instead to handle the request, though
there are some things I need clarification on (see 85, 127 in dns_tcp.c).
I have set up a GitHub repo <https://github.com/dimgrav/Samba-GSOC2017>
for the time being, all changes are pushed there.
Cheers,
Dimitris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dns_tcp.c
Type: text/x-csrc
Size: 4748 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170712/ff9a2778/dns_tcp.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdns_tcp.h
Type: text/x-chdr
Size: 1736 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170712/ff9a2778/libdns_tcp.h>
More information about the samba-technical
mailing list