summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-06-10 10:04:20 +0000
committerbrian <brian@FreeBSD.org>1997-06-10 10:04:20 +0000
commit4de2fda06158d08349e7339a2951fa71c3fddce5 (patch)
treefe0758cc0d3bbf515dd3fdb405db029519d0915d /etc
parent8ca031830dec477a4a7a8d97470f3e056c5ebe04 (diff)
downloadFreeBSD-src-4de2fda06158d08349e7339a2951fa71c3fddce5.zip
FreeBSD-src-4de2fda06158d08349e7339a2951fa71c3fddce5.tar.gz
Use "set log", not "set debug".
Grammar police.
Diffstat (limited to 'etc')
-rw-r--r--etc/ppp/ppp.conf.filter.sample18
-rw-r--r--etc/ppp/ppp.conf.iij.sample8
-rw-r--r--etc/ppp/ppp.conf.sample8
-rwxr-xr-xetc/ppp/ppp.conf.server.sample2
-rw-r--r--etc/ppp/ppp.linkup.sample9
5 files changed, 24 insertions, 21 deletions
diff --git a/etc/ppp/ppp.conf.filter.sample b/etc/ppp/ppp.conf.filter.sample
index 9eaae8e..8510eb4 100644
--- a/etc/ppp/ppp.conf.filter.sample
+++ b/etc/ppp/ppp.conf.filter.sample
@@ -1,12 +1,12 @@
#
-# $Id$
-#
-# An example of packet filter definition.
+# $Id: ppp.conf.filter.sample,v 1.4 1997/02/23 09:21:10 peter Exp $
#
+# An example of packet filter definitions. Merge whatever rules you
+# want into your ppp.conf file.
#
filterd:
#
-# Don't keep Alive with ICMP,DNS and RIP packet
+# Don't keep Alive with ICMP,DNS and RIP packets
#
set afilter 0 deny icmp
set afilter 1 deny udp src eq 53
@@ -15,17 +15,17 @@ filterd:
set afilter 4 deny udp dst eq 520
set afilter 5 permit 0/0 0/0
#
-# Don't dial with ICMP packet
+# Don't let ICMP packets cause us to dial
#
set dfilter 0 deny icmp
set dfilter 1 permit 0/0 0/0
#
-# Allow ident packet pass through
+# Allow ident packets to pass through
#
set ifilter 0 permit tcp dst eq 113
set ofilter 0 permit tcp src eq 113
#
-# Allow telnet connection to the Internet
+# Allow telnet connections to the Internet
#
set ifilter 1 permit tcp src eq 23 estab
set ofilter 1 permit tcp dst eq 23
@@ -37,7 +37,7 @@ filterd:
set ifilter 3 permit tcp src eq 20 dst gt 1023
set ofilter 3 permit tcp dst eq 20
#
-# Allow access to DNS
+# Allow access to any DNS
#
set ifilter 4 permit udp src eq 53
set ofilter 4 permit udp dst eq 53
@@ -54,5 +54,5 @@ filterd:
set ifilter 7 permit udp dst gt 33433
set ofilter 7 permit udp dst gt 33433
#
-# If none of above rules matches, then packet is blockd.
+# If none of the above rules matche, then the packet is blocked.
#
diff --git a/etc/ppp/ppp.conf.iij.sample b/etc/ppp/ppp.conf.iij.sample
index b089860..b3307d5e 100644
--- a/etc/ppp/ppp.conf.iij.sample
+++ b/etc/ppp/ppp.conf.iij.sample
@@ -10,7 +10,7 @@
# In all cases, you can use same username and password assigned
# from IIJ.
#
-# $Id$
+# $Id: ppp.conf.iij.sample,v 1.3 1997/02/23 09:21:10 peter Exp $
#
#############################################################################
#
@@ -38,7 +38,6 @@ iij-pap:
set authkey MyPassword
set login "TIMEOUT 5 login:-\\r-login:"
set timeout 0
- set openmode active
dial
#
# Use "% ppp iij-chap" for CHAP authentication
@@ -51,7 +50,6 @@ iij-chap:
set authkey MyPassword
set login "TIMEOUT 5 login:-\\r-login:"
set timeout 0
- set openmode active
dial
#
# Here, we assume that IIJ server has 192.244.177.2 as their address.
@@ -65,8 +63,8 @@ iij-chap:
# % ping 192.244.177.2
#
iij-demand:
- set debug lcp
+ set log lcp
set phone 0355118852
set login "TIMEOUT 5 login:-\\r-login: MyUserName word: MyPassword PPP"
- set ifaddr 0 192.244.177.2/20
+ set ifaddr 10.10.10.10/0 192.244.177.2/20
add 0 0 192.244.177.2
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index 5e98a72..2669090 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Written by Toshiharu OHNO
#
-# $Id: ppp.conf.sample,v 1.13 1997/05/08 01:45:48 brian Exp $
+# $Id: ppp.conf.sample,v 1.14 1997/05/12 14:07:14 brian Exp $
#
#################################################################
@@ -123,14 +123,14 @@ direct-client:
set line /dev/cuaa0
set sp 115200
set timeout 900
- set debug Phase Chat LQM
+ set log Phase Chat LQM
set login "TIMEOUT 5 -\\r-login:-\\r-login: ppp word: ppp HELLO"
set ifaddr 10.0.4.2 10.0.4.1
add 10.0.4.2 255.255.255.255 127.0.0.1
direct-server:
set timeout 900 10 3
- set debug Phase LQM
+ set log Phase LQM
set ifaddr 10.0.4.1 10.0.4.2
add 10.0.4.1 255.255.255.255 127.0.0.1
@@ -158,7 +158,7 @@ users:
callback:
set phone 0312345678
set login "ABORT NO\\sCARRIER TIMEOUT 5 login:-\\r-login: MyName word: MySecret TIMEOUT 20 DUMMY"
- set debug phase chat
+ set log phase chat
dial
quit
diff --git a/etc/ppp/ppp.conf.server.sample b/etc/ppp/ppp.conf.server.sample
index 8e0f8e7..2f23869 100755
--- a/etc/ppp/ppp.conf.server.sample
+++ b/etc/ppp/ppp.conf.server.sample
@@ -7,7 +7,7 @@
default:
disable lqr
- set debug phase lcp chat
+ set log phase lcp chat
set timeout 0
enable msext
set ns xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
diff --git a/etc/ppp/ppp.linkup.sample b/etc/ppp/ppp.linkup.sample
index 514a6fe..d445b59 100644
--- a/etc/ppp/ppp.linkup.sample
+++ b/etc/ppp/ppp.linkup.sample
@@ -12,7 +12,7 @@
#
# 3) If no label has been found, use MYADDR if it exists.
#
-# $Id: ppp.linkup.sample,v 1.5 1997/02/23 09:21:11 peter Exp $
+# $Id: ppp.linkup.sample,v 1.6 1997/02/23 14:04:23 brian Exp $
#
#########################################################################
@@ -39,11 +39,16 @@ MYADDR:
# as our default gateway.
# This is vital if you don't already know either sides IP number.
#
+# We create a loopback route to ourselves so that we can "ping"
+# our side of the connection
+#
# We also want to execute a script on startup. This script can do
# nice things such as kick off "sendmail -q", "popclient my.isp" and
-# "slurp -d news".
+# "slurp -d news". It can be passed MYADDR, HISADDR and INTERFACE
+# too - useful for informing a DNS.
#
pmdemand:
delete ALL
add 0 0 HISADDR
+ add MYADDR 255.255.255.255 127.0.0.1
! sh -c "/etc/ppp/ppp.etherup.pmdemand &"
OpenPOWER on IntegriCloud