rade
245f747745
Merge pull request #488 from awh/486_administrative_peer_removal
...
Implement 'weave forget' command
Closes #486 .
2015-03-27 01:53:16 +00:00
Matthias Radestock
308da993eb
refactor: extract some funs for better readability
2015-03-27 01:51:04 +00:00
Matthias Radestock
e3ef5433cf
cosmetic: linting
2015-03-27 00:43:26 +00:00
Adam Harrison
efb7c0f1bc
gofmt
2015-03-26 10:54:46 +00:00
Adam Harrison
dc8e82ea31
Implement weave forget command
2015-03-26 10:48:25 +00:00
Adam Harrison
bd7b232663
Replace hand parsing and validation of URLs with Gorilla mux
2015-03-18 10:10:13 +00:00
David Wragg
2f7e0b5cad
Simplify version printing
2015-03-06 11:15:24 +00:00
Matthias Radestock
a00f67cf06
use correct API for figuring out whether crypto is enabled
2015-03-05 15:51:54 +00:00
David Wragg
619ebc20a8
Don't pass password around as a pointer to a slice
...
A slice can be nil, so there is no reason for extra indirection to
represent the lack of a password.
2015-03-05 14:19:54 +00:00
rade
d1400bc233
Merge pull request #407 from awh/369_name_weave_peers
...
nicknames for weave peers
Closes #369 .
2015-02-25 18:10:36 +00:00
Adam Harrison
4e9e183e0f
Simplify argument parsing
2015-02-24 17:59:40 +00:00
Adam Harrison
3cf2179c67
Fix formatting
2015-02-24 16:52:44 +00:00
Adam Harrison
5e54637ffa
Remove reference to containers from argument help
2015-02-24 16:52:22 +00:00
Adam Harrison
244af11701
Rename hostname to nickname
...
Accept -nickname parameter to weave script
2015-02-19 17:09:08 +00:00
Adam Harrison
f517b947e6
Add hostname to peers
2015-02-19 12:29:37 +00:00
Bryan Boreham
410972906b
Add version and encryption status into the JSON output
2015-02-06 17:35:39 +00:00
Bryan Boreham
42dfd5142e
Remove Access-Control hack
2015-02-02 14:36:56 +00:00
Bryan Boreham
c7af02776f
Obtain status info in JSON format
2015-01-21 21:03:16 +00:00
Bryan Boreham
404c7a1ad4
When printing call-stacks from SIGQUIT, trim the buffer to remove garbage at the end
2015-01-19 16:54:40 +00:00
Matthias Radestock
48c8f9ea01
refactor: separate object creation from activation
2015-01-19 13:23:25 +00:00
Michael Bridgen
14f7d83e3e
Merge branch '321_cope_with_weavetools_delays' of git://github.com/rade/weave into pr334
2015-01-09 17:40:42 +00:00
Matthias Radestock
11b87f879a
make weave status show whether encryption is on/off
...
Closes #323 .
2015-01-09 12:56:26 +00:00
Matthias Radestock
f7ad2cd5af
wait longer for ethwe interface to come up
...
in case we are running on a really, really slow machine/VM
2015-01-08 22:22:40 +00:00
Matthias Radestock
5da2219dc8
cosmetic: remove weaver/.gitignore
...
and handle that in the top-level .gitignore instead. Just as we do for weavedns.
2015-01-01 00:49:34 +00:00
Michael Bridgen
0a14eb58b2
Don't hardwire executable names; use logical names instead
...
We could use `os.Args[0]` instead of hardwired names, but that ends up
being e.g. `/home/weave/weaver`. So, use logical names instead.
2014-12-24 11:52:50 +00:00
Michael Bridgen
ccf7e9993a
Add version reporting to weaver
2014-12-24 11:04:51 +00:00
Matthias Radestock
99c1163862
fmt
2014-12-24 10:54:38 +00:00
Liang-Chi Hsieh
f5afe3b203
Merge remote-tracking branch 'upstream/master' into if_param
...
Conflicts:
weave
weaver/Dockerfile
2014-12-22 20:58:20 +08:00
Bryan Boreham
affb9aef42
Merge pull request #283 from rade/275_do_not_log_password
...
Closes #275
2014-12-22 11:31:16 +00:00
Matthias Radestock
7ccb9e36d9
update Dockerfile MAINTAINER
...
and also use what appears to be (based on some sampling of the docker
registry) the correct convention for specifying the email address.
Also ditch superfluous CMD instruction in weaver.
2014-12-22 11:11:00 +00:00
Liang-Chi Hsieh
1dc28e9025
Assign iface parameter from defined variable.
2014-12-22 15:59:29 +08:00
Matthias Radestock
33494f1b47
do not log password
...
This is trickier than it may first appear. We can't just filter the
password from os.Args, since that would require recreating the flag
parsing logic, which allows flags to be specified in a wide variety of
formats. And there is no API for calling that logic either.
So instead we log the results of the flag parsing, eliding the
password, and using a straight golang map for formatting (so we don't
have to get creative).
2014-12-19 23:56:30 +00:00
Matthias Radestock
ff69868922
allow password to be set through WEAVE_PASSWORD env var
...
so that passwords can be supplied w/o them showing up in 'ps'
2014-12-19 23:19:28 +00:00
Matthias Radestock
f33ecad3fb
don't be so defensive
...
(we are not that paranoid elsewhere)
2014-12-19 12:49:20 +00:00
Michael Bridgen
27beebf5d5
Factor out the wait-for-interface code
2014-11-03 17:47:16 +00:00
Matthias Radestock
6393e545ae
introduce 'weave connect' to connect a running router to other peers
...
Getting this to work with 'wget' is just too cumbersome especially
when it comes to getting the error message out. So 'curl' only.
2014-10-27 09:15:14 +00:00
Matthias Radestock
acbabc4f9e
s/StatusPort/HttpPort
...
since we are adding functionality other than status
2014-10-27 08:22:22 +00:00
Matthias Radestock
eb5548b1c3
move docker-ns
2014-10-22 14:29:18 +01:00
Matthias Radestock
b8c308dd09
move weave script
2014-10-22 14:14:33 +01:00
Matthias Radestock
bc02066bdb
move Makefile to top-level
2014-10-22 13:36:06 +01:00
Bryan Boreham
fe236e95db
Work round change in Docker 1.3 where 'Pulling' messages are included in 'docker run' output
2014-10-17 12:38:37 +01:00
Matthias Radestock
a587fef9c4
fix package name following move
2014-10-15 15:20:49 +01:00
Matthias Radestock
32a7975777
make it clearer in usage message that subnet is specified as CIDR
...
See issue #116
2014-10-11 03:59:48 +01:00
Matthias Radestock
0e4a30c9ee
refactor: 'ip addr list' -> '... show'
...
Since the man page only mentions the latter
2014-10-11 03:50:56 +01:00
Bryan Boreham
8de22f4bf1
reformat
2014-10-10 12:28:52 +01:00
Bryan Boreham
be39cb01bd
Resolve peer names to IP address at startup
2014-10-10 12:22:01 +01:00
Matthias Radestock
cf9c479727
check that the go stdlib was built with the required options
...
AFAICT, go build tags are a compile-time only construct, so there is
no way to query whether a certain package was built with a specific
tag. However, the 'netgo' tag triggers conditional compilation of the
cgo_stubs.go file, and that file name ends up in the executable. (we
could have looked for specific symbols in the 'net.a' library instead,
but that requires locating it first, which is more hassle than it is
worth)
issue #93
2014-10-09 20:57:56 +01:00
Matthias Radestock
7b02365de8
make dns resolution work in weave container
...
by using go's internal DNS resolver.
NB: this relies on go's std library having been compiled with the
netgo build tag, e.g.
sudo go install -tags netgo -a std
issue #93
2014-10-09 19:33:58 +01:00
Matthias Radestock
d4a2bc8024
document WEAVE_DOCKER_ARGS
2014-10-07 22:22:21 +01:00
Matthias Radestock
6d0df649fc
refactor: extract weave docker image name
...
Thanks to @hesco for the suggestion.
2014-10-07 19:32:39 +01:00