1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

Commit Graph

  • 44187297c5 Merge 3b91cfa5e291500701853a64ae97f206a8cf470a into febec67d0d5e30e8314ff12cfca7b03acf96f771 Ties de Kock 2024-05-04 07:39:41 +00:00
  • 3b91cfa5e2 Use upper bound for ASPA PDU as max size Ties de Kock 2024-05-04 09:39:23 +02:00
  • 0a5d5cd7af Increase maximum PDU length that is decoded Ties de Kock 2024-04-05 11:20:03 +02:00
  • d8457b435a Merge 5bd78492f93fc58b32c12556db2c35dcbf1da09b into febec67d0d5e30e8314ff12cfca7b03acf96f771 netixx 2024-03-12 11:31:39 +00:00
  • 5bd78492f9 Add flaps metrics and remote_ip in PDUs counter netixx 2024-03-12 12:31:24 +01:00
  • 237da11722 Enable remote_ip dimension in rtr_clients netixx 2024-03-11 16:28:54 +01:00
  • 2dcdc6d5b9 Merge e040aa0a84f094ee7676e6655e30b8d19bce22bf into febec67d0d5e30e8314ff12cfca7b03acf96f771 Ties de Kock 2024-03-03 23:18:21 +01:00
  • febec67d0d Merge pull request #119 from ties/only-parse-broken-file-once master Job Snijders 2024-03-01 12:40:25 +01:00
  • 4900445114 Use debug level logging for hash change Ties de Kock 2024-03-01 12:18:08 +01:00
  • 8adf6b553e Merge pull request #118 from ties/only-parse-broken-file-once Ties de Kock 2024-03-01 11:47:38 +01:00
  • 4c1c8fab66 Store hash before decoding, do not parse broken file twice Ties de Kock 2024-02-29 20:27:38 +01:00
  • b93d7a8477 Merge pull request #117 from cjeker/avoid_empty_deltas Ties de Kock 2024-03-01 09:36:03 +01:00
  • a1c36d6450 Minor cleanup as suggested by @ties Claudio Jeker 2024-03-01 09:30:33 +01:00
  • c3652d335c Merge pull request #115 from netixx/hash-slurm Ties de Kock 2024-02-29 20:21:26 +01:00
  • 78a0c69abe Merge pull request #116 from cjeker/fix_count_in_processData Ties de Kock 2024-02-29 16:05:35 +01:00
  • 834eb645da [stayrtr] add hash check on slurm data netixx 2024-02-28 09:26:24 +01:00
  • 277cd1e584 Return true or false from AddData(). Claudio Jeker 2024-02-29 14:20:58 +01:00
  • 48740ff8c7 Adjust processData() test after removing the count return value Claudio Jeker 2024-02-29 12:47:48 +01:00
  • ae6c463482 The count makes little sense as a return value. Especially since it does not include the vap and bgpsec keys. Claudio Jeker 2024-02-29 11:51:23 +01:00
  • b773a90285 Merge pull request #113 from netixx/serial-metric Ties de Kock 2024-02-22 19:48:51 +01:00
  • bbf0f39107 [stayrtr] add a metric for current serial number netixx 2024-02-22 17:53:35 +01:00
  • 7bec069a27 Merge pull request #112 from bgp/nodelay-switch Job Snijders 2024-02-09 11:41:45 +00:00
  • 6fb187f536 Merge 179ec76bdf7f5ea30b98456a3f4d8955bcb70f43 into 03532baaa49d2ed83d5561058704ee4d8002fb19 Claudio Jeker 2024-01-16 11:09:00 +00:00
  • 179ec76bdf Revert the name change of some command line arguments. Claudio Jeker 2024-01-16 12:08:24 +01:00
  • 9eb93cbdcf Simplify the version logic for End of Data PDUs. Claudio Jeker 2024-01-09 15:21:43 +01:00
  • 0cf31df39d Rename flags to start with the same "rtr" prefix so they get sorted together. Also support the "enforce rtr version" flag (the code for that is already there). Claudio Jeker 2024-01-09 14:29:38 +01:00
  • ee8b822cfe Move DisableASPA and DisableBGPSec flags to stayrtr.go where they belong. Claudio Jeker 2024-01-09 10:33:07 +01:00
  • b8b40432dc Simplify some code and remove an unused function. Claudio Jeker 2024-01-08 16:28:16 +01:00
  • 8986f191bd Merge 0740af9f3ffb47af1387ca84da7ea406a6368c0a into 03532baaa49d2ed83d5561058704ee4d8002fb19 Claudio Jeker 2023-12-24 08:25:06 +00:00
  • 0740af9f3f Make sure that every rtr version has a different session_id Claudio Jeker 2023-12-24 09:14:23 +01:00
  • afe5623cf7 Simplify the serial number handling before making it more complex again Claudio Jeker 2023-12-21 11:08:32 +01:00
  • ef969cbc42 Replace a horrible random construct with a less horrible one. Claudio Jeker 2023-12-20 11:34:06 +01:00
  • 03532baaa4 Merge pull request #108 from cjeker/go_version Job Snijders 2023-12-21 16:34:31 +01:00
  • abcaca9947 Require go 1.18 (it is enough for what is needed) Claudio Jeker 2023-12-20 14:54:55 +01:00
  • 2dfc26e226 Merge pull request #107 from cjeker/naming_is_hard Job Snijders 2023-12-21 16:21:03 +01:00
  • c83f67289b Merge pull request #109 from cjeker/no_netipx Job Snijders 2023-12-21 16:20:25 +01:00
  • 0c628f551c Remove the netipx module, it is no longer needed. Claudio Jeker 2023-12-21 16:08:28 +01:00
  • 76b583e106 Use netip.Prefix.Overlaps() and a check on the prefixlen to see if fPrefix covers rPrefix. This works since we only work with CIDR prefixes. Claudio Jeker 2023-12-21 16:05:25 +01:00
  • b91a5a53e5 Use basic functions from netip.Prefix to get the prefixlen and the address length. No need to go around the block to get these values. Claudio Jeker 2023-12-21 15:51:15 +01:00
  • d7c85e3a24 Use netip.MustParsePrefix() instead of some ugly kludge Claudio Jeker 2023-12-21 15:44:16 +01:00
  • d1f8fb2b00 Another badly named function. CountVRPs does not return the number of VRPs but the number of objects in the cache. Claudio Jeker 2023-12-21 14:16:41 +01:00
  • 2f8e5b6d2b Kill manualserial, not used Claudio Jeker 2023-12-20 15:28:56 +01:00
  • 2f252df7f9 More consistent naming, do not refer to the cache as just VRPs there is more in it now. Claudio Jeker 2023-12-19 17:04:56 +01:00
  • a5294449cf Try to bring more consistency in naming things. Claudio Jeker 2023-12-19 15:05:10 +01:00
  • 477b3148c4 Don't use vrp for SendableData elements. Either use 'sd' or 'item' depending if it is the array of SD or a single item. Claudio Jeker 2023-12-19 14:20:39 +01:00
  • 4dc8601652 Merge pull request #105 from cjeker/kill_aspa_afi Job Snijders 2023-12-21 11:45:25 +01:00
  • e7fd4221b5 Refactor some code that has no need to be this complicated Claudio Jeker 2023-12-20 11:40:49 +01:00
  • d48fbc79f4 Remove the AFI dependency for ASPA Claudio Jeker 2023-12-18 17:02:00 +01:00
  • 3289b5d9b7 Merge pull request #103 from floatingstatic/structoptimize Job Snijders 2023-12-21 09:21:41 +01:00
  • 925a67227f Merge pull request #106 from cjeker/64bit_time_t Job Snijders 2023-12-19 17:39:58 +01:00
  • b8a26d220b Use a int64 for Unix time to make this code 2038 proof. Claudio Jeker 2023-12-19 11:59:28 +01:00
  • 8ded2cb68a RPKI is more than ROAs, rename the third-party source accordingly Job Snijders 2023-12-19 14:35:52 +00:00
  • 236c4bf0dd Optimize VRP struct sizes. Use netip.Prefix instead of net.IPNet. Jeremiah Millay 2023-12-13 20:21:33 -05:00
  • 7fbe06c108 Merge pull request #104 from cjeker/mod_x_sys Job Snijders 2023-12-18 16:18:25 +01:00
  • 8b71455ff0 Update x/sys dependency to a more current one to unbreak OpenBSD builds Claudio Jeker 2023-12-18 16:13:40 +01:00
  • 5bd081b90b Add switch to disable TCP_NODELAY nodelay-switch Ben Cartwright-Cox 2023-10-13 12:18:51 +01:00
  • 58cac02340 Merge pull request #101 from ties/feature/track-rpki-objects-metric Ties de Kock 2023-05-14 20:12:47 +02:00
  • cc37823b9d Remove NumberOfBRKs Ties de Kock 2023-05-09 18:00:45 +02:00
  • 1f2ba2a371 Log the number of router keys/vaps on update Ties de Kock 2023-05-03 08:37:00 +02:00
  • f545915dcc Add rpki_objects metric that tracks all object types Ties de Kock 2023-05-03 08:18:15 +02:00
  • 273ed80e3a highlight capabilities Job Snijders 2023-03-18 12:27:57 +00:00
  • 54153e9b58 Merge pull request #94 from ties/go-versions Ties de Kock 2023-03-03 17:37:59 +01:00
  • 1bfa1e6c6e Build with stable and specified go version Ties de Kock 2023-03-03 14:56:16 +01:00
  • 1740e861a3 Bump required go version to at least go 1.17 Ben Cartwright-Cox 2023-03-02 20:18:28 +00:00
  • c112384f21 Tag v0.5.1 v0.5.1 Ben Cartwright-Cox 2023-03-01 14:36:19 +00:00
  • 5a3782245c Fix (false positive) test failure caused by the prev commit Ben Cartwright-Cox 2023-03-01 14:20:53 +00:00
  • 62f5952776 Fix lock/slow sending due to a lock "moshpit" Ben Cartwright-Cox 2023-03-01 14:15:18 +00:00
  • 28752753e0 Harden ^b2a79528c5d221f46bdd766ce9c448714f3b62d5 Ben Cartwright-Cox 2023-02-27 15:52:31 +00:00
  • b2a79528c5 Fix possible crash from ROA PDU Race Minimization logic Ben Cartwright-Cox 2023-02-27 15:17:53 +00:00
  • cc9cdbf5af Merge pull request #91 from cjeker/update_go_mod Ben Cox 2023-02-27 14:24:45 +00:00
  • eb8d6dc594 Update following go modules to: golang.org/x/crypto v0.6.0 golang.org/x/sys v0.5.0 Claudio Jeker 2023-02-24 17:24:58 +01:00
  • 8a3a71e045 Ensure error PDUs are sent before the TCP socket closes Ben Cartwright-Cox 2023-02-24 14:13:45 +00:00
  • df1dbde933 Fix auto docker release tag push v0.5.0 Ben Cartwright-Cox 2023-02-23 21:35:40 +00:00
  • a2c661f286 Release v0.5.0 Ben Cartwright-Cox 2023-02-23 21:32:19 +00:00
  • 016596c773 Correct the README on where to find the pre-built docker Ben Cartwright-Cox 2023-02-23 21:31:09 +00:00
  • 94ab410dfe Add E2E testing for Slurm parsing for ASPA and BGPsec Ben Cartwright-Cox 2023-02-23 21:14:56 +00:00
  • 1e32148e7b Implement draft-spaghetti-sidrops-aspa-slurm-0 Ben Cartwright-Cox 2023-02-23 20:40:20 +00:00
  • 643bccfd07 Add parsing support for ASPA/BGPSEC in SLURM files Ben Cartwright-Cox 2023-02-23 17:03:52 +00:00
  • fa548afcaf Rename BSK(s) (BGPsecKey) to BRK's to algin with rpki-client Ben Cartwright-Cox 2023-02-23 17:01:12 +00:00
  • 547eea1d54 Build a docker hub release for tag names too Ben Cartwright-Cox 2023-02-23 16:48:04 +00:00
  • 4a8bf3e86c Add v2 support to README Ben Cartwright-Cox 2023-02-23 16:47:53 +00:00
  • c6ffc72060 Undo default cache endpoint change to Cloudflare Ben Cartwright-Cox 2023-02-23 16:24:27 +00:00
  • 38feb049b4 Handle OctoRPKI's alternate build time metadata. Ben Cartwright-Cox 2023-02-23 16:20:43 +00:00
  • d5dc99a4d0 Merge pull request #88 from bgp/draft-ietf-sidrops-8210bis-10 Ben Cox 2023-02-23 16:13:44 +00:00
  • c007dea967 Handle RTR version 2 hangups by suggesting the user manually downgrade draft-ietf-sidrops-8210bis-10 Ben Cartwright-Cox 2023-02-23 16:05:11 +00:00
  • b09f0e27f0 Set default StayRTR version to v2 (With ASPA support) Ben Cartwright-Cox 2023-02-23 15:56:30 +00:00
  • 3555d81035 Add -disable.aspa flag Ben Cartwright-Cox 2023-02-23 12:19:22 +00:00
  • 0753777f1f Revert "Set default StayRTR version to 2" Ben Cartwright-Cox 2023-02-23 12:21:03 +00:00
  • f40e9ccf4e Set default StayRTR version to 2 Ben Cartwright-Cox 2023-02-23 12:16:26 +00:00
  • e98648f8b2 Implement draft-ietf-sidrops-8210bis-10 ROA PDU Race Minimization Ben Cartwright-Cox 2023-02-22 17:36:06 +00:00
  • 187410d9b6 Implment ASPA as defined in draft-ietf-sidrops-8210bis-10 Ben Cartwright-Cox 2023-02-22 17:18:46 +00:00
  • 3b73956a9c Add PDU encode/decode support for ASPA Ben Cartwright-Cox 2023-02-22 15:17:26 +00:00
  • 48e29bb427 Update license file Job Snijders 2023-02-22 12:31:48 +00:00
  • 26be18ae2e Merge branch 'master' of github.com:bgp/stayrtr Ben Cartwright-Cox 2023-02-22 11:42:05 +00:00
  • 9edbfb3ba1 Add basic BGPsec support to RTRMon bgpsec-good Ben Cartwright-Cox 2023-02-22 11:40:15 +00:00
  • 849f29eb03 mention PCCW Job Snijders 2023-02-22 11:02:15 +00:00
  • 539a99d76c More cleanup of unused functions and/or struct contents Ben Cartwright-Cox 2023-02-21 22:16:26 +00:00
  • caad9d419f Cleanup unused struct fields Ben Cartwright-Cox 2023-02-21 22:14:20 +00:00
  • 6e4c533e8a Fix client.sendLoop possibly leaking/CPU burning Ben Cartwright-Cox 2023-02-21 22:11:43 +00:00
  • 19ca7b27e9 Add BGPsec Router Key support to rtrdump Ben Cartwright-Cox 2023-02-21 22:05:50 +00:00