Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2012-12-08 | Maximum interface name length is IFNAMSIZ-1, not IFNAMSIZ | Matthias Schiffer | |
Linux handles the string just fine without NULL termination, but that doesn't make it correct... | |||
2012-11-10 | Keep track of configured peer count correctly on dynamic reloads | Matthias Schiffer | |
2012-11-08 | Truncate PID file | Matthias Schiffer | |
2012-11-05 | Get rid of some annoyances with peer limits | Matthias Schiffer | |
Remove some debug messages, and don't resolve peers again and again we don't want to connect to anyways. | |||
2012-11-05 | Don't inline send_handshake | Matthias Schiffer | |
2012-11-05 | Implement peer limit constraints | Matthias Schiffer | |
2012-11-05 | Implement peer groups | Matthias Schiffer | |
2012-11-02 | Directly use peer when receiving on associated sockets | Matthias Schiffer | |
2012-11-02 | Keep track of corresonding peers in associated sockets | Matthias Schiffer | |
2012-11-01 | Dynamically create and destroy sockets without fixed binds | Matthias Schiffer | |
2012-11-01 | Move unistd.h include to fastd.h | Matthias Schiffer | |