Home
last modified time | relevance | path

Searched refs:ppp (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/share/examples/ppp/
H A Dppp.conf.span-isp2 # This advanced ppp configuration file explains how to implement
31 # There is a working example in ppp.*.span-isp.working that can be tested
38 # to accept a multilink ppp connection over UDP, assigning a routable IP
40 # a *BSD box as I know of no other ppp implementations that can use UDP
55 # ppp 6671/udp
63 # ppp dgram udp wait root /usr/sbin/ppp ppp -direct vpn-in
65 # Note: Because inetd ``wait''s for ppp to finish, a single ppp
69 # Also, -direct invocations of ppp do sendto()s using the
71 # returning traffic is a bit unbalanced. Perhaps ppp should
75 # If you use ppp to connect to your ISPs, the isp* profiles shold be used,
[all …]
H A Dppp.linkup.sample3 # Example of ppp.linkup file
5 # This file is checked when ppp establishes a connection.
6 # ppp searches the labels in this file as follows:
10 # 2) The label specified on the command line to ppp.
19 # ppp.conf route is `sticky' (see the man page).
24 !bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au
27 # to 192.244.176.0 network. This may also be done in ppp.conf instead.
39 # connectivity. Using ``!'' will delay ppp 'till the completion
45 !bg /etc/ppp/ppp.etherup.pmdemand
46 ! sh -c "cat /etc/ppp/linkup.au >/dev/audio"
[all …]
H A Dppp.linkup.span-isp.working2 # This is a working example of ppp.linkup.span-isp that uses ppp connections
5 # The ISP links start our MP version of ppp as they come up
7 !bg ppp -background vpn1 vpn
10 !bg ppp -background vpn2 vpn
13 !bg ppp -background vpn3 vpn
16 set server /var/run/ppp/vpn "" 0177
H A Dppp.conf.span-isp.working2 # This is a working example of ppp.conf.span-isp that uses ppp connections
19 # ppp -b isp1
20 # ppp -b isp2
21 # ppp -b isp3
25 # /var/run/ppp/vpn-in'' and do a ``show links'', only a single link shows up.
27 # ppp.linkup.span-isp.working, you see three links. This is because inetd
28 # is told to ``wait'' for ppp to finish and the receiving ppp gets to
77 set device 127.0.2.7:ppp/udp
81 set device 127.0.2.6:ppp/udp
85 set device 127.0.2.4:ppp/udp
[all …]
H A Dppp.linkup.span-isp2 # Refer to ppp.conf.span-isp for a description of what this file is for.
5 # The ISP links start our MP version of ppp as they come up
7 !bg ppp -background vpn1 vpn
10 !bg ppp -background vpn2 vpn
13 !bg ppp -background vpnN vpn
16 set server /var/run/ppp/vpn "" 0177
H A Dppp.linkdown.span-isp.working2 # This is a working example of ppp.linkdown.span-isp that uses ppp connections
5 # The ISP links start our MP version of ppp as they come up
7 !bg pppctl /var/run/ppp/vpn link 1 close
10 !bg pppctl /var/run/ppp/vpn link 2 close
13 !bg pppctl /var/run/ppp/vpn link 3 close
H A Dppp.conf.sample19 # may want to ``!include ~/.ppp.conf'' for backwards compatibility.
59 # when negotiating with some (broken) ppp implementations.
65 # It's better to put the ``add'' line in ppp.linkup when not in -auto mode.
67 # Finally, the ``enable dns'' line tells ppp to ask the peer for the
69 # by the other side, but if it is, ppp will update /etc/resolv.conf with
74 # it's received, send ``ppp'', expect ``word:'' then send ``ppp''.
80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
106 # # ppp -auto ondemand
109 # Remember, ppp.linkup is searched for a "192.244.176.44" label, then
114 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
[all …]
H A Dppp.linkdown.span-isp2 # Refer to ppp.conf.span-isp for a description of what this file is for.
5 # The ISP links start our MP version of ppp as they come up
7 !bg pppctl /var/run/ppp/vpn link 1 close
10 !bg pppctl /var/run/ppp/vpn link 2 close
13 !bg pppctl /var/run/ppp/vpn link N close
H A Dppp.linkdown.sample3 # Example of ppp.linkdown file
5 # This file is checked when ppp closes a connection.
6 # ppp searches the labels in this file as follows:
10 # 2) The label specified on the command line to ppp.
25 !bg /usr/local/bin/auplay /etc/ppp/linkdown.au
27 # If you're running ``ppp -auto -nat dynamic-nat-auto'', and are
H A Dppp.secret.sample3 # Example of ppp.secret file
6 # You must ``enable'' either PAP or CHAP in your ppp.conf file.
12 # This doesn't work for CHAP connections as ppp must have access
21 # the ppp.linkup and ppp.linkdown files. A ``*'' or an empty field
H A Dppp.secret.span-isp.working2 # This is a working example of ppp.secret.span-isp that uses ppp connections
/freebsd/contrib/netbsd-tests/ipf/input/
H A Dni1374 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M…
91 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A…
98 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(…
103 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(…
110 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M…
117 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(…
124 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), …
138 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),…
145 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(…
152 # 23:18:36.584936 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:4 A:4 ppp: LCP 26: Ident(3),…
[all …]
H A Dni1476 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M…
94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A…
101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(…
107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(…
114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M…
121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(…
128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), …
142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),…
149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(…
156 # 23:18:36.584936 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:4 A:4 ppp: LCP 26: Ident(3),…
[all …]
H A Dni1576 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M…
94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A…
101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(…
107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(…
114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M…
121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(…
128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), …
142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),…
149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(…
156 # 23:18:36.584936 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:4 A:4 ppp: LCP 26: Ident(3),…
[all …]
H A Dni1676 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M…
94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A…
101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(…
107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(…
114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M…
121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(…
128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), …
142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),…
149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(…
156 # 23:18:36.584936 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:4 A:4 ppp: LCP 26: Ident(3),…
[all …]
/freebsd/share/examples/
H A DMakefile27 ppp \
237 SE_DIRS+= ppp
238 SE_PPPPACKAGE= ppp
242 ppp.conf.sample \
243 ppp.conf.span-isp \
244 ppp.conf.span-isp.working \
245 ppp.linkdown.sample \
246 ppp.linkdown.span-isp \
247 ppp.linkdown.span-isp.working \
248 ppp.linkup.sample \
[all …]
/freebsd/usr.sbin/ppp/
H A DREADME.nat32 3. New commands in ppp
41 User mode ppp has embedded NAT (Network Address Translation) code.
43 "nat enable yes" command in a ppp.conf file, makes the ppp host
45 them appear to come from the ppp host machine. Incoming packets
56 addresses). The ppp host can act as a gateway for these networks, and
63 behind the ppp host, are not visible from the outside world. They can
65 service requests) but the connections seem to come from the ppp host
89 It is recommended that users first verify correct ppp operation without
90 NAT enabled. This will confirm that the ppp.conf file is
91 properly set up and that there are no ppp problems. Then start ppp with
[all …]
H A DMakefile3 PACKAGE= ppp
4 PROG= ppp
5 MAN= ppp.8
13 CONFS= ppp.conf
14 CONFSDIR= ${CONFDIR}/ppp
H A DREADME.changes26 This file summarises changes made to ppp that effect
38 o Users must be a member of group `network' for ppp access. Furthermore,
39 they must be `allow'ed to run ppp via the `allow' command in the
41 For a brief period, ppp could only be run as root.
55 o A password of "*" in ppp.secret causes a passwd database lookup in
89 o Add & delete commands are not necessary in ppp.linkup if they are
100 -auto -alias mode, add ``iface clear'' to your ppp.linkdown file -
133 open and the peer MRU >= the peer MRRU, ppp sends outbound traffic as
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dproc.h71 proc_t **ppp; in do_thread_create() local
82 ppp = &system_proc; in do_thread_create()
84 ppp = &pp; in do_thread_create()
85 error = kproc_kthread_add(proc, arg, ppp, &td, RFSTOPPED, in do_thread_create()
/freebsd/sys/netgraph/
H A Dng_rfc1490.c105 hook_p ppp; member
190 if (priv->ppp) in ng_rfc1490_newhook()
192 priv->ppp = hook; in ng_rfc1490_newhook()
370 NG_FWD_NEW_DATA(error, item, priv->ppp, m); in ng_rfc1490_rcvdata()
382 NG_FWD_NEW_DATA(error, item, priv->ppp, m); in ng_rfc1490_rcvdata()
385 } else if (hook == priv->ppp) { in ng_rfc1490_rcvdata()
479 else if (hook == priv->ppp) in ng_rfc1490_disconnect()
480 priv->ppp = NULL; in ng_rfc1490_disconnect()
/freebsd/usr.sbin/syslogd/
H A Dppp.conf1 !ppp
2 *.* /var/log/ppp.log
/freebsd/usr.sbin/pppctl/
H A Dpppctl.c58 int ppp; /* ppp descriptor */ member
294 while ((l = SmartGets(td->edit, &len, td->ppp))) { in Terminal()
301 write(td->ppp, l, len); in Terminal()
302 if (Receive(td->ppp, REC_SHOW) != 0) in Terminal()
328 FD_SET(td->ppp, &f); in Monitor()
332 if ((ret = select(td->ppp + 1, &f, NULL, NULL, NULL)) > 0) { in Monitor()
607 td.ppp = fd; in main()
/freebsd/usr.sbin/newsyslog/newsyslog.conf.d/
H A DMakefile36 PPP+= ppp.conf
37 PPPPACKAGE= ppp
/freebsd/share/examples/ipfilter/
H A Dmkfilters23 next if (($i =~ /lo/) || !defined($net{$i}) || defined($ppp{$i}));
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;

123