Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1639285 > unrolled thread

Implementing Dynamic Rerouting in Kernel

Started byRavish Kumar <ravishk2004@gmail.com>
First post2017-05-11 12:10 +0200
Last post2017-05-12 22:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  Implementing Dynamic Rerouting in Kernel Ravish Kumar <ravishk2004@gmail.com> - 2017-05-11 12:10 +0200
    Re: Implementing Dynamic Rerouting in Kernel Florian Fainelli <f.fainelli@gmail.com> - 2017-05-11 18:30 +0200
      Re: Implementing Dynamic Rerouting in Kernel Ravish Kumar <ravishk2004@gmail.com> - 2017-05-12 05:20 +0200
      Re: Implementing Dynamic Rerouting in Kernel "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-05-12 22:40 +0200

#1639285 — Implementing Dynamic Rerouting in Kernel

FromRavish Kumar <ravishk2004@gmail.com>
Date2017-05-11 12:10 +0200
SubjectImplementing Dynamic Rerouting in Kernel
Message-ID<tFTcK-4Yv-25@gated-at.bofh.it>
Hi Experts,

Need expert advice for the one of the requirement Where in VPN
solution we want to dynaically route the packets to different adapter.
We will manage our own DNS cache and , based on DNS to IP lookup, we
can redirect the packet either to Tun device or to a physical adapter.

Please suggest some design what i need to do.

[toc] | [next] | [standalone]


#1639869

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2017-05-11 18:30 +0200
Message-ID<tFZ8u-dN-25@gated-at.bofh.it>
In reply to#1639285
On 05/11/2017 02:59 AM, Ravish Kumar wrote:
> Hi Experts,
> 
> Need expert advice for the one of the requirement Where in VPN
> solution we want to dynaically route the packets to different adapter.
> We will manage our own DNS cache and , based on DNS to IP lookup, we
> can redirect the packet either to Tun device or to a physical adapter.
> 
> Please suggest some design what i need to do.

What you are looking for can be done using ipset-dns from Jason:

https://git.zx2c4.com/ipset-dns/about/
-- 
Florian

[toc] | [prev] | [next] | [standalone]


#1640156

FromRavish Kumar <ravishk2004@gmail.com>
Date2017-05-12 05:20 +0200
Message-ID<tG9hw-6RZ-19@gated-at.bofh.it>
In reply to#1639869
Hi,

We do not want to add routes at run time rather i would prefer to have
a NetFilter driver which can intercept the packet and forward it to
desired interface.



On Thu, May 11, 2017 at 9:52 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:
> On 05/11/2017 02:59 AM, Ravish Kumar wrote:
>> Hi Experts,
>>
>> Need expert advice for the one of the requirement Where in VPN
>> solution we want to dynaically route the packets to different adapter.
>> We will manage our own DNS cache and , based on DNS to IP lookup, we
>> can redirect the packet either to Tun device or to a physical adapter.
>>
>> Please suggest some design what i need to do.
>
> What you are looking for can be done using ipset-dns from Jason:
>
> https://git.zx2c4.com/ipset-dns/about/
> --
> Florian

[toc] | [prev] | [next] | [standalone]


#1640737

From"Jason A. Donenfeld" <Jason@zx2c4.com>
Date2017-05-12 22:40 +0200
Message-ID<tGpvY-1zo-13@gated-at.bofh.it>
In reply to#1639869
On Thu, May 11, 2017 at 6:22 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:
> What you are looking for can be done using ipset-dns from Jason:
>
> https://git.zx2c4.com/ipset-dns/about/

Funny to see this project coming up. I actually ported this
functionality into dnsmasq directly a few weeks after writing
ipset-dns, since that's a much more robust place to put this sort of
feature. It's the --ipset option.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web