Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 1996 11:21:17 -0400 (EDT)
From:      Vic Metcalfe <vam@recruiter.on.ca>
To:        questions@freebsd.org
Subject:   Firewall disables inetd?
Message-ID:  <Pine.BSF.3.91.960906100633.503A-100000@recruiter.on.ca>

next in thread | raw e-mail | index | archive | help
Thanks to Hal I've got the firewall working great here.  My only remaining
problem seems to be inetd.  When I boot with the firewall option enabled
in the kernel (no logging or accounting), inetd does not work until it
receives a SIGHUP.  The behaviour is the same whether I run ipfw during
startup or not.  Immediately after booting and establishing a connection
with my ISP, I try to telnet myself, from myself and get "Connection
refused".  If I then send a SIGHUP to it, which causes it to re-read its
configuration, it works fine. 

Changing rc to run inetd -l doesn't create a log that I can find anywhere. 
Nothing to the /var/log/messages file anyway.  I can't figure out a way to
run it with the -d switch from rc, and if I run in interactively it works. 

In the worst case I'll write a program to detect if it is working or not 
and SIGHUP it if it isn't going, and run that in a cron job, but if 
anyone has any better ideas, I'd love to year from you.

Thanks again,
  Vic.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960906100633.503A-100000>