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

140 Commits

Author SHA1 Message Date
02d226e9cc Merge pull request #85 from afenioux/master
Update README.md with Arista configuration example
2020-11-05 12:30:14 -08:00
5e6faa509f Arista configuration example
Arista configuration example with line breaks, but not sure it's actually better.
2020-11-05 18:53:09 +01:00
634eee4cb1 Update README.md
Adding Arista configuration example, and updating Compatibility matrix
2020-11-03 11:27:49 +01:00
c7e7fdbb3e Merge pull request #84 from cloudflare/bug/rtrdump-version-string
rtrdump to have build-time version number
2020-10-26 10:39:34 -07:00
369b19fbc9 rtrdump to have build-time version number 2020-10-26 08:28:54 -07:00
849ba75623 Merge pull request #78 from ShimmerGlass/crashfix
Fix: unbounded alloc and slice out of bounds crashes
2020-07-27 01:17:53 -07:00
d6cb793104 Fix: unbounded alloc and slice out of bounds crashes
In rtrlib.Decode():
* Now check the message length is not greater than a hardcoded limit
(2048) to prevent unbounded memory allocations
* Fix a few unchecked slice accesses that could result in crashes with the
right payload in the PDU_ID_ERROR_REPORT case.
2020-07-22 00:56:58 +02:00
78f7a6e604 Merge pull request #72 from cloudflare/bug/close-connections
Bugfix: make sure to close http connections
2020-07-07 11:15:16 -07:00
2a505402fa Merge pull request #77 from jbampton/fix-spelling
Fix spelling
2020-07-02 12:26:22 -07:00
fea0197495 Fix spelling 2020-07-02 17:36:26 +10:00
e34c202d4a Merge pull request #76 from jbampton/fix-grammar
Fix grammar
2020-07-01 21:59:09 -07:00
4cba5abfe1 Fix grammar 2020-07-02 13:24:13 +10:00
ff5ae2fe49 Merge pull request #75 from jbampton/fix-markdown
Lint Markdown.
2020-07-01 19:46:09 -07:00
17f2dca9ff Lint Markdown.
MD009 Trailing spaces.
MD012 Multiple consecutive blank lines.
MD031 Fenced code blocks should be surrounded by blank lines.
MD032 Lists should be surrounded by blank lines.

https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
2020-07-02 12:20:19 +10:00
c5e7f99da2 Merge pull request #74 from jbampton/fix-html
Fix HTML br tags.  Use HTML5 img tags.
2020-07-01 17:29:51 -07:00
8c7c58d9ff Fix HTML br tags. Use HTML5 img tags. 2020-07-02 10:26:03 +10:00
2d9e8a0cee Bugfix: make sure to close http connections 2020-06-29 17:19:19 -07:00
83ae99bcd8 Merge pull request #73 from cloudflare/fix/travis-go-1.14
Travis to use go 1.14
2020-06-29 17:19:03 -07:00
7331e45594 Travis to use go 1.14 2020-06-29 17:15:53 -07:00
26b0d308ba Merge pull request #70 from cloudflare/feature/mime-parameter
Add mime/accept parameter #62
2020-06-10 08:36:12 -07:00
cec6ebc150 Merge pull request #71 from cloudflare/feature/stories-cogent
Add Cogent's story
2020-06-09 16:44:41 -07:00
8d96c28f2b Add Cogent's story 2020-06-09 14:59:49 -07:00
09ff1dc23c Add mime/accept parameter #62 2020-06-09 14:40:13 -07:00
71275df04e Merge pull request #68 from cloudflare/bug/slurm-invalid
Handle invalid slurm entry #67
2020-06-08 08:17:37 -07:00
5e19ac0b44 Merge pull request #69 from cloudflare/feature/message-logging
Add message logging for RTRdump (option to skip data PDUs)
2020-06-05 18:05:33 -07:00
107c06a4d6 More debug options on GoRTR 2020-06-05 17:58:58 -07:00
98513b9b3f Add message logging for RTRdump (option to skip data PDUs) 2020-06-05 17:13:48 -07:00
10e50c95ca Handle invalid slurm entry #67 2020-06-05 16:46:57 -07:00
f40cd9bff2 Merge pull request #66 from cloudflare/bug/acceptmax
Protection against "too many open files"
2020-06-05 16:08:52 -07:00
60070fffdb Protection against "too many open files"
* Raised in #65, if the server does not have enough sockets, Accept returns error
* Due to a bug, it was causing `invalid memory address or nil pointer dereference` if no other limit was specified
* Issue was triggered around 1024 concurrent sessions on out of box Linux (check `ulimit -a | grep "open files"`)
2020-05-18 14:51:28 -07:00
cf09574c4b Remove LACNIC validator output
Was generating an incorrect output of 1 ROA.
2020-05-05 09:34:02 -07:00
5ff3fc13c6 Merge pull request #59 from cloudflare/feature/stories-gtt
Add GTT story
2020-04-09 13:56:09 -07:00
c22d0e9159 Add GTT story 2020-04-09 13:55:32 -07:00
fb7be39c6a Merge pull request #56 from cloudflare/feature/json-serials
Serial control
2020-03-30 13:36:05 -07:00
092ade0f68 Add release badge 2020-03-30 13:28:57 -07:00
787998d680 Merge pull request #55 from cloudflare/feature/cli-control-refresh
Options to set session ID and timers via CLI #52
2020-03-30 13:26:49 -07:00
26321e991e Merge pull request #58 from cloudflare/ci/integration-compose
Add docker-compose for integration testing
2020-03-30 13:24:56 -07:00
76645ed8ad Added badges 2020-03-30 13:22:41 -07:00
19fe0f80ab Add docker-compose for integration testing
* Will mount a GoRTR with a basic rpki.json and slurm.json
* Run rtrdump
2020-03-30 13:15:50 -07:00
b4f0245713 Serial control
* Set three modes of operating serial:
  * Default: serials will start at 0 and increment at every change
  * Beginning: serial will be set to the value found in the JSON then increment at every change
  * Full: serial will be set based on the value found in the JSON at each refresh
2020-03-29 18:07:59 -07:00
14e36573ba PDU EOD now prints timers 2020-03-27 17:46:52 -07:00
14a278569f Options to set session ID and timers via CLI
* Also fixes a session ID bug where the variable was never random
* Introduces the following flags: `rtr.sessionid`. `rtr.refresh`, `rtr.retry` and `rtr.expire`

Resolves issue #52
2020-03-27 16:53:29 -07:00
c54d5f4c9a Merge pull request #54 from job/master
Add NTT story
2020-03-27 14:36:54 -07:00
0d868852e7 Add NTT story 2020-03-26 12:35:46 +01:00
d8cbea8201 Merge pull request #50 from cloudflare/feature/stories
Add Telia and Cloudflare stories #47
2020-03-02 16:41:40 -08:00
b3e1f0f522 Merge pull request #49 from ties/feature/etags
Use ETags + if-modified-since to reduce number of full requests
2020-03-02 16:26:14 -08:00
156a388f65 Add ETag/If-Not-Modified support
* Send If-Not-Modified header, save ETags.
  * Add metrics for HTTP response code and last request timestamp.
2020-03-02 10:25:39 +01:00
0da63c8791 Success stories #47 - Telia 2020-02-28 12:15:37 -08:00
e407106488 Merge pull request #48 from cloudflare/bugfix/makefile-typo
Bugfix: makefile has typo and add rtrdump with packages
2020-02-27 14:26:17 -08:00
3ff0fb0e84 Bugfix: makefile has typo and add rtrdump with packages 2020-02-27 14:22:02 -08:00