Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431148 - New package: net-misc/badvpn
Summary: New package: net-misc/badvpn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-12 22:47 UTC by Ambroz Bizjak
Modified: 2012-08-13 10:42 UTC (History)
1 user (show)

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


Attachments
badvpn-1.999.123.ebuild (badvpn-1.999.123.ebuild,1.21 KB, text/plain)
2012-08-12 22:47 UTC, Ambroz Bizjak
Details
badvpn-ncd.init (badvpn-ncd.init,819 bytes, text/plain)
2012-08-12 22:47 UTC, Ambroz Bizjak
Details
badvpn-ncd.conf (badvpn-ncd.conf,165 bytes, text/plain)
2012-08-12 22:47 UTC, Ambroz Bizjak
Details
badvpn-server.init (badvpn-server.init,740 bytes, text/plain)
2012-08-12 22:48 UTC, Ambroz Bizjak
Details
badvpn-server.conf (badvpn-server.conf,309 bytes, text/plain)
2012-08-12 22:48 UTC, Ambroz Bizjak
Details
badvpn-1.999.123.ebuild (badvpn-1.999.123.ebuild,1.56 KB, text/plain)
2012-08-13 00:22 UTC, Ambroz Bizjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2012-08-12 22:47:04 UTC
Created attachment 321158 [details]
badvpn-1.999.123.ebuild

I would like this software of mine added to Portage: http://code.google.com/p/badvpn/

It really includes three major distinct programs (which are in the same package to ease code sharing):

1) A peer-to-peer Layer 2 VPN. It consists of the badvpn-server and badvpn-client programs. The former is a control server allowing clients to talk to each other to establish direct connections (likely a full mesh). SSL is supported via the NSS library.

2) NCD, a light scripting language for network configuration and much more. It makes it easy to quickly script dynamic and complex configurations capable of reacting to events such as network interfaces appearing/disappearing, interface link status changes and input (evdev) events. For more info, see http://code.google.com/p/badvpn/wiki/NCD

3) tun2socks, a small program that implements a virtual TUN network interface and redirects all incoming TCP connection to a specified SOCKS server. It allows forwarding all TCP traffic seamlessly through SOCKS. It uses a slightly modified lwIP as the TCP/IP implementation.

I currently have an overlay with the ebuild and files in the Downloads section, but I'm attaching everything here too.
Comment 1 Ambroz Bizjak 2012-08-12 22:47:35 UTC
Created attachment 321160 [details]
badvpn-ncd.init
Comment 2 Ambroz Bizjak 2012-08-12 22:47:58 UTC
Created attachment 321162 [details]
badvpn-ncd.conf
Comment 3 Ambroz Bizjak 2012-08-12 22:48:28 UTC
Created attachment 321164 [details]
badvpn-server.init
Comment 4 Ambroz Bizjak 2012-08-12 22:48:46 UTC
Created attachment 321166 [details]
badvpn-server.conf
Comment 5 Ambroz Bizjak 2012-08-13 00:22:54 UTC
Created attachment 321178 [details]
badvpn-1.999.123.ebuild

Split "badvpn" use flags into "client" and "server", fixed SLOT, made some dependencies RDEPEND-only, added epatch_user.
Comment 6 Julian Ospald 2012-08-13 10:42:57 UTC
+  13 Aug 2012; Julian Ospald <hasufell@gentoo.org> +badvpn-1.999.123.ebuild,
+  +files/badvpn-ncd.conf, +files/badvpn-ncd.init, +files/badvpn-server.conf,
+  +files/badvpn-server.init, +metadata.xml:
+  initial commit with Ambroz Bizjak