[OpenAFS-devel] Re: Netcat for Rx questions
NIKITHA
nikithamohithe@gmail.com
Thu, 12 Mar 2026 12:03:54 +0530
--00000000000068568c064ccdf02a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Also, I looked at Netcat's implementation and my initial design aligns with
their implementation. Basically, I wanna have a minimal CLI and a library
that will expose APIs for the CLI to use. This way, it would be scriptable
and convenient.
Will this work or would you prefer something like this or have a standalone
CLI tool that would directly call into Rx library?
Would love to hear your thoughts
Thank you,
Nikitha
On Thu, Mar 12, 2026 at 1:56=E2=80=AFAM NIKITHA <nikithamohithe@gmail.com> =
wrote:
> Hi,
> I am Nikitha and I mainly work on backend systems and began studying
> networking to better optimize how my services interact. That got me
> interested in the networking layer itself, so I=E2=80=99m keen to learn m=
ore about
> Rx and get involved.
> I have done the local setup for rx and gone through the test cases.
> Further, I was going through the spec file and related source code.
> To get started, I plan to use Nmap's implementation of netcat (ncat) as
> the base for this tool. These are the features as listed on the man page =
of
> ncat:
>
> - Connect to example.org on TCP port 8080.
> - Listen for connections on TCP port 8080.
> - Redirect TCP port 8080 on the local machine to host on port 80.
> - Bind to TCP port 8081 and attach /bin/bash for the world to access
> freely.
> - Bind a shell to TCP port 8081, limit access to hosts on a local
> network, and limit the maximum number of simultaneous connections to 3=
.
> - Connect to smtphost:25 through a SOCKS4 server on port 1080.
> - Connect to smtphost:25 through a SOCKS5 server on port 1080.
> - Create an HTTP proxy server on localhost port 8888.
> - Send a file over TCP port 9899 from host2 (client) to host1 (server)
>
>
> I know it's not one to one mapping to nmap. I will be implementing
> features specific to Rx. I have a high=E2=80=91level design in mind, but =
I=E2=80=99d
> appreciate any help refining it and making sure I get started in the righ=
t
> direction.
>
--00000000000068568c064ccdf02a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Also, I looked at Netcat's implementation and my initi=
al design aligns with their implementation. Basically, I wanna have a minim=
al CLI and a library that will expose APIs for the CLI to use. This way, it=
would be scriptable and convenient.=C2=A0<br>Will this work or would you p=
refer something like this or have a standalone CLI tool that would directly=
call into Rx library?=C2=A0<br>Would love to hear=C2=A0your thoughts<br><b=
r>Thank you,=C2=A0<br>Nikitha</div><br><div class=3D"gmail_quote gmail_quot=
e_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Mar 12, 2026 at =
1:56=E2=80=AFAM NIKITHA <<a href=3D"mailto:nikithamohithe@gmail.com">nik=
ithamohithe@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div style=3D"text-align:left">Hi, <b=
r>I am Nikitha and I mainly work on backend systems and began studying netw=
orking to better optimize how my services interact.=C2=A0That got me intere=
sted in the networking layer itself, so I=E2=80=99m keen to learn more abou=
t Rx and get involved.</div><div style=3D"text-align:left">I have done the =
local setup for rx and gone through the test cases. Further, I was going th=
rough the spec file and related source code.</div><div style=3D"text-align:=
left">To get started, I plan to use Nmap's implementation of netcat (nc=
at) as the base for this tool. These are the features as listed on the man =
page of ncat:=C2=A0</div><div><ul><li style=3D"text-align:left">Connect to =
<a href=3D"http://example.org" target=3D"_blank">example.org</a> on TCP por=
t 8080.</li><li style=3D"text-align:left">Listen for connections on TCP por=
t 8080.</li><li style=3D"text-align:left">Redirect TCP port 8080 on the loc=
al machine to host on port 80.</li><li style=3D"text-align:left">Bind to TC=
P port 8081 and attach /bin/bash for the world to access freely.</li><li st=
yle=3D"text-align:left">Bind a shell to TCP port 8081, limit access to host=
s on a local network, and limit the maximum number of simultaneous connecti=
ons to 3.</li><li style=3D"text-align:left">Connect to smtphost:25 through =
a SOCKS4 server on port 1080.</li><li style=3D"text-align:left">Connect to =
smtphost:25 through a SOCKS5 server on port 1080.</li><li style=3D"text-ali=
gn:left">Create an HTTP proxy server on localhost port 8888.</li><li style=
=3D"text-align:left">Send a file over TCP port 9899 from host2 (client) to =
host1 (server)<br><br></li></ul>I know it's not one to one mapping to n=
map. I will be implementing features specific to Rx. I have a high=E2=80=91=
level design in mind, but I=E2=80=99d appreciate any help refining it and m=
aking sure I get started in the right direction.</div></div>
</blockquote></div>
--00000000000068568c064ccdf02a--