Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--remember doesn't #622

Closed
b3taman opened this issue Oct 13, 2023 · 1 comment
Closed

--remember doesn't #622

b3taman opened this issue Oct 13, 2023 · 1 comment

Comments

@b3taman
Copy link

b3taman commented Oct 13, 2023

Describe the bug

I set up my own proxy and discovered that --remember only creates a zero-byte ~/.config/croc/internal-dns file.

I ran find ~ -xdev -type f -exec stat -c "%y %n" {} + | sort -r | head -10 | sort -r to give me the 10 newest files after running croc as above, and the empty internal-dns is all I found.

To Reproduce

  1. Run croc --remember --pass ./super-secret-password relay --ports 11111,11112,11113,11114,11115
  2. Connect and transfer files.
  3. Stop the relay with Ctrl+C.
  4. Discover that nothing is remembered and that ~/.config/croc/ contains only internal-dns, which is empty.

Expected behaviour

Some kind of config file which is read and acted upon.

Version

croc version v9.6.5-8ab65d0

Additional context

  1. Running without --remember doesn't create the internal-dns file.
  2. Separately I tried croc config as per https://schollz.com/software/croc/, but that simply returned with securing channel...2023/10/13 17:27:54 room not ready.
@b3taman b3taman added the bug label Oct 13, 2023
@schollz
Copy link
Owner

schollz commented Feb 8, 2024

happy to accept a pr for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants