[GH-ISSUE #583] Weird binding for set/range of ports to listen on FreeBSD 14.3 #470

Closed
opened 2026-02-27 23:17:00 +03:00 by kerem · 2 comments
Owner

Originally created by @v20z on GitHub (May 25, 2025).
Original GitHub issue: https://github.com/snail007/goproxy/issues/583

Hello dear snail007

I've tried the last version (v15.0 proxy-freebsd-amd64.tar.gz ) and I've get such weird port binding. Instead of a set (or range) of ports there is single strange port number. Is this an OS dependent? Details are below.

Thank You.

# uname -a
FreeBSD server.localnetwork 14.3-STABLE FreeBSD 14.3-STABLE 3f5262eb0 GENERIC amd64

# ./proxy udp -p "192.168.0.251:5060-5061" -T udp -P "192.168.0.141:0"
2025/05/25 15:49:38.380 INFO use udp parent 192.168.0.141:0
2025/05/25 15:49:38.380 INFO [192.168.0.251:5060-5061]
2025/05/25 15:49:38.380 INFO udp proxy on 192.168.0.251:3529
2025/05/25 15:49:38.380 INFO your system ulimit 936936 is too small, max value is: 936936, try set to 1000000
2025/05/25 15:49:38.380 INFO the result ulimit is: 936936

# sockstat -4 | grep proxy
root     proxy      42273 4   udp4   192.168.0.251:3529    *:*
Originally created by @v20z on GitHub (May 25, 2025). Original GitHub issue: https://github.com/snail007/goproxy/issues/583 Hello dear **snail007** I've tried the last version (v15.0 [proxy-freebsd-amd64.tar.gz](https://github.com/snail007/goproxy/releases/download/v15.0/proxy-freebsd-amd64.tar.gz) ) and I've get such weird port binding. Instead of a set (or range) of ports there is single strange port number. Is this an OS dependent? Details are below. Thank You. ``` # uname -a FreeBSD server.localnetwork 14.3-STABLE FreeBSD 14.3-STABLE 3f5262eb0 GENERIC amd64 # ./proxy udp -p "192.168.0.251:5060-5061" -T udp -P "192.168.0.141:0" 2025/05/25 15:49:38.380 INFO use udp parent 192.168.0.141:0 2025/05/25 15:49:38.380 INFO [192.168.0.251:5060-5061] 2025/05/25 15:49:38.380 INFO udp proxy on 192.168.0.251:3529 2025/05/25 15:49:38.380 INFO your system ulimit 936936 is too small, max value is: 936936, try set to 1000000 2025/05/25 15:49:38.380 INFO the result ulimit is: 936936 # sockstat -4 | grep proxy root proxy 42273 4 udp4 192.168.0.251:3529 *:* ```
kerem closed this issue 2026-02-27 23:17:00 +03:00
Author
Owner

@snail007 commented on GitHub (May 25, 2025):

this is the commercial edition feature.

<!-- gh-comment-id:2907790303 --> @snail007 commented on GitHub (May 25, 2025): this is the commercial edition feature.
Author
Owner

@v20z commented on GitHub (May 25, 2025):

Thanks for the clarification.

Anyway your work is appreciated.

Thank You.

<!-- gh-comment-id:2907979539 --> @v20z commented on GitHub (May 25, 2025): Thanks for the clarification. Anyway your work is appreciated. Thank You.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#470
No description provided.