(invalid) command 'CLIENT'with only 9 arguments (expecting 10).

Tim Wojtulewicz timwoj at ieee.org
Sat Jul 9 22:30:59 EDT 2005


Excellent.  I was wondering when someone was going to get around to  
writing an SSL patch for 7.1.  I'm far too busy lately to take on  
porting the patch I merged to 7.1.

Tim

On Jul 9, 2005, at 4:22 PM, Alan LeVee wrote:

> Well for cryptlink you're not supposed to have send_password and
> accept_password the RSA keys take care of that. Plus you need  
> encryption
> enabled.
>
> Also if you're going to use Client SSL you need to define the  
> sslport and
> generate a PEM certificate.
>
> However ircd-hybrid-7.1.0 was just released so you'd be better off
> upgrading to that.
>
> I'm already working on client SSL implementations for 7.1 that use  
> TLS 2.0
> (so the debian people are happy) and so it consumes less memory and  
> has
> less problems than Tim's SSL patch.
>
> Regards,
>
> Alan LeVee
> ChatJunkies IRC Operator and Developer
>
> Gael de Lannoy said:
>
>> I have two v7.0.3 hybrid hub servers (serv.er1 and serv.er2),  
>> linked with
>> cryptlink, but it only links for like 1sec then i get this error on
>> serv.er1: "*** Notice -- Dropping server serv.er2 due to (invalid)  
>> command
>> 'CLIENT'with only 9 arguments (expecting 10)."
>>
>> I tried everything to fix it.. i even went into the source code  
>> and i saw
>> the sendnick_TS() function in s_serv.c sends 9 args.. Its where the
>> problem
>> happens. I have no clue why the other server requires 10 args !
>>
>> I use the SSL patch for clients
>> (http://www.wohmart.com/ircd/pub/hybrid/3-Feature/timwoj-ssl/)
>>
>> This is my connect {} block on serv2.conf in case it helps you to  
>> find the
>> problem:
>>
>> connect {
>>         name = "serv.er1";
>>         host = "192.168.0.3";
>>         send_password = "whatever";
>>         accept_password = "whatever";
>>         encrypted = no;
>>         port = 12321;
>>         hub_mask = "*";
>>         class = "server";
>>         autoconn = yes;
>>         cryptlink = yes;
>>         rsa_public_key_file = "etc/serv.er1.pub";
>> };
>>
>> And Serv1.conf:
>> connect {
>>         name = "serv.er2";
>>         host = "192.168.0.2";
>>         send_password = "whatever";
>>         accept_password = "whatever";
>>         encrypted = no;
>>         port = 12321;
>>         class = "server";
>>         autoconn = yes;
>>         cryptlink = yes;
>>         rsa_public_key_file = "etc/serv.er2.pub";
>>         hub_mask = "*";
>> };
>>
>> I tried without cryptlink and the error stays..
>>
>>
>>
>
>
> -- 
> Alan LeVee
>




More information about the hybrid mailing list