Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apm 12040 upgrade bgpalerter to 1.28.4 take 2 #7

Open
wants to merge 1,168 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1168 commits
Select commit Hold shift + click to select a range
2cba877
fixed beacon monitoring to make it less chatty
massimocandela May 30, 2021
79c2ccb
disable ris beacon monitoring in research environment
massimocandela May 30, 2021
6b03152
Bump @sentry/node from 6.4.1 to 6.5.0
dependabot-preview[bot] Jun 1, 2021
c07e813
Merge pull request #570 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jun 1, 2021
477ba2a
Bump @sentry/node from 6.5.0 to 6.5.1
dependabot-preview[bot] Jun 3, 2021
14bdde9
Merge pull request #571 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jun 3, 2021
33a52fe
improved documentation about connectorRISdump
massimocandela Jun 3, 2021
3d64e01
added entry about staging roas in readme
massimocandela Jun 3, 2021
a5a082e
updated sentry
massimocandela Jun 3, 2021
12fbca9
added entry about staging roas in readme
massimocandela Jun 3, 2021
2faadc3
improved documentation about connectorRISdump
massimocandela Jun 3, 2021
e01a570
rename checkOnlyAsns to checkOnlyASns for consistency
massimocandela Jun 4, 2021
fd525c8
added checkDisappearing parameter for monitorRPKI do avoid duplicated…
massimocandela Jun 5, 2021
344d08e
Merge branch 'release' into dev
massimocandela Jun 5, 2021
8854673
fixed tests
massimocandela Jun 5, 2021
d5561ab
Merge branch 'release' into dev
massimocandela Jun 5, 2021
24da645
fixed TA monitoring and added test
massimocandela Jun 7, 2021
7023890
fixed bug for disappearing ta in ta monitoring
massimocandela Jun 7, 2021
99ee7d4
fixed bug for disappearing ta in ta monitoring, iteration on ta sizes
massimocandela Jun 7, 2021
93fedd0
fixed case of all roas of one ta disappearing multiple times
massimocandela Jun 8, 2021
6cc587f
fixed undefined channel propagated to reports
massimocandela Jun 8, 2021
c5d4609
separated parameters to enable different roa alerts
massimocandela Jun 8, 2021
208f6eb
Merge branch 'release' into dev
massimocandela Jun 8, 2021
ea1f9a3
fixed expiring roa TA alerts and added test coverage
massimocandela Jun 9, 2021
9fbe3a3
Merge branch 'release' into dev
massimocandela Jun 9, 2021
87e7114
updated dependencies
massimocandela Jun 9, 2021
2cfd3a0
Merge branch 'release' into dev
massimocandela Jun 9, 2021
cc4526b
updated dependencies
massimocandela Jun 10, 2021
cdd5191
Merge branch 'release' into dev
massimocandela Jun 10, 2021
decbffe
patch glob-parent dependency
massimocandela Jun 10, 2021
d48f6f4
Bump @sentry/node from 6.5.1 to 6.6.0
dependabot-preview[bot] Jun 11, 2021
0e12b46
renamed main branch references
massimocandela Jun 11, 2021
d7b983b
Merge pull request #580 from nttgin/main-branch
massimocandela Jun 11, 2021
8f85aa4
Merge branch 'release' into dev
massimocandela Jun 11, 2021
c696766
Merge pull request #579 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jun 11, 2021
faa4095
increased ws ping timeout
massimocandela Jun 14, 2021
ea25ce8
changed reconnection timeouts
massimocandela Jun 14, 2021
39c06a6
increased timeout for proxy tests
massimocandela Jun 14, 2021
126531c
split between initial connection timer and reconnection timers
massimocandela Jun 14, 2021
fd0f9d6
updated dependencies
massimocandela Jun 15, 2021
98c2be6
Merge release into dev
massimocandela Jun 15, 2021
850f6c7
fixed toString of undefined error in case of missing matchedMessage
massimocandela Jun 17, 2021
7975ac5
updated dependencies
massimocandela Jun 17, 2021
ec812b2
Merge branch 'release' into dev
massimocandela Jun 17, 2021
606755c
updated dependencies
massimocandela Jun 18, 2021
1307e9e
Merge branch 'release' into dev
massimocandela Jun 18, 2021
b73c546
prevent skipping collector peer information from top used AS_paths in…
massimocandela Jun 19, 2021
bd3ad6d
Merge branch 'release' into dev
massimocandela Jun 19, 2021
e87947a
forced destruction of websocket instance on input file reload
massimocandela Jun 21, 2021
4f89849
increased missed ping tolerance
massimocandela Jun 21, 2021
d8be7a0
Merge branch 'release' into dev
massimocandela Jun 21, 2021
fafdbbd
minor changes to example files
massimocandela Jun 22, 2021
7274e6f
Merge branch 'release' into dev
massimocandela Jun 22, 2021
859c7a5
Merge branch 'main' into release
massimocandela Jun 22, 2021
5f4d4a1
cleaned package.json
massimocandela Jun 22, 2021
ee5a8dd
Merge branch 'release' of github.com:nttgin/BGPalerter into release
massimocandela Jun 22, 2021
b621fbe
Merge pull request #592 from nttgin/release
massimocandela Jun 22, 2021
81d2e81
Merge branch 'release' into dev
massimocandela Jun 22, 2021
4e18b72
Merge branch 'main' into dev
massimocandela Jun 22, 2021
c242282
updated dependencies
massimocandela Jun 22, 2021
d015ec1
improved file validation for downstream/upstream lists
massimocandela Jun 23, 2021
2f3675b
Merge branch 'release' into dev
massimocandela Jun 23, 2021
af89e7a
bump version
massimocandela Jun 23, 2021
0267a71
fixed condition for being an AS_set
massimocandela Jun 23, 2021
3218d9a
Merge branch 'release' into dev
massimocandela Jun 23, 2021
6411a74
Bump pkg from 5.2.1 to 5.3.0
dependabot[bot] Jun 24, 2021
493de27
Merge pull request #595 from nttgin/dependabot/npm_and_yarn/dev/pkg-5…
massimocandela Jun 25, 2021
1cf4036
Bump @sentry/node from 6.7.2 to 6.8.0
dependabot[bot] Jun 29, 2021
9e0843d
Update friends.md
raymonvdm Jun 29, 2021
cdeae48
minor fix to the documentation
massimocandela Jun 29, 2021
728f8fe
Merge branch 'dev' of github.com:nttgin/BGPalerter into dev
massimocandela Jun 29, 2021
332a0fc
Merge pull request #598 from raymonvdm/patch-1
massimocandela Jun 29, 2021
f103897
Merge pull request #596 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jun 29, 2021
3722c80
minor edits to the documentation
massimocandela Jun 29, 2021
40fa6a3
removed dependabot badge (https://github.com/dependabot/dependabot-co…
massimocandela Jun 29, 2021
6439294
add rpkiclient in config.yml.example
massimocandela Jun 29, 2021
225a2bb
added better information about roas expires feature in documentation
massimocandela Jun 29, 2021
3880134
Merge branch 'release' into dev
massimocandela Jun 29, 2021
46cba47
added rest api capability listed in readme
massimocandela Jun 29, 2021
8625afd
Merge branch 'release' into dev
massimocandela Jun 29, 2021
fd4a3de
fixed link to pull api in readme
massimocandela Jun 29, 2021
8f99da8
Merge branch 'release' into dev
massimocandela Jun 29, 2021
bfd426b
updated dependencies
massimocandela Jun 30, 2021
dc00f8d
Bump ws from 7.5.1 to 7.5.2
dependabot[bot] Jul 5, 2021
09f08f0
Bump mocha from 9.0.1 to 9.0.2
dependabot[bot] Jul 5, 2021
f548095
Merge pull request #599 from nttgin/dependabot/npm_and_yarn/dev/ws-7.5.2
massimocandela Jul 5, 2021
1363f91
Merge pull request #600 from nttgin/dependabot/npm_and_yarn/dev/mocha…
massimocandela Jul 5, 2021
ff44aa6
Bump ws from 7.5.2 to 7.5.3
dependabot[bot] Jul 12, 2021
c6c1156
Merge pull request #601 from nttgin/dependabot/npm_and_yarn/dev/ws-7.5.3
massimocandela Jul 12, 2021
1bc206a
added Webair to friends
massimocandela Jul 12, 2021
2015886
Bump @sentry/node from 6.8.0 to 6.9.0
dependabot[bot] Jul 13, 2021
6debde5
Merge pull request #602 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jul 13, 2021
96c3b01
Bump nodemailer from 6.6.2 to 6.6.3
dependabot[bot] Jul 15, 2021
997b174
Bump inquirer from 8.1.1 to 8.1.2
dependabot[bot] Jul 15, 2021
731e5a8
Merge pull request #604 from nttgin/dependabot/npm_and_yarn/dev/nodem…
massimocandela Jul 15, 2021
e5a0c42
Merge pull request #605 from nttgin/dependabot/npm_and_yarn/dev/inqui…
massimocandela Jul 15, 2021
e819b60
added Genesis Cloud to friends
fadenb Jul 19, 2021
8b32101
update dependencies
massimocandela Jul 19, 2021
007c391
patched rpki-validator to remove client-id from url (#606)
massimocandela Jul 19, 2021
a731439
patched rpki-validator to remove client-id from url (#606)
massimocandela Jul 19, 2021
118f5c4
Merge pull request #607 from fadenb/patch-1
massimocandela Jul 19, 2021
2c0b1a9
Bump @babel/core from 7.14.6 to 7.14.8
dependabot[bot] Jul 21, 2021
319cecf
Bump @babel/preset-env from 7.14.7 to 7.14.8
dependabot[bot] Jul 21, 2021
fa7ef01
Bump @babel/cli from 7.14.5 to 7.14.8
dependabot[bot] Jul 21, 2021
933b06e
Merge pull request #608 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Jul 21, 2021
d420a8c
Merge pull request #609 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Jul 21, 2021
e1c2dc4
Merge pull request #610 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Jul 21, 2021
25adc60
Bump pkg from 5.3.0 to 5.3.1
dependabot[bot] Jul 22, 2021
9b03ec7
Merge pull request #611 from nttgin/dependabot/npm_and_yarn/dev/pkg-5…
massimocandela Jul 22, 2021
6812c26
Bump @sentry/node from 6.9.0 to 6.10.0
dependabot[bot] Jul 23, 2021
8db7dc3
Merge pull request #612 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Jul 23, 2021
64cdd37
Bump mocha from 9.0.2 to 9.0.3
dependabot[bot] Jul 26, 2021
adf00c7
Merge pull request #613 from nttgin/dependabot/npm_and_yarn/dev/mocha…
massimocandela Jul 26, 2021
bbb492f
updated dependencies
massimocandela Jul 27, 2021
9cbad34
removed reference to node 10 in documentation
massimocandela Jul 27, 2021
e75b1de
Bump ws from 7.5.3 to 8.0.0
dependabot[bot] Jul 29, 2021
6fbcc0b
Merge pull request #616 from nttgin/dependabot/npm_and_yarn/dev/ws-8.0.0
massimocandela Jul 29, 2021
80f266f
Bump @babel/node from 7.14.7 to 7.14.9
dependabot[bot] Aug 2, 2021
fc16fc5
Bump @babel/preset-env from 7.14.8 to 7.14.9
dependabot[bot] Aug 2, 2021
0d957bb
Merge pull request #617 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Aug 2, 2021
cf19445
Merge pull request #618 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Aug 2, 2021
f2b779e
added vrp validation
massimocandela Aug 2, 2021
cb060d1
added vrp validation
massimocandela Aug 2, 2021
8dca653
updated rpki-validator
massimocandela Aug 2, 2021
126e4d1
updated rpki-validator
massimocandela Aug 2, 2021
4cfa167
Bump @babel/preset-env from 7.14.9 to 7.15.0
dependabot[bot] Aug 5, 2021
3d2b892
Bump @babel/core from 7.14.8 to 7.15.0
dependabot[bot] Aug 5, 2021
54aec28
Bump yargs from 17.0.1 to 17.1.0
dependabot[bot] Aug 5, 2021
7a60038
bump release version
massimocandela Aug 6, 2021
31b5909
merge dev
massimocandela Aug 6, 2021
697fd9e
Merge pull request #619 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Aug 6, 2021
0df04a6
Merge pull request #620 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Aug 6, 2021
8b447d6
Merge pull request #621 from nttgin/dependabot/npm_and_yarn/dev/yargs…
massimocandela Aug 6, 2021
b1f3f45
fix slack report colors
L0wbyte Aug 7, 2021
c8e9187
Merge pull request #622 from L0wbyte/dev
massimocandela Aug 7, 2021
2b96dd8
Bump @sentry/node from 6.10.0 to 6.11.0
dependabot[bot] Aug 9, 2021
feb6515
Merge pull request #623 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Aug 9, 2021
d6c9330
Bump ws from 8.0.0 to 8.1.0
dependabot[bot] Aug 12, 2021
7ee3a76
Merge pull request #625 from nttgin/dependabot/npm_and_yarn/dev/ws-8.1.0
massimocandela Aug 12, 2021
4cfcf4f
updated dependencies
massimocandela Aug 12, 2021
3f0dda8
increased number of beacon prefixes monitored
massimocandela Aug 12, 2021
8ac157d
updated ip-dub and rpki-validator
massimocandela Aug 12, 2021
daaca11
improved error reporting in case of malformed input file
massimocandela Aug 12, 2021
e50c0d0
improved heartbeat error message
massimocandela Aug 12, 2021
31706ce
completely removed old ip-sub
massimocandela Aug 12, 2021
9ba6920
force disconnect on silent socket
massimocandela Aug 12, 2021
2d15a0d
Bump yargs from 17.1.0 to 17.1.1
dependabot[bot] Aug 16, 2021
08762a2
Bump ip-sub from 1.0.28 to 1.1.0
dependabot[bot] Aug 16, 2021
c9d19a5
Merge pull request #628 from nttgin/dependabot/npm_and_yarn/dev/yargs…
massimocandela Aug 16, 2021
c72f2ba
Merge pull request #629 from nttgin/dependabot/npm_and_yarn/dev/ip-su…
massimocandela Aug 16, 2021
4a56862
Bump ws from 8.1.0 to 8.2.0
dependabot[bot] Aug 19, 2021
93c51ac
Merge pull request #630 from nttgin/dependabot/npm_and_yarn/dev/ws-8.2.0
massimocandela Aug 19, 2021
65f26ec
Bump mocha from 9.0.3 to 9.1.0
dependabot[bot] Aug 23, 2021
3da98d9
Merge pull request #631 from nttgin/dependabot/npm_and_yarn/dev/mocha…
massimocandela Aug 23, 2021
6c1c947
improved control over websocket readyState (#632)
massimocandela Aug 28, 2021
b93d09d
Merge branch 'dev' of github.com:nttgin/BGPalerter into dev
massimocandela Aug 28, 2021
8fc7b70
updated dependencies
massimocandela Aug 28, 2021
a1ba9c8
Merge branch 'dev' into release
massimocandela Aug 30, 2021
c9bab77
Companies I know using BGPalerter (#633)
ghenry Aug 30, 2021
c67af4d
Bump @sentry/node from 6.11.0 to 6.12.0
dependabot[bot] Sep 1, 2021
b3cf2ce
Bump @babel/cli from 7.14.8 to 7.15.4
dependabot[bot] Sep 3, 2021
b3cd698
Bump @babel/preset-env from 7.15.0 to 7.15.4
dependabot[bot] Sep 3, 2021
be31295
Bump @babel/node from 7.14.9 to 7.15.4
dependabot[bot] Sep 3, 2021
3a1705a
Merge pull request #635 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Sep 3, 2021
f482ce5
Merge pull request #636 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Sep 3, 2021
3657e4e
Merge pull request #637 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Sep 3, 2021
3165f91
Bump @babel/core from 7.15.0 to 7.15.4
dependabot[bot] Sep 3, 2021
c782341
Merge pull request #638 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Sep 3, 2021
8d8db9d
Merge pull request #639 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Sep 3, 2021
aaf038d
updated dependencies
massimocandela Sep 6, 2021
895d93c
updated rpki-validator
massimocandela Sep 6, 2021
a64e21d
reportEmail not using the default user group in case of missing group…
massimocandela Sep 6, 2021
62da088
Bump axios from 0.21.3 to 0.21.4
dependabot[bot] Sep 7, 2021
d9296ab
Merge pull request #642 from nttgin/dependabot/npm_and_yarn/dev/axios…
massimocandela Sep 7, 2021
c6e67cb
bump version to v1.28.3
massimocandela Sep 9, 2021
ae79d18
Merge branch 'release' into dev
massimocandela Sep 10, 2021
95d29a1
updated dependencies
massimocandela Sep 10, 2021
0639dd5
Bump pkg from 5.3.1 to 5.3.2
dependabot[bot] Sep 13, 2021
6d677b4
Merge pull request #646 from nttgin/dependabot/npm_and_yarn/dev/pkg-5…
massimocandela Sep 13, 2021
4086f6a
Bump inquirer from 8.1.2 to 8.1.3
dependabot[bot] Sep 14, 2021
16aa278
Merge pull request #647 from nttgin/dependabot/npm_and_yarn/dev/inqui…
massimocandela Sep 14, 2021
0e60b30
fixed monitoring rules getting overwritten by monitoring borders (#648)
massimocandela Sep 15, 2021
5b058a6
Merge branch 'release' into dev
massimocandela Sep 15, 2021
c228115
bump to release v1.28.4
massimocandela Sep 15, 2021
00673a3
updated dependencies
massimocandela Sep 17, 2021
bc24ef2
set rpkiclient as default provider
massimocandela Sep 17, 2021
b8bbfb5
Merge branch 'dev' into release
massimocandela Sep 17, 2021
aff79fd
updated dependencies
massimocandela Sep 20, 2021
cd7d14b
Bump @sentry/node from 6.12.0 to 6.13.1
dependabot[bot] Sep 21, 2021
4ddd0a4
Merge pull request #654 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Sep 21, 2021
ab9a2c8
Bump @sentry/node from 6.13.1 to 6.13.2
dependabot[bot] Sep 22, 2021
e597aeb
Merge pull request #655 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Sep 22, 2021
dcae6c4
Bump yargs from 17.1.1 to 17.2.0
dependabot[bot] Sep 23, 2021
eb90935
Merge pull request #656 from nttgin/dependabot/npm_and_yarn/dev/yargs…
massimocandela Sep 23, 2021
78f3c7d
Bump nodemailer from 6.6.3 to 6.6.5
dependabot[bot] Sep 24, 2021
fbc24eb
Merge pull request #657 from nttgin/dependabot/npm_and_yarn/dev/nodem…
massimocandela Sep 24, 2021
ec3e622
Bump utf-8-validate from 5.0.5 to 5.0.6
dependabot[bot] Sep 27, 2021
3d69762
Bump bufferutil from 4.0.3 to 4.0.4
dependabot[bot] Sep 27, 2021
55837be
Bump mocha from 9.1.1 to 9.1.2
dependabot[bot] Sep 27, 2021
373bf02
Merge pull request #658 from nttgin/dependabot/npm_and_yarn/dev/utf-8…
massimocandela Sep 27, 2021
df97f25
Merge pull request #659 from nttgin/dependabot/npm_and_yarn/dev/buffe…
massimocandela Sep 27, 2021
e62ab80
Merge pull request #660 from nttgin/dependabot/npm_and_yarn/dev/mocha…
massimocandela Sep 27, 2021
c8776e9
Bump yargs from 17.2.0 to 17.2.1
dependabot[bot] Sep 27, 2021
c0a66ad
Merge pull request #661 from nttgin/dependabot/npm_and_yarn/dev/yargs…
massimocandela Sep 27, 2021
38546f9
Bump restify from 8.5.1 to 8.6.0
dependabot[bot] Sep 30, 2021
4e82cdc
Merge pull request #662 from nttgin/dependabot/npm_and_yarn/dev/resti…
massimocandela Sep 30, 2021
3162f92
Bump ws from 8.2.2 to 8.2.3
dependabot[bot] Oct 4, 2021
66837d5
Bump axios from 0.21.4 to 0.22.0
dependabot[bot] Oct 4, 2021
12dbe27
Bump pkg from 5.3.2 to 5.3.3
dependabot[bot] Oct 4, 2021
58dec6c
Merge pull request #665 from nttgin/dependabot/npm_and_yarn/dev/pkg-5…
massimocandela Oct 4, 2021
803a6f4
Merge pull request #663 from nttgin/dependabot/npm_and_yarn/dev/ws-8.2.3
massimocandela Oct 4, 2021
3d17114
Merge pull request #664 from nttgin/dependabot/npm_and_yarn/dev/axios…
massimocandela Oct 4, 2021
3b19c5a
Bump inquirer from 8.1.5 to 8.2.0
dependabot[bot] Oct 6, 2021
13d0e9f
Merge pull request #666 from nttgin/dependabot/npm_and_yarn/dev/inqui…
massimocandela Oct 6, 2021
fd44886
Bump @babel/node from 7.15.4 to 7.15.8
dependabot[bot] Oct 7, 2021
faeddbd
Bump @babel/core from 7.15.5 to 7.15.8
dependabot[bot] Oct 7, 2021
4c1091a
Bump @sentry/node from 6.13.2 to 6.13.3
dependabot[bot] Oct 7, 2021
a99eea6
Bump @babel/preset-env from 7.15.6 to 7.15.8
dependabot[bot] Oct 7, 2021
6db2936
Merge pull request #667 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Oct 7, 2021
46e9cc0
Merge pull request #668 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Oct 7, 2021
9fdd6e9
Merge pull request #669 from nttgin/dependabot/npm_and_yarn/dev/sentr…
massimocandela Oct 7, 2021
8689f50
Merge pull request #670 from nttgin/dependabot/npm_and_yarn/dev/babel…
massimocandela Oct 7, 2021
11453cc
Bump ip-sub from 1.1.1 to 1.1.2
dependabot[bot] Oct 8, 2021
df26a41
Merge pull request #671 from nttgin/dependabot/npm_and_yarn/dev/ip-su…
massimocandela Oct 8, 2021
7732ff7
Bump rpki-validator from 2.6.12 to 2.7.2
dependabot[bot] Oct 11, 2021
40a3f59
Merge pull request #672 from nttgin/dependabot/npm_and_yarn/dev/rpki-…
massimocandela Oct 11, 2021
bc6299f
Bump rpki-validator from 2.7.2 to 2.7.3
dependabot[bot] Oct 12, 2021
495698d
Bump nodemailer from 6.6.5 to 6.7.0
dependabot[bot] Oct 12, 2021
c13b083
Merge pull request #673 from nttgin/dependabot/npm_and_yarn/dev/rpki-…
massimocandela Oct 12, 2021
22289ab
Merge pull request #674 from nttgin/dependabot/npm_and_yarn/dev/nodem…
massimocandela Oct 12, 2021
b5d02f5
Bump axios from 0.22.0 to 0.23.0
dependabot[bot] Oct 13, 2021
a7436a7
Merge pull request #675 from nttgin/dependabot/npm_and_yarn/dev/axios…
massimocandela Oct 13, 2021
80e93b6
Bump bufferutil from 4.0.4 to 4.0.5
dependabot[bot] Oct 14, 2021
e66e4c7
Bump utf-8-validate from 5.0.6 to 5.0.7
dependabot[bot] Oct 14, 2021
fde532a
Merge pull request #676 from nttgin/dependabot/npm_and_yarn/dev/buffe…
massimocandela Oct 14, 2021
ad17789
Merge pull request #677 from nttgin/dependabot/npm_and_yarn/dev/utf-8…
massimocandela Oct 14, 2021
86f9c9c
Bump mocha from 9.1.2 to 9.1.3
dependabot[bot] Oct 18, 2021
c412b2f
Merge pull request #678 from nttgin/dependabot/npm_and_yarn/dev/mocha…
massimocandela Oct 18, 2021
4320f3e
updated dependencies
massimocandela Oct 22, 2021
1b461e2
updated dependencies
massimocandela Oct 23, 2021
006eb64
default to node 14 for builds
massimocandela Oct 23, 2021
5dd90db
introduced authentication header for websocket connection
massimocandela Oct 25, 2021
a2ecdf4
introduced connection and instance uuid for ris live
massimocandela Oct 25, 2021
e4f19d3
fixed traling slash on ws parameters
massimocandela Oct 25, 2021
0125b17
introduced timeout verification in case of missing open message from …
massimocandela Oct 25, 2021
811fe06
avoid setting multiple open connect timeouts
massimocandela Oct 25, 2021
5e957b5
Merge branch 'release' of https://github.com/nttgin/BGPalerter into A…
jeff-leong Dec 10, 2021
99cdbe4
APM-12040 fix build job
jeff-leong Nov 25, 2021
e5ca123
APM-12040 run apt-update to update packages
jeff-leong Nov 30, 2021
d3914ee
APM-12040 fix merge bugs
jeff-leong Dec 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"./view",
"./tests",
"./logs",
"./build",
"./bin.js"
"./dist",
"./build"
]
}
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
117 changes: 117 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: Main

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Javascript/Node
uses: actions/setup-node@v2
with:
node-version: '12'

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Cache multiple paths
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Build
run: |
npm install
npm run compile

- name: Upload Artifact
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: logs
path: ~/.npm/_logs/*
retention-days: 14

test:
name: Test
runs-on: ubuntu-latest
steps:

- name: Set up Javascript/Node
uses: actions/setup-node@v2
with:
node-version: '12'

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Cache multiple paths
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install
run: |
npm install

- name: Tests
run: |
npm run test-core
npm run test-generate
npm run test-reports
npm run test-neighbor
npm run test-dump

- name: Tests RPKI
run: |
rm -f -R .cache/
./node_modules/.bin/mocha --exit tests/rpki_tests/tests.default.js --require @babel/register
./node_modules/.bin/mocha --exit tests/rpki_tests/tests.external.js --require @babel/register
rm -f -R .cache/ && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.external-roas.js --require @babel/register

- name: Tests Proxy
run: |
npm install -g anyproxy
nohup anyproxy --port 8001 &
ANYPROXY_PID=$!
npm run test-proxy
kill $ANYPROXY_PID

- name: Tests NPM
run: |
npm run test-npm

- name: Tests Kafka
run: |
sudo apt-get -y install tar
sudo apt-get -y install wget
wget https://mirror.lyrahosting.com/apache/kafka/2.6.0/kafka_2.13-2.6.0.tgz
tar -xzf kafka_2.13-2.6.0.tgz
nohup ./kafka_2.13-2.6.0/bin/zookeeper-server-start.sh ./kafka_2.13-2.6.0/config/zookeeper.properties &
nohup ./kafka_2.13-2.6.0/bin/kafka-server-start.sh ./kafka_2.13-2.6.0/config/server.properties &
nohup ./kafka_2.13-2.6.0/bin/kafka-topics.sh --create --topic bgpalerter --bootstrap-server 0.0.0.0:9092 &
sleep 20 && npm run test-kafka

- name: Upload Artifact
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: logs
path: ~/.npm/_logs/*
retention-days: 14
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
config.yml
prefixes.yml
groups.yml
.idea/
node_modules/
bin/
dist/
build/
logs/
.DS_Store
bgpalerter.pid
alertdata/
.npmrc
.cache/
volumetests/
tests/rpki_tests/vrp.json
tests/rpki_tests/roas.json
tests/generate_tests/prefixes.yml
export.json
tests/kafka_tests/kafka_2.13-2.6.0/
tests/kafka_tests/kafka_2.13-2.6.0.tgz
tests/kafka_tests/nohup.out
27 changes: 27 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
config.yml
prefixes.yml
groups.yml
.idea/
node_modules/
bin/
build/
src/
logs/
.DS_Store
bgpalerter.pid
alertdata/
.npmrc
.cache/
volumetests/
tests/
Dockerfile
.travis.yml
docs/
prefixes.yml.example
config.yml.example
build.sh
index.js
.github/
.hound.yml
.eslintrc.json
.babelrc
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

50 changes: 26 additions & 24 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
BGPalerter was originally created at the beginning of 2019 at NTT Ltd.

Here is a list of authors and contributors who patched or extended the code.
If this list is not up to date, please contact NTT or one of the authors.

- AUTHORS -

Massimo Candela <[email protected]>
NTT
https://massimocandela.com/

- CONTRIBUTORS -
Damian Zaremba, Fastly
Mircea Ulinic, DigitalOcean
Alan Haynes, Harbin Clinic


A special THANK YOU goes to:

Job Snijders <[email protected]> for pushing for this project to happen.

The RIPE RIS project for the amazing real-time streaming service.


BGPalerter was originally created at the beginning of 2019 at NTT Ltd.

Here is a list of authors and contributors who patched or extended the code.
If this list is not up to date, please contact NTT or one of the authors.

- AUTHORS -

Massimo Candela <[email protected]>
NTT
https://massimocandela.com/

- CONTRIBUTORS -
Damian Zaremba, Fastly
Mircea Ulinic, DigitalOcean
Alan Haynes, Harbin Clinic
Florian Domain, Criteo
Louis Poinsignon, Cloudflare


A special THANK YOU goes to:

Job Snijders <[email protected]> for pushing for this project to happen.

The RIPE RIS project for the amazing real-time streaming service.


10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
FROM ubuntu
# -- trivial container for BGPalerter
FROM node:14-alpine as build

COPY setup_build_environment.sh /app/setup_build_environment.sh
RUN /app/setup_build_environment.sh
WORKDIR /app

# Makes the final image respect /etc/timezone configuration
RUN apk add --no-cache tzdata

RUN npm ci

ENTRYPOINT ["npm"]
CMD ["run", "serve"]
78 changes: 59 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
[![Build Status](https://travis-ci.org/nttgin/BGPalerter.svg?branch=master)](https://travis-ci.org/nttgin/BGPalerter)
![Dependabot Status](https://badgen.net/dependabot/nttgin/BGPalerter/?icon=dependabot)
[![Build Status](https://github.com/nttgin/BGPalerter/workflows/Main/badge.svg)](https://github.com/nttgin/BGPalerter/actions?query=workflow%3AMain)
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)

# BGPalerter
Real-time BGP monitoring tool, pre-configured for visibility loss and hijacks detection.
Self-configuring BGP monitoring tool, which allows you to monitor in **real-time** if:
* any of your prefixes loses visibility;
* any of your prefixes is hijacked;
* your AS is announcing RPKI invalid prefixes (e.g., not matching prefix length);
* your AS is announcing prefixes not covered by ROAs;
* any of your ROAs is expiring;
* ROAs covering your prefixes are no longer reachable;
* RPKI Trust Anchors malfunctions;
* a ROA involving any of your prefixes or ASes was deleted/added/edited;
* your AS is announcing a new prefix that was never announced before;
* an unexpected upstream (left-side) AS appears in an AS path;
* an unexpected downstream (right-side) AS appears in an AS path;
* one of the AS paths used to reach your prefix matches a specific condition defined by you.

You just run it. You don't need to provide any data source or connect it to anything in your network since it connects to public repos.
You just run it. You don't need to provide any data source or connect it to anything in your network since it connects to [public repos](docs/datasets.md).

It can deliver alerts on files, by email, on slack, and more.
It can deliver alerts on files, email, kafka, slack, and more.

![BGPalerter](https://massimocandela.com/img/bgpalerter_github_image.png)
![BGPalerter](http://massimocandela.com/img/bgpalerter_github_image.png)

> BGPalerter connects to public BGP data repos (not managed by NTT), and the entire monitoring is done directly in the application (there are no NTT servers involved).

## TL;DR (1 minute setup)
> This section is useful if you don't care about the source code but you just want to run the monitor.
Instead, if you want to run the source code (which is completely open) or develop, please read directly the documentation.

1. Download the binary [here](https://github.com/nttgin/BGPalerter/releases) (be sure to select the one for your OS)

2. Execute the binary (e.g. `chmod 700 bgpalerter-linux-x64 && ./bgpalerter-linux-x64`)
2. Execute the binary (e.g., `chmod +x bgpalerter-linux-x64 && ./bgpalerter-linux-x64`)
The first time you run it, the auto-configuration will start.


If something happens (e.g. a hijack) you will see the alerts in `logs/reports-YYYY-MM-DD.log`.
In `config.yml` you can find other reporting mechanisms (e.g. email and slack) in addition to logging on files.
If something happens (e.g., a hijack) you will see the alerts in `logs/reports.log`.
In `config.yml` you can find other reporting mechanisms (e.g., email, Slack, Kafka) in addition to logging on files.
Please uncomment the related section and configure according to your needs.

If the installation doesn't go smoothly, read [here](docs/installation.md).
Expand All @@ -34,22 +47,49 @@ Read the documentation below for more options.
- [Run from binary](docs/installation.md#running-bgpalerter-from-binaries)
- [Run from source code](docs/installation.md#running-bgpalerter-from-the-source-code)
- [Run in Docker](docs/installation.md#running-bgpalerter-in-docker)
- [Run as a Linux service](docs/linux-service.md)
- [Command line options](docs/installation.md#bgpalerter-parameters)
- [Monitored prefixes list](docs/prefixes.md#prefixes)
- [Generate prefix list](docs/prefixes.md#generate)
- [Prefix attributes description](docs/prefixes.md#prefixes-fields)
- [Configuration](docs/configuration.md)
- [Composition](docs/configuration.md#composition)
- [Connectors](docs/configuration.md#connectors)
- [Monitors](docs/configuration.md#monitors)
- [Reports](docs/configuration.md#reports)
- [reportFile](docs/configuration.md#reportfile)
- [reportEmail](docs/configuration.md#reportemail)
- [reportSlack](docs/configuration.md#reportslack)
- [reportKafka](docs/configuration.md#reportkafka)
- [reportSyslog](docs/configuration.md#reportsyslog)
- [reportAlerta](docs/configuration.md#reportalerta)
- [reportWebex](docs/configuration.md#reportwebex)
- [Monitor for](docs/configuration.md#monitors)
- [Hijacks](docs/configuration.md#monitorhijack)
- [Path neighbors (downstream/upstream peers)](docs/path-neighbors.md)
- [Visibility loss](docs/configuration.md#monitorvisibility)
- [RPKI invalid announcements](docs/configuration.md#monitorrpki)
- [RPKI ROAs diffs, ROAs expirations, and TA malfunctions](docs/configuration.md#monitorroas)
- [Announcements of more specifics](docs/configuration.md#monitornewprefix)
- [Announcements of new prefixes](docs/configuration.md#monitoras)
- [Path matching](docs/configuration.md#monitorpath)
- [Send alerts to](docs/reports.md#reports)
- [File](docs/reports.md#reportfile)
- [E-mail](docs/reports.md#reportemail)
- [Slack](docs/reports.md#reportslack)
- [Kafka](docs/reports.md#reportkafka)
- [Syslog](docs/reports.md#reportsyslog)
- [Alerta dashboard](docs/reports.md#reportalerta)
- [Webex](docs/reports.md#reportwebex)
- [HTTP URL (push)](docs/reports.md#reporthttp)
- [Telegram](docs/reports.md#reporttelegram)
- [Mattermost](docs/reports.md#mattermost)
- [Pushover](docs/report-http.md#pushover)
- [Microsoft Teams](docs/report-http.md#ms-teams)
- [REST API (pull)](docs/reports.md#reportpullapi)
- [Test report configuration](docs/installation.md#bgpalerter-parameters)
- [Process/Uptime monitoring](docs/process-monitors.md)
- [Notification user groups](docs/usergroups.md)
- [RPKI configuration](docs/rpki.md)
- [Staging/testing ROAs](docs/rpki.md#stagingtesting-roas)
- [HTTP/HTTPS proxy](docs/http-proxy.md)
- [Update to latest version](docs/update.md)
- [More information for developers](docs/develop.md)
- [All npm commands](docs/develop.md#all-npm-commands)
- [Reports/alerts templates](docs/context.md)
- [Release process and Git flow](docs/release-process.md)
- [BGPalerter for researchers](docs/research.md)



If you are using BGPalerter, feel free to sign here: [Who is using BGPalerter](docs/friends.md)
Loading