Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249112 - Removal: net-misc/ptrtd
Summary: Removal: net-misc/ptrtd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: pending removal: 2012-07-04
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-11-27 20:09 UTC by Petr Pisar
Modified: 2012-07-21 14:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Init scripts adding support for other arguments (ptrtd-init.diff,1.66 KB, patch)
2008-11-27 20:12 UTC, Petr Pisar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisar 2008-11-27 20:09:35 UTC
ptrtd daemon from net-misc/ptrtd-0.5.2 accepts followin arguments:

Usage: ptrtd [-i [<driver>:]<interface>] [-p <prefix>] [-l <prefix length>]
    prefix defaults to fec0:0:0:ffff:: len 64

However configuration file /etc/conf.d/ptrtd and init script /etc/init.d/ptrtd allows to specify only the -p prefix (IPV6_PREFIX).

Following patch allows definition of other arguments.
Comment 1 Petr Pisar 2008-11-27 20:12:07 UTC
Created attachment 173608 [details, diff]
Init scripts adding support for other arguments

This diff of net-misc/ptrtd/files allows to specify in /etc/conf.d/ptrtd all daemon arguments.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-06-03 22:52:28 UTC
The homepage strongly discourages further use of this program.

http://www.litech.org/ptrtd/
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-06-03 23:10:47 UTC
from homepage:

December 12, 2010: ptrtd officially declared dead

For an extremely deceased project, ptrtd gets a lot of hits. Nobody should be using it. It is highly insecure and known to cause data corruption in translated sessions.

Instead please use TAYGA, which is a stable, production-ready stateless NAT64 that does not suffer from ptrtd's many problems. Like ptrtd, TAYGA runs as an out-of-kernel daemon that uses the TUN interface to exchange packets with the kernel. Additionally TAYGA supports IPv4->IPv6 session initiation, ICMP translation, and full TCP pass-through to allow window scaling, TCP timestamps, etc.
Comment 4 Justus Ranvier 2012-06-19 03:56:36 UTC
> For an extremely deceased project, ptrtd gets a lot of hits. Nobody should
> be using it. It is highly insecure and known to cause data corruption in
> translated sessions.
> 
> Instead please use TAYGA, which is a stable, production-ready stateless
> NAT64 that does not suffer from ptrtd's many problems. Like ptrtd, TAYGA
> runs as an out-of-kernel daemon that uses the TUN interface to exchange
> packets with the kernel. Additionally TAYGA supports IPv4->IPv6 session
> initiation, ICMP translation, and full TCP pass-through to allow window
> scaling, TCP timestamps, etc.

For a long time there was a section in the Gentoo IPv6 Router Guide that described how to set up ptrtd and totd, which was probably a source of a lot of the hits. Apparently now that section has been removed entirely instead of being rewritten to use TAYGA in place of ptrtd.
Comment 5 Pacho Ramos gentoo-dev 2012-07-21 14:07:59 UTC
dropped