(main): Fix typo and misspellings errors
This commit is contained in:
parent
cff4a52c50
commit
3e49360884
7 changed files with 37 additions and 37 deletions
4
Changes
4
Changes
|
|
@ -366,7 +366,7 @@
|
||||||
- Allow LCP re-negotiation after connection completes (thanks Yuri).
|
- Allow LCP re-negotiation after connection completes (thanks Yuri).
|
||||||
|
|
||||||
* Mon Nov 15 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.7
|
* Mon Nov 15 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.7
|
||||||
- Fix socket creation in host_unreachable() (thanks to Bjørn Augestad)
|
- Fix socket creation in host_unreachable() (thanks to Bjørn Augestad)
|
||||||
- Don't assume BGP peer sends back negotiated hold time, pick smallest
|
- Don't assume BGP peer sends back negotiated hold time, pick smallest
|
||||||
|
|
||||||
* Thu Nov 11 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.6
|
* Thu Nov 11 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.6
|
||||||
|
|
@ -402,7 +402,7 @@
|
||||||
- Shared_malloc returns NULL on failure
|
- Shared_malloc returns NULL on failure
|
||||||
- Sync changes
|
- Sync changes
|
||||||
- Unfsck 4->8 indenting change
|
- Unfsck 4->8 indenting change
|
||||||
- Use 2 seperate u16 values for throttle rate in/out
|
- Use 2 separate u16 values for throttle rate in/out
|
||||||
- Defer adding radius fds to the select loop until become_master
|
- Defer adding radius fds to the select loop until become_master
|
||||||
|
|
||||||
* Thu Sep 02 2004 David Parrish <david@dparrish.com> 2.0.2
|
* Thu Sep 02 2004 David Parrish <david@dparrish.com> 2.0.2
|
||||||
|
|
|
||||||
|
|
@ -197,9 +197,9 @@ If the primary server does not respond, then the secondary RADIUS
|
||||||
server will be tried.<br>
|
server will be tried.<br>
|
||||||
<strong>Note:</strong> in addition to the source IP address and
|
<strong>Note:</strong> in addition to the source IP address and
|
||||||
identifier, the RADIUS server <strong>must</strong> include the source
|
identifier, the RADIUS server <strong>must</strong> include the source
|
||||||
port when detecting duplicates to supress (in order to cope with a
|
port when detecting duplicates to suppress (in order to cope with a
|
||||||
large number of sessions comming on-line simultaneously l2tpns uses a
|
large number of sessions coming on-line simultaneously l2tpns uses a
|
||||||
set of udp sockets, each with a seperate identifier).
|
set of udp sockets, each with a separate identifier).
|
||||||
</LI>
|
</LI>
|
||||||
|
|
||||||
<LI><B>primary_radius_port</B> (short)
|
<LI><B>primary_radius_port</B> (short)
|
||||||
|
|
@ -248,7 +248,7 @@ If no address is given to iftun_address and bind_address, 1.1.1.1 is used.
|
||||||
</LI>
|
</LI>
|
||||||
|
|
||||||
<LI><B>bind_multi_address</B> (ip address)<BR>
|
<LI><B>bind_multi_address</B> (ip address)<BR>
|
||||||
This parameter permit to listen several addresss of the l2tp udp protocol
|
This parameter permit on to listen several address of the l2tp udp protocol
|
||||||
(and set several address to the tun interface).
|
(and set several address to the tun interface).
|
||||||
<BR>
|
<BR>
|
||||||
WHEN this parameter is set, It OVERWRITE the parameters "bind_address"
|
WHEN this parameter is set, It OVERWRITE the parameters "bind_address"
|
||||||
|
|
|
||||||
|
|
@ -320,11 +320,11 @@ set boolean true
|
||||||
<para>
|
<para>
|
||||||
In addition to the source IP address and identifier,
|
In addition to the source IP address and identifier,
|
||||||
the RADIUS server <emphasis>must</emphasis> include
|
the RADIUS server <emphasis>must</emphasis> include
|
||||||
the source port when detecting duplicates to supress
|
the source port when detecting duplicates to suppress
|
||||||
(in order to cope with a large number of sessions
|
(in order to cope with a large number of sessions
|
||||||
comming on-line simultaneously
|
coming on-line simultaneously
|
||||||
<command>l2tpns</command> uses a set of udp sockets,
|
<command>l2tpns</command> uses a set of udp sockets,
|
||||||
each with a seperate identifier).
|
each with a separate identifier).
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
</para>
|
</para>
|
||||||
|
|
@ -1908,7 +1908,7 @@ char *plugin_control_help[] = { <replaceable>...</replaceable>, NULL };
|
||||||
<entry><code>char **argc</code></entry>
|
<entry><code>char **argc</code></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><code>int reponse</code></entry>
|
<entry><code>int response</code></entry>
|
||||||
<entry>
|
<entry>
|
||||||
Response from control message (if handled): should be
|
Response from control message (if handled): should be
|
||||||
either <code>NSCTL_RES_OK</code> or
|
either <code>NSCTL_RES_OK</code> or
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ This parameter authorize to change the source \s-1IP\s0 of the tunnels l2tp. Thi
|
||||||
It's the listen address of the l2tp udp protocol sent and received to \s-1LAC.\s0 This address is also assigned to the tun interface if no iftun_address is specified. Packets containing user traffic should be routed via this address if given, otherwise the primary address of the machine.
|
It's the listen address of the l2tp udp protocol sent and received to \s-1LAC.\s0 This address is also assigned to the tun interface if no iftun_address is specified. Packets containing user traffic should be routed via this address if given, otherwise the primary address of the machine.
|
||||||
.IP "\fBbind_multi_address\fR (ip address)" 4
|
.IP "\fBbind_multi_address\fR (ip address)" 4
|
||||||
.IX Item "bind_multi_address (ip address)"
|
.IX Item "bind_multi_address (ip address)"
|
||||||
This parameter permit to listen several addresss of the l2tp udp protocol (and set several address to the tun interface).
|
This parameter permit on to listen several address of the l2tp udp protocol (and set several address to the tun interface).
|
||||||
.Sp
|
.Sp
|
||||||
\&\s-1WHEN\s0 this parameter is set, It \s-1OVERWRITE\s0 the parameters \*(L"bind_address\*(R" and \*(L"iftun_address\*(R".
|
\&\s-1WHEN\s0 this parameter is set, It \s-1OVERWRITE\s0 the parameters \*(L"bind_address\*(R" and \*(L"iftun_address\*(R".
|
||||||
.Sp
|
.Sp
|
||||||
|
|
@ -312,7 +312,7 @@ Whenever a \s-1PPP\s0 connection is established, \s-1DNS\s0 servers will be sent
|
||||||
.IX Item "primary_radius (ip address), secondary_radius (ip address)"
|
.IX Item "primary_radius (ip address), secondary_radius (ip address)"
|
||||||
Sets the \s-1RADIUS\s0 servers used for both authentication and accounting. If the primary server does not respond, then the secondary \s-1RADIUS\s0 server will be tried.
|
Sets the \s-1RADIUS\s0 servers used for both authentication and accounting. If the primary server does not respond, then the secondary \s-1RADIUS\s0 server will be tried.
|
||||||
.Sp
|
.Sp
|
||||||
Note: in addition to the source \s-1IP\s0 address and identifier, the \s-1RADIUS\s0 server must include the source port when detecting duplicates to supress (in order to cope with a large number of sessions comming on-line simultaneously l2tpns uses a set of udp sockets, each with a seperate identifier).
|
Note: in addition to the source \s-1IP\s0 address and identifier, the \s-1RADIUS\s0 server must include the source port when detecting duplicates to suppress (in order to cope with a large number of sessions coming on-line simultaneously l2tpns uses a set of udp sockets, each with a separate identifier).
|
||||||
.IP "\fBprimary_radius_port\fR (short), \fBsecondary_radius_port\fR (short)" 4
|
.IP "\fBprimary_radius_port\fR (short), \fBsecondary_radius_port\fR (short)" 4
|
||||||
.IX Item "primary_radius_port (short), secondary_radius_port (short)"
|
.IX Item "primary_radius_port (short), secondary_radius_port (short)"
|
||||||
Sets the authentication ports for the primary and secondary \s-1RADIUS\s0 servers. The accounting port is one more than the authentication port. If no \s-1RADIUS\s0 ports are given, the authentication port defaults to 1645, and the accounting port to 1646.
|
Sets the authentication ports for the primary and secondary \s-1RADIUS\s0 servers. The accounting port is one more than the authentication port. If no \s-1RADIUS\s0 ports are given, the authentication port defaults to 1645, and the accounting port to 1646.
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ It's the listen address of the l2tp udp protocol sent and received to LAC. This
|
||||||
|
|
||||||
=item B<bind_multi_address> (ip address)
|
=item B<bind_multi_address> (ip address)
|
||||||
|
|
||||||
This parameter permit to listen several addresss of the l2tp udp protocol (and set several address to the tun interface).
|
This parameter permit one to listen several address of the l2tp udp protocol (and set several address to the tun interface).
|
||||||
|
|
||||||
WHEN this parameter is set, It OVERWRITE the parameters "bind_address" and "iftun_address".
|
WHEN this parameter is set, It OVERWRITE the parameters "bind_address" and "iftun_address".
|
||||||
|
|
||||||
|
|
@ -214,7 +214,7 @@ Whenever a PPP connection is established, DNS servers will be sent to the user,
|
||||||
|
|
||||||
Sets the RADIUS servers used for both authentication and accounting. If the primary server does not respond, then the secondary RADIUS server will be tried.
|
Sets the RADIUS servers used for both authentication and accounting. If the primary server does not respond, then the secondary RADIUS server will be tried.
|
||||||
|
|
||||||
Note: in addition to the source IP address and identifier, the RADIUS server must include the source port when detecting duplicates to supress (in order to cope with a large number of sessions comming on-line simultaneously l2tpns uses a set of udp sockets, each with a seperate identifier).
|
Note: in addition to the source IP address and identifier, the RADIUS server must include the source port when detecting duplicates to suppress (in order to cope with a large number of sessions coming on-line simultaneously l2tpns uses a set of udp sockets, each with a separate identifier).
|
||||||
|
|
||||||
=item B<primary_radius_port> (short), B<secondary_radius_port> (short)
|
=item B<primary_radius_port> (short), B<secondary_radius_port> (short)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ int lac_conf_forwardtoremotelns(sessionidt s, char * puser);
|
||||||
void lac_calc_rlns_auth(tunnelidt t, uint8_t id, uint8_t *out);
|
void lac_calc_rlns_auth(tunnelidt t, uint8_t id, uint8_t *out);
|
||||||
int lac_addremotelns(char *mask, char *IP_RemoteLNS, char *Port_RemoteLNS, char *SecretRemoteLNS);
|
int lac_addremotelns(char *mask, char *IP_RemoteLNS, char *Port_RemoteLNS, char *SecretRemoteLNS);
|
||||||
|
|
||||||
/* Function for Tunnels creating from radius reponses */
|
/* Function for Tunnels creating from radius responses */
|
||||||
void lac_reset_rad_tag_tunnel_ctxt();
|
void lac_reset_rad_tag_tunnel_ctxt();
|
||||||
void lac_set_rad_tag_tunnel_type(uint8_t tag, uint32_t tunnel_type);
|
void lac_set_rad_tag_tunnel_type(uint8_t tag, uint32_t tunnel_type);
|
||||||
void lac_set_rad_tag_tunnel_medium_type(uint8_t tag, uint32_t tunnel_medium_type);
|
void lac_set_rad_tag_tunnel_medium_type(uint8_t tag, uint32_t tunnel_medium_type);
|
||||||
|
|
|
||||||
2
radius.c
2
radius.c
|
|
@ -895,7 +895,7 @@ void processrad(uint8_t *buf, int len, char socket_index)
|
||||||
memcpy(strtemp, (p + 3), lentemp);
|
memcpy(strtemp, (p + 3), lentemp);
|
||||||
if (!rad_tunnel_pwdecode(strtemp, &lentemp, config->radiussecret, radius[r].auth))
|
if (!rad_tunnel_pwdecode(strtemp, &lentemp, config->radiussecret, radius[r].auth))
|
||||||
{
|
{
|
||||||
LOG_HEX(3, "Error Decode Tunnel-Password, Dump Radius reponse:", p, p[1]);
|
LOG_HEX(3, "Error Decode Tunnel-Password, Dump Radius response:", p, p[1]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue