My jail run in FreeBSD 5.0.
jail's /etc/rc.conf:
check_quotas="NO"
sendmail_enable="NONE"
keyrate="fast"
#sshd_enable="YES"
#sshd_flags="-p 192.168.10.60"
inetd_enable="YES"
inetd_flags="-wW -a 192.168.10.60"
portmap_enable="NO"
hostname="jail.huangdong.com"
network_interfaces=""
cron_enable="NO"
syslogd_enable="NO"
firewall_enable="YES"
firewall_type="open"
root@/usr/ports/distfiles$jail /home/jail/test jail.huangdong.com 192.168.10.60
/bin/sh /etc/rc
hw.bus.devctl_disable: 1 -> 1
Entropy harvesting:sysctl: kern.random.sys.harvest.interrupt: Operation not permitted
interruptssysctl: kern.random.sys.harvest.ethernet: Operation not permitted
ethernetsysctl: kern.random.sys.harvest.point_to_point: Operation not permitted
point_to_point.
ps: bad namelist
ps: bad namelist
Fast boot: skipping disk checks.
mount: /: unknown special file or file system
adjkerntz[852]: sysctl(put_wallclock): Operation not permitted
Doing initial network setup:.
ipfw: socket: Operation not permitted
ipfw: socket: Operation not permitted
ipfw: socket: Operation not permitted
ipfw: socket: Operation not permitted
ipfw: socket: Operation not permitted
Firewall rules loaded, starting divert daemons:.
Additional routing options:.
Mounting NFS file systems:.
ELF ldconfig path: /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting local daemons:.
Updating motd.
Initial i386 initialization:.
Additional ABI support:.
Local package initialization:.
Additional TCP options:.
Starting inetd.
ps: bad namelist
Starting background file system checks.
Sat Apr 5 21:35:40 CST 2003
root@/usr/ports/distfiles$ps -ax | grep J
1118 ?? SsJ 0:00.01 /usr/sbin/inetd -wW -a 192.168.10.60
1138 p0 S+ 0:00.01 grep J
[EMAIL PROTECTED] -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.10.60.telnet *.* LISTEN
tcp4 0 48 192.168.10.50.ssh 192.168.10.100.1521 ESTABLISHED
tcp4 0 0 *.3306 *.* LISTEN
tcp4 0 0 *.cvsup *.* LISTEN
tcp4 0 0 *.http *.* LISTEN
tcp4 0 0 *.ssh *.* LISTEN
udp4 0 0 *.syslog *.*
icm4 0 0 *.* *.*
root@/usr/ports/distfiles$telnet 192.168.10.60
Trying 192.168.10.60...
Connected to 192.168.10.60.
Escape character is '^]'.
telnetd: All network ports in use.
Connection closed by foreign host.
why all network ports in use????
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"