- hostname = flag.String("hostname", "localhost", "Hostname")
- bind = flag.String("bind", ":6667", "Address to bind to")
- motd = flag.String("motd", "", "Path to MOTD file")
- logdir = flag.String("logdir", "", "Absolute path to directory for logs")
- statedir = flag.String("statedir", "", "Absolute path to directory for states")
+ hostname = flag.String("hostname", "localhost", "hostname")
+ bind = flag.String("bind", "[::1]:6667", "address to bind to")
+ cloak = flag.String("cloak", "", "cloak user's host with the given hostname")
+ motd = flag.String("motd", "", "path to MOTD file")
+ logdir = flag.String("logdir", "", "absolute path to directory for logs")
+ statedir = flag.String("statedir", "", "absolute path to directory for states")
+ passwords = flag.String("passwd", "", "optional path to passwords file")
+ tlsBind = flag.String("tlsbind", "", "TLS address to bind to")
+ tlsPEM = flag.String("tlspem", "", "path to TLS certificat+key PEM file")
+ permStateDirS = flag.String("perm-state-dir", "755", "state directory permissions")
+ permStateFileS = flag.String("perm-state-file", "600", "state files permissions")
+ permLogFileS = flag.String("perm-log-file", "644", "log files permissions")
+ timestamped = flag.Bool("timestamped", false, "enable timestamps on stderr messages")
+ verbose = flag.Bool("verbose", false, "enable verbose logging")
+ debug = flag.Bool("debug", false, "enable debug (traffic) logging")