Browse Source

Switch qubes.UpdatesProxy to socat

 - there are many netcat versions (openbsd, nmap, ...), which behave
 differently - especially while handling EOF
 - Debian jessie doesn't have nmap-ncat (which handle EOFs sufficiently
   good)

QubesOS/qubes-issues#1854
Marek Marczykowski-Górecki 6 years ago
parent
commit
7da4ed7d64
3 changed files with 3 additions and 3 deletions
  1. 1 1
      debian/control
  2. 1 1
      qubes-rpc/qubes.UpdatesProxy
  3. 1 1
      rpm_spec/core-agent.spec

+ 1 - 1
debian/control

@@ -116,8 +116,8 @@ Depends:
     iptables,
     net-tools,
     ethtool,
+    socat,
     tinyproxy,
-    nmap-ncat,
     ${python:Depends},
     ${misc:Depends}
 Recommends:

+ 1 - 1
qubes-rpc/qubes.UpdatesProxy

@@ -1,2 +1,2 @@
 #!/bin/sh
-exec nc localhost 8082
+exec socat STDIO TCP:localhost:8082

+ 1 - 1
rpm_spec/core-agent.spec

@@ -214,7 +214,7 @@ Summary:    Networking support for Qubes VM
 Requires:   ethtool
 Requires:   net-tools
 Requires:   nftables
-Requires:   nmap-ncat
+Requires:   socat
 Requires:   qubes-core-agent
 Requires:   tinyproxy
 Conflicts:  qubes-core-vm < 4.0.0