Nasato Goto
e53ff72205
add exported routes endpoint
2020-01-26 23:12:06 +09:00
Matthias Hannig
d9b368edf1
reverted change as this breaks alice. TODO: fix this.
2019-05-05 19:08:15 +02:00
Matthias Hannig
5744c7e003
fixed version case
2019-05-05 18:56:23 +02:00
Matthias Hannig
ee5aa378a0
Merge branch 'release/1.13.1' of https://github.com/DECIX/birdwatcher into DECIX-release/1.13.1
...
Resolved conflicts
2019-05-05 17:33:27 +02:00
Matthias Hannig
df814406fa
Merge branch 'release/1.13.0' of https://github.com/DECIX/birdwatcher into DECIX-release/1.13.0
...
Resolved conflicts.
2019-05-05 17:29:11 +02:00
Patrick Seeburger
116f03fed4
Add support for uncached queries
...
The cache is still updated with new information on every request.
2019-03-20 14:55:11 +01:00
Patrick Seeburger
8585003413
Added a parser and endpoint for the show protocols command.
2019-03-20 14:55:10 +01:00
Matthias Hannig
90ec5e278a
fixed obsolete test case
2019-03-20 11:19:11 +01:00
Patrick Seeburger
49fb6882fa
Removed unused OrigTTL attribute from cache info.
2019-03-13 09:29:57 +01:00
Patrick Seeburger
ced455ef7b
Cache redesign - Parsed and Meta cache separation
...
* seperate Parsed and Meta cache, so that they may be locked independently
* extend the RunAndParse() function to allow the caller to specify a
callback which will update the Meta cache
* change all methods interacting with the Meta cache to use the
callback for RunAndParse() to update the Meta cache
2019-03-13 09:28:59 +01:00
Patrick Seeburger
7fd2dfd0cf
Implement new endpoint /routes/count/primary
2019-02-22 14:07:10 +01:00
Patrick Seeburger
08c63fc3a3
Fixed /routes/count/protocol Endpoint which was returning no data,
...
because the wrong parser was called.
2019-02-22 14:07:09 +01:00
Patrick Seeburger
6e8734fa90
Fixed /symbols endpoint.
2019-02-22 14:07:09 +01:00
Patrick Seeburger
b8b9b5d021
Fixed /routes/count/table Endpoint which was returning routes instead of
...
a route count because the wrong method was called.
2019-02-22 14:07:08 +01:00
Matthias Hannig
712510b3bc
include caching information alongside ttl
2019-02-22 14:07:06 +01:00
Benedikt Rudolph
821a4f869a
Change Go import paths for alice-lg github org
2019-02-20 17:25:57 +01:00
Patrick Seeburger
14a4ebeaaa
Using json.Encoder to write the output JSON instead of using a buffer.
2019-02-05 17:40:59 +01:00
Patrick Seeburger
e5248b21c7
Improved parameter validation.
2019-02-05 17:37:53 +01:00
Patrick Seeburger
c4dfeb253d
API redesign - make birdwatcher more generic
...
Removed all high level functionality e.g. endpoints with multiple
invocations of birdc.
Add new endpoints which are required to duplicate the removed
functionality within Alice-LG.
2019-01-18 18:10:06 +01:00
Benedikt Rudolph
49b3be6c22
make TLS configurable via config file.
...
Add new configuration file options: enable_tls, crt and key.
Add customized logger for unified log outputs.
2018-07-18 10:42:58 +02:00
Matthias Hannig
56141bb10f
added routes dumping
2017-06-22 15:06:54 +02:00
hellerve
58bb10469c
added graceful error handling if bird is unreachable
2017-05-02 12:36:35 +02:00
Matthias Hannig
fa6ca4e91c
added endpoint for noexport routes
2017-04-07 11:11:43 +02:00
Matthias Hannig
18f6807a66
added some clarification
2017-03-13 11:30:53 +01:00
hellerve
dc4023d423
added gzip support
2017-02-24 11:42:46 +01:00
hellerve
160f662bb7
fix: more permissive protocol alphabet
2017-02-23 12:10:39 +01:00
hellerve
27d9ada6eb
added exported routes to peer
2017-02-15 12:20:55 +01:00
hellerve
87252032bf
version bump: get actual birdwatcher version in request
2017-01-26 12:12:02 +01:00
hellerve
41b90c7a3c
moved to query parameter for prefix in prefixed routes
2016-12-15 14:42:37 +01:00
hellerve
8bd8edc90d
go fmt
2016-12-13 11:05:44 +01:00
hellerve
88b01e3c83
Merge branch 'master' into rate-limit
...
* master: (35 commits)
added prefixes
allow rpm dir to exist
added filtered routes
added proto counts to validated methods
rebuild rpm
fix charset validator on utf-8
rebuild rpm
whitelist routes
added filtering for protocol params
rebuild rpm
another day, another regex fix.
rebuild rpm
ipv6 compat regex
fixed cast, removed debug output
fixed example path
use nested map
rebuild rpm
fixed fieldname and ipv6 regex
rebuild rpm
added filtered fields
...
2016-12-13 10:29:17 +01:00
hellerve
d9ad314d16
send too many requests on rate limit reached
2016-12-09 12:04:08 +01:00
hellerve
e6b7d14c23
added prefixes
2016-12-08 11:09:44 +01:00
hellerve
53e6da37e0
added filtered routes
2016-12-06 17:20:27 +01:00
hellerve
7cdad2d9ca
added proto counts to validated methods
2016-12-06 14:44:18 +01:00
hellerve
652193711d
fix charset validator on utf-8
2016-12-06 14:26:47 +01:00
Matthias Hannig
b6d715d6cc
whitelist routes
2016-12-06 13:17:43 +01:00
Matthias Hannig
afe0297a9d
added filtering for protocol params
2016-12-06 13:02:12 +01:00
Matthias Hannig
0a4befdcaa
added access control
2016-11-30 15:19:01 +01:00
hellerve
a1b5dabcd3
reminder: never forget to go fmt
2016-11-11 17:47:51 +01:00
hellerve
5bb95f264f
added caching to birdwatcher
2016-11-11 17:33:33 +01:00
Matthias Hannig
6a01897d04
moved import for working build
2016-11-11 15:33:08 +01:00
hellerve
2ccfaea405
simplified parser
2016-11-11 14:26:35 +01:00
hellerve
fc0ea09dc3
refactored endpoints
2016-11-11 14:14:38 +01:00