Comments (7)
What happened when you use bash instead of fish?
from rathole.
No difference; see point 8 above.
from rathole.
from rathole.
from rathole.
That last one is plausible. This is a work laptop, and I did get a slack message from IT asking about me running rathole that same morning. Still weird that 1) curl is broken, 2) rathole via cargo install
works, and 3) they aren't blocked for the first 90 seconds after startup.
I suspect it's related to upx. Could you try upx the binary produced by cargo install? The upx version used by rathole can be found under.github
How? Sorry, I am not the smartest.
$ cargo install upx
Updating crates.io index
error: could not find `upx` in registry `crates-io` with version `*`
$ fd -uuu upx ~/.cargo
$ cargo install --force rathole 2>&1 | grep upx
all turned up nothing. Not sure where else to look. Running the upx
binary from their github releases page looks normal:
$ curl -L https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-amd64_linux.tar.xz | tar xJf -
$ upx-4.2.2-amd64_linux/upx --version
upx 4.2.2
NRV data compression library 0.84
UCL data compression library 1.03
zlib data compression library 1.3.0.1-motley
LZMA SDK version 4.43
Copyright (C) 1996-2024 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 1996-2024 Laszlo Molnar
Copyright (C) 2000-2024 John F. Reiser
Copyright (C) 2002-2024 Jens Medoch
Copyright (C) 1995-2023 Jean-loup Gailly and Mark Adler
Copyright (C) 1999-2006 Igor Pavlov
UPX comes with ABSOLUTELY NO WARRANTY; for details type 'upx -L'.
from rathole.
from rathole.
Wow you are 100% correct. Compressing the binary built with cargo breaks it.
$ curl -L https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-amd64_linux.tar.xz | tar xJf -
$ cd upx-4.2.2-amd64_linux
$ ./upx $HOME/.cargo/bin/rathole
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2024
UPX 4.2.2 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 3rd 2024
File size Ratio Format Name
-------------------- ------ ----------- -----------
4597664 -> 1535008 33.39% linux/amd64 rathole
Packed 1 file.
$ rathole
fish: Job 1, 'rathole' terminated by signal SIGKILL (Forced quit)
Case closed, thanks for all the help. 🙏
from rathole.
Related Issues (20)
- Fail to build HOT 1
- FreeBSD amd64 , ARM64
- Better Error Handling and Error Messages
- Compiling fails on FreeBSD when the websocket-rustls feature is enabled HOT 10
- Renovate the release github action
- add aarch64-apple-darwin binary release
- Potential compatibility issue of PKCS#12 format
- why is the rathole connection easily broken? HOT 7
- 不太稳定
- Binding to unix sockets
- OpenBSD 7.4 with LibreSSL 3.8.2 doesn't compile HOT 1
- Unable to connect - Failed to deserialize hello: invalid value: integer `100466709`, expected variant index 0 <= i < 2 HOT 2
- traffic compression function, udp/tcp.
- Tunnel failure and Interruption when adding a new port HOT 1
- windows service not support HOT 6
- Can't run on Windows Server 2008 R2 HOT 2
- Connection dies after logging out from ssh HOT 1
- Rathole config watcher doesn't work with symlinks HOT 1
- Allow paths in remote_addr for websocket connections
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 rathole.