summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-03-21Remove debian init script againMatthias Schiffer
This reverts commit 0f7aac271c521c2e30b833956eba40e42a79c420. The scripts live in the /debian directory of the Debian package source, there is no reason to duplicate them in this git.
2013-03-12add debian init script to examples/Nils Schneider
fastd-debian-init should be copied to /etc/init.d/fastd fastd-debian-default should be copied to /etc/default/fastd
2013-03-10fastd v8v8Matthias Schiffer
2013-03-09Add options to hide IP and MAC addresses from log outputMatthias Schiffer
2013-03-09Don't try to add temporary peers for disabled keysMatthias Schiffer
2013-03-08Fix crash on invalid key definitionsMatthias Schiffer
2013-03-08Handle duplicate keysMatthias Schiffer
When two peers are configured with the same key, disable both. When a temporary peer's key is configured, delete the temporary key.
2013-03-08Really fix adding new peers from a peer dirMatthias Schiffer
2013-03-08Don't forget all peers when no peers are configured in peer dirsMatthias Schiffer
2013-03-08Don't lose all but one peer configured in peer dirs after loadingMatthias Schiffer
This regression was introduced in 4e9b2a8819c7062ad052cd6c549db1d0fbed001d.
2013-03-08Allow disabling previously enabled peersMatthias Schiffer
2013-03-08Disable peer configs by default, enable on peer creationMatthias Schiffer
This allows to remove some duplicate code, and will simplify the detection and handling of duplicate keys.
2013-03-05Simplify git-describe call and make it more robustMatthias Schiffer
2013-03-04Fix git-describe for paths with spacesMatthias Schiffer
2013-03-04Suppress error message when no .git directory is foundMatthias Schiffer
2013-03-04Fix git-describe version commandMatthias Schiffer
2013-03-04Load peer dirs in the last step of the configurationMatthias Schiffer
Loading the peer dirs directly led to peers being discovered in a different order after reconfigure.
2013-03-03Make 'peer limit 0' allow no connectionsMatthias Schiffer
2013-03-03Fix typo in --log-level help textMatthias Schiffer
2013-03-03Remove the word "version" from usage textMatthias Schiffer
It is now included in the version string itself.
2013-03-02Don't crash on empty UDP packetsMatthias Schiffer
2013-03-02Print error message on aborts due to buffer push/pull errorsMatthias Schiffer
2013-03-01Re-verify unknown peers on each handshakeMatthias Schiffer
2013-03-01Identify peers be key in log output when no name is availableMatthias Schiffer
2013-02-27Allow temporary peers when no other floating or dynamic peers are configuredMatthias Schiffer
2013-02-27Don't include linux/if_alg.h when it is not neededMatthias Schiffer
2013-02-27Don't set the peer address for temporary peers before the session is ↵Matthias Schiffer
actually established Doing so could lead to duplicate address entries in different peers, causing very strange behaviour. Add additional parameters for the local and the peer address to fastd_shell_exec() to allow the on-verify script to use this information nevertheless.
2013-02-27Refactor fastd_peer_claim_addressMatthias Schiffer
2013-02-26Don't reset "seen" timestamp on peer resetMatthias Schiffer
2013-02-26Experimental support for accepting connections from unknown peersMatthias Schiffer
2013-02-25Fix shell command exit status message, for real.Matthias Schiffer
2013-02-25Fix shell exit status warning conditionMatthias Schiffer
2013-02-25Rewrite 'git describe' version support to update the version whenever neededMatthias Schiffer
2013-02-25Add public keys to shell environmentMatthias Schiffer
2013-02-25Set some more environment variables for shell commandsMatthias Schiffer
2013-02-25Get rid of some duplicate code for calling shell commandsMatthias Schiffer
2013-02-23Differentiate between reasons for ignoring a handshakeMatthias Schiffer
2013-02-23Subtract splay time to key refresh intervalMatthias Schiffer
A random splay time of up to 5 minutes will ensure that simultaneous handshakes with many peers are desynchronized as fast as possible.
2013-02-23Fail initialization when a default socket can't be boundMatthias Schiffer
2013-02-23Print port for "any" address in bind log messagesMatthias Schiffer
2013-02-23Implement simple peer dump triggered by SIGUSR1Matthias Schiffer
2013-02-23Use git version with --dirtyMatthias Schiffer
2013-02-23Use 'git describe' output as version string when availableMatthias Schiffer
2013-02-23Use fastd_peer_t instead of fastd_peer_config_t in handshake codeMatthias Schiffer
Directly using the peers allows us to get rid of the inefficient get_peer() function and is necessary for adding support for unknown peers.
2013-01-24Remove some .gitignore entriesMatthias Schiffer
As these are specific to my build environment, these better go to .git/info/exclude
2013-01-24Don't reset peer address on repeated resolvesMatthias Schiffer
This can lead to handshakes being ignored for an indefinite time.
2013-01-24resolver: write whole hostname instead of a pointer to the resolver pipeMatthias Schiffer
Shouldn't make a difference, but feels cleaner now, and silences a clang-analyzer warning.
2013-01-21Remove unneded calls to method functions in head and tail space calculationMatthias Schiffer
2013-01-21Fix indentation in handshake packet allocMatthias Schiffer
2013-01-21Add error message for OOM on buffer allocMatthias Schiffer