Posted Jul 17, 2009 18:20 UTC (Fri) by quotemstr (subscriber, #45331)
In reply to: Nmap 5.00 released by dankamongmen
Parent article: Nmap 5.00 released
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>.
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]