# Missing socat command in IPFire

**URL:** <https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584>\
**Category:** Add-Ons\
**Created:** [21 June 2020 15:05 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584 "2020-06-21T15:05:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellfire](https://community.ipfire.org/user_avatar/community.ipfire.org/hellfire/32/8454_2.png) [@hellfire](https://community.ipfire.org/u/hellfire)\
**Post date:** [21 June 2020 15:05 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/1 "2020-06-21T15:05:45Z")

</div>

For debugging HAPproxy, I need the command `socat` to execute the following line:

```auto
echo "show errors -1 response" | socat stdio /tmp/sock1

```

So far I could not find this one. Any chance to get this included into IPFire ASAP?

Michael

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [21 June 2020 17:59 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/2 "2020-06-21T17:59:31Z")

</div>

Hi,

> [@hellfire](#):
>
> Any chance to get this included into IPFire ASAP?

You are invited to do so, please refer to [wiki.ipfire.org - Development](https://wiki.ipfire.org/devel/) for further information regarding IPFire development. 😉

Thanks, and best regards,  
Peter Müller

---

<div class="post-metadata">

**Author:** ![hellfire](https://community.ipfire.org/user_avatar/community.ipfire.org/hellfire/32/8454_2.png) [@hellfire](https://community.ipfire.org/u/hellfire)\
**Post date:** [22 June 2020 10:29 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/3 "2020-06-22T10:29:08Z")

</div>

Although I appreciate your recruiting efforts 😛, I rather sought for a solution. Not everybody is a programmer per se, especially for Linux and more specific for IPFire.

---

<div class="post-metadata">

**Author:** ![anon33261557](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/eb9ed0/32.png) [@anon33261557](https://community.ipfire.org/u/anon33261557)\
**Post date:** [22 June 2020 10:58 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/4 "2020-06-22T10:58:34Z")

</div>

You said ASAP, so you should not wonder about recruiting efforts 😉

---

<div class="post-metadata">

**Author:** ![hellfire](https://community.ipfire.org/user_avatar/community.ipfire.org/hellfire/32/8454_2.png) [@hellfire](https://community.ipfire.org/u/hellfire)\
**Post date:** [22 June 2020 13:34 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/5 "2020-06-22T13:34:38Z")

</div>

Yes, I know - it was rather a question not a command to do so.

Actually I’ve got an annoying issue with HAProxy which can only by debugged with above given command, hence my urgency…

---

<div class="post-metadata">

**Author:** ![luani](https://community.ipfire.org/user_avatar/community.ipfire.org/luani/32/9889_2.png) [@luani](https://community.ipfire.org/u/luani)\
**Post date:** [22 June 2020 15:45 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/6 "2020-06-22T15:45:47Z")

</div>

Have you already tried using `netcat` instead?

It is available trough Pakfire as [“ **ncat-7.80-4** ”](https://man7.org/linux/man-pages/man1/ncat.1.html).  
Using the `--unixsock` option should enable ncat to connect to the socket.

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [22 June 2020 20:28 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/7 "2020-06-22T20:28:10Z")

</div>

Hi,

> Although I appreciate your recruiting efforts 😛, I rather sought for a solution.

I hope you did not get them wrong; we are always keen to attract new developers to the project. 🙂

> Not everybody is a programmer per se, especially for Linux and more specific for IPFire.

This is certainly true, although the hurdle of becoming engaged is rather low. Some Git knowledge and a little scripting (Bash, Perl, Python, …) is enough.

So if you changed your mind somedays, just let us know… 😉

Thanks, and best regards,  
Peter Müller

---

<div class="post-metadata">

**Author:** ![hellfire](https://community.ipfire.org/user_avatar/community.ipfire.org/hellfire/32/8454_2.png) [@hellfire](https://community.ipfire.org/u/hellfire)\
**Post date:** [29 June 2020 10:16 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/9 "2020-06-29T10:16:44Z")

</div>

So, why was this posting flagged?

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [29 June 2020 12:55 UTC](https://community.ipfire.org/t/missing-socat-command-in-ipfire/2584/10 "2020-06-29T12:55:25Z")

</div>

Hi,

because the poster advised people to download software from 3rd parties on their IPFire machines and execute it. For obvious reasons, this is a bad idea.

Since @smooky seems to be familiar with building packages for IPFire 2.x, we would like to see his effort being available to all IPFire users. Thus, we have asked him to join the development mailing list and submit patches there.

Thanks, and best regards,  
Peter Müller
