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
This commit is contained in:
Marek Marczykowski-Górecki 2017-06-10 23:11:01 +02:00
parent 9270fc589b
commit 7da4ed7d64
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 3 additions and 3 deletions

2
debian/control vendored
View File

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

View File

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

View File

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