http://docs.info.apple.com/article.html?artnum=106439


7 TCP/UDP echo 792 -
20 TCP File Transport Protocol (FTP) 959 -
21 TCP FTP control 959 -
22 TCP Secure Shell (SSH) - -
23 TCP Telnet 854 -
25 TCP Simple Mail Transport Protocol (SMTP) 821 Mail (for sending email)
53 TCP/UDP Domain Name System (DNS) 1034 MacDNS
67 UDP Bootstrap Protocol Server (BootP, bootps) - NetBoot via DHCP
68 UDP Bootstrap Protocol Client (bootpc) 951 NetBoot via DHCP
69 UDP Trivial File Transfer Protocol (TFTP) 1350 -
79 TCP Finger 1288 -
80 TCP Hypertext Transfer Protocol (HTTP) 2068 World Wide Web, .Mac, Sherlock, QuickTime Installer, iTunes Store and Radio, Software Update, RAID Admin, Backup, iCal calendar publishing, Virex eUpdate, iPhoto HomePage publishing
88 TCP Kerberos 1510 -
106 TCP Password Server
(Unregistered Use)
- Mac OS X Server Password Server
110 TCP Post Office Protocol (POP3)
Authentication Post Office Protocol (APOP)
1081 Mail (for receiving email)
111 TCP/UDP Remote Procedure Call (RPC) 1057, 1831 Portmap (sunrpc)
113 TCP Authentication Service 931 -
115 TCP Secure File Transfer Program (SFTP) - Note: Some authorities reference a "Simple File Transport Protocol" or "Secured File Transport Protocol" on this port.
119 TCP Network News Transfer Protocol (NNTP) 977 Used by applications that read newsgroups.
123 TCP/UDP Network Time Protocol (NTP) 1119 Date & Time preferences. Used for network time server synchronization.
137 UDP Windows Internet Naming Service (WINS) - -
138 UDP NETBIOS Datagram Service - Windows Datagram Service, Windows Network Neighborhood
139 TCP Server Message Block (SMB) 100 Used by Microsoft Windows file and print services, such as Windows Sharing in Mac OS X.
143 TCP Internet Message Access Protocol (IMAP) 2060 Mail (for receiving email)
161 UDP Simple Network Management Protocol (SNMP) 1157 -
192 UDP - - AirPort Base Station PPP status or discovery (certain configurations), AirPort Admin Utility, AirPort Express Assistant
311 TCP Server Admin - Remote server administration
389 TCP Lightweight Directory Access Protocol (LDAP) 1777 Used by applications that look up addresses, such as Mail and Address Book.
427 TCP/UDP Service Location Protocol (SLP) 2608 Network Browser
443 TCP Secure Sockets Layer (SSL, or "HTTPS") - Secured websites, iTunes Store, iPhoto HomePage publishing, iSync
445 TCP Microsoft SMB Domain Server - -
497 TCP/UDP Dantz Retrospect - -
500 UDP ISAKMP/IKE - Mac OS X Server VPN service
514 TCP shell - -
514 UDP Syslog - -
515 TCP Line Printer (LPR), Line Printer Daemon (LPD) 1179 Used for printing to a network printer, Printer Sharing in Mac OS X.
532 TCP netnews - -
548 TCP Apple Filing Protcol (AFP) over TCP - AppleShare, Personal File Sharing, Apple File Service
554 TCP/UDP Real Time Streaming Protocol (RTSP) 2326 QuickTime Streaming Server (QTSS), streaming media players
600-1023 TCP/UDP Mac OS X RPC-based services - Used by NetInfo, for example.
623 UDP Lights-Out-Monitoring - Used by Intel Xserves' Lights-Out-Monitoring (LOM) feature; used by Server Monitor
625 TCP Directory Service Proxy (DSProxy)
(Unregistered Use)
- DirectoryService, Open Directory Assistant, Workgroup Manager
Note: This port is registered to DEC DLM.
626 TCP Mac OS X Server Serial Number Support - -
626 TCP AppleShare Imap Admin (ASIA) - IMAP Administration (Mac OS X Server 10.2.8 or earlier, AppleShare IP 6)
626 UDP serialnumberd
(Unregistered Use)
- Server serial number registration (Mac OS X Server 10.3 and later)
631 TCP Internet Printing Protocol (IPP) 2910 Mac OS X Printer Sharing
636 TCP Secure LDAP - -
660 TCP MacOS Server Admin - Server Admin (both AppleShare IP and Mac OS X Server), Server Settings
687 TCP Add server Admin to uses - -
749 TCP/UDP Kerberos 5 admin/changepw - -
985 TCP NetInfo Static Port - -
993 TCP Mail IMAP SSL - -
995 TCP/UDP Mail POP SSL - -
1085 TCP/UDP WebObjects - -
1099 & 8043 TCP Remote RMI and IIOP Acess to JBOSS - -
1220 TCP QT Server Admin - Used for administration of QuickTime Streaming Server.
1649 TCP IP Failover - -
1701 UDP L2TP - Mac OS X Server VPN service
1723 TCP PPTP - Mac OS X Server VPN service
2049 TCP/UDP Network File System (NFS) 1094 -
2236 TCP Macintosh Manager
(Unregistered Use)
- Macintosh Manager
3004 TCP iSync - -
3031 TCP/UDP Remote AppleEvents - Program Linking, Remote Apple Events
3283 TCP/UDP Net Assistant - Apple Remote Desktop 2.0 or later (Reporting feature)
3306 TCP MySQL - -
3632 TCP Distributed compiler - -
3659 TCP/UDP Simple Authentication and Security Layer (SASL) - Mac OS X Server Password Server
3689 TCP Digital Audio Access Protocol (DAAP) - iTunes Music Sharing
4111 TCP XGrid - -
4500 UDP IKE NAT Traversal - Mac OS X Server VPN service
5003 TCP FileMaker - name binding and transport - -
5009 TCP (Unregistered Use) - AirPort Admin Utility, AirPort Express Assistant
5060 UDP Session Initiation Protocol (SIP) 2543 iChat AV
5100 TCP - - Mac OS X camera and scanner sharing
5190 TCP/UDP America Online (AOL) - iChat and AOL Instant Messenger, file transfer
5222 TCP Jabber
(Unregistered Use)
- iChat and Jabber messages (see Note 10)
5223 TCP iChat server SSL - -
5269 TCP iChat server-to-server communication - -
5297 TCP - - iChat (local traffic), Bonjour (formerly "Rendezvous")
5298 TCP/UDP - - iChat (local traffic), Bonjour (formerly "Rendezvous")
5353 UDP Multicast DNS (MDNS) - Bonjour (formerly "Rendezvous") (mDNSResponder)
5432 TCP ARD 2.0 Database - -
5678 UDP SNATMAP server - The SNATMAP service on port 5678 is used to determine the external Internet address of hosts so that connections between iChat users can properly function behind network address translation (NAT). The SNATMAP service simply communicates to clients the Internet address that connected to it. This service runs on an Apple server, but does not send personal information to Apple. When certain iChat AV features are used, this service will be contacted. Blocking this service may cause issues with iChat AV connections with hosts on networks that use NAT.
5897-5898 UDP (Unregistered Use) - xrdiags
5900 TCP Virtual Network Computing (VNC)
(Unregistered Use)
- Apple Remote Desktop 2.0 or later (Observe/Control feature)
5988 TCP WBEM HTTP - Apple Remote Desktop 2.x (see http://www.dmtf.org/about/faq/wbem)
6970-9999 UDP - - QuickTime Streaming Server
7070 TCP RTSP (Unregistered Use)
Automatic Router Configuration Protocol (ARCP - Registered Use)
- QuickTime Streaming Server (RTSP)
7070 UDP RTSP alternate - QuickTime Streaming Server
7777 TCP iChat server file transfer proxy - -
8005 TCP Tomcat remote shutdown - -
8080 TCP Alternate port for Apache - -
8000-8999 TCP - - Web service, iTunes Radio streams
9006 & 8080 & 8443 - HTTP and HTTPS ports for Tomcat Standalone and JBOSS (J2EE) - -
16080 TCP - - Web service with performance cache
16384-16403 UDP Real-Time Transport Protocol (RTP), Real-Time Control Protocol (RTCP) - iChat AV (Audio RTP, RTCP; Video RTP, RTCP)
24000-24999 TCP - - Web service with performance cache
42000-42999 TCP - - iTunes Radio streams
50003 - FileMaker server service - -
50006 - FileMaker helper service - -

Posted by 눈빛마음

2007/12/13 23:02 2007/12/13 23:02
Response
No Trackback , 2 Comments
RSS :
http://iz.apgu.co.kr/tc/rss/response/354

 

문제된 시리얼 케이블의 결선도.

 

1 => 7,8

2 => 3

3 => 2

4 => 6, 9

5 => 5

6 => 4

7 => 1

8 => 1

9 => 4

 

 

정상적인 시리얼 케이블의 결선도

 

1 => 4

2 => 3

3 => 2

4 => 1, 6

5 => 5

6 => 4

7 => 8

8 => 7

9 => X

 


아시는 분은 답좀 주세용~

Posted by 눈빛마음

2007/12/08 00:39 2007/12/08 00:39
Response
No Trackback , 4 Comments
RSS :
http://iz.apgu.co.kr/tc/rss/response/352

Inotify file System

파일의 변경을 감시해주는 시스템 이라는데 자세한것은..

http://www.ibm.com/developerworks/kr/library/l-inotify.html

참고하세요.

Inotify는 차기 리눅스 커널에 포함될 파일 시스템 모니터링 메커니즘으로서, 구 커널에서 지원되던 파일 모니터링 메커니즘이였던 dnotify의 강력한 대체재이다. Inotify는 강력하고 세련된 비동기식 메커니즘으로서 보안과 퍼포먼스 등 다양한 파일 모니터링의 필요를 이상적으로 채운다. Inotify를 설치하는 방법과 파일 시스템 이벤트에 응답하는 사용자 공간의 애플리케이션 샘플을 구현하는 방법을 설명한다.

Posted by 눈빛마음

2007/10/15 19:51 2007/10/15 19:51
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/344

Linux In Kernel Tip

System V IPC [y]
- 프로세스 사이에 동기화 및 정보 교환을 위한 라이브러리 함수와 시스템 호출을 모아 둔 것

BSD Process Accounting [y]
- BSD 계열 프로세스 어카운팅을 가능하도록 설정하는 옵션
- 선택 시 프로세스가 존재하는 시간에 사용자가 커널 프로세스 정보를 알 수 있다.

Sysctl support [y]
- 시스템을 재부팅하지 않고 시행중인 커널 매개 변수를 동적으로 변경
- /proc 파일 시스템이 설치되어 있다면 /proc/sys 디렉토리에 sysctl 엔트리가 생성
- 옵션 선택시 8KB 정도의 메모리 차지

Use multi-mode by default [y]
- 아래와 같은 메시지가 나올시 선택해 줄 것
- had: set_multmode: status=0x51 { DriveReady SeekComplete Error }
- had: set_multmode: error=0x04 { DriveStatusError }

Networking options
Packet Socket [y]
-tcpdump 와 같이 커널에서 실행되는데 중간 네트워크 프로토콜이 없이 직접 네트워크 디바이스와 직접 통신하는 프로그램에 의해서 사용되는 패킷 프로토콜로 이 옵션 선택

Kerne/User netlink socket [y]
- 커널의 어떤 부분 또는 모듈과 사용자 프로세스들 사이의 쌍방향 통신이 가능하도록 해주는 것
- 라우팅 메시지와 함께 커널은 네트워크와 관련된 정보를 제공해주고. IP: Firewall packet netlink device 와 함께 외부로부터의 공격에 대해서 정보를 제공해주는 옵션

Unix domain sockets [y]
- 코셋들은 네트워크 접속이 이뤄지게 하고 접근될 수 있도록 하는 유닉스 메커니즘으로 엑스 윈도우 시스템이나 syslog 와 같은 프로그램들은 이 소켓을 이용할 때 사용하는 옵션

Character devices
Virtural terminal [y]
- 가상 콘솔 사용시 필요한 옵션
- 가상 콘솔은 ALT+F1~F0 키를 눌러 이동

Support for console on virtual terminal [y]
- 시스템 콘솔은 모든 커널 메시지와 경고 메시지를 전달받고, 싱글 유저 모드로 로그인을 할 수 있도록 해 주는 디바이스로 이를 선택하기 위한 옵션
- "console=tty4" 명령을 통한 사용

Support for console on serial port [y]
- 시리얼 포트를 시스템 콘솔로 사용할 수 있도록 할때 설정

Unix 98 PTY support [y]
- 가상 터미널 접속 디바이스의 /dev/pts 파일 시스템을 사용하고자 할 때 사용하는 옵션

Kernel automounter support [n]
- 원격 호스트의 파일 시스템들을 자동으로 마운트해 주는 기능으로 NFS 서버를 마운트 하고자 할 때 선택하는 옵션

/proc filesystem support
- 커널과 프로세스 정보들을 가지는 /proc 파일 시스템 지원을 위한 옵션



cat ./Documentation/networking/netconsole.txt

started by Ingo Molnar <mingo@redhat.com>, 2001.09.17
2.6 port and netpoll api by Matt Mackall <mpm@selenic.com>, Sep 9 2003

Please send bug reports to Matt Mackall <mpm@selenic.com>

This module logs kernel printk messages over UDP allowing debugging of
problem where disk logging fails and serial consoles are impractical.

It can be used either built-in or as a module. As a built-in,
netconsole initializes immediately after NIC cards and will bring up
the specified interface as soon as possible. While this doesn't allow
capture of early kernel panics, it does capture most of the boot
process.

It takes a string configuration parameter "netconsole" in the
following format:

 netconsole=[src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr]

   where
        src-port      source for UDP packets (defaults to 6665)
        src-ip        source IP to use (interface address)
        dev           network interface (eth0)
        tgt-port      port for logging agent (6666)
        tgt-ip        IP address for logging agent
        tgt-macaddr   ethernet MAC address for logging agent (broadcast)

Examples:

 linux netconsole=4444@10.0.0.1/eth1,9353@10.0.0.2/12:34:56:78:9a:bc

  or

 insmod netconsole netconsole=@/,@10.0.0.2/

Built-in netconsole starts immediately after the TCP stack is
initialized and attempts to bring up the supplied dev at the supplied
address.

The remote host can run either 'netcat -u -l -p <port>' or syslogd.

WARNING: the default target ethernet setting uses the broadcast
ethernet address to send packets, which can cause increased load on
other systems on the same ethernet segment.

NOTE: the network device (eth1 in the above case) can run any kind
of other network traffic, netconsole is not intrusive. Netconsole
might cause slight delays in other traffic if the volume of kernel
messages is high, but should have no other impact.

Netconsole was designed to be as instantaneous as possible, to
enable the logging of even the most critical kernel bugs. It works
from IRQ contexts as well, and does not enable interrupts while
sending packets. Due to these unique needs, configuration cannot
be more automatic, and some fundamental limitations will remain:
only IP networks, UDP packets and ethernet devices are supported.

Posted by 눈빛마음

2007/10/15 17:49 2007/10/15 17:49
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/343

iPod connecter serial cable

사용자 삽입 이미지

이건 iPhone 의 경우고....  iPod에서 시리얼 통신을 하려면 500K를 사용합니다.

Posted by 눈빛마음

2007/07/07 12:55 2007/07/07 12:55
, , ,
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/318

ubuntu 2.6.20 에서는 iptables 에서 nat 기능이 매우 이상한 동작과 함께.
어느 모듈인지 모르게 커널이 수정되어 있으므로 매우 주의를 요합니다.

NAT 기능을 쓰셔야 하는 분들은 2.6.15 를 쓰시는 것이 좋겠습니다.

Posted by 눈빛마음

2007/04/06 16:06 2007/04/06 16:06
,
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/287

시리얼 포트 설정하기

아래 내용 정리

1. 커널의 옵션 추가
- console=ttyS0,115200 console=tty1

2. inittab 수정

S0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100

3. grub 추가

serial --unit=0 --speed=115200
terminal --timeout=2 serial console


kernel /vmlinuz-2.4.20-18.8 ro root=LABEL=/ console=tty1 console=ttyS0,9600

In /etc/inittab, below the 6 mingetty lines, add the following agetty line:

S0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100

Enabling Grub Serial Console Support

To control grub via the serial console then make the following changes:

In the global section of /boot/grub/grub.conf enter the following:

serial --unit=0 --speed=9600
terminal --timeout=2 serial console

Optionally enable sysrq supportIf serial console is being configured for use with sysrq, then enable sysrq support by performing one of the following tasks:

1. To enable sysrq support each time the system boots then make the following change in /etc/sysctl.conf (change shown in bold):

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1

2. To enable sysrq support now (without a reboot) then run the following command. Note that this change is not persistant across a reboot:

echo 1 >/proc/sys/kernel/sysrq

Posted by 눈빛마음

2007/04/06 12:14 2007/04/06 12:14
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/286

유분투 패키지 소스의 설정.

유분투의 패키지 소스의 설정은 다음과 같은 곳에서 한다.

/etc/apt/source.list

이곳에서 cdrom 이 enable 되어 있으면 인터넷에서 다운 안받고 cdrom 에서 받으니 주의

Posted by 눈빛마음

2007/03/21 14:13 2007/03/21 14:13
,
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/279

ifconfig -a 를 기억하자

리눅스에서 ifconfig -a 를 기억하자!!!

실제로 인터페이스가 드라이버가 올라간 상태에서..
실제의 eth 번호가 보인다.

대부분 무조건 eth0 부터 시작하는 것이 아니라.

eth8 부터도 설정이 꼬이면 시작할 수 있다 ...


이걸로 무려 4시간 삽질했다는거 +_+

힌트.. /etc/iftab 정보를 참조해라..

Posted by 눈빛마음

2007/03/21 01:23 2007/03/21 01:23
, ,
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/278

전화기 키패드 주파수

Posted by 눈빛마음

2006/11/22 19:23 2006/11/22 19:23
Response
No Trackback , No Comment
RSS :
http://iz.apgu.co.kr/tc/rss/response/255


블로그 이미지

눈빛마음의 사색공간

- 눈빛마음

Archives

Calendar

«   2010/09   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Site Stats

Total hits:
296140
Today:
51
Yesterday:
83