Commit Graph

455 Commits

Author SHA1 Message Date
Zack Scholl 7d9b199ca3 works 2019-04-29 17:38:49 -06:00
Zack Scholl 06541ee0d3 encapsulate 2019-04-29 17:29:36 -06:00
Zack Scholl bbd7caa148 remove relay 2019-04-29 17:25:20 -06:00
Zack Scholl ca0b898ca3 add tests 2019-04-29 17:24:37 -06:00
Zack Scholl 3685a887b8 add bytecountdecimal 2019-04-29 17:16:38 -06:00
Zack Scholl cee4c36f8b prune 2019-04-29 17:12:04 -06:00
Zack Scholl 1661bbb221 remove wina nd zipper 2019-04-29 17:10:06 -06:00
Zack Scholl 7a8801f8f1 add the v5 main 2019-04-29 17:09:37 -06:00
Zack Scholl b52001e064 prune 2019-04-29 17:05:48 -06:00
Zack Scholl 1045bd17b5 update croc 2019-04-29 16:54:31 -06:00
Zack Scholl 1f49966bb1 use new version of croc 2019-04-29 16:48:17 -06:00
Zack Scholl dcc7689816 consolidate utils 2019-04-29 16:35:07 -06:00
Zack Scholl 376591384a add more to tests 2019-04-29 16:33:15 -06:00
Zack Scholl 9030aae880 fix test 2019-04-29 16:24:22 -06:00
Zack Scholl 2414593c91 test sending 40mb 2019-04-29 16:04:47 -06:00
Zack Scholl 5b0c52a97b don't dangle 2019-04-29 15:46:40 -06:00
Zack Scholl ef25c556a9 use pointers 2019-04-29 14:06:18 -06:00
Zack Scholl b9a5f450c5 simplify 2019-04-29 13:53:12 -06:00
Zack Scholl 8dc8783bd4 propogate errors 2019-04-27 17:03:05 -07:00
Zack Scholl f238c4b22c modify api of salt 2019-04-27 16:49:00 -07:00
Zack Scholl 249c0d8ab0 faster encryption by generating key once 2019-04-27 11:15:38 -07:00
Zack Scholl 14dd892377 tcp communication better/simpler 2019-04-27 09:20:03 -07:00
Zack Scholl 43dbf98705 rotate multicast based on current time 2018-12-14 06:32:44 -08:00
Zack Scholl e58fc14218 customize multicast address 2018-12-14 06:27:55 -08:00
Lars d42a4f82a1 Add pure Go Windows GUI 2018-11-21 00:08:30 +01:00
Zack Scholl 068fdb77fc pass errors all the way back 2018-11-02 06:15:37 -07:00
Zack Scholl 8a882cc174 throttle the progress bar 2018-11-01 19:06:50 -07:00
Zack Scholl cf2363fd4e add missing escape at end of cli app 2018-11-01 09:08:18 -07:00
Zack Scholl e0081ea8a8 tell user codephrase is wrong if PAKE fails 2018-11-01 07:26:18 -07:00
Zack Scholl a56334fc60 prompt user if accidently receiving 2018-11-01 07:08:57 -07:00
Zack Scholl aefb15105a recipient quits if trying to connect without sender
Addresses #109
2018-11-01 06:56:40 -07:00
Zack Scholl 818e590d92 need to do chdir in goroutine 2018-10-24 07:19:03 -07:00
Zack Scholl e57f3e3861 need to watch slashes 2018-10-24 06:48:05 -07:00
Zack Scholl 0ca74b010e minor zip fixes
Allows multiple zips.

Need to close file after zipping it.
2018-10-24 06:42:27 -07:00
Zack Scholl 562925b5e5 add missing execute bit for config dir 2018-10-23 06:19:53 -07:00
Zack Scholl 61d14be70d add compress test 2018-10-23 05:28:30 -07:00
Zack Scholl 08c84e9f85 connect to tcp in parallel 2018-10-22 20:34:04 -07:00
Zack Scholl c2dd9091ff recipient listens to sender 2018-10-22 19:48:45 -07:00
Zack Scholl e5fcc0d3ee add models 2018-10-22 19:42:39 -07:00
Zack Scholl ea9aa3f8ec recipient websockets should check for errors 2018-10-22 19:41:50 -07:00
Zack Scholl 6a07e1538d sender listens for recipient to close 2018-10-22 19:39:16 -07:00
Zack Scholl ab5df93d10 move reading to goroutine 2018-10-22 19:11:43 -07:00
Zack Scholl 3064ceef81 add output folder 2018-10-22 06:36:36 -07:00
Zack Scholl 3dc6d44c41 throw error if versions are incompatible 2018-10-21 10:46:04 -07:00
Zack Scholl 45b7eebbb9 use normal import 2018-10-21 09:05:27 -07:00
Zack Scholl 69b19c7e78 recipient also uses codephrase 2018-10-21 08:25:53 -07:00
Zack Scholl 81bc06eabb add configuration file 2018-10-21 08:21:58 -07:00
Zack Scholl 1ae117166a add config default 2018-10-21 07:54:59 -07:00
Zack Scholl 0d17219c87 add initial struct fixes #98 2018-10-21 07:45:05 -07:00
Zack Scholl 9e7661c1b0 update deps 2018-10-21 07:43:45 -07:00
Zack Scholl 7371f6f238 remove utils dependency 2018-10-21 07:38:04 -07:00
Zack Scholl 23d451540c update cli 2018-10-21 07:33:29 -07:00
Zack Scholl e591c6afb6 better error message when interrupting 2018-10-21 07:31:35 -07:00
Zack Scholl 9349496111 recipient sends back initial data 2018-10-21 07:25:43 -07:00
Zack Scholl 6e10ed25af recipient sends errors through websockets 2018-10-21 07:23:48 -07:00
Zack Scholl d05e196139 return errors through websockets 2018-10-21 07:20:23 -07:00
Zack Scholl 4aab058344 add windows icon 2018-10-20 07:02:51 -07:00
Zack Scholl dc6493374a open folder if no arguments given 2018-10-19 10:18:49 -07:00
Zack Scholl 5ecbab6673 fix release 2018-10-19 07:54:20 -07:00
Zack Scholl f94790dc75 add release 2018-10-19 07:50:43 -07:00
Zack Scholl 92af0b46ab add release 2018-10-19 07:46:42 -07:00
Zack Scholl 4e55b1efd1 don't do debug 2018-10-19 07:33:08 -07:00
Zack Scholl 0e4fff7378 open folder after receiving 2018-10-19 07:30:24 -07:00
Zack Scholl 79f7e9af41 add icons 2018-10-19 07:25:22 -07:00
Zack Scholl 62bf674365 add more info to win 2018-10-19 06:36:45 -07:00
Zack Scholl ec148d98c1 make sure recipient connects to TCP first 2018-10-18 09:35:08 -07:00
Zack Scholl e85eaac9e3 add parent window 2018-10-18 06:45:32 -07:00
Zack Scholl 366d3c527c fix fprintf 2018-10-18 06:40:24 -07:00
Zack Scholl 3b498d57cf switch to window 2018-10-18 06:36:16 -07:00
Zack Scholl 82e274875d fix zipping on windows 2018-10-18 06:34:48 -07:00
Zack Scholl 48933b5ecc better ui for window 2018-10-17 21:38:29 -07:00
Zack Scholl f9dfa6bc05 add window recipient prompt 2018-10-17 18:14:45 -07:00
Zack Scholl 4ee008225e add makefile for the windows version 2018-10-17 16:57:36 -07:00
Zack Scholl 24e0573116 update progressbar 2018-10-17 10:20:09 -07:00
Zack Scholl 56e0068129 send file works 2018-10-17 07:41:13 -07:00
Zack Scholl 93942f4e0c give stop signals to servers 2018-10-17 07:38:21 -07:00
Zack Scholl 157ab169aa sending is working for wincroc 2018-10-17 07:01:44 -07:00
Zack Scholl 6a899492f5 add state 2018-10-17 06:39:02 -07:00
Zack Scholl 47ab799c6f add file stats to state 2018-10-17 06:19:01 -07:00
Zack Scholl 55d9137b6d add state 2018-10-17 06:13:38 -07:00
Zack Scholl 3bed0bc8bf move files here 2018-10-17 06:13:38 -07:00
Zack Scholl 8734394bb8 merge sender and recipient into croc 2018-10-17 06:13:38 -07:00
Zack Scholl 0bbf2841ca use build tags 2018-10-16 15:59:04 -07:00
Zack Scholl 144102a721 window based croc 2018-10-16 15:48:22 -07:00
Zack Scholl 9a41d9099b move main to cli 2018-10-16 12:23:01 -07:00
Zack Scholl 2fb21245ab delete old rooms 2018-10-13 06:13:50 -07:00
Zack Scholl cc6edd24d1 connect to TCP as early as possible 2018-10-13 06:09:55 -07:00
Zack Scholl a63666cf24 run all tests 2018-10-11 15:32:19 -07:00
Zack Scholl 81bc14f29b multiplex 8 tcp ports 2018-10-11 10:55:46 -07:00
Zack Scholl af11143cba suppress logging messages when ctl+c interrupting
update readme
2018-10-11 06:51:03 -07:00
Zack Scholl 91e065529b fix timeout 2018-10-09 21:17:51 -07:00
Zack Scholl 42344a4c6e fix corruption 2018-10-09 21:17:51 -07:00
Zack Scholl d1e1694631 more debug 2018-10-09 21:17:47 -07:00
Zack Scholl 9d2f07f478 copy tcp writing into byte array 2018-10-09 21:17:47 -07:00
Zack Scholl b0164920c7 increase timeout 2018-10-09 21:17:47 -07:00
Zack Scholl 6955f19439 recipient can easily stop now 2018-10-09 19:01:50 -07:00
Zack Scholl d50c8f271f remove created zip directory after finish 2018-10-09 17:11:54 -07:00
Zack Scholl 3984aaeee2 remove file if overwriting 2018-10-09 16:50:18 -07:00
Zack Scholl 71ba80cee0 zip without chdir 2018-10-09 16:40:03 -07:00
Zack Scholl 9335aca877 fix file descriptor 2018-10-09 07:03:33 -07:00
Zack Scholl edda09df00 fix file descriptor 2018-10-09 07:03:06 -07:00
Zack Scholl c600b51888 resume works with websockets or tcp 2018-10-09 06:56:38 -07:00
Zack Scholl e18938fb70 change name of croc zip 2018-10-09 06:33:25 -07:00
Zack Scholl 9940856317 rearrange block communication 2018-10-09 06:32:49 -07:00
Zack Scholl 61d57ad0af sender and recipient share blocks 2018-10-09 06:01:21 -07:00
Zack Scholl 66a37ae5b2 reduce number of packets 2018-10-09 04:50:38 -07:00
Zack Scholl fdfa7f209d revert to da2b22f 2018-09-26 14:31:45 -07:00
Zack Scholl bc4bd2b0a8 don't use writer 2018-09-26 11:11:19 -07:00
Zack Scholl 8ddd7aff06 flush once 2018-09-26 11:07:17 -07:00
Zack Scholl cc0ef58b9f use netconn 2018-09-26 10:54:11 -07:00
Zack Scholl 21cfcc0bc2 use netconn 2018-09-26 10:53:47 -07:00
Zack Scholl 928b28dc80 use netconn 2018-09-26 10:51:28 -07:00
Zack Scholl fecc8d5897 use netconn 2018-09-26 10:46:36 -07:00
Zack Scholl 420d2be271 use netconn 2018-09-26 10:43:38 -07:00
Zack Scholl 1261a16b55 try fix 2018-09-26 10:09:11 -07:00
Zack Scholl 558d9133a6 try fix 2018-09-26 10:03:13 -07:00
Zack Scholl 267056b3fd try fix 2018-09-26 09:55:14 -07:00
Zack Scholl 4e3138e099 try fix 2018-09-26 09:48:11 -07:00
Zack Scholl a6b33fe046 try fix 2018-09-26 09:45:36 -07:00
Zack Scholl ecf8cbcdda try fix 2018-09-26 09:42:45 -07:00
Zack Scholl f6e2560742 try fix 2018-09-26 09:41:12 -07:00
Zack Scholl ea7ed1a2db try fix 2018-09-26 09:40:40 -07:00
Zack Scholl e92c7f15f1 try fix 2018-09-26 09:39:18 -07:00
Zack Scholl 3fc8edfef9 try fix 2018-09-26 09:38:37 -07:00
Zack Scholl 089d2bbe1a try fix 2018-09-26 09:36:25 -07:00
Zack Scholl 0bd4a0ac75 try fix 2018-09-26 09:27:36 -07:00
Zack Scholl 7a961ecffd try fix 2018-09-26 09:26:44 -07:00
Zack Scholl d2a708eaaa try fix 2018-09-26 09:24:40 -07:00
Zack Scholl b573f5c853 try fix 2018-09-26 09:23:07 -07:00
Zack Scholl 1049e9c8c8 try fix 2018-09-26 09:20:20 -07:00
Zack Scholl 113452d459 try fix 2018-09-26 09:14:24 -07:00
Zack Scholl 1954691f44 try fix 2018-09-26 09:13:11 -07:00
Zack Scholl 182a9fe2f4 try fix 2018-09-26 09:12:38 -07:00
Zack Scholl 42c0240e50 try fix 2018-09-26 09:11:36 -07:00
Zack Scholl 73d8eadce4 try fix 2018-09-26 08:54:01 -07:00
Zack Scholl c0e9d478e7 try fix 2018-09-26 08:46:12 -07:00
Zack Scholl 82b0d2d4c0 use tcpconn 2018-09-26 07:53:46 -07:00
Zack Scholl ab70b53998 use writers in relay 2018-09-26 07:41:07 -07:00
Zack Scholl 085dd4e4c3 implement readers and writers all around 2018-09-26 07:39:45 -07:00
Zack Scholl ea548f290c increase size 2018-09-26 06:57:52 -07:00
Zack Scholl 1a7b123519 increase size 2018-09-26 06:53:46 -07:00
Zack Scholl ae13f82c9e increase size 2018-09-26 06:53:01 -07:00
Zack Scholl f483a6ab9c increase size 2018-09-26 06:51:34 -07:00
Zack Scholl 02196654d9 update 2018-09-26 06:49:39 -07:00
Zack Scholl 7d5d7e6cfb update 2018-09-26 06:48:07 -07:00
Zack Scholl 082dcd2037 revert 2018-09-26 06:44:07 -07:00
Zack Scholl 62d9d74753 increase buffer 2018-09-26 06:43:31 -07:00
Zack Scholl f2f1b31fbc increase buffer size 2018-09-26 06:39:26 -07:00
Zack Scholl 397ceea34c revert 2018-09-26 06:36:47 -07:00
Zack Scholl 0b3d19a52e optimize relay 2018-09-26 06:35:51 -07:00