Zack Scholl
bd2376e920
allow getting password through file Fix #226
2020-09-03 13:31:01 -07:00
Zack Scholl
def4f94ffd
Merge branch 'master' of github.com:schollz/croc into master
2020-09-03 12:45:47 -07:00
Zack Scholl
bbc0ce4e9c
better info about incorrect passwords Fixes 237
2020-09-03 12:45:40 -07:00
Zack Scholl
8b6c0d1c39
bump 8.2.1
2020-09-03 11:40:29 -07:00
Zack Scholl
d55327d344
bump 8.2.1
2020-09-03 11:40:23 -07:00
Zack Scholl
c7ba55fc83
use default port of 9009 if none found #236
2020-09-03 09:53:14 -07:00
Zack Scholl
81ad30c633
bump 8.2.0
2020-09-02 17:37:17 -07:00
Zack Scholl
0eb095bf76
println
2020-09-02 17:35:36 -07:00
Zack Scholl
8fbb7e5019
send and receive text
2020-09-02 17:33:53 -07:00
Zack Scholl
48d63e4854
text works
2020-09-02 17:24:32 -07:00
Zack Scholl
ea781e569b
bug fix: propogate error when connecting
2020-09-02 09:46:31 -07:00
Zack Scholl
a8c5bef7c0
raise max bytes to allow huge files #231
2020-09-01 09:32:03 -07:00
Zack Scholl
b188a2691e
bump 8.1.3
2020-08-31 11:58:07 -07:00
Zack Scholl
7bc9dc1826
bump 8.1.2
2020-08-27 10:49:30 -07:00
Zack Scholl
2345148fde
make sure conn is not nil
2020-08-27 10:13:47 -07:00
Zack Scholl
50bf003022
try ipv6 first
2020-08-27 09:40:41 -07:00
Zack Scholl
695444159e
add default ipv6 relay
2020-08-27 09:24:19 -07:00
Zack Scholl
0533f0c96e
release auto
2020-08-27 08:15:01 -07:00
Zack Scholl
52182099eb
bump 8.1.1
2020-08-27 08:13:07 -07:00
Zack Scholl
e250eeede6
add makefile for releases
2020-08-27 08:12:47 -07:00
Zack Scholl
4aa7f05630
slightly more debugging
2020-08-27 08:10:44 -07:00
Zack Scholl
3a805f8be3
bump 8.1.0
2020-08-26 19:16:25 -07:00
Zack Scholl
588e650d80
don't split host if localhost
2020-08-26 17:46:35 -07:00
Zack Scholl
baddb93c4e
local ipv6 works
2020-08-26 14:56:57 -07:00
Zack Scholl
c9a58513e1
attempt to use ipv6 discoveries
2020-08-26 14:42:49 -07:00
Zack Scholl
ae384490d6
don't create folder if its a .
2020-08-26 09:55:59 -07:00
mathew
1b646d5528
Improve error reporting
2020-08-22 18:05:00 -05:00
mathew
827b5d3a86
Initial IPv6 fixes
2020-08-22 14:51:32 -05:00
Zack Scholl
0beeebc351
bump 8.0.13
2020-08-12 09:59:07 -07:00
Zack Scholl
4deced8827
bump 8.0.13
2020-08-12 09:58:13 -07:00
Zack Scholl
81e9f772a1
bump 8.0.13
2020-08-12 09:57:18 -07:00
Zack Scholl
009f36f16c
bump 8.0.13
2020-08-12 09:49:29 -07:00
Zack Scholl
fdf383b2d7
bump 8.0.12
2020-07-15 10:48:52 -07:00
Zack Scholl
7fd8fda107
default to port 9009 if port is lost during discovery
...
fixes #222
2020-07-15 10:47:56 -07:00
Zack Scholl
0377223a67
fix tests: generate file in reproducible way #218
2020-05-18 07:20:51 -07:00
Zack Scholl
23c21bcafd
bump 8.0.11
2020-05-12 11:33:03 -07:00
Zack Scholl
532cfa9cd9
bump 8.0.11
2020-05-12 05:41:57 -07:00
Zack Scholl
14f6a4a8be
add example gif
2020-05-08 10:58:51 -07:00
Zack Scholl
93e45c6942
bump 8.0.10
2020-05-06 10:55:14 -07:00
Zack Scholl
6dc44ec002
faster pake
2020-05-06 10:50:57 -07:00
Zack Scholl
4211cea92e
add benchmark for tcp connection
2020-05-06 10:18:39 -07:00
Zack Scholl
1740bda985
bump 8.0.9
2020-05-01 07:00:17 -07:00
Zack Scholl
189d1f7b2a
update deps
2020-05-01 06:59:09 -07:00
Zack Scholl
86ebbaa618
bump 8.0.8
2020-04-24 08:17:24 -07:00
Zack Scholl
2e7708e3cd
whoops
2020-04-22 07:08:08 -07:00
Zack Scholl
cb522f2f06
debugging the comm
2020-04-22 06:24:47 -07:00
Zack Scholl
3ed036b51d
bug fix: increase deadline for reading in channels, addresses #211
2020-04-20 12:30:07 -07:00
Zack Scholl
a3e81e1d87
bump 8.0.7
2020-04-09 10:12:30 -07:00
Zack Scholl
e56e65207f
bump 8.0.7
2020-04-09 09:55:36 -07:00
Zack Scholl
f9f4f291da
use debug instead of warn/error addresses #205
2020-04-09 09:54:04 -07:00
Maxim Baz
c058bcbb6b
relay: show version on startup
...
Since relay is a long-running process, I find myself in situations where I dont know which version of croc I have running.
This simple startup log will make it obvious.
2020-04-09 17:44:19 +02:00
Zack Scholl
9bf470ef29
bump 8.0.6
2020-04-09 08:02:10 -07:00
Zack Scholl
9c0bc3efc3
bug fix: two read deadlines to prevent memory leak
...
addresses #205
2020-04-09 07:40:39 -07:00
Zack Scholl
386f4ff958
bump 8.0.5
2020-03-31 13:43:13 -07:00
Zack Scholl
97bf35bf93
fix debug
2020-03-31 13:42:52 -07:00
Zack Scholl
f8fd239eec
bump 8.0.5
2020-03-31 13:34:10 -07:00
Zack Scholl
72378947b5
update progressbar, show external ip on receiver
2020-03-31 13:33:27 -07:00
Zack Scholl
b0125b63e7
test should not exceed max bytes
2020-03-27 09:38:09 -07:00
Zack Scholl
b60a841044
bug fix: prevent crazy number of bytes getting into comm
2020-03-27 09:32:41 -07:00
Zack Scholl
44c3d43fa0
bump 8.0.4
2020-03-24 08:37:14 -07:00
Zack Scholl
aae56043cf
bug fix: lock the chunk map
...
addresses #204
2020-03-18 03:06:50 +00:00
Zack Scholl
09d35d248f
bump 8.0.3
2020-03-08 07:15:32 -07:00
Zack Scholl
03fe1c770a
bump 8.0.2
2020-03-06 07:15:04 -08:00
Zack Scholl
1dd75c4bc3
better error messages
2020-03-06 07:12:08 -08:00
Zack Scholl
8b6500adfd
hide most of the code phrase to use as authentication
2020-03-06 07:05:04 -08:00
Zack Scholl
3cf474e6e8
more tests
2020-03-02 10:10:17 -08:00
Zack Scholl
820225b684
more tests
2020-03-02 10:06:20 -08:00
Zack Scholl
eddf361893
bump 8.0.1
2020-03-02 09:42:34 -08:00
Zack Scholl
2d6206b84f
bump 8.0.1
2020-03-02 09:35:35 -08:00
Zack Scholl
074a869d6e
bump 8.0.0
2020-03-02 09:04:25 -08:00
Zack Scholl
5e37a308fe
throw error when submitting bad passphrase to relay
2020-02-28 17:05:03 -08:00
Zack Scholl
bc1f89ff68
bump 8.0.0
2020-02-28 16:57:46 -08:00
Zack Scholl
0b99be5b30
update year
2020-02-28 13:27:44 -08:00
Zack Scholl
c3adc2981f
encrypt external ip
2020-02-28 13:02:23 -08:00
Zack Scholl
5fce2a2e27
encrypt external ip
2020-02-28 12:58:46 -08:00
Zack Scholl
d5846bc88d
encrypt all communication with relay
2020-02-28 11:59:56 -08:00
Zack Scholl
4c56ec283d
bump 6.4.11
2020-02-18 11:28:36 -08:00
Roman
df79b2ed8e
croc: secret phrase parsing
...
what:
- `croc alpha beta gamma` is now properly understood as
`croc alpha-beta-gamma`.
why:
- to increase convenience.
2020-02-17 21:31:56 -07:00
Zack Scholl
29882db39b
bump 6.4.10
2020-01-15 09:14:37 -08:00
Zack Scholl
d6694a9b41
bump 6.4.9
2020-01-15 08:07:22 -08:00
Zack Scholl
5369fbc3aa
bump 6.4.9
2020-01-15 08:06:28 -08:00
Zack Scholl
fbcad738bb
bump 6.4.8
2019-12-23 14:49:22 -08:00
Zack Scholl
25902edf5b
bump 6.4.7
2019-12-16 07:38:56 -08:00
Zack Scholl
3d9bbff7a7
bump 6.4.7
2019-12-16 07:38:18 -08:00
Zack Scholl
02be7abe32
bump 6.4.7
2019-12-16 07:37:57 -08:00
Micheal Quinn
247a698757
Adding in EUID check to create_prefix. Also adding in more checks to that function to make sure the tools needed are available.
2019-11-26 14:18:30 -06:00
Micheal Quinn
47d84b9947
Adding rcode for completness sake on the create_prefix function.
2019-11-26 13:50:31 -06:00
Micheal Quinn
f6ad8f57cf
Adding a function that creates a prefix and logic surrounding it to only create it if it does not already exist
2019-11-26 13:41:38 -06:00
Zack Scholl
f52447acd9
bump 6.4.6
2019-11-21 15:24:25 -08:00
Zack Scholl
3c03719863
need to close goroutine corrrectly
2019-11-21 15:10:21 -08:00
Zack Scholl
5bafc99741
check if the purported IP is really local #168
2019-11-21 14:58:48 -08:00
Zack Scholl
20061b484e
bump 6.4.5
2019-11-19 16:39:38 -08:00
Maxim Baz
1a544e4624
Support default port on receiver side
2019-11-20 01:11:52 +01:00
Zack Scholl
eb85477086
bump 6.4.4
2019-11-19 15:25:33 -08:00
Zack Scholl
5faacd3328
try 9009 port by default #178
2019-11-19 15:19:53 -08:00
Zack Scholl
60d6489c69
bump 6.4.3
2019-11-19 14:01:57 -08:00
Zack
0e555179f8
Merge pull request #176 from maximbaz/patch-2
...
Add version to the dir name in the source tarball
2019-11-19 14:01:20 -08:00
Maxim Baz
b27b814b49
Switch to GlobalIsSet
2019-11-19 22:58:35 +01:00
Maxim Baz
cc6af6e5e8
Checkout the version tag when cloning repo
2019-11-19 22:57:24 +01:00
Maxim Baz
252475f72e
Remember relay password on receive too #177
2019-11-19 21:06:12 +01:00
Zack Scholl
e3ba938582
set relay password when remembering #177
2019-11-19 11:47:04 -08:00
Maxim Baz
1cdccfa884
Add version to the dir name in the source tarball
2019-11-19 19:38:29 +01:00
Zack Scholl
e84e89b786
bump 6.4.2
2019-11-19 10:15:44 -08:00
Zack Scholl
fb35da42ed
upload separately
2019-11-19 10:15:02 -08:00
Zack Scholl
d91ce7e469
bump 6.4.2
2019-11-19 10:12:18 -08:00
Zack Scholl
0694d61294
add upload asset to goreleaser #172
2019-11-19 09:24:13 -08:00
Zack Scholl
60030cdfbb
bump 6.4.1
2019-11-18 14:31:29 -08:00
Zack Scholl
181dee9991
quit on bad password
2019-11-18 14:26:01 -08:00
Zack Scholl
bcb2b5d783
fix tests
2019-11-18 13:27:22 -08:00
Zack Scholl
af95cddd8d
fix tests
2019-11-18 13:25:51 -08:00
Zack Scholl
6b26af4dca
bump 6.4.0
2019-11-18 13:15:51 -08:00
Zack Scholl
b9b3995f02
exit on EOF
2019-11-18 13:15:41 -08:00
Zack Scholl
d0c2dc1be8
use one-byte pings
2019-11-18 13:09:17 -08:00
Zack Scholl
c369f67745
fix src bundle
2019-11-18 12:02:54 -08:00
Zack Scholl
76fc3f1a77
fix tests
2019-11-18 11:13:36 -08:00
Zack Scholl
baf5d6f27f
bump 6.3.0
2019-11-18 10:43:28 -08:00
Zack Scholl
eb22400db0
bump 6.3.0
2019-11-18 10:23:29 -08:00
Zack Scholl
0f15698970
bump 6.3.0
2019-11-18 10:21:13 -08:00
Zack Scholl
19b5923f48
bump 6.3.0
2019-11-18 10:20:29 -08:00
Zack Scholl
ae412375ef
Merge branch 'master' of github.com:schollz/croc
2019-11-18 08:18:37 -08:00
Zack Scholl
21c1efe319
fix tests
2019-11-18 08:18:30 -08:00
Zack Scholl
9d5eec4246
implement password addresses #173
2019-11-18 08:16:19 -08:00
Zack Scholl
3941762bf3
allow disabling multiplexing
2019-11-18 07:57:12 -08:00
Zack Scholl
648c41d707
use siec
2019-11-18 07:53:57 -08:00
Zack Scholl
c7f419ca2d
use functional encryption
2019-11-18 07:50:43 -08:00
Zack Scholl
fe8dad42f7
bump 6.2.4
2019-11-18 07:42:09 -08:00
Zack Scholl
6a036d68f6
update releaser
2019-11-18 07:36:49 -08:00
Zack Scholl
b8bcbb3ecc
bump 6.2.3
2019-11-17 13:20:45 -08:00
Zack Scholl
b7625ef55c
add more info on how to send
2019-11-17 13:19:27 -08:00
Zack Scholl
b7565177be
fix tests
2019-11-17 13:05:43 -08:00
Zack Scholl
a7aed67c65
bump 6.2.2
2019-11-17 13:00:41 -08:00
Zack Scholl
b4f8fafb63
don't hang it no acceptance
...
Fixes #171
2019-11-17 12:59:29 -08:00
Zack Scholl
04724f4900
bump 6.2.1
2019-11-17 09:44:02 -08:00
Zack Scholl
bdb8bf3ac4
addresing CPU usage #168
2019-11-11 11:26:12 -08:00
Zack Scholl
c7624535e9
skip discovery
2019-10-28 13:13:03 -07:00
Zack Scholl
da626334e0
check discoveries for right prefix
2019-10-28 12:46:24 -07:00
Zack Scholl
aaeda77af4
bump 6.2.0
2019-10-24 07:22:57 -07:00
Zack Scholl
ffddd3e989
prompt if sender wants to ask
2019-10-24 06:58:12 -07:00
Zack Scholl
9aa327a0a4
use machine ID
2019-10-23 14:59:47 -07:00
Zack Scholl
42c2d5c6c1
add ask flag
2019-10-23 14:07:52 -07:00
Micheal Quinn
183791d4c4
Adding in a more detailed error message for when an extraction tool is not found in PATH. CentOS 8 Minimal install seems to not include tar...
2019-10-08 22:49:32 -05:00
Zack Scholl
e286321d39
bump 6.1.5
2019-10-07 16:22:58 -07:00
Zack Scholl
af39b8ca14
pad filenames according to longest filename
2019-10-07 16:20:24 -07:00
Zack Scholl
59666c564d
bump 6.1.4
2019-10-03 12:09:18 -07:00
Zack Scholl
00e6ac9316
bump 6.1.4
2019-10-03 12:08:18 -07:00
Zack Scholl
5d89bdb6f9
reduce complexity
2019-09-20 10:06:50 -07:00
Zack Scholl
c46a9d3ae0
reduce complexity
2019-09-20 10:06:26 -07:00
Zack Scholl
ae81dd9a7b
reduce complexity
2019-09-20 10:05:29 -07:00
Zack Scholl
4e94a22300
reduce complexity
2019-09-20 10:03:06 -07:00
Zack Scholl
8be63bed43
reduce complexity
2019-09-20 10:00:52 -07:00
Zack Scholl
a7435a08bd
reduce complexity
2019-09-20 09:59:24 -07:00
Zack Scholl
22ead388cd
reduce complexity
2019-09-20 09:57:18 -07:00
Zack Scholl
7ac7e5d56d
reduce complexity
2019-09-20 09:54:10 -07:00
Zack Scholl
cfbd65be31
reduce complexity
2019-09-20 09:47:47 -07:00
Zack Scholl
07c20e2cde
reduce complexity
2019-09-20 09:45:42 -07:00
Zack Scholl
24abf4fdd8
reduce complexity
2019-09-20 09:43:16 -07:00
Zack Scholl
768ad9b739
reduce complexity
2019-09-20 09:41:58 -07:00
Zack Scholl
6202d0d932
reduce complexity
2019-09-20 09:32:32 -07:00
Zack Scholl
049a4aaffc
reduce complexity
2019-09-20 09:27:59 -07:00
Zack Scholl
1fe8ccf3ab
reduce complexity
2019-09-20 09:24:10 -07:00
Zack Scholl
9fb54a3952
reduce complexity
2019-09-20 09:20:50 -07:00
Micheal Quinn
932f037b17
Moving the new script back into place. I think the merge conflict is resolved now.
2019-09-10 07:31:13 -05:00
Micheal Quinn
fe4e9c357a
Upping version of croc in the installer script.
2019-09-10 07:30:31 -05:00
Micheal Quinn
c0f7c3c250
Merge branch 'master' of https://github.com/schollz/croc into install_script_rewrite
2019-09-10 07:29:24 -05:00
Micheal Quinn
f01165e9f4
Trying to get out of this merge confilct
2019-09-10 07:29:17 -05:00
Micheal Quinn
5fbb787a84
Adding in message and exit for cygwin.
2019-09-10 07:20:39 -05:00
Zack Scholl
5ad631e7b6
add more tests
2019-09-08 06:12:16 -07:00
Zack Scholl
cc728a1138
fix minor bug
2019-09-08 06:07:53 -07:00
Zack Scholl
b979607c42
fix
2019-09-08 05:56:57 -07:00
Zack Scholl
f89dd01e87
add more tests
2019-09-08 05:53:30 -07:00
Zack Scholl
22f6a13a9f
add more tests
2019-09-07 10:31:18 -07:00
Zack Scholl
a82dd2f284
improve tests
2019-09-07 10:06:41 -07:00
Zack Scholl
33aa006c26
fix spelling
2019-09-07 09:49:08 -07:00
Zack Scholl
31c1a37b38
fix linting
2019-09-07 09:46:04 -07:00
Zack Scholl
0277abe5d4
gofmt -s -w
2019-09-07 09:41:24 -07:00
Zack Scholl
9a70ea90d1
bump 6.1.3
2019-09-07 07:41:03 -07:00
Zack
bc6803eeef
use single reader ( #155 )
...
* dunno
* close file after finished
* fix debugging statements
* use single reader
* update deps
2019-09-07 07:34:05 -07:00
Zack Scholl
de7a29470b
bump 6.1.2
2019-08-27 17:11:58 -07:00
Zack Scholl
4150feddf0
skip checking each file each time
2019-08-27 09:51:37 -07:00
Micheal Quinn
97f65bf51d
Adding in stdout of checksum check if the check fails
2019-08-23 11:50:40 -05:00
Micheal Quinn
07a2abd808
Adding in a banner...because all the cool kids are doing it.
2019-08-23 11:05:57 -05:00
Micheal Quinn
7a6c4db5f9
Moving new file to default.txt. Removed todo (will be recreated in the pull request to come)
2019-08-21 22:47:51 -05:00
Micheal Quinn
e3e7ada3e6
Updating todo
2019-08-15 20:50:33 -05:00
Micheal Quinn
105357bcbf
Updating todo
2019-08-15 20:49:30 -05:00
Micheal Quinn
d6d96e487f
fixing returncode for download_file
2019-08-15 20:48:46 -05:00
Micheal Quinn
d3207e6190
First pass of upping rcodes for some of the functions that may have tool return codes clash. Also changing some logic for determine_os and determine_arch to make it a little more better
2019-08-15 20:06:04 -05:00
Quinn
51e77ba0c4
Update rewrite_todo.md
2019-08-14 17:07:43 -05:00
Quinn
f3efbb34af
Update rewrite_todo.md
2019-08-14 17:04:21 -05:00
Quinn
9e9f43c352
Update rewrite_todo.md
2019-08-13 23:16:46 -05:00
Quinn
27bc2e8c8a
Update rewrite_todo.md
2019-08-13 23:09:13 -05:00
Quinn
559807f97d
Forgot to update the function name for cygwin
2019-08-13 22:51:06 -05:00
Quinn
a31bc56c23
More Cygwin updates
...
Forgot to update the install logic case statement in main
2019-08-13 22:45:59 -05:00
Quinn
a9caea4d64
More WIndwos (cygwin) updates
...
Add install_file_cygwin function to support this case
2019-08-13 22:41:48 -05:00
Quinn
ec09a990af
Adding croc_dl_ext update
...
For when we are on a Windows/CYGWIN host
2019-08-13 22:34:40 -05:00
Micheal Quinn
a72172d11e
Adding update to checksum check function to always filter the checksum file based on downloaded file. Adding CYGWIN croc_os switch for windows support (needs more testing)
2019-08-13 22:28:26 -05:00
Quinn
081e267a19
check off bsds
2019-08-12 21:15:38 -05:00
Quinn
d429e09e95
quick todo file
2019-08-12 21:15:06 -05:00
Micheal Quinn
588dfe6c00
Removing cleanup logic. rm -rf in a script terrifies me. The script attempts to place it into the temp dir, so we will let the OS clean it up.
2019-08-12 14:40:46 -05:00
Micheal Quinn
e2e48d9e84
Adding in fix for macOS (Darwin) not having an install case. Uses the same logic from install_file_freebsd
2019-08-12 11:04:50 -05:00
Micheal Quinn
b8d1d11b68
Changing PREFIX to INSTALL_PREFIX to avoid clashing with possibly set environment variables. Adding logic to handle if we are on termux on android (adapted from previous croc install script). Adding an info message for what prefix was set to. Adding in armv71 support (need to add more or make this a generic case to catch more arm devices).
2019-08-12 10:53:09 -05:00