jkuri / bore

Reverse HTTP/TCP proxy to help you expose a local server behind a NAT or firewall to the internet via secure SSH tunnels.
https://bore.digital
MIT License
80 stars 8 forks source link

bore-server_linux_arm v0.4.2 segmentation fault on Raspberry Pi armv6 #38

Open belimpur opened 9 months ago

belimpur commented 9 months ago

When try the bore-server_linux_arm v0.4.2 on Raspberry Pi armv6 show a segmentation fault error, not work, i try with the v0.4.1 and work fine.

jkuri commented 9 months ago

hi @belimpur thanks for reporting this issue, I will check and make a new release soon.

belimpur commented 9 months ago

wget https://github.com/jkuri/bore/releases/download/v0.4.2/bore_linux_arm sudo chmod +x bore_linux_arm ./bore_linux_arm Illegal instruction uname -a Linux raspberrypi 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux

For your reference.

jkuri commented 9 months ago

Hey! I built now on Linux arm64, please check the attached files and let me know if it works.

bore.tar.gz

belimpur commented 9 months ago

I need for arm armv6 raspberry pi this version is for arm64 when use it -bash: ./bore_linux_arm: cannot execute binary file: Exec format error

belimpur commented 9 months ago

wget https://github.com/jkuri/bore/releases/download/v0.4.2/bore_linux_arm chmod +x bore_linux_arm ./bore_linux_arm -bash: ./bore_linux_arm: cannot execute binary file: Exec format error

not work on raspberry pi armv6 (32bits)

belimpur commented 9 months ago

Captura de pantalla 2023-12-18 a las 11 46 24

jkuri commented 9 months ago

Please try this and let me know:

bore_linux_arm.zip

belimpur commented 9 months ago

./bore_linux_arm Illegal instruction

I used: uname -a Linux raspberrpi 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux

belimpur commented 9 months ago

Other versions work fine like 0.4.1 !

belimpur commented 9 months ago

Really, i test again with all my raspberry pi and the 0.4.2 linux_arm not working, only work if use the 0.4.1

jkuri commented 9 months ago

I don't have an option to test this on armv6, but I can confirm, that it works on armv7:

/releases # uname -a
Linux 3af2fa84e22a 6.5.11-linuxkit #1 SMP PREEMPT Wed Dec  6 17:08:31 UTC 2023 armv7l Linux
/releases # ./bore_linux_arm -version
Version     0.4.2
UI version  0.1.0
Commit      1bcf1cfa5cb15db6bd06870ca2616f51a0a507c1
Date        2023-12-18T11:52:36+0100

I don't really see the difference, can you try to build it from source yourself?

belimpur commented 9 months ago

Can use https://go.dev/dl/go1.21.5.linux-armv6l.tar.gz ARMv6 ?

belimpur commented 9 months ago

Likewise, is there any difference between using the client version 0.4.2 and 0.4.1?

jkuri commented 9 months ago

Likewise, is there any difference between using the client version 0.4.2 and 0.4.1?

0.4.1 is an old release, I don't really remember what has changed in the meantime, but if it works for you, then its fine.