Skip to content

Commit

Permalink
fix the position of xforwardedfor in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
copiousfreetime committed May 27, 2011
1 parent 6ece2bc commit 0088217
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
8 changes: 4 additions & 4 deletions doc/stunnel.8
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,6 @@ time to keep an idle connection
.IP "\fBtransparent\fR = none | source | destination | both (Unix only)" 4
.IX Item "transparent = none | source | destination | both (Unix only)"
enable transparent proxy support on selected platforms
.IP "\fBxforwardedfor\fR = yes | no" 4
.IX Item "xforwardedfor = yes | no"
append an 'X-Forwarded-For:' HTTP request header providing the
client's IP address to the server.
.Sp
Supported values:
.RS 4
Expand Down Expand Up @@ -675,6 +671,10 @@ certificate is accepted regardless of its Common Name. For this reason a
dedicated \s-1CA\s0 should be used with level 2, and not a generic \s-1CA\s0 commonly used
for webservers. Level 3 is preferred for point-to-point connections.
.RE
.IP "\fBxforwardedfor\fR = yes | no" 4
.IX Item "xforwardedfor = yes | no"
append an 'X-Forwarded-For:' HTTP request header providing the
client's IP address to the server.
.SH "RETURN VALUE"
.IX Header "RETURN VALUE"
\&\fBstunnel\fR returns zero on success, non-zero on error.
Expand Down
8 changes: 4 additions & 4 deletions doc/stunnel.fr.8
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,6 @@ Durée d'attente sur une connexion inactive
.IP "\fBtransparent\fR = yes | no (Unix seulement)" 4
.IX Item "transparent = yes | no (Unix seulement)"
Mode mandataire transparent
.IP "\fBxforwardedfor\fR = yes | no" 4
.IX Item "xforwardedfor = yes | no"
Ajoute un en-tête 'X-Forwarded-For:' dans la requête HTTP fournissant
au serveur l'adresse IP du client.
.Sp
Ré\-écrit les adresses pour qu'elles apparaissent provenir de la
machine client \s-1SSL\s0 plutôt que de celle qui exécute \fBstunnel\fR.
Expand All @@ -411,6 +407,10 @@ l'option \fItransparent proxy\fR et seulement en mode serveur. Cette
option ne se combine pas au mode mandataire (\fIconnect\fR) sauf si la
route par défaut du client vers la cible passe par l'hôte qui fait
tourner \fBstunnel\fR, qui ne peut être localhost.
.IP "\fBxforwardedfor\fR = yes | no" 4
.IX Item "xforwardedfor = yes | no"
Ajoute un en-tête 'X-Forwarded-For:' dans la requête HTTP fournissant
au serveur l'adresse IP du client.
.SH "VALEUR DE RETOUR"
.IX Header "VALEUR DE RETOUR"
\&\fBstunnel\fR renvoie zéro en cas de succès, une autre valeur en cas d'erreur.
Expand Down
6 changes: 5 additions & 1 deletion doc/stunnel.fr.pod
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,12 @@ option ne se combine pas au mode mandataire (I<connect>) sauf si la
route par d�faut du client vers la cible passe par l'h�te qui fait
tourner B<stunnel>, qui ne peut �tre localhost.

=back
=item B<xforwardedfor> = yes | no

Ajoute un en-t�te 'X-Forwarded-For:' dans la requ�te HTTP fournissant au serveur
l'adresse IP du client.

=back

=head1 VALEUR DE RETOUR

Expand Down
6 changes: 5 additions & 1 deletion doc/stunnel.pod
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,12 @@ certificate is accepted regardless of its Common Name. For this reason a
dedicated CA should be used with level 2, and not a generic CA commonly used
for webservers. Level 3 is preferred for point-to-point connections.

=back
=item B<xforwardedfor> = yes | no

Append an 'X-Forwarded-For:' HTTP request header providing the client's IP
address to the server.

=back

=head1 RETURN VALUE

Expand Down

0 comments on commit 0088217

Please sign in to comment.