Command Line Options

3 views
Skip to first unread message

Andrew

unread,
Jul 15, 2009, 2:48:50 PM7/15/09
to RDV Users
How does one pass multiple channels or multiple knock ports to RDV
using web start? Following the example, I am trying to enter ports
separated by spaces as in:

<argument>--knock</argument>
<argument>4213 2234</argument>

Yet I receive the following error in the java console:

Invalid port knocking option: For input string: "4213 2234".

-drew

Andrew

unread,
Jul 15, 2009, 6:28:15 PM7/15/09
to RDV Users
Never mind, I fixed it with the following:

<argument>--knock</argument>
<argument>4213</argument>
<argument>--knock</argument>
<argument>2234</argument>

The docs should perhaps be updated?

-drew

Jason P. Hanley

unread,
Jul 15, 2009, 7:23:19 PM7/15/09
to Andrew, RDV Users
Thanks Drew. The docs aren't that clear on this, I'll update them.
Basically you need a new argument element when there is a space in the
command line argument. I think this variation (without the second
--knock) should also work, but I haven't tested it:

<argument>--knock</argument>
<argument>4213</argument>
<argument>2234</argument>

Jason
Reply all
Reply to author
Forward
0 new messages