레이블이 Network Agent인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Network Agent인 게시물을 표시합니다. 모든 게시물 표시

2006년 4월 3일 월요일

NS-2 관련 링크

  • The Network Simulator NS-2
    공식 홈페이지. 다양한 레퍼런스 문서와 정보를 얻을 수 있음
    • NS-2 설치

      • 먼저, NS-2 홈페이지에서 패키지를 다운로드 받아 리눅스의 홈 계정으로 업로드한다.
        • NS-2를 위해서는 운영체제가 지원하는 기본적인 프로그램이나 라이브러리 이외에도 여러가지 구성요소가 필요하다.
        • 개별적으로 하나씩 다운로드 받는 것도 가능하지만, 모든 것이 포함되어 있는 ns-allinone 패키지를 다운로드 받도록 하자.
        • 본 설명에서는 현재 시점에서 최신 버전인 ns-allinone-2.28.tar.gz를 다운로드 받아 설치한다. 이것은 2005년 2월 3일에 릴리즈 된 것이며, 파일 크기는 약 59MB이다.
        • FTP를 이용하여 바이너리 모드로 리눅스의 홈 디렉터리에 업로드한다. 여기서 홈 디렉터리는 /home/jwchoi로 설명한다.
        • 설치를 위해서는 약 320MB의 하드디스크 공간이 필요하다.
      • 압축을 해제하고 NS-2를 설치한다.
          $ gunzip ns-allinone-2.28.tar.gz
          $ tar xvfp ns-allinone-2.28.tar
          $ cd ns-allinone-2.28
          $ ./install
      • NS-2를 위한 환경을 설정한다.
        • 본 설명에서 사용하는 쉘은 리눅스의 기본 쉘인 bash로 한다.
        • 설치가 완료되면 실행에 필요한 여러가지 환경변수를 지정하라는 메시지가 나온다.
        • 이러한 환경변수들은 모두 홈 디렉터리 안의 .bash_profile 파일을 vi 에디터로 편집하는 것이다.
            $ cd
            $ vi .bash_profile
        • 먼저, PATH에 세 가지의 경로를 추가하라고 나오는데, 본인은 사용의 편의를 위하여 여기에 마지막 하나를 더 추가하였다.
            export PATH=$PATH:/home/jwchoi/ns-allinone-2.28/bin:/home/jwchoi/ns-allinone-2.28/tcl8.4.5/unix:/home/jwchoi/ns-allinone-2.28/tk8.4.5/unix:/home/jwchoi/ns-allinone-2.28/ns-2.28/bin
        • 다음으로, LD_LIBRARY_PATH에 두 가지를 지정하라고 나온다.
            export LD_LIBRARY_PATH=/home/jwchoi/ns-allinone-2.28/otcl-1.9:/home/jwchoi/ns-allinone-2.28/lib
        • 마지막으로, TCL_LIBRARY에 아래처럼 한 가지를 지정하라고 나온다.
            export TCL_LIBRARY=/home/jwchoi/ns-allinone-2.28/tcl8.4.5/library
        • 설치 완료 메시지에는 나오지 않는 것이지만, 본인은 NS-2 디렉터리로의 이동을 편하게 하기 위하여 아래처럼 한 가지 변수를 더 추가 지정하였다.
            export NS=/home/jwchoi/ns-allinone-2.28/ns-2.28
        • 위 내용을 저장하고 vi 에디터를 종료한 후에는 환경변수들이 적용되도록 하기 위하여 아래 명령을 내리자.
            $ source .bash_profile
      • 설치가 정상적으로 되고 실행에 문제가 없는지 검사해 본다.
        • 설치가 완료된 후 나오는 나오는 마지막 메시지이다.
        • 만약을 위하여 해 보는 것을 권장하며, 시간이 꽤 오래 걸린다.
            $ cd $NS
            $ ./validate

      2006년 4월 2일 일요일

      Well know port list

      Port Protocol Network Service System Service System Service Logical Name
      7 TCP Echo Simple TCP/IP Services SimpTcp
      7 UDP Echo Simple TCP/IP Services SimpTcp
      9 TCP Discard Simple TCP/IP Services SimpTcp
      9 UDP Discard Simple TCP/IP Services SimpTcp
      13 TCP Daytime Simple TCP/IP Services SimpTcp
      13 UDP Daytime Simple TCP/IP Services SimpTcp
      17 TCP Quotd Simple TCP/IP Services SimpTcp
      17 UDP Quotd Simple TCP/IP Services SimpTcp
      19 TCP Chargen Simple TCP/IP Services SimpTcp
      19 UDP Chargen Simple TCP/IP Services SimpTcp
      20 TCP FTP default data FTP Publishing Service MSFtpsvc
      21 TCP FTP control FTP Publishing Service MSFtpsvc
      21 TCP FTP control Application Layer Gateway Service ALG
      23 TCP Telnet Telnet TlntSvr
      25 TCP SMTP Simple Mail Transport Protocol SMTPSVC
      25 UDP SMTP Simple Mail Transport Protocol SMTPSVC
      25 TCP SMTP Exchange Server  
      25 UDP SMTP Exchange Server  
      42 TCP WINS Replication Windows Internet Name Service WINS
      42 UDP WINS Replication Windows Internet Name Service WINS
      53 TCP DNS DNS Server DNS
      53 UDP DNS DNS Server DNS
      53 TCP DNS Internet Connection Firewall/Internet Connection Sharing SharedAccess
      53 UDP DNS Internet Connection Firewall/Internet Connection Sharing SharedAccess
      67 UDP DHCP Server DHCP Server DHCPServer
      67 UDP DHCP Server Internet Connection Firewall/Internet Connection Sharing SharedAccess
      69 UDP TFTP Trivial FTP Daemon Service tftpd
      80 TCP HTTP Windows Media Services WMServer
      80 TCP HTTP World Wide Web Publishing Service W3SVC
      80 TCP HTTP SharePoint Portal Server  
      88 TCP Kerberos Kerberos Key Distribution Center Kdc
      88 UDP Kerberos Kerberos Key Distribution Center Kdc
      102 TCP X.400 Microsoft Exchange MTA Stacks  
      110 TCP POP3 Microsoft POP3 Service POP3SVC
      110 TCP POP3 Exchange Server  
      119 TCP NNTP Network News Transfer Protocol NntpSvc
      123 UDP NTP Windows Time W32Time
      123 UDP SNTP Windows Time W32Time
      135 TCP RPC Message Queuing msmq
      135 TCP RPC Remote Procedure Call RpcSs
      135 TCP RPC Exchange Server  
      137 TCP NetBIOS Name Resolution Computer Browser Browser
      137 UDP NetBIOS Name Resolution Computer Browser Browser
      137 TCP NetBIOS Name Resolution Server lanmanserver
      137 UDP NetBIOS Name Resolution Server lanmanserver
      137 TCP NetBIOS Name Resolution Windows Internet Name Service WINS
      137 UDP NetBIOS Name Resolution Windows Internet Name Service WINS
      137 TCP NetBIOS Name Resolution Net Logon Netlogon
      137 UDP NetBIOS Name Resolution Net Logon Netlogon
      137 TCP NetBIOS Name Resolution Systems Management Server 2.0  
      137 UDP NetBIOS Name Resolution Systems Management Server 2.0  
      138 UDP NetBIOS Datagram Service Computer Browser Browser
      138 UDP NetBIOS Datagram Service Messenger Messenger
      138 UDP NetBIOS Datagram Service Server lanmanserver
      138 UDP NetBIOS Datagram Service Net Logon Netlogon
      138 UDP NetBIOS Datagram Service Distributed File System Dfs
      138 UDP NetBIOS Datagram Service Systems Management Server 2.0  
      138 UDP NetBIOS Datagram Service License Logging Service LicenseService
      139 TCP NetBIOS Session Service Computer Browser Browser
      139 TCP NetBIOS Session Service Fax Service Fax
      139 TCP NetBIOS Session Service Performance Logs and Alerts SysmonLog
      139 TCP NetBIOS Session Service Print Spooler Spooler
      139 TCP NetBIOS Session Service Server lanmanserver
      139 TCP NetBIOS Session Service Net Logon Netlogon
      139 TCP NetBIOS Session Service Remote Procedure Call Locator RpcLocator
      139 TCP NetBIOS Session Service Distributed File System Dfs
      139 TCP NetBIOS Session Service Systems Management Server 2.0  
      139 TCP NetBIOS Session Service License Logging Service LicenseService
      143 TCP IMAP Exchange Server  
      161 UDP SNMP SNMP Service SNMP
      162 UDP SNMP Traps Outbound SNMP Trap Service SNMPTRAP
      270 TCP MOM 2004 Microsoft Operations Manager 2004 MOM
      389 TCP LDAP Server Local Security Authority LSASS
      389 UDP LDAP Server Local Security Authority LSASS
      389 TCP LDAP Server Distributed File System Dfs
      389 UDP LDAP Server Distributed File System Dfs
      443 TCP HTTPS HTTP SSL HTTPFilter
      443 TCP HTTPS World Wide Web Publishing Service W3SVC
      443 TCP HTTPS SharePoint Portal Server  
      445 TCP SMB Fax Service Fax
      445 UDP SMB Fax Service Fax
      445 TCP SMB License Logging Service LicenseService
      445 UDP SMB License Logging Service LicenseService
      445 TCP SMB Print Spooler Spooler
      445 UDP SMB Print Spooler Spooler
      445 TCP SMB Server lanmanserver
      445 UDP SMB Server lanmanserver
      445 TCP SMB Remote Procedure Call Locator RpcLocator
      445 UDP SMB Remote Procedure Call Locator RpcLocator
      445 TCP SMB Distributed File System Dfs
      445 UDP SMB Distributed File System Dfs
      445 TCP SMB Net Logon Dfs
      445 UDP SMB Net Logon Dfs
      500 UDP IPSec ISAKMP Routing and Remote Access RemoteAccess
      514 TCP MACS Audit Server AdtServer
      515 TCP LPD TCP/IP Print Server LPDSVC
      548 TCP File Server for Macintosh File Server for Macintosh MacFile
      554 TCP RTSP Windows Media Services WMServer
      563 TCP NNTP over SSL Network News Transfer Protocol NntpSvc
      593 TCP RPC over HTTP Remote Procedure Call RpcSs
      593 TCP RPC over HTTP Exchange Server  
      636 TCP LDAP SSL Local Security Authority LSASS
      636 UDP LDAP SSL Local Security Authority LSASS
      993 TCP IMAP over SSL Exchange Server  
      995 TCP POP3 over SSL Exchange Server  
      1270 TCP MOM-Encrypted Microsoft Operations Manager 2000 one point
      1433 TCP SQL over TCP Microsoft SQL Server SQLSERVR
      1433 TCP SQL over TCP MSSQL$UDDI SQLSERVR
      1434 UDP SQL Probe Microsoft SQL Server SQLSERVR
      1434 UDP SQL Probe MSSQL$UDDI SQLSERVR
      1645 UDP Legacy RADIUS Internet Authentication Service IAS
      1646 UDP Legacy RADIUS Internet Authentication Service IAS
      1701 UDP L2TP Routing and Remote Access RemoteAccess
      1723 TCP PPTP Routing and Remote Access RemoteAccess
      1755 TCP MMS Windows Media Services WMServer
      1755 UDP MMS Windows Media Services WMServer
      1801 TCP MSMQ Message Queuing msmq
      1801 UDP MSMQ Message Queuing msmq
      1812 UDP RADIUS Authentication Internet Authentication Service IAS
      1813 UDP RADIUS Accounting Internet Authentication Service IAS
      1900 UDP SSDP SSDP Discovery Service SSDPRSRV
      2101 TCP MSMQ-DCs Message Queuing msmq
      2103 TCP MSMQ-RPC Message Queuing msmq
      2105 TCP MSMQ-RPC Message Queuing msmq
      2107 TCP MSMQ-Mgmt Message Queuing msmq
      2393 TCP OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support  
      2394 TCP OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support  
      2460 UDP MS Theater Windows Media Services WMServer
      2535 UDP MADCAP DHCP Server DHCPServer
      2701 TCP SMS Remote Control (control) SMS Remote Control Agent  
      2701 UDP SMS Remote Control (control) SMS Remote Control Agent  
      2702 TCP SMS Remote Control (data) SMS Remote Control Agent  
      2702 UDP SMS Remote Control (data) SMS Remote Control Agent  
      2703 TCP SMS Remote Chat SMS Remote Control Agent  
      2703 UDP SMS Remote Chat SMS Remote Control Agent  
      2704 TCP SMS Remote File Transfer SMS Remote Control Agent  
      2704 UDP SMS Remote File Transfer SMS Remote Control Agent  
      2725 TCP SQL Analysis Services SQL Analysis Server  
      2869 TCP UPNP Universal Plug and Play Device Host UPNPHost
      2869 TCP SSDP event notification SSDP Discovery Service SSDPRSRV
      3268 TCP Global Catalog Server Local Security Authority LSASS
      3269 TCP Global Catalog Server Local Security Authority LSASS
      3343 UDP Cluster Services Cluster Service ClusSvc
      3389 TCP Terminal Services NetMeeting Remote Desktop Sharing mnmsrvc
      3389 TCP Terminal Services Terminal Services TermService
      3527 UDP MSMQ-Ping Message Queuing msmq
      4011 UDP BINL Remote Installation BINLSVC
      4500 UDP NAT-T Routing and Remote Access RemoteAccess
      5000 TCP SSDP legacy event notification SSDP Discovery Service SSDPRSRV
      5004 UDP RTP Windows Media Services WMServer
      5005 UDP RTCP Windows Media Services WMServer
      42424 TCP ASP.Net Session State ASP.NET State Service aspnet_state
      51515 TCP MOM-Clear Microsoft Operations Manager 2000 one point