Lines Matching +full:wait +full:- +full:monitoring +full:- +full:ns

31 .Nd Point to Point Protocol (a.k.a. user-ppp)
37 .Op Fl unit Ns Ar N
58 .Nm Ns No 's
84 .Pa /dev/tun Ns Ar N .
96 .Va mode Ns No s
99 .Bl -tag -width XXX -offset XXX
141 exits with a non-zero result.
149 .Nm Ns No 's
161 .Dq force-scripts
176 As pipes are not bi-directional, ppp will redirect all writes to descriptor
186 .Dq force-scripts
195 This is a no-op, and gives the same behaviour as if none of the above
213 .Bl -diag
231 .It Supports on-demand dialup capability.
236 will act as a daemon and wait for a packet to be sent over the
243 mode (direct-dial mode) also automatically dials and establishes the
248 This mode is useful for full-time connections where we worry less
255 will never voluntarily quit from dedicated mode - you must send it the
267 .Pq Lk https://winprotocoldocs-bhdugrdyduf5h2e4.b02.azurefd.net/MS-CBCP/%5bMS-CBCP%5d.pdf .
275 UDP port numbers are NAT'd for outgoing packets and de-NAT'd for
285 .It Supports server-side PPP connections.
303 .Em \&R Ns No emote
304 .Em \&A Ns No ccess
305 .Em \&D Ns No ial
306 .Em \&I Ns No n
307 .Em \&U Ns No ser
308 .Em \&S Ns No ervice
310 distributed database along with various per-user framed connection
343 .Em host : Ns Em port Ns
345 .Op / Ns tcp|udp ,
357 .No PPPoE\&: Ns Ar iface Ns Xo
358 .Op \&: Ns Ar provider Ns
377 .It "Supports IETF draft Predictor-1 (rfc 1978) and DEFLATE (rfc 1979) compression."
379 supports not only VJ-compression but also Predictor-1 and DEFLATE compression.
380 Normally, a modem has built-in compression (e.g., v42.bis) and the system
386 Unlike VJ-compression, Predictor-1 and DEFLATE compression pre-compresses
395 .It Supports Multi-link PPP (rfc 1990)
400 .It Supports MPPE (draft-ietf-pppext-mppe)
444 .Bl -bullet
470 .Bd -literal -offset indent
485 .Bd -literal -offset indent
500 .Nm Ns No 's
530 .Bd -literal -offset indent
545 .Bd -literal -offset indent
553 to certain PPP-capable terminal servers), this may result in
556 as it is waiting for the CTS (clear to send) signal - which will never
563 description below too - you will probably need to
569 .Nm Ns No 's
573 link-layer protocols (that is what
589 .Bd -literal -offset indent
594 .Bd -literal -offset indent
615 .Bd -literal -offset indent
630 .Bd -literal -offset indent
648 peer wants to use PAP or CHAP authentication instead of using Unix-style
652 .Bd -literal -offset indent
664 .Bd -literal -offset indent
677 If only some of the three Ps go uppercase, wait until
683 .Bd -literal -offset indent
699 .Bd -literal -offset indent
725 .Bd -literal -offset indent
736 .Bd -literal -offset indent
766 .Bl -bullet
775 It must have one argument - the file to {include}.
803 .Bd -literal -offset indent
818 .Dq ppp-in
836 .Bd -literal -offset indent
866 .Bd -literal -offset indent
910 it was necessary to re-add routes such as the default route in the
927 non-interactively (such as from a
943 exits immediately with a non-zero exit code.
965 .Bd -literal -offset indent
966 # ppp -auto pmdemand
983 .Bd -literal -offset indent
1008 If the connect fails, the default behaviour is to wait 30 seconds
1014 .No set redial Ar secs Ns
1015 .Oo + Ns Ar inc Ns
1016 .Oo - Ns Ar max Ns Oc Oc Ns
1017 .Op . Ns Ar next
1020 .Bl -tag -width attempts -compact
1022 is the number of seconds to wait before attempting
1046 is the number of seconds to wait before attempting
1065 .Bd -literal -offset indent
1077 .Bd -literal -offset indent
1078 set redial 10+10-5.3 20
1108 .Bd -literal -offset indent
1114 to re-establish the connection
1120 .Bd -literal -offset indent
1126 that on an unexpected loss of carrier, it should wait
1153 .Bd -literal -offset indent
1176 .Bl -enum
1181 .Bl -bullet -compact
1204 .Dl # kill -HUP 1
1208 .Bd -literal -offset indent
1230 .Bd -literal -offset indent
1232 exec /usr/sbin/ppp -direct incoming
1243 client-side
1258 .Bd -literal
1281 .Bl -enum
1288 .Bd -literal
1316 .Bd -literal
1355 .Ar hisaddr Op Ar label Op Ar callback-number
1373 .Ar name Ns No / Ns Ar key
1397 .Ar callback-number
1404 .Ar callback-number
1411 .Nm Ns No 's
1420 .Dl set device ui-gate:6669/tcp
1432 connection on the receiving machine (ui-gate).
1437 .Dl ppp-in 6669/tcp # Incoming PPP connections over TCP
1445 .Dl ppp-in stream tcp nowait root /usr/sbin/ppp ppp -direct ppp-in
1454 .Dq ppp-in .
1457 on ui-gate (the receiver) should contain the following:
1458 .Bd -literal -offset indent
1459 ppp-in:
1467 .Bd -literal -offset indent
1468 ppp-in:
1482 .Bd -literal -offset indent
1488 .Bd -literal -offset indent
1503 .Bd -literal -offset indent
1504 ui-gate:
1506 set device ui-gate:ppp-in/tcp
1515 .Bd -literal -offset indent
1516 ui-gate:
1523 .Bd -literal -offset indent
1528 We are assigning the address of 10.0.4.1 to ui-gate, and the address
1532 .Dl awfulhak # ppp -background ui-gate
1536 "route" on ui-gate to the 10.0.1.0/24 network.
1537 The networks are effectively bridged - the underlying TCP
1546 "guaranteed delivery" mechanisms in place - the underlying TCP
1549 link - probably TCP again.
1572 .Bd -literal -offset indent
1573 ui-gate:
1575 set device ui-gate:ppp-in/tcp
1576 add ui-gate x.x.x.x
1583 .Dq ui-gate
1594 .Bd -literal -offset indent
1623 host, and incoming packets are de-NAT'd so that they are routed
1674 .Bl -bullet
1680 .Ar rule-no
1685 .Ar src_addr Ns Op / Ns Ar width
1686 .Op Ar dst_addr Ns Op / Ns Ar width
1694 .Bl -enum
1704 .Ar Rule-no
1711 .Ar rule-no ,
1740 .Op Ar src_addr Ns Op / Ns Ar width
1742 .Op Ar dst_addr Ns Op / Ns Ar width
1745 .Op / Ns Ar width
1778 meaning less-than, equal and greater-than respectively.
1818 .Ar filter-decapsulation
1822 .Dq set filter Ar name No -1
1834 .Bd -literal -offset indent
1842 .Bd -literal -offset indent
1859 Another trigger packet will cause it to attempt to re-establish the link.
1860 .Sh PREDICTOR-1 and DEFLATE COMPRESSION
1918 .Bd -ragged -offset indent
1919 .No set ifaddr Oo Ar src_addr Ns
1920 .Op / Ns Ar \&nn
1921 .Oo Ar dst_addr Ns Op / Ns Ar \&nn
1960 .Bd -literal -offset indent
1966 .Bl -bullet -compact
1979 This is all fine when each side has a pre-determined IP address, however
1993 .Bl -bullet -compact
2018 .Bl -enum
2028 .Bd -ragged -offset indent
2029 .No set phone Ar telno Ns
2030 .Oo \&| Ns Ar backupnumber Oc Ns ... Ns Oo : Ns Ar nextnumber Oc Ns ...
2033 Numbers after the first in a pipe-separated list are only used if the
2039 .Bd -literal -offset indent
2067 .Bd -literal -offset indent
2083 .Bd -literal -offset indent
2085 ATZ OK-ATZ-OK ATDT\\\\T TIMEOUT 60 CONNECT"
2089 .Bl -bullet
2108 Wait for the CONNECT string.
2114 .Bd -literal -offset indent
2116 set login "TIMEOUT 15 login:-\\\\r-login: awfulhak \e
2121 .Bl -bullet
2165 .Bd -literal -offset indent
2193 .Bl -bullet
2219 .Bd -literal -offset indent
2225 .Bd -literal -offset indent
2251 .Bd -literal -offset indent
2264 .Bd -literal -offset indent
2294 .Bl -tag -width XXXXXXXXX -offset XXX -compact
2346 This log level is most useful for monitoring RADIUS alive information.
2383 (i.e., only the un-maskable warning, error and alert output).
2390 .Sq -
2393 .Bd -literal -offset indent
2398 PPP ON awfulhak> set log +tcp/ip -warning
2416 .Bl -tag -width "USR2"
2434 to re-open any existing server socket, dropping all existing diagnostic
2443 can still be used to re-open the socket.
2445 .Sh MULTI-LINK PPP
2449 .Em MULTI-LINK PPP
2461 confusing lock-ups may result.
2473 Multi-link capabilities are enabled using the
2476 Once multi-link is enabled,
2478 will attempt to negotiate a multi-link connection with the peer.
2490 .Bl -enum
2522 Some commands can still be used without specifying a link - resulting
2528 will show CCP configuration and statistics at the multi-link level, and
2535 .Bd -literal -offset indent
2542 OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT"
2549 clone 1,2,3 # Create 3 new links - duplicates of the default
2558 .Bd -literal -offset indent
2563 .Bd -literal -offset indent
2572 .Bd -literal -offset indent
2588 .Em MULTI-LINK
2597 .Nm Ns No 's
2608 negotiates multi-link mode, it will pass its open link to any
2623 .Bl -tag -width 2n
2642 .Bl -tag -width 2n
2647 field of 0xff (the All-Stations address) and a control field of
2656 .It chap Ns Op \&05
2661 The peer uses a one-way hash function to encrypt the
2685 implementations use "MS-CHAP" rather than MD5 when encrypting the
2687 MS-CHAP is a combination of MD4 and DES.
2691 to MS-CHAP authentication requests, but will never request them.
2703 - a
2718 .Dq PPP Magna-link Variable Resource Compression
2727 .Ar enable Ns No d
2729 .Ar accept Ns No ed .
2747 .Dq enable Ns No d ,
2756 .Dq accept Ns No ed ,
2806 quality monitoring by enabling LQM logging.
2841 40-, 56- and 128-bits.
2849 combination of MD4, SHA-1 and DES to encrypt the challenge rather than using the
2861 CHAP type 0x80 for LANMan is also supported - see
2870 .Dq enable Ns No d ,
2879 .Dq accept Ns No ed ,
2930 sequence numbers when negotiating multi-link mode.
2931 This is only applicable if our MRRU is set (thus enabling multi-link).
2939 .Bl -tag -width 2n
2967 .It filter-decapsulation
2992 .It force-scripts
3003 exchanges low-level LCP, CCP and IPCP configuration traffic, the
3015 .It iface-alias
3039 .Sq iface-alias .
3052 .It keep-session
3056 runs as a Multi-link server, a different
3070 and wait for the controlling
3074 .Nm Ns No 's
3107 .It NAS-IP-Address
3112 .Dq NAS-IP-Address
3117 .Dq NAS-IP-Address
3119 .Dq NAS-Identifier
3125 .Dq NAS-IP-Address
3128 .Dq NAS-IP-Address
3130 .Dq NAS-Identifier
3135 .Dq disable NAS-IP-Address .
3136 .It NAS-Identifier
3141 .Dq NAS-Identifier
3146 .Dq NAS-IP-Address
3148 .Dq NAS-Identifier
3213 Each time these variables change, this list is re-applied to the routing table.
3215 Disabling this option will prevent the re-application of sticky routes,
3219 .It Oo tcp Oc Ns No mssfixup
3255 .It add Ns Xo
3257 .Ar dest Ns Op / Ns Ar nn
3335 It is possible to allow user-level access,
3350 .Bl -tag -width 2n
3351 .It allow user Ns Xo
3353 .Ar logname Ns No ...
3376 .It allow mode Ns Xo
3378 .Ar mode Ns No ...
3404 When running in multi-link mode, a section can be loaded if it allows
3419 .Bl -tag -width 2n
3459 .It nat port Ar proto Ar targetIP Ns Xo : Ns Ar targetPort Ns
3461 .No - Ns Ar targetPort
3462 .Oc Ar aliasPort Ns
3464 .No - Ns Ar aliasPort
3465 .Oc Oo Ar remoteIP : Ns
3466 .Ar remotePort Ns
3468 .No - Ns Ar remotePort
3526 .It "nat proxy cmd" Ar arg Ns No ...
3583 When enabled, UDP packets use endpoint-independent mapping (EIM) from RFC 4787
3595 When disabled, UDP packets use endpoint-dependent mapping (EDM) ("symmetric"
3601 by port forwarding on the NAT, or tunnelling through an in-between server.
3615 .It Oo !\& Oc Ns Xo
3621 .Bl -tag -width COMPILATIONDATE
3711 Normally, this variable is assigned only in -direct mode.
3743 .It clone Ar name Ns Xo
3744 .Op \&, Ns Ar name Ns
3760 .It close Op lcp|ccp Ns Op !\&
3780 it will re-enter the STOPPED state, waiting for the peer to initiate
3789 .It delete Ns Xo
3800 all non-direct entries in the routing table for the current interface,
3817 .It dial|call Oo Ar label Oc Ns Xo
3847 .It ident Op Ar text Ns No ...
3866 .Bl -tag -width 2n
3867 .It iface add Ns Xo
3869 .Ar addr Ns Op / Ns Ar bits
3872 .It iface add Ns Xo
3889 is used - in which case the previous interface address entry is overwritten
3920 .It iface delete Ns Xo
3921 .Op !\& Ns
3922 .No |rm Ns Op !\&
3943 .It iface help Op Ar sub-command
3945 .Ar sub-command ,
3948 sub-commands and a brief synopsis for each.
3950 .Ar sub-command ,
3951 only the synopsis for the given sub-command is shown.
3953 .It Oo data Oc Ns Xo
3955 .Ar name Ns Oo , Ns Ar name Oc Ns ... Ar command Op Ar args
3959 This is only applicable after multiple links have been created in Multi-link
3977 .It load Oo Ar label Oc Ns Xo
3981 .Ar label Ns No (s)
4001 .It log Ar word Ns No ...
4012 .Ar demand-dial
4013 links - these will come up based on the
4038 It is probably not good practice to re-open the PPP state machines
4077 It is only really useful in multi-link mode.
4098 .Nm Ns No 's
4108 .Bl -tag -width readonly
4188 .It set Ns Xo
4193 .Bl -tag -width 2n
4194 .It set accmap Ar hex-value
4203 .It set Oo auth Oc Ns Xo
4251 .Bl -bullet
4262 .Bl -bullet
4290 .Ar min-percent max-percent period
4292 These settings apply only in multi-link mode and default to zero, zero and
4295 .Ar demand-dial
4302 .Ar demand-dial
4304 .Ar max-percent
4309 .Ar min-percent
4313 .Ar demand-dial
4320 .Ar demand-dial
4336 .It set callback Ar option Ns No ...
4342 .Ar option Ns No s .
4357 will accept any of the given protocols - but the client
4365 .Ar option Ns No s
4367 .Bl -tag -width Ds
4390 .It E.164 *| Ns Xo
4391 .Ar number Ns Op , Ns Ar number Ns
4422 .No *| Ns Ar number Ns
4423 .Oo , Ns Ar number Ns ...\& Oc
4427 is disabled - ie, configuring CBCP in the
4435 .Ar number Ns No (s) .
4453 .No off\&| Ns Ar seconds Ns Op !\&
4459 .Bl -tag -width XXX -offset XXX
4467 NULL-modem cables), logs the fact and stops checking
4487 .Nm Ns No 's
4498 should wait after the dial script has finished before deciding if
4551 packets in multi-link mode), then stops reading the network interface
4564 .It set deflate Ar out-winsize Op Ar in-winsize
4568 .Ar out-winsize
4570 .Ar in-winsize
4576 .Ar in-winsize
4591 .Ar value Ns No ...
4610 .No PPPoE\&: Ns Ar iface Ns Xo
4611 .Op \&: Ns Ar provider Ns
4628 .No PPPoE\&: Ns Ar iface Ns Xo
4629 .Op \&: Ns Ar provider Ns
4667 .Ar host : Ns Ar port Ns Oo
4692 .It set dial Ar chat-script
4705 .Bl -tag -width 2n
4747 .Bd -literal -offset indent
4771 .Bd -literal -offset indent
4772 set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e
4773 word: ppp \\"!sh \\\\-c \\\\\\"echo \\\\-n label: >&2\\\\\\"\\" \e
4780 .Bd -literal -offset indent
4785 Chat: Expecting: login:--login:
4786 Chat: Wait for (5): login:
4789 Chat: Wait for (5): word:
4791 Chat: Expecting: !sh \\-c "echo \\-n label: >&2"
4792 Chat: Exec: sh -c "echo -n label: >&2"
4793 Chat: Wait for (5): !sh \\-c "echo \\-n label: >&2" --> label:
4797 Chat: Wait for (5): HELLO
4810 an expect-send-expect sequence.
4844 .Bl -tag -width indent
4895 .It set filter dial|alive|in|out Ar rule-no Xo
4896 .No permit|deny|clear\&| Ns Ar rule-no
4899 .Ar src_addr Ns Op / Ns Ar width
4900 .Op Ar dst_addr Ns Op / Ns Ar width
4901 .Oc [ Ns Ar proto
4913 filter specifies packets that keep the connection alive - resetting the
4934 .Ar rule-no
4949 .Ar in Ns No / Ns Ar out
4960 .It set hangup Ar chat-script
4969 .It set ifaddr Oo Ar myaddr Ns
4970 .Op / Ns Ar \&nn
4971 .Oo Ar hisaddr Ns Op / Ns Ar \&nn
4988 .No / Ns Ar nn
4997 .Bd -ragged -offset indent
4998 .Ar \&IP Ns Oo \&- Ns Ar \&IP Ns Oc Ns Oo , Ns Ar \&IP Ns
4999 .Oo \&- Ns Ar \&IP Ns Oc Oc Ns ...
5004 .Dl set ifaddr 10.0.0.1 10.0.1.2-10.0.1.10,10.0.1.20
5015 to re-establish a link using the same IP number as was previously
5103 will wait before resending Finite State Machine (FSM) Request packets.
5136 .Op +|- Ns
5137 .Ar value Ns No ...
5141 .It set login Ar chat-script
5143 .Ar chat-script
5144 compliments the dial-script.
5148 .It set logout Ar chat-script
5174 This is normally only useful in multi-link mode,
5175 but may also be used in uni-link mode.
5185 .Dq enable iface-alias
5217 encryption dictionary is re-initialised with every packet according to
5220 the encryption dictionary is re-initialised every 256 packets or after
5225 Setting this option enables Multi-link PPP negotiations, also known as
5226 Multi-link Protocol or MP.
5228 If no argument is given, multi-link mode is disabled.
5230 .Op max Ns Op imum
5258 .Op max Ns Op imum
5309 If you want to wait for the peer to initiate negotiations, you
5320 .It set phone Ar telno Ns Xo
5321 .Oo \&| Ns Ar backupnumber Oc Ns ... Ns Oo : Ns Ar nextnumber Oc Ns ... Xc
5349 .It set Oo proc Oc Ns Xo
5371 .It set radius Op Ar config-file
5373 .Ar config-file
5377 .Dq enable Ns No d ,
5380 .Em \&N Ns No etwork
5381 .Em \&A Ns No ccess
5382 .Em \&S Ns No erver
5394 .Bl -tag -width XXX -offset XXX
5426 .Ar dest Ns Op / Ns Ar bits
5452 .Dq 1.2.3.4/24 0.0.0.0 1 2 -1 3 400
5476 .Ar dest Ns Op / Ns Ar bits
5534 vendor specific attribute is supplied and if MS-CHAPv2 authentication is
5581 to a non-zero
5592 NAS-Port-Id.
5594 .Ar option Ns No s
5596 .Bl -tag -width Ds
5610 failure), a connection will be re-established after the given
5612 The line will be re-connected at most
5628 .It set redial Ar secs Ns Xo
5629 .Oo + Ns Ar inc Ns
5630 .Oo - Ns Ar max Ns Oc Oc Ns
5631 .Op . Ns Ar next
5688 .It "set server|socket" Ar TcpPort Ns No \&| Ns Xo
5689 .Ar LocalName Ns No |none|open|closed
5707 to attempt to re-open the port.
5812 .Oo Op +|- Ns
5836 .Ar port Ns No s
5849 .Ar port Ns No s
5851 .Ar port Ns No s
5909 .Bl -tag -width 2n
5937 .It show Oo data Oc Ns Xo
5952 Show Multi-link information.
5976 .Bl -bullet
5991 .Bl -bullet -compact
5993 https://docs.freebsd.org/en/books/handbook/ppp-and-slip/
6007 .Bl -tag -width 2n
6048 .It Pa /var/run/ppp-authname-class-value
6049 In multi-link mode, local domain sockets are created using the peer
6101 .An Toshiharu OHNO Aq Mt tony-o@iij.ad.jp ,
6116 in early 1998 when multi-link ppp support was added.