Skip to main content
Post Closed as "Duplicate" by Jakuje, Anthon, MelBurslan, chaos, Jeff Schaller
Tweeted twitter.com/StackUnix/status/675786825424887808
Explaining why I'm not using telnet/ssh
Source Link
SpecialBomb
  • 2.1k
  • 10
  • 28
  • 37

So, I recently found out about how you can send TCP packets through the /dev/tcp/hostname/port file, but my main problem here is how I receive them. I want to make a bash script that can host a TCP server, and another script as a TCP client. Some help would be great. I would also like to note that I am doing this as a learning experience, which is why I'm not using ssh or telnet as a way to preform the tasks I want.

So, I recently found out about how you can send TCP packets through the /dev/tcp/hostname/port file, but my main problem here is how I receive them. I want to make a bash script that can host a TCP server, and another script as a TCP client. Some help would be great.

So, I recently found out about how you can send TCP packets through the /dev/tcp/hostname/port file, but my main problem here is how I receive them. I want to make a bash script that can host a TCP server, and another script as a TCP client. Some help would be great. I would also like to note that I am doing this as a learning experience, which is why I'm not using ssh or telnet as a way to preform the tasks I want.

edited title
Link
Gilles 'SO- stop being evil'
  • 866.1k
  • 205
  • 1.8k
  • 2.3k

How to receive packets through shell? Writing a TCP server in bash

edited title
Link
Mikel
  • 58.7k
  • 16
  • 136
  • 155

How to recieve rawreceive packets through shell?

Source Link
SpecialBomb
  • 2.1k
  • 10
  • 28
  • 37
Loading