Operating System - HP-UX
1833855 Members
2807 Online
110063 Solutions
New Discussion

Inetd: ftp messaging ... how do I turn it off

 
Kevin M Meyers
Occasional Contributor

Inetd: ftp messaging ... how do I turn it off

Sep 30 00:01:51 icgstx1 inetd[3806]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30 0
0:01:51 2006
Sep 30 00:03:51 icgstx1 inetd[5154]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30 0
0:03:51 2006
Sep 30 00:03:56 icgstx1 inetd[5210]: ftp/tcp: Connection from 143.91.186.21 at Sat Sep 30 00:03:56
2006
Sep 30 00:05:51 icgstx1 inetd[6431]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30 0
0:05:51 2006
Sep 30 00:07:51 icgstx1 inetd[7621]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30 0
0:07:51 2006
Sep 30 00:09:51 icgstx1 inetd[8892]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30 0
0:09:51 2006
Sep 30 00:10:05 icgstx1 inetd[9266]: ftp/tcp: Connection from 144.70.52.39 at Sat Sep 30 00:10:05
2006
Sep 30 00:11:51 icgstx1 inetd[10534]: registrar/tcp: Connection from 143.91.173.160 at Sat Sep 30

I keep getting these messages in my syslog and HP says they are not errors, just logging... however they didnt tell me how to turn it off!Actually in her defense, she went on VT.
Can anyone help me?
Thanks
Kevin
6 REPLIES 6
Bill Hassell
Honored Contributor

Re: Inetd: ftp messaging ... how do I turn it off

Only two messages are from ftp. Look at the ftp line in inetd.conf to see if ftpd has -l (logging) enabled. If so, remove the option. The run inetd -c to reread the config file. It may also be that you started inetd with -l. To toggle logging on off or on, run inetd -l. Look at syslog for confirmation. Also, for ftpd, look at /etc/ftpd/ftpaccess to see if additional logging was configured.

The registrar service is for online diagnostics. There's no options for registrar logging so the info is probably dur to inetd -l logging.


Bill Hassell, sysadmin
Kevin M Meyers
Occasional Contributor

Re: Inetd: ftp messaging ... how do I turn it off

I tried turning the logging off as suggested and that did not work. Still getting the logging, seems to be 3 distinct messages.

icgstx1 inetd[29607]: registrar/tcp:

icgstx1 inetd[29623]: ftp/tcp:

icgstx1 inetd[580]: exec/tcp:

I get these in my syslog all day long, anyone have a clue how to get rid of?
Kevin
Khairy
Esteemed Contributor

Re: Inetd: ftp messaging ... how do I turn it off

can you post contents of inetd.conf?
Kevin M Meyers
Occasional Contributor

Re: Inetd: ftp messaging ... how do I turn it off

## Configured using SAM by root on Wed Apr 24 16:09:16 2002
##
#
# @(#)inetd.conf $Revision: 1.24.214.3 $ $Date: 97/09/10 14:50:49 $
#
# Inetd reads its configuration information from this file upon execution
# and at some later time if it is reconfigured.
#
# A line in the configuration file has the following fields separated by
# tabs and/or spaces:
#
# service name as in /etc/services
# socket type either "stream" or "dgram"
# protocol as in /etc/protocols
# wait/nowait only applies to datagram sockets, stream
# sockets should specify nowait
# user name of user as whom the server should run
# server program absolute pathname for the server inetd will
# execute
# server program args. arguments server program uses as they normally
# are starting with argv[0] which is the name of
# the server.
#
# See the inetd.conf(4) manual page for more information.
##

##
#
# ARPA/Berkeley services
#
##
# ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -u 002
#telnet stream tcp nowait root /usr/lbin/telnetd \
telnetd -b/etc/warning.txt

# Before uncommenting the "tftp" entry below, please make sure
# that you have a "tftp" user in /etc/passwd. If you don't
# have one, please consult the tftpd(1M) manual entry for
# information about setting up this service.

#tftp dgram udp wait root /usr/lbin/tftpd tftpd\ /opt/ignite\ /var/opt/ignite
#bootps dgram udp wait root /usr/lbin/bootpd bootpd
#finger stream tcp nowait bin /usr/lbin/fingerd fingerd
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
#uucp stream tcp nowait root /usr/sbin/uucpd uucpd
#ntalk dgram udp wait root /usr/lbin/ntalkd ntalkd
#ident stream tcp wait bin /usr/lbin/identd identd

##
#
# Other HP-UX network services
#
##
printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i

##
#
# inetd internal services
#
##
#daytime stream tcp nowait root internal
#daytime dgram udp nowait root internal
time stream tcp nowait root internal
#time dgram udp nowait root internal
#echo stream tcp nowait root internal
#echo dgram udp nowait root internal
#discard stream tcp nowait root internal
#discard dgram udp nowait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp nowait root internal

##
#
# rpc services, registered by inetd with portmap
# Do not uncomment these unless your system is running portmap!
#
##
# WARNING: The rpc.mountd should now be started from a startup script.
# Please enable the mountd startup script to start rpc.mountd.
##
#rpc stream tcp nowait root /usr/sbin/rpc.rexd 100017 1 rpc.rexd
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
#rpc dgram udp wait root /usr/lib/netsvc/rusers/rpc.rusersd 100002 1-2 rpc.rusersd
#rpc dgram udp wait root /usr/lib/netsvc/rwall/rpc.rwalld 100008 1 rpc.rwalld
#rpc dgram udp wait root /usr/sbin/rpc.rquotad 100011 1 rpc.rquotad
#rpc dgram udp wait root /usr/lib/netsvc/spray/rpc.sprayd 100012 1 rpc.sprayd

##
#
# The standard remshd and rlogind do not include the Kerberized
# code. You must install the InternetSvcSec/INETSVCS-SEC fileset and
# configure Kerberos as described in the SIS(5) man page.
#
##
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K


##
#
# NCPM programs.
# Do not uncomment these unless you are using NCPM.
#
##

#ncpm-pm dgram udp wait root /opt/ncpm/bin/ncpmd ncpmd
#ncpm-hip dgram udp wait root /opt/ncpm/bin/hipd hipd

#dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
recserv stream tcp nowait root /usr/lbin/recserv recserv -display :0
swat stream tcp nowait.400 root /opt/samba/bin/swat swat
instl_boots dgram udp wait root /opt/ignite/lbin/instl_bootd instl_bootd
registrar stream tcp nowait root /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lbin/registrar
nrpe stream tcp nowait root /opt/nrpe/bin/nrpe -c /opt/nrpe/etc/nrpe.cfg -inetd
omni stream tcp nowait root /opt/omni//lbin/inet inet -log /var/opt/omni//log/inet.log
icgstx1:/etc>
Michal Toth
Regular Advisor

Re: Inetd: ftp messaging ... how do I turn it off

by default inetd is started with connection logging enabled. To disable it, start inetd with -l option. If you run inetd -l while an instance of inetd is already running it should make it turn the logging off.

though I don't know if it is possible to disable logging for individual services within inetd
Kevin M Meyers
Occasional Contributor

Re: Inetd: ftp messaging ... how do I turn it off

Thank you for your assistance.
inetd -l resolved the issue.
Kevin