Comments (8)
I'll take this :)
from croc.
Great! Don't hesitate to send me a question
from croc.
Is it possible to run it all on one machine for testing ?
Tried ./croc -relay
in one terminal
./croc -server localhost -send ~/Pictures/Avatar.png
in another and both just output a cat and croc version...
from croc.
@lummie Yes. Its not clear at the moment, but you had the right idea. You need to run three commands in three different terminals:
./croc -relay
will be the relay./croc -server localhost -send FILE -code 1-test
will send the file, with code specified./croc -server localhost -code 1 test
will receive the file without prompting about the code
from croc.
Oh also I just found I deleted those lines that tell you what to do after you start sending, fixed!
from croc.
@schollz Ok have done the rejecting multiple senders with the same key and tested it.
For the multiple receiver connections side, am I right in saying that the receiver is not recorded until here https://github.com/schollz/croc/blob/master/relay.go#L169
which is after the received has given consent, so up until this point multiple receivers could be connected but only those connected whilst the file was downloading would be rejected.
Are you happy with this? If not then we need to add a map of potentialReceivers to the connectionMap and use this to reject multiple receivers.
from croc.
@lummie You are correct in that! I didn't think about that. I think having a map of potentialReceivers is a great solution. Would you like to add that too?
from croc.
@schollz will do :)
from croc.
Related Issues (20)
- Crash on Windows 7 HOT 4
- A-Shell HOT 1
- croc_v9.6.8 ; no more .deb for Ubuntu 20.04 ? HOT 7
- Automatically set up UPnP port forwarding on the router HOT 6
- A threat (WinGo/Agent_AGen.AN was found HOT 1
- Missing releases for Windows
- Request: croc compiled against glibc 2.17 HOT 5
- windows defender antivirus reports trojan in linux 64 bit binary download v9.6.11 HOT 3
- When using the --local option to force the use of a local connection, local sending and receiving of a single host cannot be achieved. HOT 5
- No CLI output on Windows with v9.6.12 HOT 4
- Winget Release Action is broken HOT 2
- No LICENSE file in binary releases HOT 2
- Developing Apis to interact with Croc programmatically HOT 1
- Developing Apis to interact with Croc programmatically HOT 3
- avrira antivirus virus alert after 9.6.10 version HOT 1
- Croc fail to run when HOME env var is not defined HOT 1
- prevent sleeping while transferring HOT 1
- Waiting for a room
- Firefly, the easiest WireGuard VPN server
- Send/Receive --local fails, firewall issue? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from croc.