summaryrefslogtreecommitdiff
path: root/sysdep
AgeCommit message (Collapse)Author
2020-05-14WIP implement SK_UNIX_ACTIVEMikael Magnusson
2020-05-14WIP debug socket sk_alloc_bufsMikael Magnusson
2020-05-14WIP debug socketMikael Magnusson
2020-05-14WIP debug socketMikael Magnusson
2020-05-14WIP debug socketMikael Magnusson
2020-05-13WIP debug socketMikael Magnusson
2020-05-13WIP debug socketMikael Magnusson
2020-05-13WIP clear O_NONBLOCKMikael Magnusson
2020-05-13WIP disable blockingMikael Magnusson
2020-05-13WIP print errnoMikael Magnusson
2020-05-13WIP debug sk_freeMikael Magnusson
2020-05-13WIP close socket after reading resultMikael Magnusson
2020-05-13close socket fixing leakMikael Magnusson
2020-05-13work-around problem with listen_port mutex dead lockMikael Magnusson
2020-05-12WIP unix socket debug 10old/current-jessieMikael Magnusson
2020-05-12WIP unix socket debug 9Mikael Magnusson
2020-05-12WIP unix socket debug 8Mikael Magnusson
2020-05-12WIP unix socket debug 7Mikael Magnusson
2020-05-12WIP unix socket debug 6Mikael Magnusson
2020-05-12WIP unix socket debug 5Mikael Magnusson
2020-05-12WIP unix socket debug 4Mikael Magnusson
2020-05-12WIP unix socket debug 3Mikael Magnusson
2020-05-11WIP unix socket debug 2Mikael Magnusson
2020-05-11WIP unix socket debugMikael Magnusson
2020-05-11WIP test sizeof sockaddr_unMikael Magnusson
2020-05-11WIP Use abstract unix sockets on AndroidMikael Magnusson
2020-05-11WIP Use abstract unix sockets on AndroidMikael Magnusson
2020-05-08android fixesMikael Magnusson
2020-05-08Wireguard: free sockets on error and eofMikael Magnusson
2020-05-08Wireguard: Improve socket debuggingMikael Magnusson
2020-05-08Wireguard: Replace log with DBGMikael Magnusson
2020-05-08Wireguard: Refactor unix socket implementationMikael Magnusson
Move unix socket implementation for wireguard-go to sysdep/unix/.
2020-05-08Wireguard-lib: Define wg_endpoint typeMikael Magnusson
2020-05-08Wireguard-lib: Fix unused parameter warningsMikael Magnusson
2020-05-08Wireguard-lib: Add to makefileMikael Magnusson
2020-05-08Wireguard-lib: Import wireguard libraryMikael Magnusson
2020-05-08Unix: Implement sk_connect_unixMikael Magnusson
2020-05-01Unix socket: Path length check directly before copying the path.Maria Matejka
This is not needed as the string is always short enough, anyway it may be needed in future and one strlen during BIRD start is cheap enough.
2020-05-01Nest: Added const to ea_show just to declare that this shouldn't really ↵Maria Matejka
change anything
2020-04-09Configuration strings are constant.Maria Matejka
This is merely a const propagation. There was no problem in there.
2020-03-07Netlink: Handle interfaces with missing broadcast addressesOndrej Zajicek (work)
2020-02-27BGP: Support for MD5SIG together with remote rangeOndrej Zajicek (work)
When dynamic BGP with remote range is configured, MD5SIG needs to use newer socket option (TCP_MD5SIG_EXT) to specify remote addres range for listening socket. Thanks to Adam Kułagowski for the suggestion.
2020-02-04Conf: Better error message when reading iproute2 configMaria Matejka
Reported by: Martin Weinelt <martin@darmstadt.freifunk.net>
2020-01-07KRT: Improve syncer code to avoid using temporary data in rtableOndrej Zajicek (work)
The old code stored route verdicts and temporary routes directly in rtable. The new code do not store received routes (it immediately compares them with exported routes and resolves conflicts) and uses internal bitmap to keep track of which routes were received and which needs to be reinstalled. By not putting 'invalid' temporary routes to rtable, we keep rtable in consistent state, therefore scan no longer needs to be atomic operation and could be splitted to multiple events.
2019-12-19KRT: Remove KRF_SYNC_ERROR flagOndrej Zajicek (work)
This info is now stored in an internal bmap. Unfortunately, net.flags is still needed for temporary kernel data.
2019-12-17KRT: Fix removal of KRF_INSTALLEDOndrej Zajicek (work)
Use route id from net->routes to check export_map. Route received from sysdep KRT code does not have proper id.
2019-12-16KRT: Remove KRF_INSTALLED flagOndrej Zajicek (work)
The same information is stored in export_map of kernel protocol.
2019-11-26Nest: Use bitmaps to keep track of exported routesOndrej Zajicek (work)
Use a hierarchical bitmap in a routing table to assign ids to routes, and then use bitmaps (indexed by route id) in channels to keep track whether routes were exported. This avoids unreliable and inefficient re-evaluation of filters for old routes in order to determine whether they were exported.
2019-11-12Netlink: Handle IPv4 routes with IPv6 nexthopsOndrej Zajicek
Accept RTA_VIA attribute in all cases. The old code always used RTA_GATEWAY for IPv4 / IPv6 and RTA_VIA for MPLS. The new code uses RTA_VIA in cases where AF of network and AF of nexthop differs.
2019-10-22Accept uppercase letters in iproute2 namesOndrej Zajicek
Names read from texfiles in /etc/iproute2/* are normalized by replacing non-alphanumeric chars with underscore. The patch fixes handling of uppercase letters, which were handled as non-alphanumberic. Thanks to Igor Gavrilov for the bugreport.