Closed ihubgit closed 7 months ago
Is the "176.131.216.168" related to your locale somehow for sender or receiver? (You ISP / your VPN / etc etc). croc tries to describe the transfer using a IP as seen by the relay.
No. But i should have said the relay and sender have the same IP address, so could that be the reason ? I'm basically using a Huawei mobile router (4G with sim card and wifi for connecting), using its wifi IP as the relay, and sending from the same IP. One thing that I couldn't quite fancy is that when i specify the relay's IP address in the relay terminal window, like so : croc relay [info] ….. starting croc relay version v9.1.0-35106d4 [info] ….. starting TCP server on 9009 [info] ….. starting TCP server on 9011 [info] ….. starting TCP server on 9010 [info] ….. starting TCP server on 9012 [info] ….. starting TCP server on 9013 croc --relay 192.162.0.1:9009 and then reusing the same IP as the sender in another terminal window like this : croc --relay 192.162.0.1:9009 1234567890 most often the receiver couldn't establish a connection (i/o timeout). It does work when not specifying the relay's IP in the relay terminal window, but doing so for the sender ... 🤨
mobile router (4G with sim card
Can you confirm that your public IP is not the one listed above? (see http://icanhazip.com/)
and then reusing the same IP as the sender in another terminal window like this : croc --relay 192.162.0.1:9009 1234567890
This is not a valid sender command. It should be croc --relay X send Y
. Can you rephrase this point you are making? Please be as clear and as thorough as possible.
Sorry, my bad. Was pasting the receiver's cmd. Yea obviously I'm doing croc --relay 192.162.0.1:9009 send --code 1234567890
mobile router (4G with sim card Can you confirm that your public IP is not the one listed above? (see http://icanhazip.com/)
Well, i thought yes, but it's actually no. Thing is both sender and receiver use some kind of Huawei 4G mobile router. Now that gives each one a dynamic ip first of all (which the end user doesn't know), but the public ip is federated, i.e. used by several hundreds of people. This way, croc never worked, neither by the public ip address of the SIM card, nor the specific ip with which the sender connects to the wifi of the mobile router. The initial post was the result of in-house testing, connecting two laptops to the same Huawei 4G mobile router, but with different IP addresses. Now, that worked, but although by default the local flag is off in croc, i suspect it did send them over the LAN created by the mobile router (i suppose...). Trying to use two different 4G mobile routers with different SIMs never succeeded. The best i could achieve, was to use the public IP of one of the routers as the self-hosted relay. That way, the receiver did propose to DL the file, but that failed, because it picked a random port... So basically, the question is whether it's even possible to make croc work in such a setup using two 4G mobile routers with hidden dynamic IPs for the end user ? I'm not a networking geek, but could there be some sort of workaround by creating a SSL VPN tunnel between the mobile router and myself making us appear on the same local network or so (maybe through 'inlets') ? Or would it be possible to replace the (unknown) IP address by a domain name, through a service like dyndns or the like ? Alternatively, i also have an ADSL connection behind NAT. Could this be used for the self relay and then running the client on the mobile router ? If not, i suppose my only remaining option would be to install croc on a VPS, but i ignore whether anyone managed to do so ...
It's this still an issue?
yea it is. Unable to make croc work. Could use any helpful suggestions here. Would it be possible to create a selhosted relay on a VPS or a wireguard tunnel between the two endpoints ?
Can you transfer files using the public relay?
no, i tried...
What happens when you try transferring using the public relay? Can you share the output when using the --debug
flag?
[debug] 15:17:06 cli.go:155: debug mode on Enter receive code: croc 0532-escape-sport-richard [debug] 15:17:22 croc.go:164: options: {IsSender:false SharedSecret:croc 0532-escape-sport-richard Debug:true RelayAddress:142.93.177.120:9009 RelayAddress6:[2604:a880:800:c1::14c:1]:9009 RelayPorts:[] RelayPassword:pass123 Stdout:false NoPrompt:false NoMultiplexing:false DisableLocal:false OnlyLocal:false IgnoreStdin:false Ask:false SendingText:false NoCompress:false IP: Overwrite:false Curve:siec HashAlgorithm:xxhash} connecting...[debug] 15:17:22 croc.go:520: attempt to discover peers
and it just keeps stuck in this never ending discovery...
Are you on a Mac? This was a problem with the M1. Try upgrading to the latest version 9.1.4
Hi, no I'm on an intel one. I updated - i guess - to latest version by updating homebrew. Is there a way to upgrade just croc in the terminal?
@ihubgit lets start from scratch, as there is a lot of back and forth and I still don't completely understand your situation.
Please do the following steps so that I can help:
v9.1.4-d0ebb7a
on both computers (using croc --version
)rm ~/.config/croc/*.json
) croc --debug send <filename>
croc --debug --yes <codephrase>
I can answer other questions once steps 1-6 are completed.
Hi, output from sender
[debug] 10:26:55 cli.go:155: debug mode on [debug] 10:26:55 croc.go:164: options: {IsSender:true SharedSecret:5736-tiger-arsenal-nobody Debug:true RelayAddress:142.93.177.120:9009 RelayAddress6:[2604:a880:800:c1::14c:1]:9009 RelayPorts:[9009 9010 9011 9012 9013] RelayPassword:pass123 Stdout:false NoPrompt:false NoMultiplexing:false DisableLocal:false OnlyLocal:false IgnoreStdin:false Ask:false SendingText:false NoCompress:false IP: Overwrite:false Curve:siec HashAlgorithm:xxhash} [debug] 10:26:55 croc.go:231: hashed /Users/poste/Desktop/Capture d’écran 2021-05-24 à 17.21.06.png to 1b4a6e97903aebc9 using xxhash [debug] 10:26:55 croc.go:257: file 0 info: {Name:Capture d’écran 2021-05-24 à 17.21.06.png FolderRemote:. FolderSource:/Users/poste/Desktop/ Hash:[27 74 110 151 144 58 235 201] Size:94064 ModTime:2021-05-24 17:21:10.632854951 +0200 CEST IsCompressed:false IsEncrypted:false Symlink:} [debug] 10:26:55 croc.go:259: longestFilename: 47 Sending 'Capture d’écran 2021-05-24 à 17.21.06.png' (91.9 kB) Code is: 5736-tiger-arsenal-nobody
On the other computer run croc 5736-tiger-arsenal-nobody [debug] 10:26:55 tcp.go:56: starting with password 'pass123' [info] 2021/05/29 10:26:55 starting TCP server on 9009 [debug] 10:26:55 tcp.go:56: starting with password 'pass123' [info] 2021/05/29 10:26:55 starting TCP server on 9012 [debug] 10:26:55 tcp.go:56: starting with password 'pass123' [info] 2021/05/29 10:26:55 starting TCP server on 9010 [debug] 10:26:55 tcp.go:56: starting with password 'pass123' [info] 2021/05/29 10:26:55 starting TCP server on 9011 [debug] 10:26:55 croc.go:399: host: '2604:a880:800:c1::14c:1', port: '9009' [debug] 10:26:55 croc.go:405: got host '2604:a880:800:c1::14c:1' and port '9009'
[debug] 10:26:55 tcp.go:56: starting with password 'pass123' [info] 2021/05/29 10:26:55 starting TCP server on 9013 [debug] 10:26:55 croc.go:321: establishing connection [debug] 10:26:55 comm.go:59: connected to 'localhost:9009' [debug] 10:26:55 tcp.go:100: client [::1]:63881 connected [debug] 10:26:55 tcp.go:180: strongkey: 19c7f474d2dbf205eb6ba45848abe34d6c2e317b6c0b3dc134152c8824021865 [debug] 10:26:55 tcp.go:439: strong key: 19c7f474d2dbf205eb6ba45848abe34d6c2e317b6c0b3dc134152c8824021865 [debug] 10:26:55 tcp.go:451: sending password [debug] 10:26:55 tcp.go:460: waiting for first ok [debug] 10:26:55 tcp.go:192: waiting for password [debug] 10:26:55 tcp.go:215: sending '9010,9011,9012,9013' [debug] 10:26:55 tcp.go:226: waiting for answer [debug] 10:26:55 tcp.go:475: sending room [debug] 10:26:55 tcp.go:484: waiting for room confirmation [debug] 10:26:55 tcp.go:257: room 573 has 1 [debug] 10:26:55 tcp.go:104: room: 573 [debug] 10:26:55 tcp.go:105: err:
[debug] 10:26:55 tcp.go:497: all set [debug] 10:26:55 croc.go:324: banner: 9010,9011,9012,9013 [debug] 10:26:55 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:26:55 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:26:55 croc.go:331: local connection established: &{connection:0xc000224020} [debug] 10:26:55 croc.go:337: got ping [debug] 10:26:56 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:26:56 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:26:56 croc.go:337: got ping [debug] 10:26:57 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:26:57 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:26:57 croc.go:337: got ping [debug] 10:26:58 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:26:58 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:26:58 croc.go:337: got ping [debug] 10:26:58 croc.go:399: host: '142.93.177.120', port: '9009' [debug] 10:26:58 croc.go:405: got host '142.93.177.120' and port '9009' [debug] 10:26:58 croc.go:407: trying connection to 142.93.177.120:9009 [debug] 10:26:58 comm.go:59: connected to '142.93.177.120:9009' [debug] 10:26:58 tcp.go:439: strong key: 40950e251e16af0d254fcaef309d6f29257d54cea3b3fe4f423f2f3a11539a70 [debug] 10:26:58 tcp.go:451: sending password [debug] 10:26:58 tcp.go:460: waiting for first ok [debug] 10:26:59 tcp.go:475: sending room [debug] 10:26:59 tcp.go:484: waiting for room confirmation [debug] 10:26:59 tcp.go:497: all set [debug] 10:26:59 croc.go:424: banner: 9010,9011,9012,9013 [debug] 10:26:59 croc.go:425: connection established: &{connection:0xc000224028} [debug] 10:26:59 croc.go:427: waiting for bytes [debug] 10:26:59 croc.go:452: got ping [debug] 10:26:59 croc.go:427: waiting for bytes [debug] 10:26:59 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:26:59 tcp.go:126: room: {first:0xc00003f080 second:
opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:26:59 croc.go:337: got ping [debug] 10:27:00 croc.go:452: got ping [debug] 10:27:00 croc.go:427: waiting for bytes [debug] 10:27:00 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:00 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:00 croc.go:337: got ping [debug] 10:27:01 croc.go:452: got ping [debug] 10:27:01 croc.go:427: waiting for bytes [debug] 10:27:01 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:01 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:01 croc.go:337: got ping [debug] 10:27:02 croc.go:452: got ping [debug] 10:27:02 croc.go:427: waiting for bytes [debug] 10:27:02 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:02 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:02 croc.go:337: got ping [debug] 10:27:03 croc.go:452: got ping [debug] 10:27:03 croc.go:427: waiting for bytes [debug] 10:27:03 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:03 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:03 croc.go:337: got ping [debug] 10:27:04 croc.go:452: got ping [debug] 10:27:04 croc.go:427: waiting for bytes [debug] 10:27:04 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:04 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:04 croc.go:337: got ping [debug] 10:27:05 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:05 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:05 croc.go:337: got ping [debug] 10:27:05 croc.go:452: got ping [debug] 10:27:05 croc.go:427: waiting for bytes [debug] 10:27:06 croc.go:452: got ping [debug] 10:27:06 croc.go:427: waiting for bytes [debug] 10:27:06 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:06 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:06 croc.go:337: got ping [debug] 10:27:07 croc.go:452: got ping [debug] 10:27:07 croc.go:427: waiting for bytes [debug] 10:27:07 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:07 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:07 croc.go:337: got ping [debug] 10:27:08 croc.go:452: got ping [debug] 10:27:08 croc.go:427: waiting for bytes [debug] 10:27:08 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:08 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:08 croc.go:337: got ping [debug] 10:27:09 croc.go:452: got ping [debug] 10:27:09 croc.go:427: waiting for bytes [debug] 10:27:09 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:09 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:09 croc.go:337: got ping [debug] 10:27:10 croc.go:452: got ping [debug] 10:27:10 croc.go:427: waiting for bytes [debug] 10:27:10 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:10 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:10 croc.go:337: got ping [debug] 10:27:11 croc.go:452: got ping [debug] 10:27:11 croc.go:427: waiting for bytes [debug] 10:27:11 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:11 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:11 croc.go:337: got ping [debug] 10:27:12 croc.go:452: got ping [debug] 10:27:12 croc.go:427: waiting for bytes [debug] 10:27:12 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:12 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:12 croc.go:337: got ping [debug] 10:27:13 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:13 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:13 croc.go:337: got ping [debug] 10:27:13 croc.go:452: got ping [debug] 10:27:13 croc.go:427: waiting for bytes [debug] 10:27:14 croc.go:452: got ping [debug] 10:27:14 croc.go:427: waiting for bytes [debug] 10:27:14 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:14 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:14 croc.go:337: got ping [debug] 10:27:15 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:15 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:15 croc.go:337: got ping [debug] 10:27:15 croc.go:452: got ping [debug] 10:27:15 croc.go:427: waiting for bytes [debug] 10:27:16 croc.go:452: got ping [debug] 10:27:16 croc.go:427: waiting for bytes [debug] 10:27:16 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:16 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:16 croc.go:337: got ping [debug] 10:27:17 croc.go:452: got ping [debug] 10:27:17 croc.go:427: waiting for bytes [debug] 10:27:17 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:17 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:17 croc.go:337: got ping [debug] 10:27:18 croc.go:452: got ping [debug] 10:27:18 croc.go:427: waiting for bytes [debug] 10:27:18 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:18 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:18 croc.go:337: got ping [debug] 10:27:19 croc.go:452: got ping [debug] 10:27:19 croc.go:427: waiting for bytes [debug] 10:27:19 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:19 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:19 croc.go:337: got ping [debug] 10:27:20 croc.go:452: got ping [debug] 10:27:20 croc.go:427: waiting for bytes [debug] 10:27:20 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:20 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:20 croc.go:337: got ping [debug] 10:27:21 croc.go:452: got ping [debug] 10:27:21 croc.go:427: waiting for bytes [debug] 10:27:21 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:21 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:21 croc.go:337: got ping [debug] 10:27:22 croc.go:452: got ping [debug] 10:27:22 croc.go:427: waiting for bytes [debug] 10:27:22 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:22 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:22 croc.go:337: got ping [debug] 10:27:23 croc.go:452: got ping [debug] 10:27:23 croc.go:427: waiting for bytes [debug] 10:27:23 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:23 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:23 croc.go:337: got ping [debug] 10:27:24 croc.go:452: got ping [debug] 10:27:24 croc.go:427: waiting for bytes [debug] 10:27:24 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:24 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:24 croc.go:337: got ping [debug] 10:27:25 croc.go:312: discoveries: [] [debug] 10:27:25 croc.go:312: discoveries: [] [debug] 10:27:25 croc.go:452: got ping [debug] 10:27:25 croc.go:427: waiting for bytes [debug] 10:27:25 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:25 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:25 croc.go:337: got ping [debug] 10:27:26 croc.go:452: got ping [debug] 10:27:26 croc.go:427: waiting for bytes [debug] 10:27:26 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:26 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:26 croc.go:337: got ping [debug] 10:27:27 croc.go:452: got ping [debug] 10:27:27 croc.go:427: waiting for bytes [debug] 10:27:27 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:27 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:27 croc.go:337: got ping [debug] 10:27:28 croc.go:452: got ping [debug] 10:27:28 croc.go:427: waiting for bytes [debug] 10:27:28 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:28 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:28 croc.go:337: got ping [debug] 10:27:29 croc.go:452: got ping [debug] 10:27:29 croc.go:427: waiting for bytes [debug] 10:27:29 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:29 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:29 croc.go:337: got ping [debug] 10:27:30 croc.go:452: got ping [debug] 10:27:30 croc.go:427: waiting for bytes [debug] 10:27:30 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:30 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:30 croc.go:337: got ping [debug] 10:27:31 croc.go:452: got ping [debug] 10:27:31 croc.go:427: waiting for bytes [debug] 10:27:31 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:31 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:31 croc.go:337: got ping [debug] 10:27:32 croc.go:452: got ping [debug] 10:27:32 croc.go:427: waiting for bytes [debug] 10:27:32 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:32 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:32 croc.go:337: got ping [debug] 10:27:33 croc.go:452: got ping [debug] 10:27:33 croc.go:427: waiting for bytes [debug] 10:27:33 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:33 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:33 croc.go:337: got ping [debug] 10:27:34 croc.go:452: got ping [debug] 10:27:34 croc.go:427: waiting for bytes [debug] 10:27:34 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:34 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:34 croc.go:337: got ping [debug] 10:27:35 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:35 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:35 croc.go:337: got ping [debug] 10:27:35 croc.go:452: got ping [debug] 10:27:35 croc.go:427: waiting for bytes [debug] 10:27:36 croc.go:452: got ping [debug] 10:27:36 croc.go:427: waiting for bytes [debug] 10:27:36 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:36 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:36 croc.go:337: got ping [debug] 10:27:37 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:37 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:37 croc.go:337: got ping [debug] 10:27:37 croc.go:452: got ping [debug] 10:27:37 croc.go:427: waiting for bytes [debug] 10:27:38 croc.go:452: got ping [debug] 10:27:38 croc.go:427: waiting for bytes [debug] 10:27:38 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:38 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:38 croc.go:337: got ping [debug] 10:27:39 croc.go:452: got ping [debug] 10:27:39 croc.go:427: waiting for bytes [debug] 10:27:39 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:39 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:39 croc.go:337: got ping [debug] 10:27:40 croc.go:452: got ping [debug] 10:27:40 croc.go:427: waiting for bytes [debug] 10:27:40 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:40 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:40 croc.go:337: got ping [debug] 10:27:41 croc.go:452: got ping [debug] 10:27:41 croc.go:427: waiting for bytes [debug] 10:27:41 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:41 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:41 croc.go:337: got ping [debug] 10:27:42 croc.go:452: got ping [debug] 10:27:42 croc.go:427: waiting for bytes [debug] 10:27:42 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:42 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:42 croc.go:337: got ping [debug] 10:27:43 croc.go:452: got ping [debug] 10:27:43 croc.go:427: waiting for bytes [debug] 10:27:43 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:43 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:43 croc.go:337: got ping [debug] 10:27:44 croc.go:452: got ping [debug] 10:27:44 croc.go:427: waiting for bytes [debug] 10:27:44 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:44 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:44 croc.go:337: got ping [debug] 10:27:45 croc.go:452: got ping [debug] 10:27:45 croc.go:427: waiting for bytes [debug] 10:27:45 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:45 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:45 croc.go:337: got ping [debug] 10:27:46 croc.go:452: got ping [debug] 10:27:46 croc.go:427: waiting for bytes [debug] 10:27:46 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:46 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:46 croc.go:337: got ping [debug] 10:27:47 croc.go:452: got ping [debug] 10:27:47 croc.go:427: waiting for bytes [debug] 10:27:47 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:47 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:47 croc.go:337: got ping [debug] 10:27:48 croc.go:452: got ping [debug] 10:27:48 croc.go:427: waiting for bytes [debug] 10:27:48 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:48 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:48 croc.go:337: got ping [debug] 10:27:49 croc.go:452: got ping [debug] 10:27:49 croc.go:427: waiting for bytes ^X[debug] 10:27:49 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:49 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:49 croc.go:337: got ping [debug] 10:27:50 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:50 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:50 croc.go:337: got ping [debug] 10:27:51 croc.go:452: got ping [debug] 10:27:51 croc.go:427: waiting for bytes [debug] 10:27:51 croc.go:452: got ping [debug] 10:27:51 croc.go:427: waiting for bytes [debug] 10:27:51 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:51 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:51 croc.go:337: got ping [debug] 10:27:52 croc.go:452: got ping [debug] 10:27:52 croc.go:427: waiting for bytes [debug] 10:27:52 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:52 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:52 croc.go:337: got ping ^X[debug] 10:27:53 croc.go:452: got ping [debug] 10:27:53 croc.go:427: waiting for bytes [debug] 10:27:53 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:53 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:53 croc.go:337: got ping [debug] 10:27:54 croc.go:452: got ping [debug] 10:27:54 croc.go:427: waiting for bytes [debug] 10:27:54 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:54 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:54 croc.go:337: got ping [debug] 10:27:55 croc.go:452: got ping [debug] 10:27:55 croc.go:427: waiting for bytes [debug] 10:27:55 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:55 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:55 croc.go:337: got ping [debug] 10:27:56 croc.go:452: got ping [debug] 10:27:56 croc.go:427: waiting for bytes [debug] 10:27:56 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:56 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:56 croc.go:337: got ping [debug] 10:27:57 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:57 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:57 croc.go:337: got ping [debug] 10:27:57 croc.go:452: got ping [debug] 10:27:57 croc.go:427: waiting for bytes ^X[debug] 10:27:58 croc.go:452: got ping [debug] 10:27:58 croc.go:427: waiting for bytes [debug] 10:27:58 tcp.go:118: checking connection of room 573 for &{connection:0xc00000e1a8} [debug] 10:27:58 tcp.go:126: room: {first:0xc00003f080 second: opened:{wall:13845363313492208368 ext:865996510 loc:0x1582260} full:false} [debug] 10:27:58 croc.go:337: got ping [debug] 10:27:59 croc.go:452: got ping [debug] 10:27:59 croc.go:427: waiting for bytes
[ and it just goes on and on that way...
output from receiver
pantocrator@MBPdePatocrator ~ % croc --debug --yes 5736-tiger-arsenal-nobody [debug] 10:29:11 cli.go:155: debug mode on [debug] 10:29:11 croc.go:164: options: {IsSender:false SharedSecret:5736-tiger-arsenal-nobody Debug:true RelayAddress:142.93.177.120:9009 RelayAddress6:[2604:a880:800:c1::14c:1]:9009 RelayPorts:[] RelayPassword:pass123 Stdout:false NoPrompt:true NoMultiplexing:false DisableLocal:false OnlyLocal:false IgnoreStdin:false Ask:false SendingText:false NoCompress:false IP: Overwrite:false Curve:siec HashAlgorithm:xxhash} connecting...[debug] 10:29:11 croc.go:520: attempt to discover peers
and it gets stuck there...
hi any updates on this ?
I am uncertain if this is my issue. But I am having difficulty with croc under my mobile hotspot. Do I have to start a relay to use LAN? Using the local flag without mobile internet definitely does not work. I will test it more rigorously when I have time.
croc version v9.5.2-4a8c19b
Stale issue message
Hi running croc v. 9.1.0. on MacOS. Self-hosted using following syntax in Terminal :
croc relay [info] ….. starting croc relay version v9.1.0-35106d4 [info] ….. starting TCP server on 9009 [info] ….. starting TCP server on 9011 [info] ….. starting TCP server on 9010 [info] ….. starting TCP server on 9012 [info] ….. starting TCP server on 9013 croc --pass abc12345
Recipient running croc v. 9.1.0. on Windows 10. Sending several files successively with the following syntax (ip fictitious): croc --relay 192.162.0.1:9009 send --code 1234567890 Now on the recipient's end, when doing : croc --relay 192.162.0.1:9009 1234567890 i get different outputs for the files :
1) Receiving (<-192.162.0.1:9014) 2) Receiving (<-[::1]:52570) 3) Receiving (<-176.131.216.168:52510)
Now what does 2) mean ? For 3), this is an Amsterdam based ip. So what's happening here ?
NetRange: 176.0.0.0 - 176.255.255.255 CIDR: 176.0.0.0/8 NetName: RIPE-176 NetHandle: NET-176-0-0-0-0 Parent: () NetType: Allocated to RIPE NCC OriginAS: Organization: RIPE Network Coordination Centre (RIPE) RegDate: 1993-05-01 Updated: 2010-05-18 Comment: These addresses have been further assigned to users in Comment: the RIPE NCC region. Contact information can be found in Comment: the RIPE database at http://www.ripe.net/whois Ref: https://rdap.arin.net/registry/ip/176.0.0.0
ResourceLink: https://apps.db.ripe.net/search/query.html ResourceLink: whois.ripe.net
OrgName: RIPE Network Coordination Centre OrgId: RIPE Address: P.O. Box 10096 City: Amsterdam