annotate man/mservdetect.1 @ 331:e507c854a63e

Security fix! Correct handling of seteuid() return value See Debian bug #638002, reported by John Lightsey. When possible the (already available) set_euidgid() function is used. Additionally, it is unnecessary to change the identity when writing into an already open file descriptor. This should fix the problem.
author markus schnalke <meillo@marmaro.de>
date Sat, 27 Aug 2011 16:19:07 +0200 (2011-08-27)
parents 8bf7820a0e0e
children ef346dc67514
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
325
8bf7820a0e0e Updated version and date
meillo@marmaro.de
parents: 314
diff changeset
1 .TH mservdetect 1 2011-06-03 masqmail-0.3.2 "User Commands"
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
2
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
3 .SH NAME
314
e74ee75453db small wording change
meillo@marmaro.de
parents: 310
diff changeset
4 mservdetect \- Helper for masqmail in combination with masqdialer
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
5
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
6
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 .SH SYNOPSIS
97
620aaf5e22f6 man page of mservdetect talked about /usr/bin/masqmail :-O
meillo@marmaro.de
parents: 95
diff changeset
8 \fB/usr/bin/mservdetect \fIhost port\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
9
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
10
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11 .SH DESCRIPTION
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
12
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
13 Mservdetect is a small helper application for masqmail to detect its online status
314
e74ee75453db small wording change
meillo@marmaro.de
parents: 310
diff changeset
14 through the modem server masqdialer.
e74ee75453db small wording change
meillo@marmaro.de
parents: 310
diff changeset
15 It connects to \fIhost\fR at \fIport\fR, speaking the masqdialer
e74ee75453db small wording change
meillo@marmaro.de
parents: 310
diff changeset
16 protocol, and finally prints the active connection name, if any, to stdout.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
17
310
f10a56dc7481 reworked online_detect to the simpler online_query
meillo@marmaro.de
parents: 291
diff changeset
18 If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
85
0707a9ae145d mservdetect should be listed in man section 1 if it resides in /.../bin/
meillo@marmaro.de
parents: 57
diff changeset
19 masqmail.conf.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
20
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
21 .SH OPTIONS
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
22
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
23 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
24 \fBhost\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
25
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
26 The hostname where the masqdialer server is running.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
27
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
28 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
29 \fBport\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
30
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
31 The port number where the masqdialer server is listening.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
32
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
33
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
34 .SH AUTHOR
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
35
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
36 Masqmail was written by Oliver Kurth.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
37 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
38
95
e01fed4846e4 masqmail's homepage moved prog.marmaro.de/masqmail -> marmaro.de/prog/masqmail
meillo@marmaro.de
parents: 85
diff changeset
39 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
26
607221b0dac1 added myself as maintainer; updated URL of the website
meillo@marmaro.de
parents: 3
diff changeset
40 There is also a mailing list, you will find information about it at masqmail's main site.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
41
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
42
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
43 .SH BUGS
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
44
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
45 Please report bugs to the mailing list.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
46
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
47
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
48 .SH SEE ALSO
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
49
85
0707a9ae145d mservdetect should be listed in man section 1 if it resides in /.../bin/
meillo@marmaro.de
parents: 57
diff changeset
50 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR