From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 30 Dec 2004 12:19:12 +0400 From: =?koi8-r?B?68/exdTLz9cg98zBxMnNydI=?= X-Mailer: The Bat! (v3.0) Professional Organization: =?koi8-r?B?9M/08w==?= X-Priority: 3 (Normal) Message-ID: <1307166303.20041230121912@toltc.samen.elektra.ru> To: =?koi8-r?B?68/exdTLz9cg98zBxMnNydI=?= Subject: =?koi8-r?B?UmVbN106IFtDb21tXSBQb3N0Zml4ICsgU0FTTCArIE15U1FMIMvByyDQ0snX?= =?koi8-r?B?yc7UydTYIEN5cnVzLUlNQVA=?= In-Reply-To: <883617587.20041230111346@toltc.samen.elektra.ru> References: <688141855.20041223165854@toltc.samen.elektra.ru> <20041223221713.17d683cd.alexei@taf.ru> <903437174.20041224090158@toltc.samen.elektra.ru> <20041228192805.1171ff95.alexei@taf.ru> <10404305.20041229144808@toltc.samen.elektra.ru> <20041229192602.4bee431e.alexei@taf.ru> <883617587.20041230111346@toltc.samen.elektra.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 08:19:14 -0000 Archived-At: List-Archive: List-Post: Попробовал ctrace натравить на pop3 в момент подключения: [root@forpost auth]# ps -A |grep pop3 4999 ? 00:00:00 pop3d 5032 ? 00:00:00 pop3d 4934 ? 00:00:00 pop3d [root@forpost auth]# strace -o /var/log/strace.log -p 4999 Process 4999 attached - interrupt to quit Process 4999 detached [root@forpost log]# cat /var/log/strace.log accept(4, 0, NULL) = 8 fcntl64(7, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0) = 0 getpid() = 4999 write(3, "\2\0\0\0\207\23\0\0", 8) = 8 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<183>Dec 30 10:56:11 pop3[4999]:"..., 52, 0) = 52 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 dup2(8, 0) = 0 dup2(8, 1) = 1 dup2(8, 2) = 2 close(8) = 0 getpid() = 4999 write(3, "\3\0\0\0\207\23\0\0", 8) = 8 getpeername(0, {sa_family=AF_INET, sin_port=htons(1989), sin_addr=inet_addr("192.168.1.11")}, [16]) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 8 connect(8, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(8) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=1870, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000 read(8, "#\n# Please refer to nsswitch.con"..., 4096) = 1870 read(8, "", 4096) = 0 close(8) = 0 munmap(0x126000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=18176, ...}) = 0 mmap2(NULL, 18176, PROT_READ, MAP_PRIVATE, 8, 0) = 0x528000 close(8) = 0 open("/lib/libnss_files.so.2", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\33\0\000"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=34204, ...}) = 0 mmap2(NULL, 37532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x52d000 mmap2(0x535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x7) = 0x535000 close(8) = 0 munmap(0x528000, 18176) = 0 open("/dev/urandom", O_RDONLY) = 8 read(8, "\321\260\302\313\231@\362\317", 8) = 8 close(8) = 0 getpid() = 4999 open("/dev/urandom", O_RDONLY) = 8 read(8, "\367\366\213^\313\r\300\317", 8) = 8 close(8) = 0 open("/etc/resolv.conf", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=146, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000 read(8, "# search toltc.samaraenergo.ru\ns"..., 4096) = 146 read(8, "", 4096) = 0 close(8) = 0 munmap(0x126000, 4096) = 0 open("/etc/host.conf", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000 read(8, "order hosts,bind\nmulti on\n", 4096) = 26 read(8, "", 4096) = 0 close(8) = 0 munmap(0x126000, 4096) = 0 open("/etc/hosts", O_RDONLY) = 8 fcntl64(8, F_GETFD) = 0 fcntl64(8, F_SETFD, FD_CLOEXEC) = 0 fstat64(8, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000 read(8, "172.23.106.20\t\tforpost.toltc.sam"..., 4096) = 265 read(8, "", 4096) = 0 read(8, "", 4096) = 0 close(8) = 0 munmap(0x126000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=18176, ...}) = 0 mmap2(NULL, 18176, PROT_READ, MAP_PRIVATE, 8, 0) = 0x528000 close(8) = 0 open("/lib/libnss_nisplus.so.2", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\31"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=42360, ...}) = 0 mmap2(NULL, 45616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x537000 mmap2(0x541000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x9) = 0x541000 close(8) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240:\0"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=76928, ...}) = 0 mmap2(NULL, 84192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x543000 mmap2(0x554000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x11) = 0x554000 mmap2(0x556000, 6368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x556000 close(8) = 0 munmap(0x528000, 18176) = 0 uname({sys="Linux", node="forpost.toltc.samaraenergo.ru", ...}) = 0 open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=18176, ...}) = 0 mmap2(NULL, 18176, PROT_READ, MAP_PRIVATE, 8, 0) = 0x528000 close(8) = 0 open("/lib/libnss_nis.so.2", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\33"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=34228, ...}) = 0 mmap2(NULL, 37440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x558000 mmap2(0x560000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x7) = 0x560000 close(8) = 0 munmap(0x528000, 18176) = 0 uname({sys="Linux", node="forpost.toltc.samaraenergo.ru", ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=18176, ...}) = 0 mmap2(NULL, 18176, PROT_READ, MAP_PRIVATE, 8, 0) = 0x528000 close(8) = 0 open("/lib/libnss_dns.so.2", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\f\0"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=13664, ...}) = 0 mmap2(NULL, 16516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x562000 mmap2(0x565000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x2) = 0x565000 close(8) = 0 munmap(0x528000, 18176) = 0 open("/dev/urandom", O_RDONLY) = 8 read(8, "\224^\330(n\243\246\317", 8) = 8 close(8) = 0 getpid() = 4999 open("/dev/urandom", O_RDONLY) = 8 read(8, "\374\333I\345J\200(\316", 8) = 8 close(8) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8 connect(8, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, 28) = 0 send(8, "\4\273\1\0\0\1\0\0\0\0\0\0\00211\0011\003168\003192\7i"..., 43, 0) = 43 gettimeofday({1104389771, 206444}, NULL) = 0 poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 ioctl(8, FIONREAD, [87]) = 0 recvfrom(8, "\4\273\205\200\0\1\0\1\0\0\0\0\00211\0011\003168\00319"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, [16]) = 87 close(8) = 0 getsockname(0, {sa_family=AF_INET, sin_port=htons(110), sin_addr=inet_addr("192.168.1.29")}, [16]) = 0 getpid() = 4999 open("/var/lib/imap/proc/4999", O_RDWR|O_CREAT|O_TRUNC, 0666) = 8 fstat64(8, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000 _llseek(8, 0, [0], SEEK_SET) = 0 write(8, "asu-stn1.toltc.samaraenergo.ru ["..., 46) = 46 _llseek(8, 0, [46], SEEK_CUR) = 0 ftruncate(8, 46) = 0 open("/dev/random", O_RDONLY) = 9 read(9, "\371\276Xgc1", 6) = 6 close(9) = 0 gettimeofday({1104389771, 210988}, NULL) = 0 times({tms_utime=1, tms_stime=1, tms_cutime=0, tms_cstime=0}) = 165272 time([1104389771]) = 1104389771 open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) write(1, "+OK toltc.samen.elektra.ru Cyrus"..., 106) = 106 time(NULL) = 1104389771 select(1, [0], NULL, NULL, {600, 0}) = 1 (in [0], left {600, 0}) time(NULL) = 1104389771 read(0, "USER test\r\n", 4096) = 11 open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) write(1, "+OK Name is a valid mailbox\r\n", 29) = 29 time(NULL) = 1104389771 select(1, [0], NULL, NULL, {600, 0}) = 1 (in [0], left {600, 0}) time(NULL) = 1104389771 read(0, "PASS test\r\n", 4096) = 11 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<39>Dec 30 10:56:11 pop3[4999]: "..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<39>Dec 30 10:56:11 pop3[4999]: "..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<39>Dec 30 10:56:11 pop3[4999]: "..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<39>Dec 30 10:56:11 pop3[4999]: "..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 time([1104389771]) = 1104389771 getpid() = 4999 rt_sigaction(SIGPIPE, {0x3fef10, [], SA_RESTORER, 0x377958}, {SIG_IGN}, 8) = 0 send(5, "<181>Dec 30 10:56:11 pop3[4999]:"..., 147, 0) = 147 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({3, 0}, {3, 0}) = 0 open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) write(1, "-ERR [AUTH] Invalid login\r\n", 27) = 27 time(NULL) = 1104389774 select(1, [0], NULL, NULL, {600, 0}) = 1 (in [0], left {600, 0}) time(NULL) = 1104389774 read(0, "", 4096) = 0 close(8) = 0 munmap(0x126000, 4096) = 0 unlink("/var/lib/imap/proc/4999") = 0 munmap(0x524000, 16384) = 0 close(6) = 0 munmap(0x51c000, 32768) = 0 munmap(0x504000, 98304) = 0 munmap(0x40000000, 18563072) = 0 munmap(0x462000, 663552) = 0 munmap(0x124000, 8192) = 0 exit_group(0) = ? [root@forpost log]# Сам ничего не увидел. Поможите !!! -- С уважением, Кочетков mailto:kvn@toltc.samen.elektra.ru