Example #1
0
        internal void TraceReceptionEvent(PacketType pt, string message, params object[] args)
        {
            ISSHEventTracer t = _param.EventTracer;

            if (t != null)
            {
                t.OnReception(pt.ToString(), String.Format(message, args));
            }
        }
Example #2
0
        internal void TraceReceptionEvent(string name, string message, params object[] args)
        {
            ISSHEventTracer t = _param.EventTracer;

            if (t != null)
            {
                t.OnReception(name, String.Format(message, args));
            }
        }
Example #3
0
 public SSHConnectionParameter()
 {
     _authtype          = AuthenticationType.Password;
     _terminalname      = "vt100";
     _width             = 80;
     _height            = 25;
     _protocol          = SSHProtocol.SSH2;
     _cipherAlgorithms  = new CipherAlgorithm[] { CipherAlgorithm.AES256CTR, CipherAlgorithm.AES256, CipherAlgorithm.AES192CTR, CipherAlgorithm.AES192, CipherAlgorithm.AES128CTR, CipherAlgorithm.AES128, CipherAlgorithm.Blowfish, CipherAlgorithm.TripleDES };
     _hostkeyAlgorithms = new PublicKeyAlgorithm[] { PublicKeyAlgorithm.DSA, PublicKeyAlgorithm.RSA };
     _windowsize        = 0x1000;
     _maxpacketsize     = 0x10000;
     _checkMACError     = true;
     _tracer            = null;
 }
Example #4
0
 public SSHConnectionParameter()
 {
     _authtype = AuthenticationType.Password;
     _terminalname = "vt100";
     _width = 80;
     _height = 25;
     _protocol = SSHProtocol.SSH2;
     _cipherAlgorithms = new CipherAlgorithm[] { CipherAlgorithm.AES256CTR, CipherAlgorithm.AES256, CipherAlgorithm.AES192CTR, CipherAlgorithm.AES192, CipherAlgorithm.AES128CTR, CipherAlgorithm.AES128, CipherAlgorithm.Blowfish, CipherAlgorithm.TripleDES };
     _hostkeyAlgorithms = new PublicKeyAlgorithm[] { PublicKeyAlgorithm.DSA, PublicKeyAlgorithm.RSA };
     _windowsize = 0x1000;
     _maxpacketsize = 0x10000;
     _checkMACError = true;
     _tracer = null;
 }