Code Monkey home page Code Monkey logo

go-smb2's Introduction

Lightweight SMB2/3 server

Introduction

I started this project to enable Time Machine backups over the network for my Mac. My primary focus was ensuring compatibility with macOS clients. Therefore, I've implemented many macOS-specific features, including extended attribute support, unix file modes, bonjour advertisement, and other proprietary Apple extensions. Because of this, other operating systems may not fully work or require additional features.

The project is designed to serve as a library for implementing custom file systems. This means it can either substitute libfuse or be integrated into bigger projects. The file system interface is in vfs/vfs.go. I provided an example of a passthrough file system implementation.

Keep in mind, there are certain features, such as parallel connection support, file locking, user authentication, and impersonation, which are either in their early stages or not yet implemented, primarily due to my limited focus.

This project is dual licensed: AGPL or proprietary commercial license

For inquiries about a proprietary license or for support, please contact me at [email protected].

Build:

go mod tidy
go build

Run:

./go-smb2 [-g] [-l listen_address] [-m mount_dir]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.