Commit Graph

26 Commits

Author SHA1 Message Date
Eugene K a6b657ea14 implement CloseWrite() on packet connection 2020-10-20 23:14:57 -04:00
Eugene K d3bb89a5b0 pass select edge headers through fabric
implement passing edge flags
add test for edge.Conn.CloseWrite()
use CloseWrite() on proxied connections
2020-10-20 11:33:11 -04:00
Shawn Carey b352ecbfae Support configurable ip range for unresolvable hostnames in client configurations (#339)
* use shared network IP range for services that are configured with unresolvable hostnames

* parameterize dns intercept IP range

* reuse utils.incIP

closes #339
2020-10-12 09:39:53 -04:00
Andrew Martinez fe99e8e60d remove golang nocopy ignore 2020-10-05 07:29:24 -04:00
Andrew Martinez d9a76390ab work around noCopy lock 2020-10-05 07:25:46 -04:00
Shawn Carey 898a10fbc3 shrink copyBuf to avoid chunking UDP payloads when sending to tunnelers with smaller (16k) mtu. (#325) 2020-10-02 16:32:03 -04:00
Shawn Carey cba62ee053 run hosted session in goroutine (#324) 2020-10-02 13:28:40 -04:00
Shawn Carey 70f7811f8a better logging when UDP read/event loops are stopped. (#319) 2020-09-30 08:39:47 -04:00
Shawn Carey e19b0e4568 close the server conn when hosting a service and the client closes (#312) 2020-09-28 10:51:42 -04:00
Shawn Carey f608d04ad1 Avoid tun read failing with "not pollable" (#271)
Avoid "tun not pollable": https://github.com/golang/go/issues/38618
2020-08-07 11:28:00 -04:00
Michael Quigley ae78fa17f3 Better max UDP packet size naming. 2020-07-31 11:19:52 -04:00
Michael Quigley 1132c44455 Changes for udp.MaxPacketSize -> info.MaxPacketSize. 2020-07-29 13:43:29 -04:00
Andrew M 3087972172 all conversion work
- remove old JSON schema, unsused code
- remove unused variables from base router functions
- rework all API entities
- rework all links
- fix lint issues
- adds error conversion logic
- update tests as needed
- fix up go test
- fix backwards compat w/ non json enroller
2020-06-09 14:11:23 -04:00
Andrew M b6d9efaf8c fixed #183, move to openziti 2020-05-26 17:37:35 -04:00
Paul Lorenz 6b1964cacd Make udp logging use debug and make format consistent. Ensure last use access is atomic 2020-04-29 13:15:58 -04:00
Paul Lorenz 7d60e03b65 Remove copyright date from header 2020-03-19 13:47:42 -04:00
dovholuknf 3db81622cb didn't i do this once already? 2020-02-25 14:29:08 -05:00
Paul Lorenz 2bbb8aa32f Merge pull request #71 from netfoundry/feature-0.9
Feature 0.9
2020-01-31 20:14:40 -05:00
dovholuknf c3b74a01ae add the service name in the message to make it easier to know what service wasn't specified 2020-01-28 11:29:06 -05:00
Paul Lorenz d1bdaae857 Move tunneler configuration into config entities (#61)
* Move tunneler configuration into config entities. Fixes GH-46
2020-01-24 09:09:09 -05:00
Paul Lorenz 55eaa157b9 GH-16 Enable service policies replacing appwans (#28)
* GH-16 Enable service policies replacing appwans
2020-01-08 15:08:58 -05:00
Shawn Carey bf4df59138 Track shared routes (#24)
* handle signals from within the service poller to enable selective route cleanup

* update iptables dependency

* use refcounts to track shared addresses

* add single entry to intercept LUT per service

* tidy

* don't panic when intercept address isn't in LUT

* deal with multiple intercept addresses per service.

* don't preallocate array.

* use syscall package for all signals.
2020-01-03 16:46:37 -05:00
Paul Lorenz 1b734f68ff Remove sdk and example code which has moved to ziti-sdk-golang. Fixes GH-9 (#11) 2019-12-09 10:28:26 -05:00
Shawn Carey 75dab5aea2 Check netlink errors not msgcount (#8)
* updated netlink dependency

* examine netlink errors, not response message counts.

* inspect netlink.OpError safely

* use errors.As to safely unwrap netlink.OpError
2019-12-06 09:06:34 -05:00
Shawn Carey 8f621ce126 moved command-centric files to ziti-cmd 2019-12-03 15:03:08 -05:00
Michael Quigley 58fdd03351 Initial migration from internal repositories. 2019-12-03 12:13:27 -05:00