Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-25 | Move socket handling out of fastd.c | Matthias Schiffer | |
2013-07-25 | Move _GNU_SOURCE define to types.h | Matthias Schiffer | |
2013-07-25 | Improve handling of similar remote resolves | Matthias Schiffer | |
2013-07-25 | Set IP_MTU_DISCOVER on sockets | Matthias Schiffer | |
2013-07-24 | Include IP address in "sending handshake" debug messages | Matthias Schiffer | |
2013-07-24 | Allow specifying multiple remote entries for a single peer | Matthias Schiffer | |
2013-07-24 | Remove handing for packets received on wrong sockets (this shouldn't happen) | Matthias Schiffer | |
2013-07-24 | Don't let resolves delay handshakes | Matthias Schiffer | |
2013-07-24 | Don't initialize peers before dropping privileges | Matthias Schiffer | |
2013-07-23 | Use schedule_handshake in handle_resolv_returns | Matthias Schiffer | |
2013-07-23 | Don't trigger a resolve when a packet from an unknown peer is received | Matthias Schiffer | |
2013-07-12 | Supply the correct sockaddr size for bind | Matthias Schiffer | |
2013-05-20 | Optimize send_all() to allow zero-copy TUN mode | Matthias Schiffer | |
2013-05-20 | Add send_all() function to reduce duplicate code | Matthias Schiffer | |
2013-05-19 | Simplify TUN/TAP receive handling | Matthias Schiffer | |
2013-05-19 | Simplify send funktion | Matthias Schiffer | |
2013-05-19 | Cast void* to char* before pointer arithmetic | Matthias Schiffer | |
2013-05-19 | Simplify handling of received packets | Matthias Schiffer | |
2013-05-19 | Add a missing return in handle_socket_receive_known() | Matthias Schiffer | |
2013-05-19 | Simplify socket receive path | Matthias Schiffer | |
2013-04-22 | Miscellaneous fixes in ethernet address handling | Matthias Schiffer | |
Check the length of ethernet frames, and the fastd_eth_addr_t structure must be packed. | |||
2013-04-20 | Greatly improve handling of hosts with multiple IP addresses | Matthias Schiffer | |
2013-04-17 | Fix handling of the local address in shell commands | Matthias Schiffer | |
Without this fix, using on-establish/disestablish/verify would cause a strange zero port when a bind with a random port was used, and a segmentation fault with dynamic binds. | |||
2013-03-08 | Handle duplicate keys | Matthias 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-08 | Allow disabling previously enabled peers | Matthias Schiffer | |
2013-03-08 | Disable peer configs by default, enable on peer creation | Matthias Schiffer | |
This allows to remove some duplicate code, and will simplify the detection and handling of duplicate keys. | |||
2013-03-04 | Load peer dirs in the last step of the configuration | Matthias Schiffer | |
Loading the peer dirs directly led to peers being discovered in a different order after reconfigure. | |||
2013-03-02 | Don't crash on empty UDP packets | Matthias Schiffer | |
2013-03-02 | Print error message on aborts due to buffer push/pull errors | Matthias Schiffer | |
2013-02-27 | Allow temporary peers when no other floating or dynamic peers are configured | Matthias Schiffer | |
2013-02-27 | Don'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-26 | Experimental support for accepting connections from unknown peers | Matthias Schiffer | |
2013-02-25 | Get rid of some duplicate code for calling shell commands | Matthias Schiffer | |
2013-02-23 | Fail initialization when a default socket can't be bound | Matthias Schiffer | |
2013-02-23 | Print port for "any" address in bind log messages | Matthias Schiffer | |
2013-02-23 | Implement simple peer dump triggered by SIGUSR1 | Matthias Schiffer | |
2013-02-23 | Use fastd_peer_t instead of fastd_peer_config_t in handshake code | Matthias 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-24 | resolver: write whole hostname instead of a pointer to the resolver pipe | Matthias Schiffer | |
Shouldn't make a difference, but feels cleaner now, and silences a clang-analyzer warning. | |||
2013-01-21 | Remove unneded calls to method functions in head and tail space calculation | Matthias Schiffer | |
2013-01-21 | Add error message for OOM on buffer alloc | Matthias Schiffer | |
2013-01-05 | Adjust copyright years | Matthias Schiffer | |
2013-01-04 | Add some debug output to uid/gid switching | Matthias Schiffer | |
2013-01-04 | Set supplementary groups | Matthias Schiffer | |
2012-12-25 | Remove capability locking feature | Matthias Schiffer | |
This isn't our job, so there is no reason to support this. | |||
2012-12-24 | Add user switching and capability support | Matthias Schiffer | |
2012-12-23 | Set FD_CLOEXEC on all file descriptors, use non-blocking IO for sockets and TUN | Matthias Schiffer | |
2012-12-18 | Convert type names to _t convention | Matthias Schiffer | |
2012-12-13 | Add helper function to simplify v4-mapped addresses | Matthias Schiffer | |
2012-12-13 | Reduce v4-mapped IPv6 addresses to IPv4 addresses | Matthias Schiffer | |
We need this for "any" binds to work correctly again. | |||
2012-12-08 | Only try to set MTU when it isn't correct | Matthias Schiffer | |
This allows fastd to run completely without root privileges when the TUN/TAP device is pre-created |