Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20210120] Linux - netstat, telnet stmp 메일 테스트, Health Check #16

Open
JuHyun419 opened this issue Jan 20, 2021 · 0 comments
Open
Labels

Comments

@JuHyun419
Copy link
Owner

netstat 명령어

  • 'a': 모든 네트워크 상태 출력
  • 't': TCP 프로토콜만 출력
  • 'n': 도메인 주소를 숫자로 출력(10진수)
  • 'l': 대기중인 네트워크(Listening)
  • 'p': PID와 사용중인 프로그램명 출력
  • 'o': 연결대기 시간 출력



telnet stmp 메일 발송

  • cmd > telnet <서버네임> 25
  • ehlo <서버네임>
  • mail from: test@domain.co.kr
  • rcpt to: your_mail@domain.co.kr
  • data
  • subject: test subject
  • test content
  • .
    마지막에 마침표를 찍어야 함
  • 서버네임<도메인 및 IP>



Health Check

  • 시스템이 정상적으로 기동중인지 확인한다는 개념
  • 보통 리눅스 서버의 smtp 서버는 25번 포트(postfix ?) 으로 띄어져 있어서, 초기에 25번 포트로 계속해서 통신을 보냄
  • 25번포트, postfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant