Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] socat 1.8.0.1 #6258

Closed
mietzen opened this issue Oct 6, 2024 · 4 comments · Fixed by #6269
Closed

[Package Request] socat 1.8.0.1 #6258

mietzen opened this issue Oct 6, 2024 · 4 comments · Fixed by #6269
Assignees
Labels
request request for new package synocli-net

Comments

@mietzen
Copy link

mietzen commented Oct 6, 2024

Software Name

socat

Brief Description

Socat 1.8.0.0 has been released with SynoCli Network Tools 2.4-18. Unfortunately 1.8.0.0 brings some unexpected behavior changes, that are allegedly fixed in 1.8.0.1 released on 2024-08-24:

Failures report for 1.8.0.0

A group of failures in Socat version 1.8.0.0 have been reported for commands that worked fine in previous versions (regression). They affect addresses using IP protocols without explicit IP version, with options bind and/or range. Examples are TCP-LISTEN, UDP, UDP-RECV, OPENSSL. The error messages are:

E syntax error in "localhost"
E syntax error in range "127.0.0.1/8" of unspecified address family: use <addr>:<mask>
E xioopen_ipdgram_listen(): unknown address family 0
E getaddrinfo("127.0.0.1", "NULL", {0x01,10,2,17}, {}): Address family for hostname not supported
E xioparsenetwork_ip6("localhost:255.255.255.255",,): missing mask bits delimiter '/'
E missing brackets for IPv6 range definition "127.0.0.1/8"

These issues will be addressed by version 1.8.0.1, planned for August; possible workarounds are:

Use Socat up to version 1.7.4.4 (or 1.7.4.5 from git)
Apply option -4 (does not help in some cases)
Use explicit IP version in address key word like TCP4-LISTEN, UDP4 etc;
Add address option pf=ip4 (esp.with OPENSSL)

http://www.dest-unreach.org/socat/

Website

http://www.dest-unreach.org/socat/

Documentation

No response

Build/Installation documentation

http://www.dest-unreach.org/socat/

Source code

http://www.dest-unreach.org/socat/

OpenSource License

GPLv2

Other License

No response

@mietzen mietzen added the request request for new package label Oct 6, 2024
@chickenandpork
Copy link
Member

Hey @mietzen are you able to share the actual commands? I would not be the one to likely fix, but I know it’s easier to test whether it’s resolved if there are test cases.

thanks!

@mietzen
Copy link
Author

mietzen commented Oct 7, 2024

Sure:

$ socat TCP-LISTEN:5002,fork,range=192.168.10.0/24 TCP:10.10.0.50:5001
2024/10/07 06:25:42 socat[9637] E syntax error in range "192.168.10.0/24" of unspecified address family: use <addr>:<mask>

@hgy59 hgy59 self-assigned this Oct 7, 2024
@hgy59
Copy link
Contributor

hgy59 commented Oct 7, 2024

This is an issue of socat 1.8.0.0 fixed in 1.8.0.1
see http://www.dest-unreach.org/socat/

@mietzen
Copy link
Author

mietzen commented Oct 7, 2024

This is an issue of socat 1.8.0.0 fixed in 1.8.0.1 see http://www.dest-unreach.org/socat/

Hence the Request to release the newer version 😉

hgy59 added a commit to hgy59/spksrc that referenced this issue Oct 9, 2024
- update socat to v1.8.0.1 (SynoCommunity#6258)
@hgy59 hgy59 mentioned this issue Oct 9, 2024
6 tasks
hgy59 added a commit that referenced this issue Oct 15, 2024
* syncli-net: update socat
- update socat to v1.8.0.1 (#6258)

* syncli-net: fix nmap for ARMv5 (#6256)
- use cross/libpcap/Makefile for all libpcap versions
- update libpcap (latest) to v1.10.5
- limit libpcap to v1.9.1 for ARMv5
- include mac-vendor list for arp-scan
- remove bin/ndiff (python2 script)

* add diyspk/rsync/Makefile

* bind tools: fix for non x64 archs
- disable the runtime check for cache alignment

* cross/bind: remove installation of libtool-bin
- the libtool binary is a prerequisite in the dev. environment (since update to debain 12)
- installation by the Makefile is obsolete now (introduced by #5985)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request request for new package synocli-net
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants