Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed Nov 6, 2016
1 parent 01808b5 commit bd5ce18
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
29 changes: 29 additions & 0 deletions telnetlogger.8
Expand Up @@ -47,6 +47,35 @@ I then use the firewall to redirect incoming port 23 to my network to the Raspbe
.
.IP "" 0
.
.SH "OUTPUT FORMAT"
The internet addresses are output in either IPv4 or IPv6 format as appropriate\. Usernames and passwords are filter non\-printable characters and some punctuation, replacing them with the standard \exXX format\.
.
.P
The CSV format has the columns:
.
.IP "" 4
.
.nf

time_t, timestamp, address, username, password
.
.fi
.
.IP "" 0
.
.P
An example line is:
.
.IP "" 4
.
.nf

1478398395,2016\-11\-06 02:13:15,127\.0\.0\.1,foo,bar
.
.fi
.
.IP "" 0
.
.SH "COMPATIBILITY"
The tool runs on Windows and Linux, but should run on most other systems as well\.
.
Expand Down
13 changes: 13 additions & 0 deletions telnetlogger.8.markdown
Expand Up @@ -45,6 +45,19 @@ to the Raspberry Pi on port 2323.
port. If not specified, by default port 23 will be used. This may
require root priveleges to run on low-numbered ports.

## OUTPUT FORMAT

The internet addresses are output in either IPv4 or IPv6 format as
appropriate. Usernames and passwords are filter non-printable characters
and some punctuation, replacing them with the standard \xXX format.

The CSV format has the columns:

time_t, timestamp, address, username, password

An example line is:

1478398395,2016-11-06 02:13:15,127.0.0.1,foo,bar

## COMPATIBILITY

Expand Down
1 change: 1 addition & 0 deletions telnetlogger.c
Expand Up @@ -292,6 +292,7 @@ print_csv(FILE *fp, time_t now, const char *hostname,
print_string(fp, password, password_len);
fprintf(fp, "\n");

fflush(fp);
pthread_mutex_unlock(&output);
}

Expand Down

0 comments on commit bd5ce18

Please sign in to comment.