Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: tcpd?



On the advice of people here in TLUG, i'm trying to get qpopper to run
under the "protection" of tcpd.
my inetd.conf file thusly reads:

	pop-2   stream  tcp     nowait  root    /usr/sbin/tcpd  ipop2d
	pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd  ipop3d
	imap    stream  tcp     nowait  root    /usr/sbin/tcpd  imapd
	pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  popper

A posting from way, way back said i should leave the pop-3 and pop-2 lines
in as well as adding the new pop3 line, which was a requirement of
installing qpopper.
The popper executable (that's what we call 'em in DOS - is that what we
call 'em in UNIX?) is in /usr/sbin - i figured it had to be so that tcpd
could find it. But i noticed that nothing named ipop3d or ipop2d is in that
directory, so i'm not really sure where tcpd is looking for these things.
The man page on tcpd left me kind of scratching my head:
	
	<Man tcpd>
In order to monitor access to the finger service, move the original  finger
 daemon  to the "other" place and install tcpd in the  place  of  the
original  finger  daemon.  No changes are required to configuration files.
# mkdir /other/place
# mv /usr/etc/in.fingerd /other/place
# cp tcpd /usr/etc/in.fingerd
The  example  assumes  that  the  network  daemons live in /usr/etc.  On
some  systems,  network  daemons  live   in /usr/sbin  or  in /usr/libexec,
or have no `in.' prefix to their name. 
	</Man tcpd>

Does this mean that what i actually move popper somewhere else, then copy
tcpd over top of popper, but leave the name qpopper in place? Umm...? What
happens to my original popper file and how will tcpd find it?
Right now that status of my pop services is that if i try to access my mail
from anywhere else, i get as far as "logging on to pop server", and then it
just sits there until my mail program gets bored and gives up.
If i telnet localhost 110, i get 
	# telnet localhost 110
	Trying 127.0.0.1...
	Connected to localhost.
	Escape character is '^]'.
	Connection closed by foreign host.
So i can't tell if my pop server is running but not properly, or if it
isn't running at all.
Where have i gone astray? (I mean other than when i said "I know - i'll
learn Linux and set up a web server and teach myself about the Internet!)

	________________________________
	
	Dave Gutteridge
	3D Computer Animation Specialist
	e-mail: dave@example.com
	http://www.d-rave.com
	________________________________
----------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 *** place TBA ***
IMPORTANT: TLUG is looking for a venue for the next meeting
if you could host in your university or office, please contact us
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links