diff options
-rwxr-xr-x | localshowuserfromip | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/localshowuserfromip b/localshowuserfromip index cfd5d05..3b773ea 100755 --- a/localshowuserfromip +++ b/localshowuserfromip @@ -7,9 +7,20 @@ # # List recent identifiable users from some IP address # +#searchstring="$1" +#egrep_before="$2" +#egrep_after="$3" +#sed_shortline="${4:-$sed_longline}" +#sed_msgid="$5" +#sed_qid="$6" +#sed_username="$7" +#sed_longline="${8:-s/^\(.\{15\}\) [^:]*: /\1 /}" +# +# TODO: Find multiple kinds of entries - like this one too: +# 9FC17B802: client=084202203102.customer.alfanett.no[84.202.203.102], sasl_method=PLAIN, sasl_username=kr +# set -e - localshowlogentries "$1" \ 'dovecot: .*: Login: .*, rip=(' \ '), lip=' \ |