[jump to content][No Software Patents]Tools (new) : ptybuffer [ Home | Scylla+Charybdis old home | Tools (old) | Tools (new) | FAQ | Downloads ]

Moving to GitHub, slowly

The software on this pages will slowly be moved to GitHub https://github.com/hilbix/. The CVS repository will be migrated to GIT as well, so the history will be preserved, a bit. See FAQ.

Scylla and Charybdis, ptybuffer - Tools

The tools are developed under Linux with ESR's paradigm release early, release often in mind.
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)

Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.

ptybuffer 0.6.4-20071020-171424

daemonize interactive tty line driven programs with output history

⇒ ⇒ ⇒ The development shifted to another location. All future versions will be published at https://github.com/hilbix/ptybuffer   ⇐ ⇐ ⇐

ptybuffer was designed to get rid of screen/expect constructs to improve stability. It deamonizes programs which need a tty/pty to operate. Unix domain sockets then can connect, send lines to the program and receive the output (with history) of the program in real time.

It's (again) in the alpha phase. NWNadm has been removed and will show up as an idependent package.

Example how to fork off a web based emergency shell with ptybuffer (this is a extreme security risk if you don't protect it!):
mkdir -p $HOME/public_html/shell/
cp -rp php/. $HOME/public_html/shell/
Start your browser with$USER/shell/
If you don't understand this, don't even try it. It's too dangerous!

Note: You can use ptybufferconnect to connect to the ptybuffer socket, but you can also use a tool like socat.

Implementation note: ptybuffer is not able to send lines longer than BUFSIZ to the terminal. This is not true if option -i is used.


version 0.6.4-20071020-171424

download (227232 bytes) sig

CygWin compile fixes.

It shall now compile under CygWin again.

version 0.6.3-20070921-135245

download (219758 bytes)

Minor resource leakage fixed. Scripts placed under the CLL.

With option -c ptybuffer previously kept one socket fd open which was not needed.

For more information about the CLL see http://permalink.de/tino/cll

version 0.6.2-20070918-224216

download (217271 bytes)

Important bugfix and minor change in bin/autostart.sh for better logging control

I found a serious bug in my sock_select function in case of foced poll operation. It is unknown if ptybuffer was affected, however I think some unreliablilities might be present in former version.

However there was (as always) many changes on other places in my lib, so I am not sure (yet) if this version is more stable than before.

version 0.6.1-20070830-002352

download (213598 bytes)

Usage corrected

Before the usage was distorted (several typos).

version 0.6.0-20070829-235605

download (213690 bytes)

64 bit bugfix, option -i and -k, ptybufferconnect now sends to stdout

After some searching I found where the presentation bug hid. Also the last bugfix disabled option -t (which did not work correctly before I think). This version here shall fix all that now. With option -i and -k this can be considered a 0.6.0. However ptybufferconnect is not yet as complete as I would like to see it.

Also ptybufferconnect now writes data to stdout (before it was stdin, oops).

[view more history][view complete history]

License and Disclaimer

All you can see here is free software according to the GNU GPL.
Copyright (C)2000-2011 by Valentin Hilbig
Note that the software comes with absolutely no warranty of any kind.
You use the software at your own risk.
Valentin Hilbig cannot be hold responsible for any unintended damage,
lost data or malfunction of the software you can find here.

[FSFE contributor 2007]

[end of page - jump back to content][hacker culture]
Last modified: 2011-09-12 by Valentin Hilbig [ Imprint / Impressum ]