Great Circle Associates Firewalls
(December 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Minimal fingerd
From: Jason Matthews <jason @ dickory . SDSU . Edu>
Date: Tue, 13 Dec 1994 14:34:40 -0800 (PST)
To: Bret McDanel <bret @ real . com>
Cc: firewalls @ greatcircle . com
In-reply-to: <199412131633 . LAA07941 @ real . com>
Reply-to: Jason Matthews <jason @ dickory . SDSU . Edu>

On Tue, 13 Dec 1994, Bret McDanel wrote:

> > Let's not over look the obvious...
> > 
> > 
> > main()
> > {
> > printf(\n **** Contact tom @
 pserv1 .
 dot .
 state .
 az .
 us for more information ***\n");
> > }
> > 
> > Or am I missing something?
> > 
> > Jason
> > 
> well, you'd need to ibnd port 79..  the program would prolly look more like:
> 
> #include <sys/types.h>
> #include <sys/signal.h>
> #include <sys/socket.h>
> #include <netinet/in.h>
> #include <netdb.h>

[the rest of delete in the interest of sanity]

All you have to do is set up inetd.conf so that inetd will bind the 
program to port 79 for ya. An entry in /etc/inetd.conf might look like this

finger	stream	tcp	nowait	nobody	/usr/etc/tcpd	/usr/etc/nofinger

Sure, you can write some fancy code to do alot of things but ultimately I 
think this thread started with a guy asking how to send out a generic 
message.

I rather like the  'cat some.text.file' method myself. That method never 
crossed my mind but it does lend itself to easy changes.

Jason

----------------------------------------------------------------------------
jason @
 dickory .
 sdsu .
 edu			  San Diego State University
jason @
 mentor .
 sdsu .
 edu   		    College of Engineering
jason @
 BOOM .
 extern .
 ucsd .
 edu               Electrical*Computer Engineering 
----------------------------------------------------------------------------
	  The following email address are no longer valid
	              odn @
 LoD .
 amaranth .
 com
---------------------------------------------------------------------------- 





References:
Indexed By Date Previous: Re: Minimal fingerd
From: patrick @ oes . amdahl . com (Patrick Horgan)
Next: Re: Minimal fingerd
From: jailbait @ intercon . com (Jailbait)
Indexed By Thread Previous: Re: Minimal fingerd
From: bret @ real . com (Bret McDanel)
Next: Re: Minimal fingerd
From: letch @ ultra3 . larc . nasa . gov

Google
 
Search Internet Search www.greatcircle.com