[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osiris
Subject:    Re: [osiris] -p switch wierd behavior
From:       Brian Wotring <brian () shmoo ! com>
Date:       2005-04-13 13:06:52
Message-ID: 425D196C.5070500 () shmoo ! com
[Download RAW message or body]


Yes, there would be a point. Thanks for catching this, the daemon should 
not be that "accepting" of the arguments :)

-brian

Sancho2k.net Lists wrote:
> I notice the '-p' switch accepts strings other than port numbers:
> 
> $ ps auxwww |grep osiri[s]
> root   24985   pts/4  /usr/sbin/osirisd -p /var/run/osiris/osirisd.pid
> osiris 24986   pts/4  /usr/sbin/osirisd -p /var/run/osiris/osirisd.pid
> 
> $ sudo netstat -nlp
> tcp      0      0 0.0.0.0:33233    0.0.0.0:*    LISTEN  24986/osirisd
> 
> This invocation doesn't make sense and causes the daemon to bind to a
> wierd port; would there maybe be a point to validating this parameter
> and throwing an error?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic