Sep 25 17:52:01 distinct l2tpd[7108]: This binary
does not support kernel L2TP.
Sep 25 17:52:01 distinct l2tpd[7108]: l2tpd
version 0.69 started on distinct PID:7108
Sep 25 17:52:01 distinct
l2tpd[7108]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep
25 17:52:01 distinct l2tpd[7108]: Forked by Scott Balmos and David Stipp, (C)
2001
Sep 25 17:52:01 distinct l2tpd[7108]: Inhereted by Jeff McAdams, (C)
2002
Sep 25 17:52:01 distinct l2tpd[7108]: Linux version 2.4.19-16mdk on a
i686, port 1701
Sep 25 17:52:12 distinct l2tpd[7108]: ourtid = 57158,
entropy_buf = df46
Sep 25 17:52:12 distinct l2tpd[7108]: check_control:
control, cid = 0, Ns = 0, Nr = 0
Sep 25 17:52:12 distinct l2tpd[7108]:
handle_avps: handling avp's for tunnel 57158, call 0
Sep 25 17:52:12
distinct l2tpd[7108]: message_type_avp: message type 1
(Start-Control-Connection-Request)
Sep 25 17:52:12 distinct l2tpd[7108]:
protocol_version_avp: peer is using version 1, revision 0.
Sep 25 17:52:12
distinct l2tpd[7108]: framing_caps_avp: supported peer frames:
Sep 25
17:52:12 distinct l2tpd[7108]: bearer_caps_avp: supported peer bearers:
Sep
25 17:52:12 distinct l2tpd[7108]: firmware_rev_avp: peer reports firmware
version 4400 (0x1130)
Sep 25 17:52:12 distinct l2tpd[7108]: hostname_avp:
peer reports hostname 'bu-psd1'
Sep 25 17:52:12 distinct l2tpd[7108]:
vendor_avp: peer reports vendor 'Cisco Systems, Inc.\200^H'
Sep 25 17:52:12
distinct l2tpd[7108]: assigned_tunnel_avp: using peer's tunnel 26108
Sep 25
17:52:12 distinct l2tpd[7108]: receive_window_size_avp: peer wants RWS of
20050. Will use flow control.
Sep 25 17:52:12 distinct l2tpd[7108]:
challenge_avp: challenge avp found
Sep 25 17:52:13 distinct l2tpd[7108]:
ourtid = 6617, entropy_buf = 19d9
Sep 25 17:52:13 distinct l2tpd[7108]:
check_control: control, cid = 0, Ns = 0, Nr = 0
Sep 25 17:52:13 distinct
l2tpd[7108]: handle_avps: handling avp's for tunnel 6617, call 0
Sep 25
17:52:13 distinct l2tpd[7108]: message_type_avp: message type 1
(Start-Control-Connection-Request)
Sep 25 17:52:13 distinct l2tpd[7108]:
protocol_version_avp: peer is using version 1, revision 0.
Sep 25 17:52:13
distinct l2tpd[7108]: framing_caps_avp: supported peer frames:
Sep 25
17:52:13 distinct l2tpd[7108]: bearer_caps_avp: supported peer bearers:
Sep
25 17:52:13 distinct l2tpd[7108]: firmware_rev_avp: peer reports firmware
version 4400 (0x1130)
Sep 25 17:52:13 distinct l2tpd[7108]: hostname_avp:
peer reports hostname 'bu-psd1'
Sep 25 17:52:13 distinct l2tpd[7108]:
vendor_avp: peer reports vendor 'Cisco Systems, Inc.\200^H'
Sep 25 17:52:13
distinct l2tpd[7108]: assigned_tunnel_avp: using peer's tunnel 26108
Sep 25
17:52:13 distinct l2tpd[7108]: receive_window_size_avp: peer wants RWS of
20050. Will use flow control.
Sep 25 17:52:13 distinct l2tpd[7108]:
challenge_avp: challenge avp found
Sep 25 17:52:13 distinct l2tpd[7108]:
control_finish: Peer requested tunnel 26108 twice, ignoring second one.
Sep
25 17:52:15 distinct l2tpd[7108]: ourtid = 22708, entropy_buf = 58b4
Sep 25
17:52:15 distinct l2tpd[7108]: ourcid = 61206, entropy_buf = ef16
Sep 25
17:52:15 distinct l2tpd[7108]: check_control: control, cid = 0, Ns = 0, Nr =
0
Sep 25 17:52:15 distinct l2tpd[7108]: handle_avps: handling avp's for
tunnel 22708, call 61206
Sep 25 17:52:15 distinct l2tpd[7108]:
message_type_avp: message type 1 (Start-Control-Connection-Request)
Sep 25
17:52:15 distinct l2tpd[7108]: protocol_version_avp: peer is using version 1,
revision 0.
Sep 25 17:52:15 distinct l2tpd[7108]: framing_caps_avp:
supported peer frames:
Sep 25 17:52:15 distinct l2tpd[7108]:
bearer_caps_avp: supported peer bearers:
Sep 25 17:52:15 distinct
l2tpd[7108]: firmware_rev_avp: peer reports firmware version 4400
(0x1130)
Sep 25 17:52:15 distinct l2tpd[7108]: hostname_avp: peer reports
hostname 'bu-psd1'
Sep 25 17:52:15 distinct l2tpd[7108]: vendor_avp: peer
reports vendor 'Cisco Systems, Inc.\200^H'
Sep 25 17:52:15 distinct
l2tpd[7108]: assigned_tunnel_avp: using peer's tunnel 26108
Sep 25 17:52:15
distinct l2tpd[7108]: receive_window_size_avp: peer wants RWS of 20050.
Will use flow control.
Sep 25 17:52:15 distinct l2tpd[7108]: challenge_avp:
challenge avp found
Sep 25 17:52:15 distinct l2tpd[7108]: control_finish:
Peer requested tunnel 26108 twice, ignoring second one.
Sep 25 17:52:17
distinct l2tpd[7108]: control_xmit: Maximum retries exceeded for tunnel
57158. Closing.
Sep 25 17:52:17 distinct l2tpd[7108]: call_close :
Connection 26108 closed to 180.197.176.105, port 1701 (Timeout)
Sep 25
17:52:19 distinct l2tpd[7108]: ourtid = 20513, entropy_buf = 5021
Sep 25
17:52:19 distinct l2tpd[7108]: check_control: control, cid = 0, Ns = 1, Nr =
0
Sep 25 17:52:19 distinct l2tpd[7108]: check_control: Received out of
order control packet on tunnel -1 (1 != 0)
Sep 25 17:52:19 distinct
l2tpd[7108]: handle_packet: bad control packet!
Sep 25 17:52:22 distinct
l2tpd[7108]: control_xmit: Unable to deliver closing message for tunnel 57158.
Destroying anyway.
Sep 25 17:53:34 distinct l2tpd[7108]: death_handler:
Fatal signal 2 received
Here is l2tpd.conf
[global]
; Global parameters:
port =
1701
; * Bind to port 1701
auth file =
l2tp-secrets ; * Where our challenge
secrets are
access control =
no
; * Refuse connections without IP match
rand source =
dev
; Source for entropy for
random
;
; numbers, options
are:
;
; dev - reads of
/dev/urandom
;
; sys - uses
rand()
;
; egd - reads from egd
socket
;
; egd is not yet implemented
;
[lns
distinctmedia]
; Our fallthrough LNS definition
ip range =
192.168.0.1-192.168.0.20 ; * Allocate from this IP
range
no ip range = 192.168.0.3-192.168.0.9 ; * Except these
hosts
ip range =
192.168.0.5
; * But this one is okay
lac =
180.197.176.105
; * These can connect as LAC's
hidden bit =
no
; * Use hidden AVP's?
refuse pap =
yes
; * Refuse PAP authentication
refuse chap =
no
; * Refuse CHAP authentication
ppp debug =
yes
; * Turn on PPP debugging
call rws =
-1
; * RWS for call (-1 is valid)
tunnel rws =
14
; * RWS for tunnel (must be > 0)
flow bit =
yes
; * Include sequence numbers