Commit Graph

  • 64d4bbbb53 Update CircleCI config.yml to build for BSDs Neil Alexander 2018-03-05 00:03:02 +0000
  • cce10cdb8a Update README.md Neil Alexander 2018-03-05 00:00:01 +0000
  • 166d25619d Attempt to support NetBSD Neil Alexander 2018-03-04 23:47:01 +0000
  • b30b6022a8
    Merge pull request #39 from Arceliar/fd Arceliar 2018-03-04 14:17:01 -0600
  • cd0d1a1d26 get the fd instead of depending on water to do it Arceliar 2018-03-04 13:57:34 -0600
  • 3eccca62cc
    Merge pull request #38 from Arceliar/bsdedupe Neil Alexander 2018-03-04 19:23:27 +0000
  • 039c4a5a35 only try to build on openbsd and freebsd for now, darwin needs work too Arceliar 2018-03-04 11:02:54 -0600
  • 478b80a07a cleanup Arceliar 2018-03-04 10:56:46 -0600
  • e7726cfb00 deduplicate some bsd tuntap code, still untested Arceliar 2018-03-04 10:55:32 -0600
  • 91b08bf474
    Update README.md Neil Alexander 2018-03-04 16:44:59 +0000
  • a5f053448b
    Merge pull request #36 from neilalexander/freebsd Arceliar 2018-03-04 10:30:07 -0600
  • c30792245a Add FreeBSD support in TAP mode Neil Alexander 2018-03-04 16:24:50 +0000
  • 57777b6152
    Merge pull request #34 from neilalexander/master Neil Alexander 2018-03-04 11:17:47 +0000
  • e43776f90e Add version file Neil Alexander 2018-03-04 11:09:17 +0000
  • 54a742d576 Set explicit version in CIBUILD Neil Alexander 2018-03-04 10:58:10 +0000
  • a92e6c2588
    Merge pull request #29 from Arceliar/netlink Neil Alexander 2018-03-04 10:47:34 +0000
  • 3deadee42e Tag the build artifacts with version and branch Neil Alexander 2018-03-04 01:29:00 +0000
  • 6424b07ad8
    Merge pull request #28 from Arceliar/panic Neil Alexander 2018-03-03 23:36:18 +0000
  • 5ec6265a70 use netlink instead of ip commands to set address/mtu and bring up the tuntap device on linux Arceliar 2018-03-03 16:41:36 -0600
  • 0460fdd301 panic if tun.write or tun.read returns an error and was launched from debug.go, since there's no way to recover in these scenarios Arceliar 2018-03-03 13:56:26 -0600
  • 56fd7bd4d4
    Merge pull request #27 from Arceliar/doc Arceliar 2018-03-03 13:52:09 -0600
  • 3d0eac21bb update doc to remove statements with a first person perspective Arceliar 2018-03-03 13:49:26 -0600
  • b1a4951725
    Update README.md Arceliar 2018-03-03 12:29:47 -0600
  • 233b01bedc
    Update README.md Arceliar 2018-03-03 12:12:31 -0600
  • a367f2ca17 gofmt Arceliar 2018-03-03 11:49:24 -0600
  • 55ee8f1afa
    Merge pull request #26 from Arceliar/nodrop Arceliar 2018-03-03 11:25:22 -0600
  • 0578a9f273 manual merge Arceliar 2018-03-03 11:07:08 -0600
  • 606fb59c07
    Merge pull request #25 from neilalexander/contrib Arceliar 2018-03-03 11:02:02 -0600
  • 99d0740eaa
    Merge pull request #23 from neilalexander/bsd Arceliar 2018-03-03 11:01:24 -0600
  • 3f85c7a9a5
    Merge pull request #24 from neilalexander/adminfunctions Arceliar 2018-03-03 10:57:19 -0600
  • 4e5627f933 Update default interface MTU to use per-platform instead of global value Neil Alexander 2018-03-03 12:43:39 +0000
  • 4917ea3dd2 Per-platform TUN defaults Neil Alexander 2018-03-03 12:30:54 +0000
  • bec898a326 Don't allow exceeding maximum MTU for a given platform Neil Alexander 2018-03-03 11:47:14 +0000
  • 674830799d
    Add branch name into repo name Neil Alexander 2018-03-02 22:36:22 +0000
  • 3c1e00f23f
    Add CircleCI config.yml Neil Alexander 2018-03-02 19:13:20 +0000
  • 390f7527f6
    Update generate.sh Neil Alexander 2018-03-01 18:28:37 +0000
  • 9285e0fe25 Mismatching GOARCH and debian arch Neil Alexander 2018-03-01 18:06:53 +0000
  • 3089f2326e Add generate script for Debian .debs into contrib Neil Alexander 2018-03-01 18:01:18 +0000
  • 7c0102e43d Be a little bit less verbose on OpenBSD Neil Alexander 2018-03-01 15:31:49 +0000
  • 6640b33334 Fix using 'auto' as device name on OpenBSD - default to /dev/tap0 Neil Alexander 2018-03-01 15:19:20 +0000
  • 24be3f1d67 Turns out FreeBSD is a bit different so restrict this to OpenBSD for now Neil Alexander 2018-03-01 15:11:12 +0000
  • 90393ae03b Set interface flags properly on OpenBSD Neil Alexander 2018-03-01 15:02:53 +0000
  • 9e4d169208 Set interface IP and MTU on BSD Neil Alexander 2018-03-01 13:37:05 +0000
  • f8dda26dba Add BSD support (openbsd, freebsd, solaris) Neil Alexander 2018-03-01 11:49:49 +0000
  • ebc4eacee4 Allow sane defaults on setTunTap Neil Alexander 2018-02-28 15:27:58 +0000
  • fdd32b9571 Add setTunTap Neil Alexander 2018-02-28 15:15:57 +0000
  • 2b48fd1fce Add addPeer to admin socket Neil Alexander 2018-02-28 13:43:06 +0000
  • ddc4773b19 don't drop send/recv traffic going through the crypto workers, just block until they're free (TODO run further tests to make sure this doesn't cycle/deadlock) Arceliar 2018-02-26 18:12:28 -0600
  • e113b8d530 incrase max MTU Arceliar 2018-02-25 21:56:09 -0600
  • 33c9f74f48
    Merge pull request #22 from Arceliar/udp_mtu_fix Arceliar 2018-02-25 20:43:10 -0600
  • 63b55cda62 Mostly working PMTU discovery when going over UDP links Arceliar 2018-02-25 20:24:36 -0600
  • 0fae932512
    Merge pull request #21 from Arceliar/testing Arceliar 2018-02-23 17:10:45 -0600
  • 0470f6f1c1 cleanup Arceliar 2018-02-23 13:04:52 -0600
  • bb3ae8b39b temporarily limit PMTU to 2048, as a workaround to some pathelogical behavior where a TCP stream carried over a UDP peer can throttle down to 0 in the presence of significant packet loss Arceliar 2018-02-23 12:46:22 -0600
  • b4ea98862b
    Merge pull request #20 from neilalexander/multithreadgenkeys Arceliar 2018-02-21 12:03:28 -0600
  • 7101e147f4 Multithread misc/genkeys.go Neil Alexander 2018-02-21 15:57:03 +0000
  • d3dc7765f2 trying to debug UDP+large MTU issues Arceliar 2018-02-20 17:31:12 -0600
  • a81c361484 tcp reconnect bufix, test with bufio, and switch back to tcp auto-peering by default to continue testing Arceliar 2018-02-19 23:22:36 -0600
  • a21a039b57 remove unused field from peer Arceliar 2018-02-19 19:47:11 -0600
  • 4045597516 Use larger UDP chunks for link-local IP and let the OS fragment it. Switch to UDP for link-local peers. Minor code cleanup for TCP. Arceliar 2018-02-19 19:34:51 -0600
  • 8c7d514032 Merge branch 'master' into testing Arceliar 2018-02-19 18:36:06 -0600
  • 4f710ac2da bash -> sh Arceliar 2018-02-18 16:07:27 -0600
  • a1afebc0df
    Merge pull request #19 from neilalexander/sigterm Arceliar 2018-02-18 15:35:47 -0600
  • aef62afb1b gofmt -s -w yggdrasil.go Neil Alexander 2018-02-18 21:32:55 +0000
  • 0176d25235 Catch SIGTERM instead of (impossible to capture) SIGKILL, also capture Windows service termination Neil Alexander 2018-02-18 21:16:47 +0000
  • 71150fcb86 ignore root tstamp updates if we just updated, to throttle the rate at which updates (and new signatures) can propagate Arceliar 2018-02-17 23:57:24 -0600
  • a66a29779a Slightly nicer way to throttle peer announcements Arceliar 2018-02-17 23:41:42 -0600
  • 0fc7401635 check root before adding peers to the switch lookupTable, instead of during each lookup Arceliar 2018-02-17 23:14:23 -0600
  • 430d49d8a4 send fewer link announcements, fix a ttl encoding bug, and remove unnecessary key field from the wire format for dht req/res v0.1.0 Arceliar 2018-02-17 21:59:08 -0600
  • 8ba11b86bb remove duplicate tcp connections Arceliar 2018-02-17 20:44:23 -0600
  • 25f00c1c7a disable keys in link protocol traffic, since these are already known, *breaks backwards compat* Arceliar 2018-02-17 20:30:59 -0600
  • c0579024c0
    Merge pull request #18 from Arceliar/rumormill Arceliar 2018-02-17 17:25:51 -0600
  • da44ec282f Add a rumor mill to throttle dht maintenance traffic Arceliar 2018-02-17 17:10:08 -0600
  • 032ad3a162
    Merge pull request #17 from neilalexander/windowssvc Arceliar 2018-02-16 11:56:05 -0600
  • b57491656b Fix .travis.yml for these builds Neil Alexander 2018-02-16 14:21:57 +0000
  • d02250c94d Update README.md for Linux/systemd too Neil Alexander 2018-02-16 14:19:26 +0000
  • c453770b85 Add support for running Yggdrasil as a Windows service (using minwinsvc) Neil Alexander 2018-02-16 14:12:44 +0000
  • 8a12a88447
    Merge pull request #16 from neilalexander/notuntap Arceliar 2018-02-16 00:31:50 -0600
  • 02473158d4 Allow setting IfName to 'none' to run without TUN/TAP Neil Alexander 2018-02-15 22:29:13 +0000
  • 120ce8bd2f
    Merge pull request #15 from neilalexander/packettoobig Arceliar 2018-02-15 12:59:46 -0600
  • 366d2af1d3 Fix first queued packet on session pcreation Neil Alexander 2018-02-15 18:02:08 +0000
  • 1c59338f01 Fix checksums and packet buffers, sends ICMPv6 Packet Too Big messages successfully now Neil Alexander 2018-02-15 13:38:54 +0000
  • 37e4492b86 Send ICMPv6 response to packets larger than session MTU (WIP: checksum wrong?) Neil Alexander 2018-02-14 22:59:24 +0000
  • a3a9696880
    Merge pull request #14 from neilalexander/icmpv6 Arceliar 2018-02-14 11:16:24 -0600
  • f6bdbda5c3
    Merge pull request #13 from neilalexander/exchangemtu Arceliar 2018-02-14 11:16:09 -0600
  • 844212e95b Highlight packets that exceed the agreed session MTU Neil Alexander 2018-02-14 14:08:40 +0000
  • 9fb45d77fc Add "IfMTU" configuration option to allow selecting TUN/TAP MTU Neil Alexander 2018-02-14 12:53:32 +0000
  • 34b264067e Run gofmt -s -w . Neil Alexander 2018-02-14 11:46:10 +0000
  • 0bf43b758f Split create_icmpv6 into create_icmpv6_tun and create_icmpv6_tap Neil Alexander 2018-02-14 11:39:55 +0000
  • d78e0f7067 Improve icmpv6.go - Now doesn't use unsafe - Much cleaner - Doesn't run in a goroutine perpetually - Has a function to create ICMPv6 packets Neil Alexander 2018-02-14 11:21:23 +0000
  • 6571a8c300 Don't use channels for ICMPv6 packets Neil Alexander 2018-02-12 20:00:55 +0000
  • fac4bf796e Add some error handling and other fixes to icmpv6.go Neil Alexander 2018-02-12 19:40:13 +0000
  • be0d6feeba Remove ndp.go and add icmpv6.go Neil Alexander 2018-02-12 18:19:31 +0000
  • 7a0b48ffb3 Clean up session.go Neil Alexander 2018-02-12 00:01:15 +0000
  • 11a7c5c458 Exchange MTU on wire Neil Alexander 2018-02-11 23:58:30 +0000
  • 536974f20c Try to exchange MTUs when creating sessions Neil Alexander 2018-02-11 23:09:05 +0000
  • 38567fffef
    Merge pull request #12 from neilalexander/iftapmode Arceliar 2018-02-11 15:52:00 -0600
  • e9bd98d213 Add "IfTAPMode" configuration option to allow selecting TAP mode on supported platforms Neil Alexander 2018-02-11 21:45:44 +0000
  • ec6d749b59
    Merge pull request #11 from Arceliar/bigmtu Arceliar 2018-02-11 13:34:10 -0600
  • 869997e4c5 gofmt Arceliar 2018-02-09 18:50:03 -0600