* [BUG] Inetd listening on ports it's not configured for
@ 2001-12-06 3:16 Ronald Landheer
2001-12-06 3:24 ` Mark Himsley
2001-12-06 3:29 ` Corinna Vinschen
0 siblings, 2 replies; 4+ messages in thread
From: Ronald Landheer @ 2001-12-06 3:16 UTC (permalink / raw)
To: Cygwin@Cygwin. Com
Hello all,
I have installed and configured the latest version of Cywin with all
packages, updated whenever there's an announcement, etc.
A while ago, I configured inetd to run telnet whenever necessary, but
*not* FTP. I have a propriatary FTP server running on the same NT/2000
machine, which takes care of the FTP.
Yesterday, I updated both, and the FTP no longer worked. My liking
Cygwin very much, I blamed the FTP server, uninstalled, reinstalled,
didn't work (though with propriatary programs, it usually does ;)
I reconfigured it to listen on port 1024 in stead of 21, and telnetted
to the machine on said port - worked like a charm.
I blamed Windows, did some nmapping, and found something was still
listening on port 21.
There's only one other internet-related TCP/IP port-listening
thingemajig on this server: inetd. I telnetted to the machine, shut down
inetd, logged out, could not log in again, FTPd to the machine (after
having reconfigured the FTP server to listen on port 21) and it worked
like a charm.
Me, happy that my backoffices are working again, but also sad, that
Cygwin was the cause.
I have inserted my inetd.conf file before. I should note that this
worked like a charm before I updated my installation yesterday - AFAIK,
it should not be listening on port 21.
Instructions followed to install inetd are those of the proper readme,
ofcourse, so I consider this a bug.
If any more info is wanted, it will be provided :)
Ronald.
-- BEGIN /etc/inetd.conf --
# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or restart
# inetd:
# "net stop inetd"
# "net start inetd"
# The inetd will then re-read this file.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
echo stream tcp nowait root internal
echo dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
daytime dgram udp wait root internal
chargen stream tcp nowait root internal
chargen dgram udp wait root internal
time stream tcp nowait root internal
time dgram udp wait root internal
#
# The external services are typically called via 'tcpd' for
# security reasons, eg.
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
#
# but tcpd is not part of the inetutils, unfortunately.
# Nevertheless there's a port contributed by Prentis Brooks
<prentis@aol.net>
#
# We are calling the services here directly.
#
# These are standard services.
#
#ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
#
# Shell, login, exec and talk are BSD protocols.
#
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd -L
login stream tcp nowait root /usr/sbin/in.rlogind in.rlogind
exec stream tcp nowait root /usr/sbin/in.rexecd in.rexecd
talk dgram udp wait root /usr/sbin/in.talkd in.talkd
ntalk dgram udp wait root /usr/sbin/in.talkd in.talkd
#
# The Internet UUCP service.
#
uucp stream tcp nowait uucp /usr/sbin/in.uucpd in.uucpd
#
# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#
# tftp dgram udp wait nobody /usr/sbin/in.tftpd in.tftpd
--- END /etc/inetd.conf ---
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Inetd listening on ports it's not configured for
2001-12-06 3:16 [BUG] Inetd listening on ports it's not configured for Ronald Landheer
@ 2001-12-06 3:24 ` Mark Himsley
2001-12-06 5:15 ` Ronald Landheer
2001-12-06 3:29 ` Corinna Vinschen
1 sibling, 1 reply; 4+ messages in thread
From: Mark Himsley @ 2001-12-06 3:24 UTC (permalink / raw)
To: Ronald Landheer; +Cc: Cygwin@Cygwin. Com
On Thu, 6 Dec 2001 11:58:09 +0100 you wrote:
<snip>
># The external services are typically called via 'tcpd' for
># security reasons, eg.
>ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
<snip>
>#ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
>telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
<snip>
You have FTP listed twice, only one once is it commented out.
Comment out the other occurrence and try not to feel too embarrassed :-)
--
Mark Himsley
In Acton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Inetd listening on ports it's not configured for
2001-12-06 3:16 [BUG] Inetd listening on ports it's not configured for Ronald Landheer
2001-12-06 3:24 ` Mark Himsley
@ 2001-12-06 3:29 ` Corinna Vinschen
1 sibling, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2001-12-06 3:29 UTC (permalink / raw)
To: Cygwin@Cygwin. Com
On Thu, Dec 06, 2001 at 11:58:09AM +0100, Ronald Landheer wrote:
> Me, happy that my backoffices are working again, but also sad, that
> Cygwin was the cause.
User error. Ftp is activated in your inetd.conf.
> # The external services are typically called via 'tcpd' for
> # security reasons, eg.
> ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [BUG] Inetd listening on ports it's not configured for
2001-12-06 3:24 ` Mark Himsley
@ 2001-12-06 5:15 ` Ronald Landheer
0 siblings, 0 replies; 4+ messages in thread
From: Ronald Landheer @ 2001-12-06 5:15 UTC (permalink / raw)
To: Mark Himsley; +Cc: Cygwin@Cygwin. Com
> <snip>
>># The external services are typically called via 'tcpd' for
>># security reasons, eg.
>>ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
> <snip>
>>#ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
>>telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
> <snip>
> You have FTP listed twice, only one once is it commented out.
> Comment out the other occurrence and try not to feel too embarrassed
> :-)
*blush*
Just weird that it worked before then..
Ah well.. problem solved, only myself to blaim..
Thanx!
Ronald
--
.. et on me paie pour faire des conneries comme cela :)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-06 12:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-06 3:16 [BUG] Inetd listening on ports it's not configured for Ronald Landheer
2001-12-06 3:24 ` Mark Himsley
2001-12-06 5:15 ` Ronald Landheer
2001-12-06 3:29 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).