Bu gün eski dostlardan birtanesi olan nc komutunu hatırlatıyorum.
nc ile bir çok şeyler yaplıdığını araştırılınca görürsünüz.
En güzel tarafıda bir servise erişebilirlik kontrolü.
Oldukça basit, sadece -z paremetresi ip ve portu vermemiz yeterli oluyor.
# nc -z 172.16.0.49 7777
Connection to 172.16.0.49 7777 port [tcp/cbt] succeeded!
nc — arbitrary TCP and UDP connections and listens
DESCRIPTION
The nc (or netcat) utility is used for just about anything under the sun
involving TCP, UDP, or UNIX-domain sockets. It can open TCP connections,
send UDP packets, listen on arbitrary TCP and UDP ports, do port scan‐
ning, and deal with both IPv4 and IPv6. Unlike telnet(1), nc scripts
nicely, and separates error messages onto standard error instead of send‐
ing them to standard output, as telnet(1) does with some.
-z Specifies that nc should just scan for listening daemons, without
sending any data to them. It is an error to use this option in
conjunction with the -l option.
Kaydol:
Kayıt Yorumları (Atom)
Redis, Valkey vs. Dragonfly
Redis, Valkey ve Dragonfly Karşılaştırma Raporu Redis, Valkey ve Dragonfly: Kapsamlı Karşılaştırma Raporu ...
-
Systemd ile Linux Sistem Kaynak Yönetimi: RHEL 7/8/9/10 Kapsamlı Rehberi Giriş Modern Linux dağıtımlarının neredeyse tamamı systemd servis...
-
🔒 SSH Servisini OOM Killer'dan Koruma Rehberi 📑 İçerik 1. Giriş 2. OOM Killer Nedir? 3. SSH ve OOM Killer İlişkisi 4. Çözü...
-
Bu gün ttnetin hediyesi olan tilgin yönlendiriciyle biraz oynayayım dedim Matkap, ve rg316-rp-sma kablo alıp cihazın kapağını tekrar açtım. ...
Hiç yorum yok:
Yorum Gönder