Posted Jul 16, 2009 20:53 UTC (Thu) by nix (subscriber, #2304)
[Link]
A short and comprehensible manpage? A set of options short enough that
people learning it don't die of starvation before they're finished?
socat is amazing, but it's pretty much the Emacs of netcats.
Nmap 5.00 released
Posted Jul 16, 2009 23:09 UTC (Thu) by drag (subscriber, #31333)
[Link]
Ya...
I find quite a large number of what should be very good and high quality open source projects that are just utterly and completely useless do to shitty, out of date, or non-existent documentation.
Just a rant. A side note.
Just a reminder to myself a others.. the quality of your documentation is more important then the quality of your code.
Nmap 5.00 released
Posted Jul 17, 2009 10:35 UTC (Fri) by nix (subscriber, #2304)
[Link]
Oh, there's nothing wrong with socat's documentation. It's just that if you print the manpage out it's 40 pages long. It has *so many* options that trying to find the one you want is quite painful, even though they're all fairly regular. The options had to be classified along multiple dimensions to make sense of them...
(I picked Emacs for a reason: it too has excellent documentation and is huge.)
Nmap 5.00 released
Posted Jul 17, 2009 18:20 UTC (Fri) by quotemstr (subscriber, #45331)
[Link]
socat is nice (aside from the massive set of options). The feature of socat I most often use that's lacking in nc(at) is <b>AF_UNIX support</b>.
Nmap 5.00 released
Posted Jul 17, 2009 20:40 UTC (Fri) by dankamongmen (subscriber, #35141)
[Link]
GOPEN:<filename>
(Generic open) This address type tries to handle any file system
entry except directories usefully. <filename> may be a relative
or absolute path. If it already exists, its type is checked. In
case of a UNIX domain socket, socat connects; if connecting
fails, socat assumes a datagram socket and uses sendto() calls.
If the entry is not a socket, socat opens it applying the
O_APPEND flag. If it does not exist, it is opened with flag
O_CREAT as a regular file (example).
Option groups: FD,REG,SOCKET,NAMED,OPEN
See also: OPEN, CREATE, UNIX-CONNECT
Furthermore, SOCKET-* are fully generic on the socket(2) system call (they accept three params, for a domain, protocol, and local address.
Would someone really have written socat(1) and not taken the time to include PF_UNIX?
Nmap 5.00 released
Posted Jul 18, 2009 5:11 UTC (Sat) by speedster1 (subscriber, #8143)
[Link]
>> The feature of socat I most often use that's lacking in nc(at) is AF_UNIX support.
>Would someone really have written socat(1) and not taken the time to include PF_UNIX?
I think you read that backwards -- the parent poster was actually applauding AF_UNIX support as a great socat feature.
Nmap 5.00 released
Posted Jul 18, 2009 6:54 UTC (Sat) by dankamongmen (subscriber, #35141)
[Link]