supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Bug in gpape's ipsvd
@ 2004-07-04 18:08 Torne
  2004-07-08 18:05 ` Gerrit Pape
  0 siblings, 1 reply; 2+ messages in thread
From: Torne @ 2004-07-04 18:08 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

tcpsvd interprets an instruction of 'C0' for a particular host as meaning 
'no connections', whereas the documentation states that this should allow 
unlimited connections up to the global limit. This situation only arises 
when there is a global per-host concurrency limit which is being overridden 
for particular IPs. Patch below.

--- tcpsvd.c.orig       2004-07-04 19:00:56.000000000 +0100
+++ tcpsvd.c    2004-07-04 19:01:15.000000000 +0100
@@ -172,7 +172,7 @@
   }
   else ac =IPSVD_DEFAULT;

-  if (phcc > 0) {
+  if (phccmax > 0) {
     if (phcc > phccmax) {
       ac =IPSVD_DENY;
       if (phccmsg) {


-- 
Torne (torne@wolfpuppy.org.uk)
Wolf puppy, coder and social engineer.

[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-08 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04 18:08 Bug in gpape's ipsvd Torne
2004-07-08 18:05 ` Gerrit Pape

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).