/usr/share/augeas/lenses/dist/stunnel.aug is in augeas-lenses 1.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | (* Stunnel configuration file module for Augeas *)
module Stunnel =
autoload xfm
let comment = IniFile.comment IniFile.comment_re IniFile.comment_default
let sep = IniFile.sep "=" "="
let setting = "chroot"
| "compression"
| "debug"
| "EGD"
| "engine"
| "engineCtrl"
| "fips"
| "foreground"
| "output"
| "pid"
| "RNDbytes"
| "RNDfile"
| "RNDoverwrite"
| "service"
| "setgid"
| "setuid"
| "socket"
| "syslog"
| "taskbar"
| "accept"
| "CApath"
| "CAfile"
| "cert"
| "ciphers"
| "client"
| "connect"
| "CRLpath"
| "CRLfile"
| "curve"
| "delay"
| "engineNum"
| "exec"
| "execargs"
| "failover"
| "ident"
| "key"
| "local"
| "OCSP"
| "OCSPflag"
| "options"
| "protocol"
| "protocolAuthentication"
| "protocolHost"
| "protocolPassword"
| "protocolUsername"
| "pty"
| "retry"
| "session"
| "sessiond"
| "sni"
| "sslVersion"
| "stack"
| "TIMEOUTbusy"
| "TIMEOUTclose"
| "TIMEOUTconnect"
| "TIMEOUTidle"
| "transparent"
| "verify"
let entry = IniFile.indented_entry setting sep comment
let empty = IniFile.empty
let title = IniFile.indented_title ( IniFile.record_re - ".anon" )
let record = IniFile.record title entry
let rc_anon = [ label ".anon" . ( entry | empty )+ ]
let lns = rc_anon? . record*
let filter = (incl "/etc/stunnel/stunnel.conf")
let xfm = transform lns filter
|