"redsocks"Segmentation fault error
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
I can't run Redsocks on my openwrt device. I installed it from the normal repo but it gives the error "Segmentation fault".
Maintainer: https://github.com/darkk/redsocks/
Environment:
- Xiaomi Router 4A (chinese version) 100M Edition
Architecture:
root@OpenWrt:~# cat /proc/cpuinfo
system type : MediaTek MT7628AN ver:1 eco:2
machine : Xiaomi Mi Router 4A (100M Edition)
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 380.92
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit perf mm_full
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Some information:
root@OpenWrt:~# ldd $(which redsocks)
/lib/ld-musl-mipsel-sf.so.1 (0x77d65000)
libevent_core-2.1.so.7 => /usr/lib/libevent_core-2.1.so.7 (0x77d34000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77d03000)
libc.so => /lib/ld-musl-mipsel-sf.so.1 (0x77d65000)
root@OpenWrt:~# redsocks
Segmentation fault
root@OpenWrt:~# redsocks -c /etc/redsocks.conf
Segmentation fault
Package download link what im using: https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/packages/redsocks_0.5-2_mipsel_24kc.ipk
Sorry for english. I am using google translate.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the linked redsocks package and reproduce the failure using the provided OpenWrt package, architecture details, and redsocks commands. Compare the behavior with and without the configuration file and use the reported ldd output to identify the cause; done means documenting a confirmed cause and a tested resolution.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100