[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-dev
Subject:    [Pdns-dev] Fwd: Re:  UDP2TCP conversion
From:       Barbaros Kazan <barbaros.kazan () labristeknoloji ! com>
Date:       2012-11-08 7:23:19
Message-ID: 509B5DE7.8020304 () labristeknoloji ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-------- Original Message --------
Subject: 	Re: [Pdns-dev] UDP2TCP conversion
Date: 	Thu, 8 Nov 2012 08:17:38 +0100
From: 	Peter van Dijk <peter.van.dijk@netherlabs.nl>
To: 	Barbaros Kazan <barbaros.kazan@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/


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>Re: [Pdns-dev] UDP2TCP conversion</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Thu, 8 Nov 2012 08:17:38 +0100</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>Peter van Dijk <a class="moz-txt-link-rfc2396E" \
href="mailto:peter.van.dijk@netherlabs.nl">&lt;peter.van.dijk@netherlabs.nl&gt;</a></td>
  </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td>Barbaros Kazan <a class="moz-txt-link-rfc2396E" \
href="mailto:barbaros.kazan@labristeknoloji.com">&lt;barbaros.kazan@labristeknoloji.com&gt;</a></td>
  </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>Hello Barbaros,

please post your reply to the mailing list.

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

&gt; On 11/07/2012 11:24 PM, Peter van Dijk wrote:
&gt; 
&gt; Hi Peter.
&gt; With UDP, there can be a lot of spoofed ips. So if lots of queries come with \
spoofed ips, so the performance will drop. &gt; 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. &gt;&gt; Hello Barbaros,
&gt;&gt; 
&gt;&gt; On Nov 7, 2012, at 14:36 , Barbaros Kazan wrote:
&gt;&gt; 
&gt;&gt;&gt; Hi,I want to use powerdns on my system and I need to do UDP to TCP \
conversion. &gt;&gt;&gt; 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. &gt;&gt;&gt; So what can I do?
&gt;&gt;&gt; What are the main classes and functions that have this job so I can \
change them to always set TC bit with response? &gt;&gt; We're happy to point you to \
the right pieces of code, but first I have to ask: why? &gt;&gt; 
&gt;&gt; Kind regards,
&gt; 

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - <a class="moz-txt-link-freetext" \
href="http://www.netherlabs.nl/">http://www.netherlabs.nl/</a>

</pre>
  </body>
</html>



_______________________________________________
Pdns-dev mailing list
Pdns-dev@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic