레이블이 윈도우인 게시물을 표시합니다. 모든 게시물 표시
레이블이 윈도우인 게시물을 표시합니다. 모든 게시물 표시

2013년 6월 27일 목요일

TCP/IP Fundamentals for Microsoft Windows

윈도우 시스템에서 TCP/IP 를 잘 기술해 놓은 온라인 문서가 있기에 공유합니다.
아래 경로로 가시면 PDF 파일로 다운로드 받을 수 있고, 560 페이지나 됩니다.

http://www.microsoft.com/en-us/download/details.aspx?id=8781

윈도우 환경에서 네트워크 환경을 이해하는데 좋은 것 같고, 윈도우 뿐만 아니라
TCP/IP 의 기본적인 내용, 서브네팅, 라우팅등 많은 내용이 기술되어 있습니다.

총 16 Chapter 까지 있고 목차만 봐도 내용이 튼실합니다.

추천드립니다.



2012년 12월 12일 수요일

vi 에서 ^M 문자열 지우기와 유닉스 포맷으로 변경

윈도우에서 만들어진 데이터를 가져와 *NIX 시스템에서 사용하다 보면 윈도우 캐리지 리턴 값이 들어가 있는 경우가 있다. 해당 파일을 열어 보면,

blablabla^M
blabla^M

와 같이 끝에 ^M 에 붙어 있는 것이다. 쉽게 사용할 수 있는 방법은 vi 에디터에서

:%s/^M//g

로 다 제거해 버리면 된다. 여기서 주의할 점은 ^M 이 그냥 입력하면 안되고 Ctrl + v + m 으로 입력해 주어야 한다.

이외 텍스트파일을 검색해서 사용하려고 하는데, 이상하게도 해당 데이터가 들어있는데도 불구하고 검색이 되지 않는 것이었다. vi 로 열어보니 아래와 같이 나온다.

" test-dataset.txt" [dos] 999715L, 16340756C

[dos] 라고 표시가 되고 있다. 이럴때는

:set ff=unix

로 설정하고 w 로 저장해 주면 된다.

윈도우와 *NIX 시스템 사이에 데이터를 주고 받는 과정에서 쉽게 발생될 수 있는 일이므로 알아두자.

2011년 11월 16일 수요일

윈도우에서 사용하는 기본 포트 정보

패킷을 분석하는 과정에서 다양한 포트번호를 접한다.  그 중 윈도우 시스템과 연관된 것을 볼 때 참고할 만한 포트 정보이다. 윈도우 2000 기준에서 정리된 것이지만, 일반적인 윈도우 환경에서 이용되는 포트정보를 확인하는데는 충분하다.

필요할 때 찾아보려고 하면 왜 이리 잘 안 보이는지..
그리하여 이곳에 기록을 남겨둔다.


Service Name
UDP
TCP
Browsing datagram responses of NetBIOS over TCP/IP
138

Browsing requests of NetBIOS over TCP/IP
137

Client/Server Communication

135
Common Internet File System (CIFS)
445
139, 445
Content Replication Service

560
Cybercash Administration

8001
Cybercash Coin Gateway

8002
Cybercash Credit Gateway

8000
DCOM (SCM uses udp/tcp to dynamically assign ports for DCOM)
135
135
DHCP client

67
DHCP server

68
DHCP Manager

135
DNS Administration

139
DNS client to server lookup (varies)
53
53
Exchange Server 5.0


   Client Server Communication

   135
   Exchange Administrator

   135
   IMAP

   143
   IMAP (SSL)

   993
   LDAP

   389
   LDAP (SSL)

   636
   MTA - X.400 over TCP/IP

   102
   POP3

   110
   POP3 (SSL)

   995
   RPC

   135
   SMTP

   25
   NNTP

   119
   NNTP (SSL)

   563
File shares name lookup
137

File shares session

139
FTP

21
FTP-data

20
HTTP

80
HTTP-Secure Sockets Layer (SSL)

443
Internet Information Services (IIS)

80
IMAP

143
IMAP (SSL)

993
IKE (For more information, see Table C.4)
500

IPSec Authentication Header (AH) (For more information, see Table C.4)

IPSec Encapsulation Security Payload (ESP) (For more information, see Table C.4)


IRC

531
ISPMOD (SBS 2nd tier DNS registration wizard)

1234
Kerberos de-multiplexer

2053
Kerberos klogin
543
Kerberos kpasswd (v5)
464
464
Kerberos krb5
88
88
Kerberos kshell

544
L2TP
1701

LDAP

389
LDAP (SSL)

636
Login Sequence
137, 138
139
Macintosh, File Services (AFP/IP)

548
Membership DPA

568
Membership MSN

569
Microsoft Chat client to server

6667
Microsoft Chat server to server

6665
Microsoft Message Queue Server
1801
1801
Microsoft Message Queue Server
3527
135, 2101
Microsoft Message Queue Server

2103, 2105
MTA - X.400 over TCP/IP

102
NetBT datagrams
138

NetBT name lookups
137

NetBT service sessions

139
NetLogon
138

NetMeeting Audio Call Control

1731
NetMeeting H.323 call setup

1720
NetMeeting H.323 streaming RTP over UDP
Dynamic

NetMeeting Internet Locator Server ILS

389
NetMeeting RTP audio stream
Dynamic

NetMeeting T.120

1503
NetMeeting User Location Service

522
NetMeeting user location service ULS

522
Network Load Balancing
2504

NNTP

119
NNTP (SSL)

563
Outlook (see for ports)


Pass Through Verification
137, 138
139
POP3

110
POP3 (SSL)

995
PPTP control

1723
PPTP data (see Table C.4)


Printer sharing name lookup
137

Printer sharing session

139
Radius accounting (Routing and Remote Access)
1646 or 1813

Radius authentication (Routing and Remote Access)
1645 or 1812

Remote Install TFTP

69
RPC client fixed port session queries

1500
RPC client using a fixed port session replication

2500
RPC session ports

Dynamic
RPC user manager, service manager, port mapper

135
SCM used by DCOM
135
135
SMTP

25
SNMP
161

SNMP Trap
162

SQL Named Pipes encryption over other protocols name lookup
137

SQL RPC encryption over other protocols name lookup
137

SQL session

139
SQL session

1433
SQL session

1024 - 5000
SQL session mapper

135
SQL TCP client name lookup
53
53
Telnet

23
Terminal Server

3389
UNIX Printing

515
WINS Manager

135
WINS NetBios over TCP/IP name service
137

WINS Proxy
137

WINS Registration

137
WINS Replication

42
X400

102
[출처] 윈도우 테크넷 라이브러리

[참고]
1. Port Assignments for Commonly-Used Services
http://technet.microsoft.com/en-us/library/cc959833.aspx