frr
sc
frr | sc | |
---|---|---|
25 | 17 | |
3,636 | 2,466 | |
2.6% | 6.2% | |
10.0 | 3.1 | |
4 days ago | 2 months ago | |
C | C | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
frr
-
Show HN: A portable hash map in C
This is incredibly funny to me, because this is almost exactly how some of our other tests work :D
(Almost: we have a full-featured command shell and just use that for testing)
Code: https://github.com/FRRouting/frr/blob/master/tests/ospf6d/te...
Input: https://github.com/FRRouting/frr/blob/master/tests/ospf6d/te...
Expected output: https://github.com/FRRouting/frr/blob/master/tests/ospf6d/te...
-
Async Rust is not safe with io_uring
I don't think it's possible to get away with fundamentally no cancellation support, there are enough edge cases that need it even if most applications don't have such edge cases.
FWIW, this was also painful to do in our C event loop, but there was no way around the fact that we needed it (cf. https://github.com/FRRouting/frr/blob/56d994aecab08b9462f2c8... )
- Type-erased generic functions for C: A modest non-proposal
-
Advice for a high school networking lab
FRR https://frrouting.org/ is another open source tool for a more Cisco style CLI syntax. You’d install that on top of most Linux distros.
-
Flush BGP table faster
Use a decent PC or three, use https://frrouting.org/ and see fast bgp convergence 8-)
- I think I suck at Networking
- Uthash – C macros for hash tables and more
-
Recommendations on Software-based Traffic Management and Routing Platforms
Open source, check out freerouter (https://wiki.geant.org/display/RARE/Home) and FRR (https://frrouting.org/)
-
Pulling My Hair Out Over Netplan
u/GamerLymx The setup goal was, originally, to set this up as a desktop testing router using FRRouting so I could experiment with some technologies I work with, namely OpenFabric without having to buy a $6k switch (Extreme Networks) as well as OSPF and EIGRP. However, I ran into some issues with setting up FRRouting and could not find sufficient information out there to overcome those. So I decided to just turn it into a plain router using NFTables, etc., when I ran into the issues with Netplan.
-
FRRouting and NordVPN
Has anyone ever setup FRRouting to connect to a consumer VPN such as NordVPN? I have been Googling but have come up empty so I am assuming it is not something that can be done. Just the same, I thought I would ask in case I am asking the question wrong in my searches.
sc
- A simple hash table in C
- Advice for bigger c projects?
- sc - Common libraries and data structures for C
-
Hacker News top posts: May 17, 2022
Common libraries and data structures for C\ (107 comments)
-
Common libraries and data structures for C
Can someone tell me what is this line from sc_signal.c:247 in sc/signal/
If the way it is used requires the user to break the abstraction/encapsulation and manually buffer some fields in order not to break the data structure and leak memory, I would call that a bug.
There is one use of sc_array_clear() in the test code [1] which really makes it look as if it is being used in a way that I think (again, I haven't single-stepped this code, only read it) leaks memory.
I agree on the pain of everything being macros, it's more pain than it's worth I think and will likely lead to code duplication (and more pain in debugging, probably).
I would even go so far as to think that this kind of single-file design, where each file is independent of the others, makes it harder and more annoying to implement more complicated data structures.
[1]: https://github.com/tezc/sc/blob/master/array/array_test.c#L3...
-
Uthash – C macros for hash tables and more
https://github.com/tezc/sc/tree/master/map
For those who are interested in faster hashmaps, I tried bunch of hashmaps and this one performs better than others. This is for C. Maybe C++ has better hashmaps.
What are some alternatives?
trigger - Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices.
wazero - wazero: the zero dependency WebAssembly runtime for Go developers
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
libderp - C collections. Easy to build, boring algorithms. Dumb is good.
nautobot - Network Source of Truth & Network Automation Platform
stage0 - A set of minimal dependency bootstrap binaries