Weekly thread to discuss whatever you’re working on, big or small, at work or in your free time.

  • Alex@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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.