On Thu, Jan 20, 2011 at 09:06:09AM -0500, Eric Cooper wrote:
> > Is there any reason this patch hasn't been applied? I can confirm that the
> > described change does make approx accessable via IPv6.
>
> Sorry, just inertia. I also haven't found any other packages that
> enable IPv6 entries in inetd.conf -- if you can point me at any, it
> might help me avoid doing something stupid.
I can't say I've really looked. However, copying the existing line and
changing 'tcp' to 'tcp6' worked beautifully for me. It's pretty easy to
test, too: restart inetd, and if inetd's now listening on :::9999 as well as
0.0.0.0:9999, then all is well.
Or, in patch form:
diff -urN approx-4.5.orig/debian/approx.postinst
approx-4.5/debian/approx.postinst
--- approx-4.5.orig/debian/approx.postinst 2010-08-18 23:13:56.000000000
+1000
+++ approx-4.5/debian/approx.postinst 2011-01-21 02:27:08.260000003 +1100
@@ -17,6 +17,7 @@
db_get approx/port
port="$RET"
update-inetd --add "$port\t\tstream\ttcp\tnowait\tapprox\t/usr/sbin/approx
/usr/sbin/approx"
+update-inetd --add "$port\t\tstream\ttcp6\tnowait\tapprox\t/usr/sbin/approx
/usr/sbin/approx"
if dpkg --compare-versions "$2" lt "4.0"; then
if [ -f /etc/default/approx ]; then
- Matt
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]