Difference between revisions of "ChaosVPN:geekend0"
|(One intermediate revision by one other user not shown)|
|Line 1:||Line 1:|
= what? =
= what? =
Latest revision as of 04:18, 16 October 2012
Lets do a geekend and get things done on the chaosvpn.
hamburg. The new Hackerspace of attraktor and ccc hamburg.
The idea is 9. - 11. of April. The weekend before is easterhegg in munich and breakpoint at bingen. it seems that most ppl have time on that weekend.
Need to finalize and get the OpenWRT packages supported for the Fonera2.0n
- Need to have all the basic routing and security features in the OpenWRT package, but tailored for our networks.
- Need to have a TINC and ChaosVPN code implementation so that we can have multiple concurrent VPN's that don't interefere
- The independent VPN's need to be tied to a individual port.
- Need to have a signing system so we don't have haegar supporting 1000 users in 24 times zones all the time. Need to build a way so we can have a trusted region manager to add on nodes.
- already possible - the master config already is in a special non-public git repository, trusted managers can get their ssh key added to the access list for it. After pushing a change to the repository the server automatically executes a post-push-hook and recreates the signed and encrypted datafiles for all the clients (and mails me the changes, to have an eye on it) - without the trusted managers needing access to the secret data signing key. --Haegar 00:59, 24 March 2010 (UTC)
Deploy Root DNS servers and sub DNS servers for the Agora/Chaos network
- In the DNS implementation we need to have a core hidden server and the trusted DNS servers able to be updated at each of the trusted root hackspaces.
- Automatically register IP address and hostname for new nodes on the VPN
- Distributed DNS server?
- Have multiple DNS servers, all using the same IP address.
Change tinc to select the best reachable DNS based on distance/weight. Needs only change in ChaosVPN backend, to set weight of Subnets differently when distributing config files to nodes.
- Let clients use ChaosDNS only when they have a working connection to the VPN.
Suppose the DNS server runs at node "dns", then you can add a dns-up and dns-down script to tinc that will use resolvconf to add/remove a nameserver entry in /etc/resolv.conf on the fly:
#!/bin/sh # /etc/tinc/chaos/hosts/dns-up resolvconf -a $INTERFACE << EOF nameserver ip.of.chaos.dnsserver search chaos EOF #!/bin/sh # /etc/tinc/chaos/hosts/dns-down resolvconf -d $INTERFACE
To ensure the ChaosDNS server is preferred above other servers, add "chaos" to theh top of /etc/resolvconf/interface-order.
hackint irc server
connect the router at some spaces
build debian and openwrt packages
- build Packages
- get in squeeze?
- image with tinc and config for fonera 2.0n
- mac os x
We need to discuss what we want tinc to do for ChaosVPN:
- Define requirements
- Determine what we need in the immediate future, to be implemented in tinc 1.0.13.
- Determine milestones working towards the perfect ChaosVPN.
- Determine minimal environment tinc should run in, eg. a Fonera system.
- Can we use C++, including libstdc++?
- Fonera has (uclibc?) libstdc++ installed already
- Can we use crypto libraries other than OpenSSL? (For example, gcrypt, GnuTLS, Botan.)
- Can we use C++, including libstdc++?
- Can we make more people part of tinc development team?
- Have multiple trust anchors
- Delegate trust, also partially if possible
- Revoke trust
- Must be able to run it on a small devices
- Trust can be transitive, but must be limitted
- Perhaps limit trust transitivity to certain subnets (a trusts b with subnet 172.16.0.0/12, b trusts c with subnet 172.17.0.0/16)
- If not possible, have supernode do the work for us?
- Use DHT to be able to store/retrieve information from the network
- End to end encryption
- But should be able to use intermediate nodes as relays
- For this the one end-node needs to know the public key of the end-node it wants to reach, it either needs to know all keys, or have a way to fetch it on demand
Fonera has only 32 MB flash of which much less is writable, unless external USB stick is used. It has only 64 MB of RAM. MIPS processor is not fast. If ChaosVPN grows towards 1000 nodes, perhaps there should be lightweight tinc daemons that connect to "supernodes", or limit the spread of routing information somehow (like with OSPF zones).
Need to have the Agora/Chaos/Warzone networks running smoothly with the basic features. Root DNS - and distributed systems. Have a infrastructure that has more than one trusted manager able to add or remove nodes in different regions. The warzone server has to go live at the end of the weekend after solving the issues with NAT on the openwrt Fonera 2.0n unit, and multiple port support with multiple TINC VPN's.
- best western queens hotel hamburg around the corner
- limited sleeping in the hackerspace is possible
- guus (will sleep in hackerspace)
- Haegar (most likely)
- ryd (most likely)
- Tcrown (In spirit, and Chicago)