ポート 513
login、who · TCP/UDP
| 範囲 | システム/ウェルノウンポート (0–1023) |
|---|---|
| プロトコル | TCP/UDP |
| サービス | login、who |
よくある質問
ポート 513 は何に使われますか?
ポート 513 は IANA に login、who 用として登録されています (TCP/UDP)。説明: remote login a la telnet; automatic authentication performed based on priviledged port numbers and distributed data bases which identify "authentication domains"; maintains data bases showing who's logged in to machines on a local net and the load average of the machine。
ポート 513 はウェルノウンポートですか?
はい。ポート 513 は 0–1023 の範囲 (システム/ウェルノウンポート) にあります。Linux と macOS では、特権プロセスだけがこれらのポートを開けます。
ポート 513 が開いているか確認するには?
ローカルでは Linux なら ss -tulpn | grep ':513\b'、Windows なら netstat -ano | findstr :513 を使います。リモートホストは PowerShell の Test-NetConnection <host> -Port 513、または Linux/macOS の nc -zv <host> 513 で確認できます。
ファイアウォールでポート 513 を開くには?
Ubuntu/Debian (ufw): sudo ufw allow 513/tcp。Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=513/tcp --permanent の後に firewall-cmd --reload。Windows (管理者として PowerShell): New-NetFirewallRule -DisplayName "Port 513" -Direction Inbound -Protocol TCP -LocalPort 513 -Action Allow。
IANA 登録簿のエントリ
| プロトコル | サービス | 説明 (IANA) |
|---|---|---|
| TCP | login | remote login a la telnet; automatic authentication performed based on priviledged port numbers and distributed data bases which identify "authentication domains" |
| UDP | who | maintains data bases showing who's logged in to machines on a local net and the load average of the machine |