X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.8;h=bbe43a1c456a4874f0e6b8781cc46782fa680e87;hp=9a4ad7ca2d03f540ec7efd421b5af6b177b6b2b9;hb=3f5640f901a83dd41367b8cdeeaa90222f3c967a;hpb=97d01659b04d3827fbf8a04796a5bcb7821080e2 diff --git a/pppd/pppd.8 b/pppd/pppd.8 index 9a4ad7c..bbe43a1 100644 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@ -1,5 +1,5 @@ .\" manual page [] for pppd 2.4 -.\" $Id: pppd.8,v 1.72 2003/06/11 00:11:11 paulus Exp $ +.\" $Id: pppd.8,v 1.76 2004/01/15 05:09:00 paulus Exp $ .\" SH section heading .\" SS subsection heading .\" LP paragraph @@ -69,10 +69,9 @@ bit (00000001) represents character 0 and the most significant bit Pppd will ask the peer to send these characters as a 2-byte escape sequence. If multiple \fIasyncmap\fR options are given, the values are ORed -together. If no \fIasyncmap\fR option is given, no async character -map will be negotiated for the receive direction; the peer should then -escape \fIall\fR control characters. To escape transmitted -characters, use the \fIescape\fR option. +together. If no \fIasyncmap\fR option is given, the default is zero, +so pppd will ask the peer not to escape any control characters. +To escape transmitted characters, use the \fIescape\fR option. .TP .B auth Require the peer to authenticate itself before allowing network @@ -216,8 +215,11 @@ except that qualifiers which are inappropriate for a PPP link, such as \fBether\fR and \fBarp\fR, are not permitted. Generally the filter expression should be enclosed in single-quotes to prevent whitespace in the expression from being interpreted by the shell. This option -is currently only available under NetBSD or Linux, and then only -if both the kernel and pppd were compiled with PPP_FILTER defined. +is currently only available under Linux, and requires that the kernel +was configured to include PPP filtering support (CONFIG_PPP_FILTER). +Note that it +is possible to apply different constraints to incoming and outgoing +packets using the \fBinbound\fR and \fBoutbound\fR qualifiers. .TP .B allow-ip \fIaddress(es) Allow peers to use the given IP address or subnet without @@ -832,7 +834,7 @@ Specifies a packet filter to applied to data packets being sent or received to determine which packets should be allowed to pass. Packets which are rejected by the filter are silently discarded. This option can be used to prevent specific network daemons (such as -routed) using up link bandwidth, or to provide a basic firewall +routed) using up link bandwidth, or to provide a very basic firewall capability. The \fIfilter-expression\fR syntax is as described for tcpdump(1), except that qualifiers which are inappropriate for a PPP link, such as @@ -841,8 +843,8 @@ expression should be enclosed in single-quotes to prevent whitespace in the expression from being interpreted by the shell. Note that it is possible to apply different constraints to incoming and outgoing packets using the \fBinbound\fR and \fBoutbound\fR qualifiers. This -option is currently only available under NetBSD or Linux, and then -only if both the kernel and pppd were compiled with PPP_FILTER defined. +option is currently only available under Linux, and requires that the +kernel was configured to include PPP filtering support (CONFIG_PPP_FILTER). .TP .B password \fIpassword-string Specifies the password to use for authenticating to the peer. Use @@ -1023,7 +1025,8 @@ the \fIname\fR option). This option is not normally needed since the .B usepeerdns Ask the peer for up to 2 DNS server addresses. The addresses supplied by the peer (if any) are passed to the /etc/ppp/ip-up script in the -environment variables DNS1 and DNS2. In addition, pppd will create an +environment variables DNS1 and DNS2, and the environment variable +USEPEERDNS will be set to 1. In addition, pppd will create an /etc/ppp/resolv.conf file containing one or two nameserver lines with the address(es) supplied by the peer. .TP @@ -1553,6 +1556,14 @@ the connection. .TP .B LINKNAME The logical name of the link, set with the \fIlinkname\fR option. +.TP +.B DNS1 +If the peer supplies DNS server addresses, this variable is set to the +first DNS server address supplied. +.TP +.B DNS2 +If the peer supplies DNS server addresses, this variable is set to the +second DNS server address supplied. .P Pppd invokes the following scripts, if they exist. It is not an error if they don't exist.