Ticket #36 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Use direct UDP traffic if allowed

Reported by: yarrick Owned by: yarrick
Priority: major Milestone: 0.6.0 "Hotspotify"
Version: 0.4.2 "Opened Zone" Keywords:
Cc:

Description

On startup, iodine should get the ip of the iodined server (via NS dns lookup or similar) and try sending direct UDP to it. If a response arrives, skip the DNS protocol entirely and just send data directly. This will give very good performance and eliminates the need for OpenVPN running on udp/53 on another public ip.

Change History

comment:1 Changed 3 years ago by yarrick

  • Summary changed from Use direct UDP traffic is allowed to Use direct UDP traffic if allowed

comment:2 Changed 3 years ago by yarrick

  • Owner set to yarrick
  • Status changed from new to assigned

comment:3 Changed 3 years ago by yarrick

Added way for client to ask for external IP of server in [879]

comment:4 Changed 3 years ago by yarrick

  • Milestone set to x.y.z ????

Updated client to get remote IP in [880].

comment:5 Changed 3 years ago by yarrick

Commited [882], send raw udp login message directly to server

comment:6 Changed 3 years ago by yarrick

In [883], server responds to raw login

comment:7 Changed 3 years ago by yarrick

Client does basic handling of raw reply after [884]

comment:8 follow-up: ↓ 9 Changed 3 years ago by guest

Issue 66 prevents direct UDP from working on win32:  http://dev.kryo.se/iodine/ticket/66

comment:9 in reply to: ↑ 8 Changed 3 years ago by yarrick

Replying to guest:

Issue 66 prevents direct UDP from working on win32:  http://dev.kryo.se/iodine/ticket/66

Use the -n option on the server to work around this. And this feature does not yet work anywhere.. :)

comment:10 Changed 3 years ago by yarrick

One-way raw traffic now working, after [903].

comment:11 Changed 2 years ago by yarrick

Basic tunnel works, [904].

Left to do:

  • Keepalive message, every 30 seconds or so (like old P packet)
  • Cmdline option to turn off raw mode
  • Test raw and dns mode simultaneously on one server

comment:12 Changed 2 years ago by yarrick

[906], added -r cmd line option to skip raw mode.

comment:13 Changed 2 years ago by yarrick

[908], now sends keepalive message so server and any NAT firewalls know connection still is up

comment:14 Changed 2 years ago by yarrick

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.