Mailing List Archive

conserver.cf: raw vs telnet
In conserver.cf, if you say:

console myhost { type host; host mycisco; port 2001; } # 1

It will connect using the telnet protocol (by default), as will (explicitly)

console myhost { type host; host mycisco; port 2001; protocol telnet; } # 2

However, if you say:

default mycisco { type host; host mycisco; } # 3
console myhost { include mycisco; port 2001; }

It will connect using a raw protocol.

If you say:

default mycisco { type host; host mycisco; protocol telnet; } # 4
console myhost { include mycisco; port 2001; }

It will *still* connect using a raw protocol, even though you explicitly specify telnet.

If you say:

default mycisco { type host; host mycisco; } # 5
console myhost { include mycisco; port 2001; protocol telnet; }

You will get a parse error.

The instance marked # 4 is a bug, and arguably, the instances marked # 3 and # 5 are too.
_______________________________________________________________________

This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above.
The sender does not waive any of its rights, privileges or other protections respecting this information.
Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited.
If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately.

This E-Mail (including any attachments) has been scanned for viruses.
It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened.
However, it is the responsibility of the recipient to ensure that it is virus free.
The sender accepts no responsibility for any loss or damage arising in any way from its use.

E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: conserver.cf: raw vs telnet [ In reply to ]
your issues with raw vs telnet are certainly bugs. what version of
conserver are you using? is it pre-8.1.6? 'cause there was a bug fix
in 8.1.6 about this exact thing (the 'protocol' option). using your
test cases, i couldn't get the latest release to show any issues, so
i've got to assume you're running an old version. if not, please let me
know.

Bryan
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
RE: conserver.cf: raw vs telnet [ In reply to ]
> what version of conserver are you using? is it pre-8.1.6?

Latest version, 8.1.13.

> 'cause there was a bug fix
> in 8.1.6 about this exact thing (the 'protocol' option). using your
> test cases, i couldn't get the latest release to show any issues, so
> i've got to assume you're running an old version. if not, please let me
> know.

There's definitely an issue in the latest version. I wasn't able to send any
breaks until I rewrote the .cf file. I'll double-check my
test cases to make sure that I can reliably reproduce the bug.
_______________________________________________________________________

This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above.
The sender does not waive any of its rights, privileges or other protections respecting this information.
Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited.
If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately.

This E-Mail (including any attachments) has been scanned for viruses.
It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened.
However, it is the responsibility of the recipient to ensure that it is virus free.
The sender accepts no responsibility for any loss or damage arising in any way from its use.

E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
RE: conserver.cf: raw vs telnet [ In reply to ]
Ah-hah, I've found the problem with my previous test cases. Instead of

default mycisco { type host; host mycisco; }
console myhost { include mycisco; port 2001; }

what I actually in my .cf file was:

default mycisco { type host; host mycisco; portbase 2000; portinc 1; }
console myhost { include mycisco; port 2001; }

I didn't understand what the "portbase" option meant; I thought it was
spurious.

It turns out that if you connect to a Cisco on port 2XXX, the Cisco will use
the telnet protocol, if you connect on port 4XXX, it will use raw. So it was
the Cisco that was forcing raw mode, not conserver.

I apologize for the confusion.
_______________________________________________________________________

This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above.
The sender does not waive any of its rights, privileges or other protections respecting this information.
Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited.
If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately.

This E-Mail (including any attachments) has been scanned for viruses.
It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened.
However, it is the responsibility of the recipient to ensure that it is virus free.
The sender accepts no responsibility for any loss or damage arising in any way from its use.

E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users