this post was submitted on 27 Sep 2023
11 points (100.0% liked)
cybersecurity
5899 readers
39 users here now
An umbrella community for all things cybersecurity / infosec. News, research, questions, are all welcome!
Community Rules
- Be kind
- Limit promotional activities
- Non-cybersecurity posts should be redirected to other communities within infosec.pub.
Enjoy!
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I have time before work, work on getting relaying done and working for something to handle multiple connections. I've decided to have the server just start a new process and bind to a random port then have the bash script that is executed via socat after connection do some checks before relaying or creating a new connection. I am using tmux for this. I got relaying to work and now I just need to have it check for established connections on a port. If not established, check if listening. A lot of exception handling right now, but it won't be as complicated as I described it as.
I did it this way cuz the server was already threaded and after looking at threading/forking on new connection I realized since I need interactive and it would just be easier to do this at least imo.