Skip to content

Commit

Permalink
add defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Aug 14, 2024
1 parent d7717a0 commit 4228e72
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,18 @@ export const defaultBootstrapAddresses = [
'/dns6/node4.oceanprotocol.com/tcp/9003/ws/p2p/16Uiu2HAmSTVTArioKm2wVcyeASHYEsnx2ZNq467Z4GMDU4ErEPom'
]

export const knownUnsafeURLs: string[] = []
export const knownUnsafeURLs: string[] = [
// AWS and GCP
'^.*(169.254.169.254).*',
// GCP
'^.*(metadata.google.internal).*',
'^.*(http://metadata).*',
// Azure
'^.*(http://169.254.169.254).*',
// Oracle Cloud
'^.*(http://192.0.0.192).*',
// Alibaba Cloud
'^.*(http://100.100.100.200).*',
// k8s ETCD
'^.*(127.0.0.1).*'
]

0 comments on commit 4228e72

Please sign in to comment.