[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems
Hello, again
1)
this time I have problems with kdc server on Linux 2.2.10 (IPv6 configured), and
egcs-1.1.2, glibc-2.1.1, nmap-2.02 ...
when I run port scanning using nmap then kdc exit with SIGSEGV (nmap myserver)
strace shows:
time(NULL) = 931177195
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 32
setsockopt(32, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(32, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("195.164.211.2")}, 16) = 0
listen(32, 128) = 0
time(NULL) = 931177195
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 33
setsockopt(33, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(33, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("195.164.211.33")}, 16) = 0
listen(33, 128) = 0
time(NULL) = 931177195
select(34, [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 31 32 33], NUaccept(32, {sin_family=AF_INET, sin_port=htons(3232), sin_addr=inet_addr("195.164.211.2")}, [16]) =
time(NULL) = 931177199
time(NULL) = 931177199
select(35, [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 31 32 33 34],recvfrom(34, "", 1024, 0, {sa_family=60116, sa_data="\20\300\21\0\0\0\206\2\0\0\5\0\0"...}, [16]) =
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
2)
Also:
root@linstar /root# /usr/heimdal/sbin/dump_log
Segmentation fault
open("/lib/libc.so.6", O_RDONLY) = 8
fstat(8, {st_mode=0, st_size=0, ...}) = 0
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 991836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x40105000
mprotect(0x401f0000, 29276, PROT_NONE) = 0
mmap(0x401f0000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0xea000) = 0x401f0000
mmap(0x401f4000, 12892, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401f40close(8) = 0
mprotect(0x40105000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40105000, 962560, PROT_READ|PROT_EXEC) = 0
munmap(0x4001e000, 25554) = 0
personality(0 /* PER_??? */) = 0
getpid() = 1102
brk(0) = 0x8049e30
brk(0x8049fd0) = 0x8049fd0
brk(0x804a000) = 0x804a000
time(NULL) = 931178636
brk(0x804b000) = 0x804b000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
3)
what heimdal entries I should add to /etc/services ?
I know only about kx/tcp port 16136 and
hprop/tcp port 754.
4)
misiek@linstar bin$ ./kinit misiek
misiek@ZSZ2.STARACHOWICE.PL's Password:
kinit: krb5_get_init_creds: Program lacks support for checksum type
misiek@linstar bin$
kdc says only:
05-Jul-1999 18:04:06 AS-REQ misiek@ZSZ2.STARACHOWICE.PL from
IPv4:195.164.211.33 for krbtgt/ZSZ2.STARACHOWICE.PL@ZSZ2.STARACHOWICE.PL
05-Jul-1999 18:04:06 Using des3-cbc-sha1/des3-cbc-sha1
05-Jul-1999 18:04:06 sending 767 bytes to IPv4:195.164.211.33
but I don't get ticket:
misiek@linstar bin$ ./klist
klist: No ticket file: /tmp/krb5cc_500
? what I'm doing wrong and why kinit "lacks support for checksum type"
I tried add to krb5.conf:
kdc_req_checksum_type = 0 or kdc_req_checksum_type = 7
but whithout results :(
My heimdal is configured with options:
--enable-new-des3-code \
--with-readline \
--with-x \
--
_____ __ ____ arkadiusz miśkiewicz misiek@pld.org.pl
\ _ \\ \ \ \ tel. +48 604395925 sysadm: zsz2.starachowice.pl
| __/| |__| | | http://www.pld.org.pl/ http://www.misiek.eu.org/
/__/ /____//____/ Polish Linux Distribution with IPv6 support