mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-18 06:45:21 +01:00
Introduce a system for mapping IP addresses to ASNs
This commit is contained in:
committed by
Jon Chambers
parent
73765fc4ec
commit
c9760f4c38
@@ -348,6 +348,11 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private GrpcConfiguration grpc;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
private S3ObjectMonitorFactory asnTable;
|
||||
|
||||
public TlsKeyStoreConfiguration getTlsKeyStoreConfiguration() {
|
||||
return tlsKeyStore;
|
||||
}
|
||||
@@ -582,4 +587,8 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
public GrpcConfiguration getGrpc() {
|
||||
return grpc;
|
||||
}
|
||||
|
||||
public S3ObjectMonitorFactory getAsnTableConfiguration() {
|
||||
return asnTable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user