Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 18:30:47 -0800
From:      "Christian Nelson" <freshzive@charter.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Question Regarding IDENTD
Message-ID:  <025601c1ab91$9ff1dc00$0100a8c0@freestylin>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi..I'm new to the mailing lists.so give me a break here..and let me
know if I'm doing this totally wrong.
 
Anyways, I just setup my FreeBSD box behind a Netgear RT314 Router using
static Routing. I set the local ip to my box as 192.168.0.2 and setup
the router to use DHCP to get a IP address from the charter pipeline
service (crappy). Anyways, I set it to route all ports (default) to my
ip address of 192.168.0.2 and it seems to be working fine
(http/ssh/ssh2/ftp all work fine) except that for some reason I cannot
get IDENTD to work. I had it running before it was behind the router
fine and it worked great.
 
I have these lines in my inetd.conf 
 
auth    stream  tcp     nowait  root    internal        auth -r -f -n -o
UNKNOWN -t 60
 
I also installed midentd later, because identd wasn't working, and added
this line
 
auth    stream  tcp     nowait  nobody  /usr/local/sbin/midentd
midentd
 
I obviously restarted inetd but it still won't work. I'm a pretty big
newbie to bsd, as is obvious =). Any help would be appreciated.
 
 
 

[-- Attachment #2 --]
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">;

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C1AB4E.91577030">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><span class=SpellE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi<span class=GramE>..</span>I&#8217;m</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> new to the
mailing lists&#8230;so give me a break <span class=SpellE>here<span
class=GramE>..and</span></span> let me know if I&#8217;m doing this totally
wrong.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Anyways, I just setup my FreeBSD box behind a <span
class=SpellE>Netgear</span> RT314 Router using static Routing. I set the local <span
class=SpellE>ip</span> to my box as 192.168.0.2 and setup the router to use
DHCP to get <span class=GramE>a</span> IP address from the charter pipeline
service (crappy). Anyways, I set it to route all ports (default) to my <span
class=SpellE>ip</span> address of 192.168.0.2 and it seems to be working fine
(http/ssh/ssh2/ftp all work fine) except that for some reason I cannot get
IDENTD to work. I had it running before it was behind the router fine and it
worked great.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have these lines in my <span class=SpellE>inetd.conf</span>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>auth</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>stream<span style='mso-spacerun:yes'>&nbsp;
</span><span class=SpellE>tcp</span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=SpellE>nowait</span><span style='mso-spacerun:yes'>&nbsp; </span>root<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>internal<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>auth -r -f -n -o UNKNOWN -t 60<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I also installed <span class=SpellE>midentd</span> later,
because <span class=SpellE>identd</span> wasn&#8217;t working, and added this
line<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>auth</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>stream<span style='mso-spacerun:yes'>&nbsp;
</span><span class=SpellE>tcp</span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=SpellE>nowait</span><span style='mso-spacerun:yes'>&nbsp; </span>nobody<span
style='mso-spacerun:yes'>&nbsp; </span>/<span class=SpellE>usr/local/sbin/midentd</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span><span class=SpellE>midentd</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I obviously restarted <span class=SpellE>inetd</span> but it
still won&#8217;t work. I&#8217;m a pretty big newbie to <span class=SpellE>bsd</span>,
as is obvious =). Any help would be appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?025601c1ab91$9ff1dc00$0100a8c0>