Alexander Hall wrote:
Daniel Ouellet wrote:
Hi,
All the various daemon that use options flag in rc.conf, all have
daemon_flags=NO # for normal use: ""
when you put the options for your daemon.
I am looking to add -R to inetd, but there isn't any
inetd_flags, just the:
inetd=YES # almost always needed
So, just in case, even if I didn't expect it to work, I tried
inetd="-R 1024" # almost always needed
and it didn't work obviously. So, how would you recommend to have it
configure in the rc.conf.local properly then?
I started in the command line, so nothing urgent, but should the box
be rebooted, I would like to be sure it start properly as well.
Do you really need to set it globally?
You could use the [.max] part of each configuration line for a
service-specific setting.
/Alexander
Not sure that I follow what you are saying here.
man inetd.conf
-R rate
Specify the maximum number of times a service can
be invoked in one minute; the default is 256.
If you refer at this part:
wait/nowait[.max]
I already have this:
tftp dgram udp wait.6000 root
/usr/libexec/tftpd tftpd -ls /distribution/phones/cisco
However, that doesn't help the limit of the 256 per minutes here.
Get plenty in the logs with deny connection, if I do not start inetd
with the -R 1024 as well.
So, may be you understand something I do not, and if you add to your
suggestion more details, may be I can follow.
Thanks