All of lore.kernel.org
 help / color / mirror / Atom feed
* Implementing Dynamic Rerouting in Kernel
@ 2017-05-11  9:59 Ravish Kumar
  2017-05-11 16:22 ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Ravish Kumar @ 2017-05-11  9:59 UTC (permalink / raw)
  To: Networking, linux-kernel, mst

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Implementing Dynamic Rerouting in Kernel
  2017-05-11  9:59 Implementing Dynamic Rerouting in Kernel Ravish Kumar
@ 2017-05-11 16:22 ` Florian Fainelli
  2017-05-12  3:11   ` Ravish Kumar
  2017-05-12 20:31   ` Jason A. Donenfeld
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Fainelli @ 2017-05-11 16:22 UTC (permalink / raw)
  To: Ravish Kumar, Networking, linux-kernel, mst, Jason

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Implementing Dynamic Rerouting in Kernel
  2017-05-11 16:22 ` Florian Fainelli
@ 2017-05-12  3:11   ` Ravish Kumar
  2017-05-12 20:31   ` Jason A. Donenfeld
  1 sibling, 0 replies; 4+ messages in thread
From: Ravish Kumar @ 2017-05-12  3:11 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: Networking, linux-kernel, mst, Jason

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Implementing Dynamic Rerouting in Kernel
  2017-05-11 16:22 ` Florian Fainelli
  2017-05-12  3:11   ` Ravish Kumar
@ 2017-05-12 20:31   ` Jason A. Donenfeld
  1 sibling, 0 replies; 4+ messages in thread
From: Jason A. Donenfeld @ 2017-05-12 20:31 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: Ravish Kumar, Networking, LKML, Michael S. Tsirkin

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-12 20:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-11  9:59 Implementing Dynamic Rerouting in Kernel Ravish Kumar
2017-05-11 16:22 ` Florian Fainelli
2017-05-12  3:11   ` Ravish Kumar
2017-05-12 20:31   ` Jason A. Donenfeld

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.