[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfservd listens only on ipv6 on OpenBSD
From: |
Panagiotis Kotsiopoulos |
Subject: |
cfservd listens only on ipv6 on OpenBSD |
Date: |
Thu, 11 Apr 2002 14:15:11 +0300 (EEST) |
My problem is that when i run cfservd on OpenBSD box the daemon listens on
tcp6 port cfengine (5308/tcp) and not on tcp port cfengine (5308/tcp).
Below is some info for anyone who might know something about this:
Output of cfservd in debug mode:
# /usr/local/sbin/cfservd -d2
cfservd Debug mode: running in foreground
Directory for /var/cfengine/test exists. Okay
CheckWorkDirectories()
Directory for /var/cfengine/test exists. Okay
Directory for /var/cfengine/ppkeys/test exists. Okay
RandomSeed() work directory is /var/cfengine
Looking for a source of entropy in /var/cfengine/randseed
Loaded /var/cfengine/ppkeys/localhost.priv
Loaded /var/cfengine/ppkeys/localhost.pub
GetInterfaceInfo()
Interface 1: lo0
New Parser Object::BEGIN PARSING /var/cfengine/inputs/cfservd.conf
Netstat -a :
# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 bsdtest.ih-intra.ssh laden.ih-intrane.1515
ESTABLISHED
tcp 0 336 bsdtest.ih-intra.ssh laden.ih-intrane.1514
ESTABLISHED
tcp 0 0 *.24 *.* LISTEN
tcp 0 0 localhost.submissi *.* LISTEN
tcp 0 0 localhost.smtp *.* LISTEN
tcp 0 0 *.ssh *.* LISTEN
tcp 0 0 *.time *.* LISTEN
tcp 0 0 *.daytime *.* LISTEN
tcp 0 0 *.auth *.* LISTEN
tcp 0 0 localhost.sunrpc *.* LISTEN
tcp 0 0 *.sunrpc *.* LISTEN
udp 0 0 *.851[rusersd] *.*
udp 0 0 *.837[rstatd] *.*
udp 0 0 *.biff *.*
udp 0 0 localhost.sunrpc *.*
udp 0 0 *.syslog *.*
udp 0 0 *.sunrpc *.*
tcp6 0 0 *.cfengine *.* LISTEN
tcp6 0 0 localhost.submissi *.* LISTEN
tcp6 0 0 localhost.smtp *.* LISTEN
tcp6 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.time *.* LISTEN
tcp6 0 0 *.daytime *.* LISTEN
tcp6 0 0 *.auth *.* LISTEN
udp6 0 0 *.biff *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs
Nextref Addr0xe07bf500 dgram 0 0 0x0 0xe0789ec0
0x0 0xe07895c0
0xe07bbb00 dgram 0 0 0x0 0xe0789ec0 0x0
0x0
0xe07adf00 dgram 0 0 0xe5c46334 0x0 0xe0789840
0x0 /dev/log
--------------------- End of netstat ----------------------
The only clue i have is that the GetInterfaceInfo() fuction detects only
my loopback interface and not my ethernet interface. But besides this it
listens on the ethernet interface (IPv6).
If anyone knows something i would be very happy to have an answer bacause
i'm stuck with it.
Thanks in advance
- cfservd listens only on ipv6 on OpenBSD,
Panagiotis Kotsiopoulos <=