Lines Matching +full:default +full:- +full:sample +full:- +full:phase
31 .Nd Point to Point Protocol (a.k.a. user-ppp)
99 .Bl -tag -width XXX -offset XXX
109 is trying to bring the link up will remain queued for a default of
129 .Pa /usr/share/examples/ppp/ppp.conf.sample
141 exits with a non-zero result.
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
208 .Dq default
213 .Bl -diag
231 .It Supports on-demand dialup capability.
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.
310 distributed database along with various per-user framed connection
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)
422 By default,
444 .Bl -bullet
470 .Bd -literal -offset indent
485 .Bd -literal -offset indent
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
570 default.
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
683 .Bd -literal -offset indent
684 ppp ON awfulhak> set log local phase lcp ipcp
699 .Bd -literal -offset indent
720 If you want to add a default route entry (telling your
725 .Bd -literal -offset indent
726 PPP ON awfulhak> add default HISADDR
736 .Bd -literal -offset indent
737 PPP ON awfulhak> add! default HISADDR
743 will update your default route accordingly.
761 .Pa /usr/share/examples/ppp/ppp.conf.sample
766 .Bl -bullet
775 It must have one argument - the file to {include}.
803 .Bd -literal -offset indent
811 .Dq default
818 .Dq ppp-in
825 .Dq default
831 .Dq default
836 .Bd -literal -offset indent
866 .Bd -literal -offset indent
877 has entered the authentication phase.
880 has entered the network phase.
895 .Pa /usr/share/examples/ppp/ppp.conf.sample
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.
964 .Pa /usr/share/examples/ppp/ppp.conf.sample )
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
1016 .Oo - Ns Ar max Ns Oc Oc Ns
1020 .Bl -tag -width attempts -compact
1034 The default value for
1042 The default value for
1050 The default is 3 seconds.
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
1134 The default value of ntries is zero (no reconnect).
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
1283 Configure your default section in
1288 .Bd -literal
1289 default:\\
1316 .Bd -literal
1355 .Ar hisaddr Op Ar label Op Ar callback-number
1397 .Ar callback-number
1404 .Ar callback-number
1412 subsequent CBCP phase.
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
1509 set log Phase Chat Connect hdlc LCP IPCP IPV6CP CCP tun
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.
1563 Care should be taken when adding a default route through a tunneled
1565 It is quite common for the default route
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
1606 MSCHAPv2 and MPPE are accepted by default, so the client end should work
1623 host, and incoming packets are de-NAT'd so that they are routed
1654 with the provided rc script, the default is to
1674 .Bl -bullet
1680 .Ar rule-no
1694 .Bl -enum
1704 .Ar Rule-no
1711 .Ar rule-no ,
1778 meaning less-than, equal and greater-than respectively.
1799 If no timeout is given, the default timeout (set using
1806 i.e., the default is to allow everything through.
1818 .Ar filter-decapsulation
1822 .Dq set filter Ar name No -1
1827 .Pa /usr/share/examples/ppp/ppp.conf.sample .
1834 .Bd -literal -offset indent
1838 The timeout period is measured in seconds, the default value for which
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
1863 By default,
1883 By default, when negotiating DEFLATE,
1891 and denied by default.
1918 .Bd -ragged -offset indent
1946 smaller than the default.
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
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
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
2213 be ignored as it is less restrictive than the default mask for your
2219 .Bd -literal -offset indent
2223 In most cases, your ISP will also be your default router.
2225 .Bd -literal -offset indent
2226 add default HISADDR
2239 to add a default route to whatever the peer address is
2251 .Bd -literal -offset indent
2256 Both are accepted by default, so
2264 .Bd -literal -offset indent
2283 .Pa /usr/share/examples/ppp/ppp.conf.sample
2285 .Pa /usr/share/examples/ppp/ppp.linkup.sample
2294 .Bl -tag -width XXXXXXXXX -offset XXX -compact
2335 .It Li Phase
2336 Phase transition log output.
2342 .Dq Phase
2373 The default is equivalent to
2374 .Dq set log Phase .
2381 The default is
2383 (i.e., only the un-maskable warning, error and alert output).
2390 .Sq -
2393 .Bd -literal -offset indent
2394 PPP ON awfulhak> set log phase
2396 Log: Phase Warning Error Alert
2398 PPP ON awfulhak> set log +tcp/ip -warning
2401 Log: Phase TCP/IP Warning Error Alert
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.
2480 By default, only one
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
2538 set log phase chat
2542 OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT"
2549 clone 1,2,3 # Create 3 new links - duplicates of the default
2550 link deflink remove # Delete the default link (called ``deflink'')
2558 .Bd -literal -offset indent
2563 .Bd -literal -offset indent
2572 .Bd -literal -offset indent
2588 .Em MULTI-LINK
2608 negotiates multi-link mode, it will pass its open link to any
2623 .Bl -tag -width 2n
2630 has a default of either accept or deny and enable or disable.
2642 .Bl -tag -width 2n
2644 Default: Enabled and Accepted.
2647 field of 0xff (the All-Stations address) and a control field of
2657 Default: Disabled and Accepted.
2661 The peer uses a one-way hash function to encrypt the
2682 CHAP is accepted by default.
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.
2693 Default: Enabled and Accepted.
2703 - a
2718 .Dq PPP Magna-link Variable Resource Compression
2731 Default: Disabled and Denied.
2740 It is disabled by default as it violates
2743 Default: Disabled and Denied.
2766 Default: Enabled and Accepted.
2778 Default: Disabled and Accepted.
2791 Default: Disabled and Accepted.
2826 .Em PHASE
2838 Default: Enabled and Accepted.
2841 40-, 56- and 128-bits.
2846 Default: Disabled and Accepted.
2849 combination of MD4, SHA-1 and DES to encrypt the challenge rather than using the
2852 Default: Disabled and Accepted.
2861 CHAP type 0x80 for LANMan is also supported - see
2889 Default: Disabled and Accepted.
2914 PAP is accepted by default.
2916 Default: Enabled and Accepted.
2920 Default: Enabled and Accepted.
2925 Default: Enabled and Accepted.
2930 sequence numbers when negotiating multi-link mode.
2931 This is only applicable if our MRRU is set (thus enabling multi-link).
2933 Default: Enabled and Accepted.
2939 .Bl -tag -width 2n
2941 Default: Disabled.
2967 .It filter-decapsulation
2968 Default: Disabled.
2992 .It force-scripts
2993 Default: Disabled.
3000 Default: Enabled.
3003 exchanges low-level LCP, CCP and IPCP configuration traffic, the
3006 By default,
3015 .It iface-alias
3016 Default: Enabled if
3039 .Sq iface-alias .
3041 Default: Enabled.
3047 Default: Enabled.
3052 .It keep-session
3053 Default: Disabled.
3056 runs as a Multi-link server, a different
3091 Default: Enabled.
3105 the interface is also the default route as it avoids the necessity
3107 .It NAS-IP-Address
3108 Default: Enabled.
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
3137 Default: Enabled.
3141 .Dq NAS-Identifier
3146 .Dq NAS-IP-Address
3148 .Dq NAS-Identifier
3151 Default: Disabled.
3167 Default: Disabled.
3186 Default: Disabled.
3201 Default: Enabled.
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,
3220 Default: Enabled.
3226 Default: Enabled.
3243 Default: Enabled.
3270 with no mask refers to the default route.
3272 .Sq default
3335 It is possible to allow user-level access,
3350 .Bl -tag -width 2n
3355 By default, only user id 0 is allowed access to
3362 .Sq default
3367 section override users allowed in the default section, so it is possible to
3368 allow users access to everything except a given label by specifying default
3370 .Sq default
3380 By default, access using any
3391 .Sq default
3404 When running in multi-link mode, a section can be loaded if it allows
3419 .Bl -tag -width 2n
3461 .No - Ns Ar targetPort
3464 .No - Ns Ar aliasPort
3468 .No - Ns Ar remotePort
3516 otherwise the default alias address is used.
3573 by default.
3575 .Dq default
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.
3621 .Bl -tag -width COMPILATIONDATE
3711 Normally, this variable is assigned only in -direct mode.
3753 link becomes the default).
3758 The default link name is
3780 it will re-enter the STOPPED state, waiting for the peer to initiate
3800 all non-direct entries in the routing table for the current interface,
3807 .Sq default ,
3808 the default route is deleted.
3866 .Bl -tag -width 2n
3889 is used - in which case the previous interface address entry is overwritten
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.
3959 This is only applicable after multiple links have been created in Multi-link
3988 .Ar default
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.
4088 The default link name is
4108 .Bl -tag -width readonly
4193 .Bl -tag -width 2n
4194 .It set accmap Ar hex-value
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
4319 The default values cause
4320 .Ar demand-dial
4357 will accept any of the given protocols - but the client
4367 .Bl -tag -width Ds
4427 is disabled - ie, configuring CBCP in the
4431 requesting no callback in the CBCP phase.
4459 .Bl -tag -width XXX -offset XXX
4467 NULL-modem cables), logs the fact and stops checking
4494 command overrides the default carrier behaviour.
4514 If no arguments are given, carrier settings will go back to their default
4536 is not specified, it is set to the default value of
4551 packets in multi-link mode), then stops reading the network interface
4563 by default.
4564 .It set deflate Ar out-winsize Op Ar in-winsize
4565 This sets the DEFLATE algorithms default outgoing and incoming window
4568 .Ar out-winsize
4570 .Ar in-winsize
4576 .Ar in-winsize
4680 suffix is not provided, the default is
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:
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:
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
4913 filter specifies packets that keep the connection alive - resetting the
4932 By default all empty filter sets allow all packets to pass.
4934 .Ar rule-no
4960 .It set hangup Ar chat-script
4997 .Bd -ragged -offset indent
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
5079 The default value for
5104 The default
5114 The default is 5 attempts for
5123 The default is 3 attempts.
5136 .Op +|- Ns
5141 .It set login Ar chat-script
5143 .Ar chat-script
5144 compliments the dial-script.
5148 .It set logout Ar chat-script
5160 The default is 30 seconds.
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.
5227 There is no default MRRU (Maximum Reconstructed Receive Unit) value.
5228 If no argument is given, multi-link mode is disabled.
5233 The default MRU (Maximum Receive Unit) is 1500.
5235 In theory there is no point in decreasing the MRU to below the default as the
5261 The default MTU is 1500.
5299 By default,
5318 The default value is
5348 If not set the system default will be used.
5371 .It set radius Op Ar config-file
5373 .Ar config-file
5394 .Bl -tag -width XXX -offset XXX
5437 .Dq default
5440 to specify the default route, and
5443 .Dq default
5452 .Dq 1.2.3.4/24 0.0.0.0 1 2 -1 3 400
5458 .Dq default HISADDR
5459 would result in a default route to
5487 .Dq default
5490 to specify the default route, and
5493 .Dq default
5508 .Dq default HISADDR6
5509 would result in a default route to
5534 vendor specific attribute is supplied and if MS-CHAPv2 authentication is
5581 to a non-zero
5592 NAS-Port-Id.
5596 .Bl -tag -width Ds
5605 .It default
5606 keeps the default behavior.
5610 failure), a connection will be re-established after the given
5612 The line will be re-connected at most
5627 is unspecified or zero, the default kernel controlled value is used.
5630 .Oo - Ns Ar max Ns Oc Oc Ns
5687 is unspecified or zero, the default kernel controlled value is used.
5707 to attempt to re-open the port.
5791 The default value is zero, where
5812 .Oo Op +|- Ns
5819 The default priority TCP ports
5822 There are no priority UDP ports by default.
5870 By default, slot compression is turned
5909 .Bl -tag -width 2n
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
6009 System default configuration file.
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.