Prev: SQLite build process
Next: metareplace -e
From: patrick_nyr on 19 Mar 2010 09:35 <hume.spamfilter(a)bofh.ca> wrote in message news:hnvu8f$311$1(a)Kil-nws-1.UCIS.Dal.Ca... > patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >> getpeername (/usr/sbin/in.ftpd) : Socket operation on non-socket. > > You can't run ftpd in standalone mode unless you remember to add the '-s' > flag to the command line. This is documented in the in.ftpd manpage. > > Can you post your /etc/inetd.conf, please? The command: > > grep -v '^#' /etc/inetd.conf > > ... will produce the useful output. > > -- > Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/ > > time stream tcp6 nowait root internal time dgram udp6 wait root internal echo stream tcp6 nowait root internal echo dgram udp6 wait root internal discard stream tcp6 nowait root internal discard dgram udp6 wait root internal daytime stream tcp6 nowait root internal daytime dgram udp6 wait root internal chargen stream tcp6 nowait root internal chargen dgram udp6 wait root internal 100232/10 tli rpc/udp wait root /usr/sbin/sadmind sadmind 100083/1 tli rpc/tcp wait root /usr/dt/bin/rpc.ttdbserverd rpc.ttdbserverd 100221/1 tli rpc/tcp wait root /usr/openwin/bin/kcms_server kcms_server fs stream tcp6 wait nobody /usr/openwin/lib/fs.auto fs 100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd 100134/1 tli rpc/ticotsord wait root /usr/lib/krb5/ktkt_warnd ktkt_warnd 100234/1 tli rpc/ticotsord wait root /usr/lib/gss/gssd gssd 100229/1 tli rpc/tcp wait root /usr/sbin/rpc.metad rpc.metad 100230/1 tli rpc/tcp wait root /usr/sbin/rpc.metamhd rpc.metamhd 100242/1 tli rpc/tcp wait root /usr/sbin/rpc.metamedd rpc.metamedd 100150/1 tli rpc/ticotsord wait root /usr/sbin/ocfserv ocfserv dtspc stream tcp6 nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd 100068/2-5 dgram rpc/udp wait root /usr/dt/bin/rpc.cmsd rpc.cmsd printer stream tcp6 nowait root /usr/lib/print/in.lpd in.lpd rquotad/1 tli rpc/datagram_v wait root /usr/lib/nfs/rquotad rquotad shell stream tcp nowait root /usr/sbin/in.rshd in.rshd shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd login stream tcp6 nowait root /usr/sbin/in.rlogind in.rlogind exec stream tcp nowait root /usr/sbin/in.rexecd in.rexecd exec stream tcp6 nowait root /usr/sbin/in.rexecd in.rexecd comsat dgram udp wait root /usr/sbin/in.comsat in.comsat talk dgram udp wait root /usr/sbin/in.talkd in.talkd finger stream tcp6 nowait nobody /usr/sbin/in.fingerd in.fingerd rstatd/2-4 tli rpc/datagram_v wait root /usr/lib/netsvc/rstat/rpc.rstatd rpc.rstatd rusersd/2-3 tli rpc/datagram_v,circuit_v wait root /usr/lib/netsvc/rusers/rpc.rusersd rpc.rusersd walld/1 tli rpc/datagram_v wait root /usr/lib/netsvc/rwall/rpc.rwalld rpc.rwalld sprayd/1 tli rpc/datagram_v wait root /usr/lib/netsvc/spray/rpc.sprayd rpc.sprayd name dgram udp wait root /usr/sbin/in.tnamed in.tnamed telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -a 100155/1 tli rpc/ticotsord wait root /usr/lib/smedia/rpc.smserverd rpc.smserverd uucp stream tcp nowait root /usr/sbin/in.uucpd in.uucpd 100153/1 dgram rpc/udp wait root /opt/SUNWvts/bin/sunvts /opt/SUNWvts/bin/sunvts -g
From: Oscar del Rio on 19 Mar 2010 10:48 On 03/19/10 09:35 AM, patrick_nyr wrote: >> grep -v '^#' /etc/inetd.conf > 100232/10 tli rpc/udp wait root /usr/sbin/sadmind sadmind > 100083/1 tli rpc/tcp wait root /usr/dt/bin/rpc.ttdbserverd rpc.ttdbserverd [snip] That system does not seem very secure. I hope it is at least up to date in security patches. Just wondering if it could have been hacked and a trojan inetd installed.
From: hume.spamfilter on 19 Mar 2010 10:53 patrick_nyr <mpprpp2000(a)yahoo.com> wrote: > telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd > ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -a Okay, I was just making sure that there was nothing malformed about those lines. This is interesting because all indications are that telnet and FTP should be working. What happens if you send a kill -HUP to the inetd process? -- Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: Ceri Davies on 19 Mar 2010 17:13 On 2010-03-19, patrick_nyr <mpprpp2000(a)yahoo.com> wrote: > ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -a s/tcp6/tcp/ ? ceri -- That must be wonderful! I don't understand it at all. -- Moliere
From: cjt on 20 Mar 2010 20:34
patrick_nyr wrote: > "cjt" <cheljuba(a)invalid.invalid> wrote in message > news:4BA2FB10.4030805(a)invalid.invalid... >> patrick_nyr wrote: >>> <hume.spamfilter(a)bofh.ca> wrote in message >>> news:hntn9r$dea$1(a)Kil-nws-1.UCIS.Dal.Ca... >>>> patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >>>>> "Connecting To <hostname> ...Could not open connection to host, on port >>>>> 21: >>>>> Connect failed" >>>> And if you log into the server itself, and use the command: >>>> >>>> telnet localhost 21 >>>> >>>> ... what do you see? >>>> >>>> -- >>>> Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/ >>>> >>> Ok, I see. Sorry about that. >>> >>> On the local machine I get: >>> Trying 127.0.0.1... >>> telnet: Unable to connect to remote host: Connection refused >>> >>> Thanks >>> >>> >> You're not doing this as root, are you? >> > Yes, I am doing it as root. > > Well, then you need to explicitly allow root access. Try it as something other than root. |