stone(1)
NAME π
okay so bestie, meet stone β a simple TCP/IP packet repeater. that's it, that's the whole job. π
SYNOPSYS π¦
stone [-d] [-n] [-u max] [-f n] [-l] [-z SSL] st [-- st] ...
(and yes, the manual spells it "SYNOPSYS", we are keeping it, no notes π)
OPTIONS π
-dβ Increase the debug level. more-d, more lore. stack it if you're nosy. π₯-zβ SSL encryption. locked, sealed, nobody reading your business. π-nβ IP addresses and service port numbers are shown instead of host names and service names. no name-dropping, just raw digits. π-u maxβ max is integer. The program will memorize max sources simultaneously where UDP packets are sent. π«Ά-f nβ n is integer. The program will spawn n child processes. it's giving single-mom-of-n energy, honestly. π-lβ Sends error messages to thesysloginstead ofstderr. quiet in the group chat, loud in the logs. πΈ
the st menu π§
st is one of the followings; Multiple st can be designated, separated by --.
host:port sport [xhost ...]host:port shost:sport [xhost ...]display [xhost ...]proxy sport [xhost ...]host:port/http request [hosts ...]host:port/proxy header [hosts...]
The program repeats the connection on port sport to the other machine host port port. If the machine, on which the program runs, has two or more interfaces, type (2) can be used to repeat the connection on the specified interface shost. π
display [xhost ...]β Abbreviating notation. The program repeats the connection on display number display to the X server designated by the environment variableDISPLAY. π₯οΈproxy sport [xhost ...]β Http Proxy. Specify the machine, on which the program runs, and port sport in the http proxy settings of your WWW browser. β¨host:port/http request [hosts ...]β Repeats packets over http request. request is the request specified in HTTP 1.0.host:port/proxy header [hosts...]host:port/proxy header [hosts...]β Type (6) repeats http request with header in the top of request headers. πxhostβ Only machines xhost can connect to the program. it's a guest list, bestie. πxhost/maskβ Only machines on specified networks are permitted to connect to the program. In the case of class C network192.168.1.0, for example, use192.168.1.0/255.255.255.0. π«Άsport/udpβ Repeats UDP packets instead of TCP packets. π¦port/sslβ Repeats packets with encryption. πsport/sslβ Repeats packets with decryption. πsport/httpβ Repeats packets over http. π
DESCRIPTION π
Stone is a TCP/IP packet repeater in the application layer. It repeats TCP and UDP packets from inside to outside of a firewall, or from outside to inside. lowkey iconic behavior. β¨
Stone has following features:
- Stone supports Win32. Formerly, UNIX machines are used as firewalls, but recently WindowsNT machines are used, too. You can easily run Stone on WindowsNT and Windows95. Of course, available on Linux, FreeBSD, BSD/OS, SunOS, Solaris, HP-UX and so on. it runs everywhere, it's that girl. π
- Simple. Stone's source code is only 2000 lines long (written in C language), so you can minimize the risk of security holes. 2000 lines. that's nothing. obsessed. π
- Stone supports SSLeay. Using SSLeay developed by Eric Young, Stone can encrypt/decrypt packets. π
- Stone is a http proxy. Stone can also be a tiny http proxy. tiny but mighty, main character energy. π
EXAMPLES π
okay so the cast of characters first:
outer: a machine in the outside of the firewallinner: a machine in the inside of the firewallfwall: the firewall on which the stone is executed
stone 7 outer
Repeats the X protocol to the machine designated by the environmental variable DISPLAY. Run X clients under DISPLAY=inner:7 on outer. π₯οΈβ¨
stone outer:telnet 10023
Repeats the telnet protocol to outer. Run telnet fwall 10023 on inner. π§
stone outer:domain/udp domain/udp
Repeats the DNS query to outer. Run nslookup - fwall on inner. π
stone outer:ntp/udp ntp/udp
Repeats the NTP to outer. Run ntpdate fwall on inner. β°
stone localhost:http 443/ssl
Make WWW server that supports https. Access https://fwall/ using a WWW browser. ππ
stone localhost:telnet 10023/ssl
Make telnet server that supports SSL. Run SSLtelnet -z ssl fwall 10023 on inner. πΈ
stone proxy 8080
http proxy. periodt. π
Where fwall is a http proxy (port 8080):
stone fwall:8080/http 10023 'POST http://outer:8023 HTTP/1.0'
stone localhost:telnet 8023/http
Run stones on inner and outer respectively. Repeats packets over http. π¦
stone fwall:8080/proxy 9080 Β΄Proxy-Authorization: Basic c2VuZ29rdTpoaXJvYWtpΒ΄
for browser that does not support proxy authorization. π
COPYRIGHT π
All rights about this program stone are reserved by the original author, Hiroaki Sengoku. The program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL). π«Ά
NO WARRANTY π
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. (say it with me: no cap, no promises π)
AUTHOR π
Hiroaki Sengoku sengoku@gcd.org http://www.gcd.org/sengoku/
and that's the whole page bestie, Version 2.0 of stone(1) β go repeat some packets, slay responsibly π
β¨π
π¦ where this page comes from
- debian bookworm: stone 2.4-1+b2
- debian trixie: stone 2.4-1.2 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu jammy: stone 2.4-1build1
- ubuntu noble: stone 2.4-1build3
- ubuntu questing: stone 2.4-1.2
- ubuntu resolute: stone 2.4-1.2build1 Β· GPL-2.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms