feels like done
This commit is contained in:
parent
0eaddf064e
commit
7b419ab8b7
71
Cargo.lock
generated
71
Cargo.lock
generated
@ -26,6 +26,21 @@ dependencies = [
|
|||||||
"memchr",
|
"memchr",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "android-tzdata"
|
||||||
|
version = "0.1.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "android_system_properties"
|
||||||
|
version = "0.1.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
||||||
|
dependencies = [
|
||||||
|
"libc",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anstream"
|
name = "anstream"
|
||||||
version = "0.6.14"
|
version = "0.6.14"
|
||||||
@ -156,6 +171,20 @@ version = "1.0.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "chrono"
|
||||||
|
version = "0.4.38"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
|
||||||
|
dependencies = [
|
||||||
|
"android-tzdata",
|
||||||
|
"iana-time-zone",
|
||||||
|
"js-sys",
|
||||||
|
"num-traits",
|
||||||
|
"wasm-bindgen",
|
||||||
|
"windows-targets 0.52.6",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "colorchoice"
|
name = "colorchoice"
|
||||||
version = "1.0.1"
|
version = "1.0.1"
|
||||||
@ -204,6 +233,7 @@ name = "dynip-cloudflare"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
"chrono",
|
||||||
"dirs",
|
"dirs",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
"futures",
|
"futures",
|
||||||
@ -559,6 +589,29 @@ dependencies = [
|
|||||||
"tracing",
|
"tracing",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "iana-time-zone"
|
||||||
|
version = "0.1.60"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
||||||
|
dependencies = [
|
||||||
|
"android_system_properties",
|
||||||
|
"core-foundation-sys",
|
||||||
|
"iana-time-zone-haiku",
|
||||||
|
"js-sys",
|
||||||
|
"wasm-bindgen",
|
||||||
|
"windows-core",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "iana-time-zone-haiku"
|
||||||
|
version = "0.1.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idna"
|
name = "idna"
|
||||||
version = "0.5.0"
|
version = "0.5.0"
|
||||||
@ -769,6 +822,15 @@ dependencies = [
|
|||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "num-traits"
|
||||||
|
version = "0.2.19"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
||||||
|
dependencies = [
|
||||||
|
"autocfg",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "num_cpus"
|
name = "num_cpus"
|
||||||
version = "1.16.0"
|
version = "1.16.0"
|
||||||
@ -1637,6 +1699,15 @@ dependencies = [
|
|||||||
"wasm-bindgen",
|
"wasm-bindgen",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "windows-core"
|
||||||
|
version = "0.52.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
||||||
|
dependencies = [
|
||||||
|
"windows-targets 0.52.6",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "windows-sys"
|
name = "windows-sys"
|
||||||
version = "0.48.0"
|
version = "0.48.0"
|
||||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.86"
|
anyhow = "1.0.86"
|
||||||
|
chrono = "0.4.38"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11.3"
|
||||||
futures = "0.3.30"
|
futures = "0.3.30"
|
||||||
|
@ -5,14 +5,13 @@ use serde::{self, Deserialize, Serialize};
|
|||||||
use std::{
|
use std::{
|
||||||
collections::HashMap,
|
collections::HashMap,
|
||||||
net::{IpAddr, Ipv4Addr},
|
net::{IpAddr, Ipv4Addr},
|
||||||
sync::Arc,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::get_current_public_ipv4;
|
use crate::get_current_public_ipv4;
|
||||||
|
|
||||||
pub struct CloudflareClient {
|
pub struct CloudflareClient {
|
||||||
client: Client,
|
client: Client,
|
||||||
domains: Vec<Arc<str>>,
|
domains: Vec<Box<str>>,
|
||||||
current_ip: Ipv4Addr,
|
current_ip: Ipv4Addr,
|
||||||
api_key: Box<str>,
|
api_key: Box<str>,
|
||||||
zone_id: Box<str>,
|
zone_id: Box<str>,
|
||||||
@ -36,7 +35,7 @@ struct DnsRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl CloudflareClient {
|
impl CloudflareClient {
|
||||||
pub async fn new(api_key: Box<str>, zone_id: Box<str>, domains: Vec<Arc<str>>) -> Result<Self> {
|
pub async fn new(api_key: Box<str>, zone_id: Box<str>, domains: Vec<Box<str>>) -> Result<Self> {
|
||||||
let force_ipv4 = IpAddr::from([0, 0, 0, 0]);
|
let force_ipv4 = IpAddr::from([0, 0, 0, 0]);
|
||||||
let client = reqwest::ClientBuilder::new()
|
let client = reqwest::ClientBuilder::new()
|
||||||
.local_address(force_ipv4)
|
.local_address(force_ipv4)
|
||||||
@ -44,13 +43,15 @@ impl CloudflareClient {
|
|||||||
|
|
||||||
let current_ip = get_current_public_ipv4(&client).await?;
|
let current_ip = get_current_public_ipv4(&client).await?;
|
||||||
|
|
||||||
Ok(Self {
|
let this = Self {
|
||||||
client,
|
client,
|
||||||
domains,
|
domains,
|
||||||
current_ip,
|
current_ip,
|
||||||
api_key,
|
api_key,
|
||||||
zone_id,
|
zone_id,
|
||||||
})
|
};
|
||||||
|
this.update_dns_records(current_ip).await?;
|
||||||
|
Ok(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn check(&mut self) -> Result<()> {
|
pub async fn check(&mut self) -> Result<()> {
|
||||||
@ -58,6 +59,10 @@ impl CloudflareClient {
|
|||||||
if new_ip == self.current_ip {
|
if new_ip == self.current_ip {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
info!(
|
||||||
|
"Ip has changed from '{}' -> '{}'",
|
||||||
|
&self.current_ip, &new_ip
|
||||||
|
);
|
||||||
self.update_dns_records(new_ip).await?;
|
self.update_dns_records(new_ip).await?;
|
||||||
self.current_ip = new_ip;
|
self.current_ip = new_ip;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use anyhow;
|
use anyhow;
|
||||||
use dirs;
|
use dirs;
|
||||||
use log::warn;
|
use log::warn;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{self, Deserialize, Serialize};
|
||||||
use std::{env, path::PathBuf};
|
use std::{env, path::PathBuf};
|
||||||
use tokio::{fs, io::AsyncReadExt};
|
use tokio::{fs, io::AsyncReadExt};
|
||||||
|
|
||||||
@ -12,6 +12,7 @@ pub struct Config {
|
|||||||
pub zone_id: Box<str>,
|
pub zone_id: Box<str>,
|
||||||
pub api_key: Box<str>,
|
pub api_key: Box<str>,
|
||||||
pub domains: Vec<Box<str>>,
|
pub domains: Vec<Box<str>>,
|
||||||
|
pub max_errors_in_row: Option<usize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_config_path() -> Result<PathBuf, Vec<PathBuf>> {
|
pub async fn get_config_path() -> Result<PathBuf, Vec<PathBuf>> {
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
mod cloudflare;
|
mod cloudflare;
|
||||||
mod config;
|
mod config;
|
||||||
mod public_ip;
|
mod public_ip;
|
||||||
|
pub mod utils;
|
||||||
|
|
||||||
|
pub use cloudflare::CloudflareClient;
|
||||||
pub use config::{get_config_path, read_config, Config};
|
pub use config::{get_config_path, read_config, Config};
|
||||||
pub use public_ip::get_current_public_ipv4;
|
pub use public_ip::get_current_public_ipv4;
|
||||||
|
|
||||||
pub const PROGRAM_NAME: &'static str = "dynip-cloudflare";
|
pub const PROGRAM_NAME: &'static str = "dynip-cloudflare";
|
||||||
|
pub const MAX_ERORS_IN_ROW_DEFAULT: usize = 10;
|
||||||
|
66
src/main.rs
66
src/main.rs
@ -1,4 +1,3 @@
|
|||||||
use env_logger;
|
|
||||||
use futures::stream::StreamExt;
|
use futures::stream::StreamExt;
|
||||||
use log::{debug, error, info, log_enabled, Level};
|
use log::{debug, error, info, log_enabled, Level};
|
||||||
use netlink_packet_core::NetlinkPayload;
|
use netlink_packet_core::NetlinkPayload;
|
||||||
@ -6,7 +5,7 @@ use netlink_packet_route::RouteNetlinkMessage as RtnlMessage;
|
|||||||
use netlink_sys::{AsyncSocket, SocketAddr};
|
use netlink_sys::{AsyncSocket, SocketAddr};
|
||||||
use rtnetlink::new_connection;
|
use rtnetlink::new_connection;
|
||||||
|
|
||||||
use dynip_cloudflare::{get_config_path, read_config, Config};
|
use dynip_cloudflare::{utils, CloudflareClient, MAX_ERORS_IN_ROW_DEFAULT};
|
||||||
|
|
||||||
const RTNLGRP_LINK: u32 = 1;
|
const RTNLGRP_LINK: u32 = 1;
|
||||||
const RTNLGRP_IPV4_IFADDR: u32 = 5;
|
const RTNLGRP_IPV4_IFADDR: u32 = 5;
|
||||||
@ -24,32 +23,22 @@ const fn nl_mgrp(group: u32) -> u32 {
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
env_logger::init();
|
utils::init_logger();
|
||||||
let config_path = match get_config_path().await {
|
let config = if let Some(aux) = utils::get_config().await {
|
||||||
Ok(cp) => cp,
|
aux
|
||||||
Err(tried_paths) => {
|
} else {
|
||||||
let extra: String = if !tried_paths.is_empty() {
|
return;
|
||||||
let joined = tried_paths
|
|
||||||
.iter()
|
|
||||||
.filter_map(|path| path.to_str())
|
|
||||||
.collect::<Vec<_>>()
|
|
||||||
.join(", ");
|
|
||||||
format!(", tried the paths: '{}'", &joined)
|
|
||||||
} else {
|
|
||||||
String::with_capacity(0)
|
|
||||||
};
|
|
||||||
error!("Failed to find any config file{}", &extra);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
let config = match read_config(&config_path).await {
|
|
||||||
Ok(config) => config,
|
|
||||||
Err(e) => {
|
|
||||||
error!("Failed to read and parse config file {:?}", &e);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let mut cloudflare =
|
||||||
|
match CloudflareClient::new(config.api_key, config.zone_id, config.domains).await {
|
||||||
|
Ok(cloudflare) => cloudflare,
|
||||||
|
Err(e) => {
|
||||||
|
error!("Failed to initialize cloudflare client: {:?}", &e);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
let (mut conn, mut _handle, mut messages) = new_connection().unwrap();
|
let (mut conn, mut _handle, mut messages) = new_connection().unwrap();
|
||||||
let groups = nl_mgrp(RTNLGRP_LINK) | nl_mgrp(RTNLGRP_IPV4_IFADDR);
|
let groups = nl_mgrp(RTNLGRP_LINK) | nl_mgrp(RTNLGRP_IPV4_IFADDR);
|
||||||
|
|
||||||
@ -63,6 +52,9 @@ async fn main() {
|
|||||||
tokio::spawn(conn);
|
tokio::spawn(conn);
|
||||||
info!("Listening for IPv4 address changes and interface connect/disconnect events...");
|
info!("Listening for IPv4 address changes and interface connect/disconnect events...");
|
||||||
|
|
||||||
|
let mut errs_counter: usize = 0;
|
||||||
|
let errs_max = config.max_errors_in_row.unwrap_or(MAX_ERORS_IN_ROW_DEFAULT);
|
||||||
|
|
||||||
while let Some((message, _)) = messages.next().await {
|
while let Some((message, _)) = messages.next().await {
|
||||||
match message.payload {
|
match message.payload {
|
||||||
NetlinkPayload::InnerMessage(RtnlMessage::NewAddress(msg)) => {
|
NetlinkPayload::InnerMessage(RtnlMessage::NewAddress(msg)) => {
|
||||||
@ -70,6 +62,17 @@ async fn main() {
|
|||||||
debug!("New IPv4 address message: {:?}", msg);
|
debug!("New IPv4 address message: {:?}", msg);
|
||||||
} else {
|
} else {
|
||||||
info!("New IPv4 address");
|
info!("New IPv4 address");
|
||||||
|
|
||||||
|
if let Err(e) = cloudflare.check().await {
|
||||||
|
errs_counter += 1;
|
||||||
|
error!(
|
||||||
|
"Failed to check cloudflare ({}/{}): {:?}",
|
||||||
|
errs_counter, errs_max, &e
|
||||||
|
);
|
||||||
|
if errs_counter >= errs_max {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
NetlinkPayload::InnerMessage(RtnlMessage::DelAddress(msg)) => {
|
NetlinkPayload::InnerMessage(RtnlMessage::DelAddress(msg)) => {
|
||||||
@ -84,6 +87,17 @@ async fn main() {
|
|||||||
debug!("New link message (interface connected): {:?}", link);
|
debug!("New link message (interface connected): {:?}", link);
|
||||||
} else {
|
} else {
|
||||||
info!("New link (interface connected)");
|
info!("New link (interface connected)");
|
||||||
|
|
||||||
|
if let Err(e) = cloudflare.check().await {
|
||||||
|
errs_counter += 1;
|
||||||
|
error!(
|
||||||
|
"Failed to check cloudflare ({}/{}): {:?}",
|
||||||
|
errs_counter, errs_max, &e
|
||||||
|
);
|
||||||
|
if errs_counter >= errs_max {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
NetlinkPayload::InnerMessage(RtnlMessage::DelLink(link)) => {
|
NetlinkPayload::InnerMessage(RtnlMessage::DelLink(link)) => {
|
||||||
|
@ -1,44 +1,50 @@
|
|||||||
use anyhow::{anyhow, Context, Result};
|
use anyhow::{anyhow, Context, Result};
|
||||||
use log::error;
|
use log::error;
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
use std::{collections::HashMap, net::Ipv4Addr};
|
use std::{collections::HashMap, net::Ipv4Addr};
|
||||||
|
|
||||||
async fn ipify_org(client: &Client) -> Result<Ipv4Addr> {
|
async fn ipify_org(client: &Client) -> Result<Ipv4Addr> {
|
||||||
let response = client
|
let response = client
|
||||||
.get("https://api.ipify.org?format=json")
|
.get("https://api.ipify.org?format=json")
|
||||||
.send()
|
.send()
|
||||||
.await?
|
.await?
|
||||||
.error_for_status()?
|
.error_for_status()?
|
||||||
.json::<HashMap<String, String>>()
|
.json::<HashMap<String, String>>()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
Ok(response
|
Ok(response
|
||||||
.get("ip")
|
.get("ip")
|
||||||
.context("Field 'ip' wasn't found")?
|
.context("Field 'ip' wasn't found")?
|
||||||
.parse()?)
|
.parse()?)
|
||||||
}
|
}
|
||||||
async fn ifconfig_me(client: &Client) -> Result<Ipv4Addr> {
|
|
||||||
Ok(client
|
|
||||||
.get("https://ifconfig.me")
|
|
||||||
.header("user-agent", "curl/8.8.0")
|
|
||||||
.send()
|
|
||||||
.await?
|
|
||||||
.error_for_status()?
|
|
||||||
.text()
|
|
||||||
.await?
|
|
||||||
.parse()?)
|
|
||||||
}
|
|
||||||
pub async fn get_current_public_ipv4(client: &Client) -> Result<Ipv4Addr> {
|
|
||||||
let e_ipify = match ipify_org(client).await {
|
|
||||||
Ok(ipv4) => return Ok(ipv4),
|
|
||||||
Err(e) => {
|
|
||||||
error!("Failed to get ip from ipify.org: {:?}", &e);
|
|
||||||
e
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
ifconfig_me(client).await.map_err(|e_ifconfig| {
|
async fn ifconfig_me(client: &Client) -> Result<Ipv4Addr> {
|
||||||
error!("Failed to get ip from ifconfig.me: {:?}", &e_ifconfig);
|
Ok(client
|
||||||
anyhow!("Failed to get ip from ipify.org with error '{:?}', and ifconfig.me with error {:?}", &e_ipify, &e_ifconfig)
|
.get("https://ifconfig.me")
|
||||||
})
|
.header("user-agent", "curl/8.8.0")
|
||||||
}
|
.send()
|
||||||
|
.await?
|
||||||
|
.error_for_status()?
|
||||||
|
.text()
|
||||||
|
.await?
|
||||||
|
.parse()?)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub async fn get_current_public_ipv4(client: &Client) -> Result<Ipv4Addr> {
|
||||||
|
let e_ipify = match ipify_org(client).await {
|
||||||
|
Ok(ipv4) => return Ok(ipv4),
|
||||||
|
Err(e) => {
|
||||||
|
error!("Failed to get ip from ipify.org: {:?}", &e);
|
||||||
|
e
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
ifconfig_me(client).await.map_err(|e_ifconfig| {
|
||||||
|
error!("Failed to get ip from ifconfig.me: {:?}", &e_ifconfig);
|
||||||
|
anyhow!(
|
||||||
|
"Failed to get ip from ipify.org with error '{:?}', and ifconfig.me with error {:?}",
|
||||||
|
&e_ipify,
|
||||||
|
&e_ifconfig
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
46
src/utils.rs
Normal file
46
src/utils.rs
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
use env_logger::{Builder, Env};
|
||||||
|
use log::{error, LevelFilter};
|
||||||
|
use std::io::Write;
|
||||||
|
|
||||||
|
use crate::{get_config_path, read_config, Config};
|
||||||
|
|
||||||
|
pub fn init_logger() {
|
||||||
|
Builder::from_env(Env::default().default_filter_or("info"))
|
||||||
|
.format(|buf, record| {
|
||||||
|
writeln!(
|
||||||
|
buf,
|
||||||
|
"{} [{}] - {}",
|
||||||
|
chrono::Local::now().format("%Y:%m:%d %H:%M:%S"),
|
||||||
|
record.level(),
|
||||||
|
record.args()
|
||||||
|
)
|
||||||
|
})
|
||||||
|
.filter(None, LevelFilter::Info)
|
||||||
|
.init();
|
||||||
|
}
|
||||||
|
|
||||||
|
pub async fn get_config() -> Option<Config> {
|
||||||
|
let config_path = match get_config_path().await {
|
||||||
|
Ok(path) => path,
|
||||||
|
Err(tried_paths) => {
|
||||||
|
let extra: String = if !tried_paths.is_empty() {
|
||||||
|
let joined = tried_paths
|
||||||
|
.iter()
|
||||||
|
.filter_map(|path| path.to_str())
|
||||||
|
.collect::<Vec<_>>()
|
||||||
|
.join(", ");
|
||||||
|
format!(", tried the paths: {}", &joined)
|
||||||
|
} else {
|
||||||
|
String::with_capacity(0)
|
||||||
|
};
|
||||||
|
error!("Failed to find any config file{}", &extra);
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
let read_result = read_config(&config_path).await;
|
||||||
|
if let Err(e) = &read_result {
|
||||||
|
error!("Error occurred while getting config path: {:?}", e);
|
||||||
|
}
|
||||||
|
read_result.ok()
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user