Skip to content

Commit a51f911

Browse files
committed
checkpoint commit
1 parent 52c2026 commit a51f911

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

cmd/cli/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Gotapdance CLI version
1+
# Conjure Client Test CLI
22

33
# Build
44
After [downloading Golang, TD and dependencies:](../README.md)
55

66
```sh
7-
cd ${GOPATH:-~/go}/src/github.com/refraction-networking/gotapdance/cli # works even if GOPATH is not set
7+
cd conjure/cmd/cli # works even if GOPATH is not set
88
go build -a .
99
```
1010

@@ -13,7 +13,7 @@ After [downloading Golang, TD and dependencies:](../README.md)
1313
Simply run
1414

1515
```sh
16-
./cli
16+
./cli -connect-addr="<host:port>"
1717
```
1818

1919
to listen to local connections on default 10500 port.
@@ -73,10 +73,10 @@ To build the docker environemnt use:
7373

7474
```sh
7575
# run from repo root
76-
docker build -t gotapdance/cli -f cli/cli.dockerfile .
76+
docker build -t conjure/cli -f cmd/cli/cli.dockerfile cmd/cli/
7777
```
7878

79-
The environemnt can then be attached to using a `docker exec` or using telnet
79+
The environment can then be attached to using a `docker exec` or using telnet
8080
in the case of gns3. See the [wiki page](https://docs.gns3.com/docs/emulators/create-a-docker-container-for-gns3)
8181
for local docker image builds in gns3 for more details on setting up local
8282
docker appliances in gns3.

cmd/cli/cli.dockerfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
FROM golang:1.20
1+
FROM golang:latest
22

33
RUN apt-get update
44
RUN apt-get install -y -f libzmq3-dev
55

6-
WORKDIR /go/src/github/refracction-networking/gotapdance
7-
COPY . .
6+
WORKDIR /go/src/github/refracction-networking/conjure
7+
COPY cmd/cli /cli
88

9-
# RUN go get -d -v ./...
109
RUN go mod download
1110
RUN go mod tidy
12-
RUN go install ./cli
13-
14-
# no run / entrypoint specified. this containter is meant to be run w/
15-
# gns3 and connected to using terminal or telnet.
11+
RUN go install ./cmd/cli

dialer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (d *Dialer) Dial(network, address string) (net.Conn, error) {
9393
}
9494

9595
// DialContext connects to the address on the named network using the provided context.
96-
// Long deadline is strongly advised, since tapdance will try multiple decoys.
96+
// Long deadline is advised, since conjure may try multiple registration strategies.
9797
//
9898
// The only supported network at this time: "tcp".
9999
// The address has the form "host:port".

0 commit comments

Comments
 (0)