|
|

楼主 |
发表于 2007-6-15 10:33:32
|
显示全部楼层
下面是system-call.txt的内容:
execve("/usr/local/bin/drcomc", ["drcomc"], [/* 87 vars */]) = 0
brk(0) = 0x603000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc20000
uname({sys="Linux", node="nit-ljh", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=191792, ...}) = 0
mmap(NULL, 191792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b4e7dc21000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\333"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1595305, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc50000
mmap(NULL, 3412216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b4e7de22000
fadvise64(3, 0, 3412216, POSIX_FADV_WILLNEED) = 0
mprotect(0x2b4e7df5b000, 2093056, PROT_NONE) = 0
mmap(0x2b4e7e15a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x138000) = 0x2b4e7e15a000
mmap(0x2b4e7e15f000, 16632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b4e7e15f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7e164000
arch_prctl(ARCH_SET_FS, 0x2b4e7e1646f0) = 0
mprotect(0x2b4e7e15a000, 12288, PROT_READ) = 0
mprotect(0x601000, 4096, PROT_READ) = 0
munmap(0x2b4e7dc21000, 191792) = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc21000
write(1, "drcomc, client part of the drcom"..., 65) = 65
write(1, "\n", 1) = 1
write(1, " usage: drcomc ( login | logout"..., 56) = 56
write(1, "\n", 1) = 1
write(1, " login tell drco"..., 45) = 45
write(1, " logout tell drco"..., 46) = 46
write(1, " passwd \"newpasswd\" tell drco"..., 70) = 70
write(1, "\n", 1) = 1
write(1, " At least one option must be sp"..., 41) = 41
write(1, "\n", 1) = 1
exit_group(1) = ?
以下是我的drcom.conf的内容
#
# This is the config file for drcom.
#
# Please read these notes before even attempting
# to edit this file:
# + Lines beginning with '#' are ignored.
# + Blank Lines are ignored.
# + Lines with more than 256 characters on it are
# just stripped.
# + Valid characters are: a-z, A-Z, 0-9, space
# and this set [#_=.,:]
# + This file is not syntax-checked, so you'll have
# to edit it properly. I don't think you'll try to
# do a buffer-overflow attack on your own machine.
# + Spaces get squeezed, so don't be afraid.
# + Unless otherwise specified, every variable must
# be specified exactly once.
# + Variables that have default values don't need to
# appear at all, but it's recommended that they do.
#
# Username and password
# A blank password is considered valid.
username=(我的用户名)
password=(我的密码)
# Interface information
# mac is the MAC address of the nic we use to connect
# to the server.
# Example:
# mac=1a:2b:3c:4d:5e:6f
# If left blank it will default to 00:00:00:00:00:00
mac=00:1b:fc:17:e6:fd
# nicn is the nth nic. This is the real data that's
# passed to the server, and thus I suggest you only
# fill in the first nic.
# Example:
# nic0=192.168.0.1
# nic1=
# nic2=
# nic3=
# Only nic0 is mandatory; the others should normally
# be left blank.
nic0=10.0.131.67
nic1=
nic2=
nic3=
# dnsp(rimary) and dnss(econdary).
dnsp=10.0.90.68
dnss=202.101.224.69
# dhcp server address. Windows XP uses 255.255.255.255
# and Windows 2000 uses 0.0.0.0
# If left blank it defaults to 255.255.255.255
dhcp=
# Connection information
# If the network supports it, and serverip is set
# to 1.1.1.1, then the gateway will help us find
# the real server (beex said this was the reason
# why we had to upgrade, but I don't see the
# practical reason why)
# All are optional, if left blank, then:
# + hostip defaults to nic0
# + servip defaults to 1.1.1.1
# + hostport defaults to 61440 (0xf000)
# + servport defaults to 61440 (0xf000)
# Note: hostip can be given one of the special values
# eth0, eth1, eth2, ... eth9 (I don't think
# regular users would need eth10 :-P), which
# corresponds to the inet address of the
# interface.
hostip=(这里填上nic0和不填结果一样,都连不上)
servip=10.0.55.2(dr.com认证服务器地址,填上和不填结果一样.)
hostport=
servport=
# Miscellaneous Machine Information
# We don't need to be honest about these.
# For example, Windows XP has a version number
# of 5.1 and a build number of 2600.
# All are optional, if left blank, then:
# + hostname defaults to "localhost"
# + winver defaults to 5.1
# + winbuild defaults to 2600
# + servicepack defaults to "Service Pack 2"
hostname=
winver=
winbuild=
servicepack=
请分析,谢谢. |
|