Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93865 - new package: prtunnel
Summary: new package: prtunnel
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: http://joshbeam.com/software/prtunnel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 17:02 UTC by Andrej Kacian (RETIRED)
Modified: 2009-08-16 13:45 UTC (History)
0 users

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


Attachments
an ebuild for prtunnel (prtunnel-0.2.5.ebuild,748 bytes, text/plain)
2005-05-30 13:56 UTC, Andrej Kacian (RETIRED)
Details
ebuild for 0.2.7 (prtunnel-0.2.7.ebuild,853 bytes, text/plain)
2009-08-11 20:47 UTC, Andrew Savchenko
Details
prtunnel-0.2.7.ebuild EAPI 2 variant (prtunnel-0.2.7.ebuild,726 bytes, text/plain)
2009-08-16 13:45 UTC, Alin Năstac (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2005-05-24 17:02:48 UTC
I have a request from a friend for prtunnel to be added to portage, but I don't want to tread on your turf, so I'm just attaching the ebuild here.

prtunnel is a program that can tunnel TCP/IP connections in a variety of ways, including through HTTP and SOCKS5 proxy servers. Some if its possible uses include:

    * Tunneling TCP connections from client programs to a remote server through an HTTP or SOCKS5 proxy (useful if you're behind such a proxy and want to use a program that doesn't have native proxy support)
    * Tunneling TCP connections from SOCKS-capable client programs through an HTTP or SOCKS5 proxy
    * Tunneling TCP connections from an IPv4 client program to an IPv6 server and vice-versa
    * Forwarding TCP connections
    * Running as a simple SOCKS proxy server

prtunnel is open source software available under a BSD-style license. It has been developed and used under Linux and BSD-based operating systems.

If it's ok with you, I can commit it myself and have net-proxy listed as a herd in metadata.xml.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-05-24 22:14:23 UTC
hmm... I don't know what to say. 
all SOCKS servers should be in net-proxy category, but the "tunnel" part...
I found in net-misc a plethora of such tunnels that doesn't go well in net-proxy
category, not as I understand the notion of proxy anyway. These could be
categorized more like as forwarding programs.

If more than 50% of the functionality could be categorized as HTTP proxy/SOCKS
client/server/library, then go for it.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-05-30 13:56:30 UTC
Created attachment 60214 [details]
an ebuild for prtunnel

Ok, I decided against putting this into the tree - I'm not willing to maintain
something I won't use myself. I'm attaching an ebuild though, in case someone
looks for prtunnel in bugzilla in the future.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-05-30 13:56:51 UTC
Closing for now
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-06-02 21:57:14 UTC
I tried to use this program as a SOCKS server but it failed to work properly.
In conjuction with firefox, has a very strange behaviour:
 - some data is passed to client, some don't
 - prtunnel gets closed unexpectedly

this program is far from being a candidate to inclusion in the tree.
Comment 5 Andrew Savchenko gentoo-dev 2009-08-11 20:47:25 UTC
Created attachment 200966 [details]
ebuild for 0.2.7

Version bump for 0.2.7.
Aside of version bump it adds support for CFLAGS and LDFLAGS.

Please, reconsider its inclusion. This is real and only releaf for people behind http proxy with all non-proxy traffic blocked out.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2009-08-16 13:45:12 UTC
Created attachment 201411 [details]
prtunnel-0.2.7.ebuild EAPI 2 variant

Thsi version exhibits same erratic behavior as its predecessors. I tried to use it as a HTTP proxy and launching it with "prtunnel -t direct -V 1111 forums.gentoo.org 80" command line. Suffice to say it failed to download any image and program crashed with saying this:
Connection from 127.0.0.1 (port 54479) closed - 3922 bytes sent, 12329 bytes received

Please stop wasting my time with junk found on the net. If you're so eager to use this crap, here you have the EAPI 2 version of it.