Contributed by jose on from the roundup-of-random-stuff dept.
- Some months ago we talked about the Top Five Open Source Packages for SysAdmins , and the number one entry was missing. "Obviously it's OpenBSD!" Well, the number one tool has been named finally, and it's cfengine. This is available in ports, by the way.
- Sometimes you have to traverse a firewall to get to a server. One way to do this is via "reverse telnet", typically done using netcat (nc, it's in the base install). This O'ReillyNet piece explains how to do this. A neat trick indeed.
- A very recent O'ReillyNet article covers Privacy and Anonymity in Email . Many of these packages should work on OpenBSD.
(Comments are closed)
By Anonymous Coward () on
By S. Ramazani () on
Comments
By Krunch () on
By Anonymous Coward () on
By rabbit () rabbit@ulyssis.org on http://ace.ulyssis.org/rabbit
But netcat is a valuable tool for debugging problems: you can use it to communiate with lots of services on the lowest level. You can also use telnet for that purpose, of course, but telnet doesn't do udp ;)
By Tom Buskey () tom@buskey.name on mailto:tom@buskey.name
ssh remote -L xx:127.0.0.1:xx
remote% nc -lvp xx 127.0.0.1 > file
local% nc -v -w 2 127.0.0.1 xx file
On C (connect from | to ):
nc -v -w 2 127.0.0.1 $a | nc -v -w2 127.0.0.1 $b
Comments
By Tom Buskey () tom@buskey.name on mailto:tom@buskey.name
a=51001
b=51002
On C connect to A and B:
ssh A -L $a:127.0.0.1:$a
ssh B -L $b:127.0.0.1:$b
On A (from): nc -lvnp $a 127.0.0.1 file
On C (connect from | to ):
nc -v -w 2 127.0.0.1 $a | nc -v -w2 127.0.0.1 $b
By RC () on
Second, if you have SSH working, why not just do the following:
ssh user@host.domain "cat FileName" > LocalFile
No need for anything but SSH (and cat).
By Xenotrope () on
Yes, it's so nauseating how scp is in the base install and requires no configuration just to work whatsoever. It's clear this author didn't have OpenBSD in mind. Keep that perspective when reading it and you should be OK.
In other words, netcat is a neat little hack that can come in handy, but serious tools are *already* in place where serious users will want them.
By Anonymous Coward () on
===> Cleaning for cfengine-1.4.12
oooops :) (-current)
By Anonymous Coward () on