Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for xsftp (0.03 sec)

  1. cmd/sftp-server.go

    func (s *sftpLogger) Info(tag xsftp.LogType, msg string) {
    	logger.Info(msg)
    }
    
    func (s *sftpLogger) Error(tag xsftp.LogType, err error) {
    	switch tag {
    	case xsftp.AcceptNetworkError:
    		sftpLogOnceIf(context.Background(), err, "accept-limit-sftp")
    	case xsftp.AcceptChannelError:
    		sftpLogOnceIf(context.Background(), err, "accept-channel-sftp")
    	case xsftp.SSHKeyExchangeError:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    	}
    }
    
    func (m *sftpMetrics) log(s *sftp.Request, user string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. cmd/sftp-server_test.go

    	defer cancel()
    
    	// we need to do this so that the user has a policy before authentication.
    	// ldap user accounts without policies are denied access in sftp.
    	policy := "mypolicy"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. cmd/server-main.go

    	}
    
    	if cf.Options.SFTP.Address != "" {
    		ctxt.SFTP = append(ctxt.SFTP, fmt.Sprintf("address=%s", cf.Options.SFTP.Address))
    	}
    	if cf.Options.SFTP.SSHPrivateKey != "" {
    		ctxt.SFTP = append(ctxt.SFTP, fmt.Sprintf("ssh-private-key=%s", cf.Options.SFTP.SSHPrivateKey))
    	}
    }
    
    func mergeServerCtxtFromConfigFile(configFile string, ctxt *serverCtxt) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  5. cmd/typed-errors.go

    var errSessionPolicyTooLarge = errors.New("Session policy should not exceed 2048 characters")
    
    // error returned in SFTP when user used public key without certificate
    var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted")
    
    // error returned in SFTP when user used certificate which does not contain principal(s)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. cmd/common-main.go

    		ctxt.MemLimit = mlimit
    	} else {
    		ctxt.MemLimit = memAvailable
    	}
    
    	if memAvailable < ctxt.MemLimit {
    		ctxt.MemLimit = memAvailable
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. go.mod

    	github.com/ncw/directio v1.0.5
    	github.com/nsqio/go-nsq v1.1.0
    	github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c
    	github.com/pierrec/lz4/v4 v4.1.22
    	github.com/pkg/errors v0.9.1
    	github.com/pkg/sftp v1.13.9
    	github.com/pkg/xattr v0.4.10
    	github.com/prometheus/client_golang v1.22.0
    	github.com/prometheus/client_model v0.6.2
    	github.com/prometheus/common v0.63.0
    	github.com/prometheus/procfs v0.16.1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/logging.go

    func s3LogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "s3", err, errKind...)
    }
    
    func sftpLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "sftp", err, id, errKind...)
    }
    
    func shutdownLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "shutdown", err, errKind...)
    }
    
    func stsLogIf(ctx context.Context, err error, errKind ...any) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. go.sum

    github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
    github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
    github.com/pkg/sftp v1.13.9 h1:4NGkvGudBL7GteO3m6qnaQ4pC0Kvf0onSVc9gR3EWBw=
    github.com/pkg/sftp v1.13.9/go.mod h1:OBN7bVXdstkFFN/gdnHPUb5TE8eb8G1Rp9wCItqjkkA=
    github.com/pkg/xattr v0.4.10 h1:Qe0mtiNFHQZ296vRgUjRCoPHPqH7VdTOrZx3g0T+pGA=
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 79.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.16.md

    - github.com/mholt/caddy: [2de4950](https://github.com/mholt/caddy/tree/2de4950)
    - github.com/natefinch/lumberjack: [v2.0.0+incompatible](https://github.com/natefinch/lumberjack/tree/v2.0.0)
    - github.com/pkg/sftp: [4d0e916](https://github.com/pkg/sftp/tree/4d0e916)
    - github.com/shurcooL/sanitized_anchor_name: [10ef21a](https://github.com/shurcooL/sanitized_anchor_name/tree/10ef21a)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 345.2K bytes
    - Viewed (0)
Back to top