Home
last modified time | relevance | path

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

123

/freebsd-13.1/share/examples/ppp/
H A Dppp.conf.span-isp56 # ppp 6671/udp
64 # ppp dgram udp wait root /usr/sbin/ppp ppp -direct vpn-in
66 # Note: Because inetd ``wait''s for ppp to finish, a single ppp
92 # When we connect to our ISPs using ppp, we start the MP ppp invocation
93 # from ppp.linkup (see ppp.linkup.span-isp) for each link. We also remove
94 # the link from ppp.linkdown (see ppp.linkdown.span-isp). This is necessary
137 # ppp.linkup.span-isp).
156 set device RIP1:ppp/udp
160 set device RIP2:ppp/udp
164 set device RIPN:ppp/udp
[all …]
H A Dppp.linkup.span-isp.working3 # This is a working example of ppp.linkup.span-isp that uses ppp connections
6 # The ISP links start our MP version of ppp as they come up
8 !bg ppp -background vpn1 vpn
11 !bg ppp -background vpn2 vpn
14 !bg ppp -background vpn3 vpn
17 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.
20 # ppp.conf route is `sticky' (see the man page).
25 !bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au
28 # to 192.244.176.0 network. This may also be done in ppp.conf instead.
40 # connectivity. Using ``!'' will delay ppp 'till the completion
46 !bg /etc/ppp/ppp.etherup.pmdemand
47 ! sh -c "cat /etc/ppp/linkup.au >/dev/audio"
[all …]
H A Dppp.conf.span-isp.working3 # This is a working example of ppp.conf.span-isp that uses ppp connections
20 # ppp -b isp1
21 # ppp -b isp2
22 # ppp -b isp3
26 # /var/run/ppp/vpn-in'' and do a ``show links'', only a single link shows up.
28 # ppp.linkup.span-isp.working, you see three links. This is because inetd
29 # is told to ``wait'' for ppp to finish and the receiving ppp gets to
78 set device 127.0.2.7:ppp/udp
82 set device 127.0.2.6:ppp/udp
86 set device 127.0.2.4:ppp/udp
[all …]
H A Dppp.linkup.span-isp3 # Refer to ppp.conf.span-isp for a description of what this file is for.
6 # The ISP links start our MP version of ppp as they come up
8 !bg ppp -background vpn1 vpn
11 !bg ppp -background vpn2 vpn
14 !bg ppp -background vpnN vpn
17 set server /var/run/ppp/vpn "" 0177
H A Dppp.linkdown.span-isp.working3 # This is a working example of ppp.linkdown.span-isp that uses ppp connections
6 # The ISP links start our MP version of ppp as they come up
8 !bg pppctl /var/run/ppp/vpn link 1 close
11 !bg pppctl /var/run/ppp/vpn link 2 close
14 !bg pppctl /var/run/ppp/vpn link 3 close
H A Dppp.conf.sample75 # it's received, send ``ppp'', expect ``word:'' then send ``ppp''.
81 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
115 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
159 set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
194 set login "\"!chat \\-f /etc/ppp/ppp.dev.chat\""
438 # ppp.secret.
514 # ppp stream tcp nowait root /usr/sbin/ppp ppp -direct tcp-server
518 # ppp 6671/tcp
537 # ppp dgram udp wait root /usr/sbin/ppp ppp -direct udp-server
541 # ppp 6671/udp
[all …]
H A Dppp.linkdown.span-isp3 # Refer to ppp.conf.span-isp for a description of what this file is for.
6 # The ISP links start our MP version of ppp as they come up
8 !bg pppctl /var/run/ppp/vpn link 1 close
11 !bg pppctl /var/run/ppp/vpn link 2 close
14 !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.
26 !bg /usr/local/bin/auplay /etc/ppp/linkdown.au
28 # 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.working3 # This is a working example of ppp.secret.span-isp that uses ppp connections
/freebsd-13.1/contrib/netbsd-tests/ipf/input/
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 …]
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 …]
/freebsd-13.1/share/examples/
H A DMakefile29 ppp \
236 SE_DIRS+= ppp
240 ppp.conf.sample \
241 ppp.conf.span-isp \
242 ppp.conf.span-isp.working \
243 ppp.linkdown.sample \
244 ppp.linkdown.span-isp \
246 ppp.linkup.sample \
247 ppp.linkup.span-isp \
249 ppp.secret.sample \
[all …]
/freebsd-13.1/usr.sbin/ppp/
H A DREADME.nat34 3. New commands in ppp
45 "nat enable yes" command in a ppp.conf file, makes the ppp host
47 them appear to come from the ppp host machine. Incoming packets
92 NAT enabled. This will confirm that the ppp.conf file is
93 properly set up and that there are no ppp problems. Then start ppp with
95 the ppp host can correctly connect to the Internet in NAT
113 3. New commands in ppp
119 within the ppp.conf file. The nat command also allows NAT
127 ppp> nat option [yes|no]
224 to the default address of the ppp host. Normally static
[all …]
H A DMakefile5 PACKAGE= ppp
6 PROG= ppp
7 MAN= ppp.8
15 CONFS= ppp.conf
16 CONFSDIR= ${CONFDIR}/ppp
/freebsd-13.1/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-13.1/sys/netgraph/
H A Dng_rfc1490.c107 hook_p ppp; member
192 if (priv->ppp) in ng_rfc1490_newhook()
194 priv->ppp = hook; in ng_rfc1490_newhook()
372 NG_FWD_NEW_DATA(error, item, priv->ppp, m); in ng_rfc1490_rcvdata()
384 NG_FWD_NEW_DATA(error, item, priv->ppp, m); in ng_rfc1490_rcvdata()
387 } else if (hook == priv->ppp) { in ng_rfc1490_rcvdata()
481 else if (hook == priv->ppp) in ng_rfc1490_disconnect()
482 priv->ppp = NULL; in ng_rfc1490_disconnect()
/freebsd-13.1/usr.sbin/syslogd/
H A Dppp.conf2 !ppp
3 *.* /var/log/ppp.log
H A DMakefile41 PPP+= ppp.conf
43 PPPPACKAGE= ppp
/freebsd-13.1/usr.sbin/pppctl/
H A Dpppctl.c61 int ppp; /* ppp descriptor */ member
297 while ((l = SmartGets(td->edit, &len, td->ppp))) { in Terminal()
304 write(td->ppp, l, len); in Terminal()
305 if (Receive(td->ppp, REC_SHOW) != 0) in Terminal()
331 FD_SET(td->ppp, &f); in Monitor()
335 if ((ret = select(td->ppp + 1, &f, NULL, NULL, NULL)) > 0) { in Monitor()
610 td.ppp = fd; in main()
/freebsd-13.1/usr.sbin/newsyslog/newsyslog.conf.d/
H A DMakefile35 PPP+= ppp.conf
36 PPPPACKAGE= ppp
/freebsd-13.1/share/examples/ipfilter/
H A Dmkfilters23 next if (($i =~ /lo/) || !defined($net{$i}) || defined($ppp{$i}));
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;

123