diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-18 20:43:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-18 20:43:25 +0000 |
commit | c37fba0bd9febb11297ebca62a58935276130244 (patch) | |
tree | 45cf17c2f0f4ffd0daa2b77181f8cc63a3445ffa /src/include | |
parent | 6b2fb63de633b086a91e7733ca0dd5591198c20c (diff) | |
download | gnunet-c37fba0bd9febb11297ebca62a58935276130244.tar.gz gnunet-c37fba0bd9febb11297ebca62a58935276130244.zip |
-adding DNS exit-from-mesh functionality to gnunet-service-dns
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_applications.h | 24 | ||||
-rw-r--r-- | src/include/gnunet_protocols.h | 60 |
2 files changed, 4 insertions, 80 deletions
diff --git a/src/include/gnunet_applications.h b/src/include/gnunet_applications.h index d9df78d33..5feaeec6b 100644 --- a/src/include/gnunet_applications.h +++ b/src/include/gnunet_applications.h | |||
@@ -50,30 +50,6 @@ extern "C" | |||
50 | */ | 50 | */ |
51 | #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2 | 51 | #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2 |
52 | 52 | ||
53 | /** | ||
54 | * Internet HTTP gateway (port 80). | ||
55 | */ | ||
56 | #define GNUNET_APPLICATION_TYPE_INTERNET_HTTP_GATEWAY 3 | ||
57 | |||
58 | /** | ||
59 | * Internet HTTPS gateway (port 443). | ||
60 | */ | ||
61 | #define GNUNET_APPLICATION_TYPE_INTERNET_HTTPS_GATEWAY 4 | ||
62 | |||
63 | /** | ||
64 | * Internet TCP gateway (any port). | ||
65 | */ | ||
66 | #define GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY 5 | ||
67 | |||
68 | /** | ||
69 | * Internet UDP gateway (any port). | ||
70 | */ | ||
71 | #define GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY 6 | ||
72 | |||
73 | /** | ||
74 | * GNUnet VPN Search Engine (searches HTTP sites hosted within GNUnet) [example] | ||
75 | */ | ||
76 | #define GNUNET_APPLICATION_TYPE_GNUNET_SEARCH 7 | ||
77 | 53 | ||
78 | /** | 54 | /** |
79 | * Internet IPv4 gateway (any TCP/UDP/ICMP). | 55 | * Internet IPv4 gateway (any TCP/UDP/ICMP). |
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 52ae26e00..bda20e37d 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -593,47 +593,16 @@ extern "C" | |||
593 | */ | 593 | */ |
594 | #define GNUNET_MESSAGE_TYPE_VPN_HELPER 185 | 594 | #define GNUNET_MESSAGE_TYPE_VPN_HELPER 185 |
595 | 595 | ||
596 | /** | ||
597 | * Type of messages containing an UDP packet for a service | ||
598 | */ | ||
599 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP 186 | ||
600 | |||
601 | /** | ||
602 | * Type of messages containing an UDP packet from a service | ||
603 | */ | ||
604 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK 187 | ||
605 | |||
606 | /** | ||
607 | * Type of messages containing an TCP packet for a service | ||
608 | */ | ||
609 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_TCP 188 | ||
610 | 596 | ||
611 | /** | 597 | /** |
612 | * Type of messages containing an TCP packet from a service | 598 | * Type of messages containing an DNS request for a DNS exit service. |
613 | */ | 599 | */ |
614 | #define GNUNET_MESSAGE_TYPE_VPN_SERVICE_TCP_BACK 189 | 600 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_TO_INTERNET 194 |
615 | 601 | ||
616 | /** | 602 | /** |
617 | * Type of messages containing an UDP packet for a remote host | 603 | * Type of messages containing an DNS reply from a DNS exit service. |
618 | */ | 604 | */ |
619 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_UDP 190 | 605 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_FROM_INTERNET 195 |
620 | |||
621 | /** | ||
622 | * Type of messages containing an UDP packet from a remote host | ||
623 | */ | ||
624 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_UDP_BACK 191 | ||
625 | |||
626 | /** | ||
627 | * Type of messages containing an TCP packet for a remote host | ||
628 | */ | ||
629 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_TCP 192 | ||
630 | |||
631 | /** | ||
632 | * Type of messages containing an TCP packet from a remote host | ||
633 | */ | ||
634 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_TCP_BACK 193 | ||
635 | |||
636 | |||
637 | 606 | ||
638 | /** | 607 | /** |
639 | * Type of messages containing an TCP packet for a service. | 608 | * Type of messages containing an TCP packet for a service. |
@@ -689,26 +658,6 @@ extern "C" | |||
689 | * VPN-DNS message types | 658 | * VPN-DNS message types |
690 | ******************************************************************************/ | 659 | ******************************************************************************/ |
691 | 660 | ||
692 | /** | ||
693 | * Type of messages to query the local service-dns | ||
694 | */ | ||
695 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_LOCAL_QUERY_DNS 205 | ||
696 | /** | ||
697 | * Type of messages the local service-dns responds with | ||
698 | */ | ||
699 | #define GNUNET_MESSAGE_TYPE_VPN_DNS_LOCAL_RESPONSE_DNS 206 | ||
700 | /** | ||
701 | * Type of messages to instruct the local service-dns to rehijack the dns | ||
702 | */ | ||
703 | #define GNUNET_MESSAGE_TYPE_REHIJACK 207 | ||
704 | /** | ||
705 | * Type of messages to send a DNS-query to another peer | ||
706 | */ | ||
707 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_QUERY_DNS 208 | ||
708 | /** | ||
709 | * Type of messages to send a DNS-answer to another peer | ||
710 | */ | ||
711 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_ANSWER_DNS 209 | ||
712 | 661 | ||
713 | /** | 662 | /** |
714 | * Initial message from client to DNS service for registration. | 663 | * Initial message from client to DNS service for registration. |
@@ -746,7 +695,6 @@ extern "C" | |||
746 | */ | 695 | */ |
747 | #define GNUNET_MESSAGE_TYPE_MESH_HELLO 216 | 696 | #define GNUNET_MESSAGE_TYPE_MESH_HELLO 216 |
748 | 697 | ||
749 | |||
750 | /** | 698 | /** |
751 | * Request the creation of a path | 699 | * Request the creation of a path |
752 | */ | 700 | */ |