[Pdns-dev] Fwd: Re: UDP2TCP conversion

Barbaros Kazan barbaros.kazan at labristeknoloji.com
Thu Nov 8 08:23:19 CET 2012



-------- Original Message --------
Subject: 	Re: [Pdns-dev] UDP2TCP conversion
Date: 	Thu, 8 Nov 2012 08:17:38 +0100
From: 	Peter van Dijk <peter.van.dijk at netherlabs.nl>
To: 	Barbaros Kazan <barbaros.kazan at labristeknoloji.com>



Hello Barbaros,

please post your reply to the mailing list.

On Nov 8, 2012, at 8:16 , Barbaros Kazan wrote:

>  On 11/07/2012 11:24 PM, Peter van Dijk wrote:
>
>  Hi Peter.
>  With UDP, there can be a lot of spoofed ips. So if lots of queries come with spoofed ips, so the performance will drop.
>  We thought if go on with tcp, we will drop the first packet that came with udp and go on the conversion with tcp by always setting the tcp with, so we can handle spoofing.
>>  Hello Barbaros,
>>
>>  On Nov 7, 2012, at 14:36 , Barbaros Kazan wrote:
>>
>>>  Hi,I want to use powerdns on my system and I need to do UDP to TCP conversion.
>>>  So when a dns query comes from a client with UDP, I want to to set the TC bit in my response even if the response is little than 512 and drop this packet.So I always want to send my response with TC bit set and the conversion goes on TCP.
>>>  So what can I do?
>>>  What are the main classes and functions that have this job so I can change them to always set TC bit with response?
>>  We're happy to point you to the right pieces of code, but first I have to ask: why?
>>
>>  Kind regards,
>

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20121108/5c33156c/attachment.html>


More information about the Pdns-dev mailing list