1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-24 16:23:47 +03:00
Commit Graph

804 Commits

Author SHA1 Message Date
Zack Scholl
cd2802b8b5 shorter dns fail time 2021-02-19 10:18:13 -08:00
Zack Scholl
c5ff55a193 find dns from any number of providers 2021-02-19 10:16:58 -08:00
Zack
ef43873c3b
Merge pull request #325 from nikoksr/fix/missing-code-too-short-error
fix(cli): make 'code too short' error symmetric on both sender and receiver side
2021-02-02 06:48:21 -08:00
Zack Scholl
7f5d704a26 change name 2021-02-01 06:58:27 -08:00
Niko Köser
3ccd4d07e9
fix: accidentally overwritten error value
In function _cli.send_ the named return value 'err' gets accidentally
overwritten in the deferred anonymous function that removes the
files/directories. Renamed the error variable inside the deferred
function so that it does not overwrite the original error anymore.

Closes #296
2021-02-01 10:34:06 +01:00
Peter
17f3df7e36 Added an option to ignore attached stdin, for compatibility with node child_process 2021-01-10 13:17:43 +00:00
Zack Scholl
a2b243ad94 bump 8.6.7 2020-12-28 11:01:27 -08:00
Zack
0994e4eda5
Merge pull request #307 from hillmarcus/306-file-size
Issue #306, File Size Mismatch
2020-12-28 10:46:39 -08:00
vzlcn0
52bc6312e1 add new cmd option to set sender ip 2020-12-17 18:37:48 +03:00
Marcus
d735cca970 Issue #306, File Size Mismatch
Updated utils.go to use a `1024` grouping instead of `1000` for file
sizes. This brings it inline with the progress bar project being used.

Updated utils_test.go to match the changes to utils.go
2020-12-07 18:44:12 -06:00
Zack Scholl
5978896936 bump 8.6.6 2020-11-17 16:10:57 -08:00
Zack Scholl
1da2f58a53 faster dns resolution on startup 2020-11-17 10:46:49 -08:00
Zack Scholl
284af7fc7a hm 2020-11-17 10:35:57 -08:00
Zack Scholl
dbc4a08ad0 use google for lookup 2020-11-17 10:29:52 -08:00
Zack Scholl
b740e491e6 bump 8.6.5 2020-10-23 08:26:15 -07:00
Zack Scholl
f51ea8bfdc show progress 2020-10-22 17:03:46 -07:00
Zack Scholl
23f97c61ac bump 8.6.4 2020-10-22 10:18:40 -07:00
Zack Scholl
cbb728b9a2 bump 8.6.4 2020-10-22 10:17:58 -07:00
Zack Scholl
9bb2d2b7cc bump 8.6.4 2020-10-22 10:17:33 -07:00
Zack Scholl
3f10a147dd bump 8.6.4 2020-10-22 10:16:55 -07:00
Zack Scholl
bf9ebfc4b4 show ping 2020-10-22 10:13:41 -07:00
Zack Scholl
d3aa2be9ab ping server from discoveries 2020-10-22 10:11:11 -07:00
Zack Scholl
034e012227 allow pinging 2020-10-22 10:09:04 -07:00
Zack Scholl
79f85fda9b bug fix: return if found error 2020-10-22 09:59:55 -07:00
Zack Scholl
3bcc83a8fc gather all discoveries 2020-10-22 09:53:27 -07:00
Zack Scholl
1d9393d39b bump 8.6.3 2020-10-22 07:40:56 -07:00
Khang. Nguyen Khac Nguyen
4070f12cbf change(croc): shorten flag with builder 2020-10-22 14:06:54 +07:00
Khang. Nguyen Khac Nguyen
8e50b59671 fix(cli): show passphrase when user indicate --pass
+ when user indicate --pass when sending file, indicate --pass flag in
recommended receive command.
2020-10-22 13:37:32 +07:00
Zack Scholl
ff45ccd346 bump 8.6.2 2020-10-21 12:52:53 -07:00
Zack Scholl
5a791e98af bump 8.6.2 2020-10-21 12:51:47 -07:00
Zack Scholl
0d767af80a fix makefile 2020-10-21 12:51:43 -07:00
Zack Scholl
bb971a9937 bump 8.6.1 2020-10-21 12:50:30 -07:00
Zack Scholl
c88d3ad62a update makefile 2020-10-21 12:50:25 -07:00
Zack Scholl
77732c49a0 bump 8.6.0 2020-10-21 10:28:28 -07:00
Zack Scholl
b9b22ad041 bump 8.6.0 2020-10-21 10:28:27 -07:00
Zack Scholl
7a73e4912c allow using only local with --local flag 2020-10-21 18:25:56 +01:00
Zack Scholl
1967ef57be bump 8.5.3 2020-10-21 09:41:08 -07:00
Zack Scholl
b95c2c781b bump 8.5.3 2020-10-21 09:41:07 -07:00
Zack Scholl
ea0e334feb add back ipv6 broadcast 2020-10-21 08:17:39 -07:00
Khang. Nguyen Khac Nguyen
e85ac9f8bf chore(croc): remove redundant code
+ remove redundant return of func that does not return
+ remove func that is not used
2020-10-21 15:52:04 +07:00
Khang. Nguyen Khac Nguyen
9f54f2d08f chore(comm): cleanup comm Write func
+ better handling error.
+ use Send instead of Write since we do not need number of bytes sent.
2020-10-21 15:16:42 +07:00
Zack Scholl
f5624007c8 bump 8.5.2 2020-10-19 11:04:43 -07:00
Zack Scholl
9b6c33c300 bump 8.5.2 2020-10-19 11:04:42 -07:00
Zack Scholl
b66cfb4cc1 disable ipv6 for peer-to-peer discovery since it causes issues 2020-10-19 11:02:48 -07:00
Zack Scholl
539d66806a bump 8.5.1 2020-10-13 15:48:43 -07:00
Zack Scholl
768f3e1318 bump 8.5.1 2020-10-13 15:48:43 -07:00
Zack Scholl
a968f494fa better help 2020-10-13 15:47:53 -07:00
Zack Scholl
911bb22b2d better environmental variable 2020-10-13 15:47:00 -07:00
Zack Scholl
f3697f6aad reduce packets sent for peer discovery 2020-10-13 13:47:43 -07:00
Zack Scholl
5374be1a0f use dns to determine relay 2020-10-13 12:26:11 -07:00