hijack the DNS-Packets in another way
authorPhilipp Tölke <toelke@in.tum.de>
Tue, 21 Sep 2010 11:04:55 +0000 (11:04 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Tue, 21 Sep 2010 11:04:55 +0000 (11:04 +0000)
commit4b7d5b4823c5f3b89f6ed98ed1ccd5862d5f8237
tree755833052d8d904ffbea99ef9abaac14fe844fcd
parentd3d98c1dcdc5b512d45c949bd1538ec8e9c10058
hijack the DNS-Packets in another way

The Problem with the old way (via DNAT) was, that, of course, the destination
address was changed so the query could not be send to the original dns-server.

This way (with policy-routing) the packets stay unchanged. This also might
work for IPv6.
src/vpn/gnunet-daemon-vpn.c
src/vpn/gnunet-helper-hijack-dns.c