User: Password:
|
|
Subscribe / Log in / New account

No way to access sockets from a shell script?

No way to access sockets from a shell script?

Posted Oct 21, 2010 15:04 UTC (Thu) by rvfh (subscriber, #31018)
In reply to: A netlink-based user-space crypto API by neilbrown
Parent article: A netlink-based user-space crypto API

What about netcat?


(Log in to post comments)

No way to access sockets from a shell script?

Posted Oct 21, 2010 15:12 UTC (Thu) by jengelh (subscriber, #33263) [Link]

What you would want is socat, anyway.

No way to access sockets from a shell script?

Posted Oct 21, 2010 16:29 UTC (Thu) by nye (guest, #51576) [Link]

HFS. I've never seen socat before, but from reading the manpage I'm pretty certain it must have the option to Dominate All Humans, if only I can figure out the right command line arguments.

No way to access sockets from a shell script?

Posted Oct 28, 2010 19:11 UTC (Thu) by oak (guest, #2786) [Link]

I mistyped that a few years ago and the operation seems to be non-reverseable. Sorry.

Hmmm. On second thought, I would assume socat author to have tested all the documented options. Maybe I used it with the --simulate option after all.

(That could also explain the dancing ping elephants and Jumbo frame's enormous flapping ears...)

No way to access sockets from a shell script?

Posted Oct 22, 2010 1:42 UTC (Fri) by neilbrown (subscriber, #359) [Link]

While I'm sure socat is an absolutely awesome program, I'm guessing it isn't precognitive, and so cannot support new address families and socket options until someone goes to the trouble of coding them in.

With suitably chosen file names, no such extra coding for the shell is needed.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds