Skip to content

sshproxy-dumpd: on startup, check if output dir exists and is traversable #71

Description

@dolmen

On startup of sshproxy-dumpd, check that the target directory (-output) exists and is traversable (x permission bit on POSIX).

If the directory is readable but not writable, also check that at least one subdirectory (beyond ., ..) exists and is writable. Because if not, dumpd will never be able to log any session received.

If the checks fails, stop immediately with a non-zero exit code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions