Home
last modified time | relevance | path

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

123

/freebsd-14.2/share/examples/ppp/
H A Dppp.conf.span-isp55 # 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
91 # When we connect to our ISPs using ppp, we start the MP ppp invocation
92 # from ppp.linkup (see ppp.linkup.span-isp) for each link. We also remove
93 # the link from ppp.linkdown (see ppp.linkdown.span-isp). This is necessary
136 # ppp.linkup.span-isp).
155 set device RIP1:ppp/udp
159 set device RIP2:ppp/udp
163 set device RIPN:ppp/udp
[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.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.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.sample74 # it's received, send ``ppp'', expect ``word:'' then send ``ppp''.
80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
114 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
158 set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
193 set login "\"!chat \\-f /etc/ppp/ppp.dev.chat\""
437 # ppp.secret.
513 # ppp stream tcp nowait root /usr/sbin/ppp ppp -direct tcp-server
517 # ppp 6671/tcp
536 # ppp dgram udp wait root /usr/sbin/ppp ppp -direct udp-server
540 # ppp 6671/udp
[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-14.2/contrib/netbsd-tests/ipf/input/
H A Dni15101 # 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(…
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),…
163 # 23:18:36.585562 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:5 A:4 ppp: LCP 32: Code-Rej(…
171 # 23:18:36.588721 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:5 A:5 ppp: CCP 12: Conf-Req(…
177 # 23:18:36.589445 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:6 A:5 ppp: CCP 6: Conf-Req(1)
183 # 23:18:36.589540 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:7 ppp: CCP 12: Conf-Rej(4), M…
217 # 23:18:36.594840 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:8 A:9 ppp: CCP 6: Conf-Ack(1)
223 # 23:18:36.595525 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:9 ppp: CCP 18: Term-Req(6)
[all …]
H A Dni14101 # 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(…
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),…
163 # 23:18:36.585562 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:5 A:4 ppp: LCP 32: Code-Rej(…
171 # 23:18:36.588721 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:5 A:5 ppp: CCP 12: Conf-Req(…
177 # 23:18:36.589445 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:6 A:5 ppp: CCP 6: Conf-Req(1)
183 # 23:18:36.589540 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:7 ppp: CCP 12: Conf-Rej(4), M…
217 # 23:18:36.594840 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:8 A:9 ppp: CCP 6: Conf-Ack(1)
223 # 23:18:36.595525 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:9 ppp: CCP 18: Term-Req(6)
[all …]
H A Dni16101 # 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(…
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),…
163 # 23:18:36.585562 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:5 A:4 ppp: LCP 32: Code-Rej(…
171 # 23:18:36.588721 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:5 A:5 ppp: CCP 12: Conf-Req(…
177 # 23:18:36.589445 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:6 A:5 ppp: CCP 6: Conf-Req(1)
183 # 23:18:36.589540 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:7 ppp: CCP 12: Conf-Rej(4), M…
217 # 23:18:36.594840 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:8 A:9 ppp: CCP 6: Conf-Ack(1)
223 # 23:18:36.595525 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:9 ppp: CCP 18: Term-Req(6)
[all …]
H A Dni1398 # 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(…
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),…
159 # 23:18:36.585562 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:5 A:4 ppp: LCP 32: Code-Rej(…
167 # 23:18:36.588721 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:5 A:5 ppp: CCP 12: Conf-Req(…
173 # 23:18:36.589445 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:6 A:5 ppp: CCP 6: Conf-Req(1)
179 # 23:18:36.589540 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:7 ppp: CCP 12: Conf-Rej(4), M…
213 # 23:18:36.594840 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:8 A:9 ppp: CCP 6: Conf-Ack(1)
219 # 23:18:36.595525 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:9 ppp: CCP 18: Term-Req(6)
[all …]
/freebsd-14.2/share/examples/
H A DMakefile28 ppp \
235 SE_DIRS+= ppp
239 ppp.conf.sample \
240 ppp.conf.span-isp \
241 ppp.conf.span-isp.working \
242 ppp.linkdown.sample \
243 ppp.linkdown.span-isp \
245 ppp.linkup.sample \
246 ppp.linkup.span-isp \
248 ppp.secret.sample \
[all …]
/freebsd-14.2/usr.sbin/ppp/
H A DREADME.nat32 3. New commands in ppp
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
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
93 the ppp host can correctly connect to the Internet in NAT
111 3. New commands in ppp
117 within the ppp.conf file. The nat command also allows NAT
125 ppp> nat option [yes|no]
222 to the default address of the ppp host. Normally static
[all …]
H A DMakefile4 PACKAGE= ppp
5 PROG= ppp
6 MAN= ppp.8
14 CONFS= ppp.conf
15 CONFSDIR= ${CONFDIR}/ppp
/freebsd-14.2/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-14.2/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-14.2/usr.sbin/syslogd/
H A Dppp.conf1 !ppp
2 *.* /var/log/ppp.log
H A DMakefile40 PPP+= ppp.conf
42 PPPPACKAGE= ppp
/freebsd-14.2/usr.sbin/pppctl/
H A Dpppctl.c59 int ppp; /* ppp descriptor */ member
295 while ((l = SmartGets(td->edit, &len, td->ppp))) { in Terminal()
302 write(td->ppp, l, len); in Terminal()
303 if (Receive(td->ppp, REC_SHOW) != 0) in Terminal()
329 FD_SET(td->ppp, &f); in Monitor()
333 if ((ret = select(td->ppp + 1, &f, NULL, NULL, NULL)) > 0) { in Monitor()
608 td.ppp = fd; in main()
/freebsd-14.2/usr.sbin/newsyslog/newsyslog.conf.d/
H A DMakefile34 PPP+= ppp.conf
35 PPPPACKAGE= ppp
/freebsd-14.2/share/examples/ipfilter/
H A Dmkfilters23 next if (($i =~ /lo/) || !defined($net{$i}) || defined($ppp{$i}));
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;

123