badvpn—Peer-to-peer VPN software

2011年5月16日 | 分类: 代理工具 | 标签: , ,

BadVPN is an open-source peer-to-peer VPN system. It provides a Layer 2 (Ethernet) network between the peers (VPN nodes). The peers connect to a central server which acts as a chat server for them to establish direct connections between each other (data connections). These connections are used for transferring network data (Ethernet frames), and can be secured with a multitude of mechanisms.


  • UDP and TCP transport
  • Converges very quickly after a new peer joins
  • IGMP snooping to deliver multicasts efficiently (e.g. for IPTV)
  • Features related to the NAT problem:
    1. Can work with multiple layers of NAT (needs configuration)
    2. Local peers inside a NAT can communicate directly
    3. Relaying as a fallback (needs configuration)


BadVPN is written in the C programming language and currently works on Linux and Windows.


A Gentoo Linux ebuild is available in the Downloads section, and a package for Arch Linux is available in the AUR, named “badvpn”. A Windows build is available too. If you want to build BadVPN from source, see INSTALL.


Documentation is available on the wiki:


BadVPN programs are fully event-driven. BadVPN has a flow-based design: the complete application is constructed from a large set of small independent I/O modules which exchange data through predefined interfaces. Furthermore, it is based on an original programming paradigm (the job queue paradigm), which greatly simplifies developing I/O modules. You can read more about the job queue paradigm at .


NCD, the Network Configuration Daemon, is a daemon and programming language for configuration of network interfaces and other aspects of the operating system. It implements various functionalities as built-in modules, which may then be called from a NCD program wherever and for whatever purpose the user needs them. This modularity makes NCD extremely flexible and extensible. It does a very good job with hotplugging in various forms, like USB network interfaces and link detection for wired devices. NCD is capable of configuring BadVPN virtual interfaces.


Aside from the BadVPN client and server programs, the package also contain the tun2socks program. This program is used to “socksify” TCP connections at the network layer. It implements a TUN device which accepts all incoming TCP connections (regardless of destination IP), and forwards the connections through a SOCKS server. This allows you to forward all connections through SOCKS, without any need for application support. It can be used, for example, to forward connections through a remote SSH server.

See the tun2socks wiki page for more info.


BadVPN is Copyright (C) 2010 Ambroz Bizjak.

BadVPN is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

BadVPN is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.




  1. 匿名

    New ver.:
    ” overlay-badvpn.tar.bz2 Gentoo overlay with BadVPN ebuild 1.999.113 Sep 4 Sep 4 2.1 KB
    badvpn-1.999.113.tar.bz2 BadVPN version 1.999.113 (protocol changed, read description) Featured Sep 4 Sep 4 751 KB BadVPN version 1.999.111 – Windows build (protocol changed, read description) Featured Jul 23 Jul 23 4.8 MB ”

    (代理工具 …)

  2. AS

    1.New ver.:
    “ BadVPN version 1.999.107rc2 – Windows build – use only if you need tun2socks on Windows May 29 May 29 4.7 MB tun2socks compile script May 14 May 14 3.0 KB ”

    Flattr this
    Welcome to Gazzera! Gazzera is a peer-to-peer (P2P) file sharing application where you only connect to people you trust. It is targeted at groups of real life friends that wants to share files securely.
    Differently from public networks, strangers cannot spy you!
    It runs on any platform supporting Java 1.6. It has a nice Swing interface and uses SSL to encrypt your data. LearnMore
    You can try gazzera right now clicking on the JNLP launcher! ”
    Secure, encrypted protocol based on OpenSSL.
    Fiend to Friend (F2F)
    Let only your friend share your files.
    Trust based system
    Assign a trust level to your friend, and let their friend connect too.
    UPNP support
    Gazzera will take advantage to UPNP to deal with firewalls. No more manual opening.
    Multisource and partial download
    Download the same file from more than one friend, and from people who are downloading it too.
    Resources are not wasted. This program uses very little CPU and RAM. Try and compare it with other programs!
    It works on any system supporting Java 1.6
    Open Source
    The source is GPL and included in every package :)
    Thanks to NikNaks for the icon and logo and to Seba, for the beta testing.
    You can join the mailing list here:
    “gazzera-0.8.1-alpha.jar Gazzera-0.8.1-alpha Featured Apr 26 Apr 26 3.0 MB”


  3. 操操


    • iGFW