Не поднимает PPTP сессию

PPTP related questions
Post Reply
bodigard
Posts: 24
Joined: 24 Mar 2015, 04:37

Не поднимает PPTP сессию

Post by bodigard » 28 Jan 2016, 08:38

доброго времени суток уважаемое сообщество !

возникла необходимость поднять на ацеле сервер pptp с авторизацией в радиусе, и столкнулся со сложностями, в решении которых прошу вашей помощи

ОС Debian 8.2
Ядро

Code: Select all

Linux accel1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
ащель взял последний из git
собирал так

Code: Select all

cmake -DKDIR=/usr/src/linux-headers-3.16.0-4-amd64 -DBUILD_PPTP_DRIVER=FALSE -DBUILD_IPOE_DRIVER=TRUE -DLOG_PGSQL=FALSE -DRADIUS=TRUE -DNETSNMP=FALSE -DLUA=TRUE -DCMAKE_BUILD_TYPE=Debug -DMEMDEBUG=TRUE /root/accel/accel-ppp-code/
-DBUILD_PPTP_DRIVER=FALSE, ибо с ним не собираеться, да и в документации написано на ядрах позднее 2.6.37 эта опция не нужна

собралось без ошибок и предупреждений

конфиг ацеля

Code: Select all

[modules]
log_file
#ipoe
pptp
radius
pppd_compat
ippool
#client-ip-range
#net-snmp
#shaper
#sigchld

[core]
log-error=/var/log/accel-ppp/core.log
thread-count=8
verbose=1

[ppp]
verbose=1
min-mtu=1400
mtu=1500
mru=1500
mss=1440
ccp=0
check-ip=1
mppe=deny
ipv4=require
#ipv6=deny
#ipv6-intf-id=0:0:0:1
#ipv6-peer-intf-id=0:0:0:2
#ipv6-accept-peer-intf-id=1
lcp-echo-interval=10
lcp-echo-failure=3
lcp-echo-timeout=3
unit-cache=1000

[pptp]
verbose=1
bind=10.184.0.10
echo-interval=1
#ip-pool=pptp

[client-ip-range]
disable

[radius]
verbose=5
interim-verbose=5
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-pppd
nas-ip-address=10.184.0.10
server=10.184.0.20,test,auth-port=1812,acct-port=1813,req-limit=0,fail-time=0,weight=1
dae-server=10.184.0.10:3799,test
acct-interim-interval=600
timeout=3
max-try=3
acct-timeout=0

[ip-pool]
attr=Framed-Pool
gw=10.10.0.1/24,name=test
gw=10.0.0.1/24
10.10.0.1-255,name=test
10.0.0.2/24

[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
log-debug=/var/log/accel-ppp/debug.log
copy=1
level=5
при попытке подключения в логе следующее

Code: Select all

[2016-01-28 13:25:23.369] accel-ppp version 5b44e480d387916fe19f93caa45faac954444f9c
[2016-01-28 13:25:30.377] pptp: new connection from 10.184.0.201
[2016-01-28 13:25:30.379] : : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 1> <Bearer 1> <Max-Chan 0>]
[2016-01-28 13:25:30.379] : : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2016-01-28 13:25:30.379] : : recv [PPTP Outgoing-Call-Request <Call-ID d3bc> <Call-Serial 29> <Min-BPS 300> <Max-BPS 100000000> <Bearer 3> <Framing 3> <Window-Size 64> <Delay 0>]
[2016-01-28 13:25:30.379] : : send [PPTP Outgoing-Call-Reply <Call-ID 1e> <Peer-Call-ID d3bc> <Result 1> <Error 0> <Cause 0> <Speed 100000000> <Window-Size 64> <Delay 0> <Channel 0>]
[2016-01-28 13:25:30.380] : : lcp_layer_init
[2016-01-28 13:25:30.380] : : auth_layer_init
[2016-01-28 13:25:30.380] : : ccp_layer_init
[2016-01-28 13:25:30.380] : : ipcp_layer_init
[2016-01-28 13:25:30.380] : : ipv6cp_layer_init
[2016-01-28 13:25:30.380] : : ppp establishing
[2016-01-28 13:25:30.380] : 2e91bfa274a4d26c: lcp_layer_start
[2016-01-28 13:25:30.380] : 2e91bfa274a4d26c: send [LCP ConfReq id=1 <mru 1436> <magic 3a86d445>]
[2016-01-28 13:25:30.703] : 2e91bfa274a4d26c: recv [PPTP Set-Link-Info]
[2016-01-28 13:25:30.727] : 2e91bfa274a4d26c: recv [LCP ConfReq id=0 <mru 1400> <magic 155c40ec> <pcomp> <accomp> < d 3 6 >]
[2016-01-28 13:25:30.727] : 2e91bfa274a4d26c: send [LCP ConfRej id=0  <pcomp> <accomp> < d 3 6 >]
[2016-01-28 13:25:30.728] : 2e91bfa274a4d26c: recv [LCP ConfReq id=1 <mru 1400> <magic 155c40ec>]
[2016-01-28 13:25:30.728] : 2e91bfa274a4d26c: send [LCP ConfAck id=1 ]
[2016-01-28 13:25:31.380] : 2e91bfa274a4d26c: send [PPTP Echo-Request <Identifier 4fe12f61>]
[2016-01-28 13:25:31.381] : 2e91bfa274a4d26c: recv [PPTP Echo-Reply <Identifier 4fe12f61>]
[2016-01-28 13:25:32.380] : 2e91bfa274a4d26c: send [PPTP Echo-Request <Identifier 23502a61>]
[2016-01-28 13:25:32.381] : 2e91bfa274a4d26c: recv [PPTP Echo-Reply <Identifier 23502a61>]
[2016-01-28 13:25:33.380] : 2e91bfa274a4d26c: fsm timeout 9
[2016-01-28 13:25:33.380] : 2e91bfa274a4d26c: send [LCP ConfReq id=1 <mru 1436> <magic 3a86d445>]
[2016-01-28 13:25:33.380] : 2e91bfa274a4d26c: send [PPTP Echo-Request <Identifier 128d98b7>]
[2016-01-28 13:25:33.381] : 2e91bfa274a4d26c: recv [PPTP Echo-Reply <Identifier 128d98b7>]
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: recv [LCP ConfAck id=1 <mru 1436> <magic 3a86d445>]
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: lcp_layer_started
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: auth_layer_start
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: auth_layer_started
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: ccp_layer_start
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: ccp: failed to get flags: Bad file descriptor
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: ipcp_layer_start
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: send [IPCP ConfReq id=1 <addr 0.0.0.0>]
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: ppp_unit_send: short write -1, excpected 12
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: ipv6cp_layer_start
[2016-01-28 13:25:33.382] : 2e91bfa274a4d26c: recv [PPTP Set-Link-Info]
[2016-01-28 13:25:33.383] : 2e91bfa274a4d26c: recv [LCP Ident id=2 <MSRASV5.20>]
[2016-01-28 13:25:33.383] : 2e91bfa274a4d26c: recv [LCP Ident id=3 <MSRAS-0-NB-PC>]
[2016-01-28 13:25:33.383] : 2e91bfa274a4d26c: recv [LCP Ident id=4 <▒'_Y▒▒A▒▒▒K1$s&>]
[2016-01-28 13:25:33.387] : 2e91bfa274a4d26c: send [LCP ProtoRej id=3 <8021>]
[2016-01-28 13:25:33.588] : 2e91bfa274a4d26c: recv [PPTP Set-Link-Info]
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: recv [LCP TermReq id=6]
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: send [LCP TermAck id=6]
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: terminate
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: lcp_layer_finish
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: auth_layer_finish
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: auth_layer_finished
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ccp_layer_finish
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ccp: failed to get flags: Bad file descriptor
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ccp_layer_finished
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ipcp_layer_finish
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ipcp_layer_finished
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ipv6cp_layer_finish
[2016-01-28 13:25:33.589] : 2e91bfa274a4d26c: ipv6cp_layer_finished
[2016-01-28 13:25:33.605] : 2e91bfa274a4d26c: recv [PPTP Call-Clear-Request <Call-ID d3bc>]
[2016-01-28 13:25:33.654] : 2e91bfa274a4d26c: lcp_layer_free
[2016-01-28 13:25:33.655] : 2e91bfa274a4d26c: auth_layer_free
[2016-01-28 13:25:33.655] : 2e91bfa274a4d26c: ccp_layer_free
[2016-01-28 13:25:33.655] : 2e91bfa274a4d26c: ipcp_layer_free
[2016-01-28 13:25:33.655] : 2e91bfa274a4d26c: ipv6cp_layer_free
[2016-01-28 13:25:33.655] : 2e91bfa274a4d26c: send [PPTP Call-Disconnect-Notify <Call-ID bcd3> <Result 4> <Error 0> <Cause 0>]
[2016-01-28 13:25:34.696] : 2e91bfa274a4d26c: recv [PPTP Stop-Ctrl-Conn-Request <Reason 1>]
[2016-01-28 13:25:34.696] : 2e91bfa274a4d26c: send [PPTP Stop-Ctrl-Conn-Reply <Result 1> <Error 0>]
[2016-01-28 13:25:34.696] : 2e91bfa274a4d26c: pptp: disconnect
[2016-01-28 13:25:34.696] : 2e91bfa274a4d26c: disconnected
судя по tcpdump на радиусе, к нему даже не пытаються обратиться

попробовал версию 1.9.0 ацеля, клиент также не подключаеться, в логах следующее

Code: Select all

[2016-01-28 13:19:27.073] accel-ppp version 1.9.0
[2016-01-28 13:19:30.999] pptp: new connection from 10.184.0.201
[2016-01-28 13:19:31.002] : : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 1> <Bearer 1> <Max-Chan 0>]
[2016-01-28 13:19:31.002] : : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2016-01-28 13:19:31.003] : : recv [PPTP Outgoing-Call-Request <Call-ID caac> <Call-Serial 28> <Min-BPS 300> <Max-BPS 100000000> <Bearer 3> <Framing 3> <Window-Size 64> <Delay 0>]
[2016-01-28 13:19:31.003] : : send [PPTP Outgoing-Call-Reply <Call-ID 1d> <Peer-Call-ID caac> <Result 1> <Error 0> <Cause 0> <Speed 100000000> <Window-Size 64> <Delay 0> <Channel 0>]
[2016-01-28 13:19:31.003] ppp0: : connect: ppp0 <--> pptp(10.184.0.201)
[2016-01-28 13:19:31.003] ppp0: : lcp_layer_init
[2016-01-28 13:19:31.003] ppp0: : auth_layer_init
[2016-01-28 13:19:31.003] ppp0: : ccp_layer_init
[2016-01-28 13:19:31.003] ppp0: : ipcp_layer_init
[2016-01-28 13:19:31.003] ppp0: : ipv6cp_layer_init
[2016-01-28 13:19:31.003] ppp0: : ppp established
[2016-01-28 13:19:31.004] ppp0: 2e91bfa274a4ce83: lcp_layer_start
[2016-01-28 13:19:31.004] ppp0: 2e91bfa274a4ce83: send [LCP ConfReq id=1 <mru 1436> <magic 2bf876ee>]
[2016-01-28 13:19:31.275] ppp0: 2e91bfa274a4ce83: recv [PPTP Set-Link-Info]
[2016-01-28 13:19:31.299] ppp0: 2e91bfa274a4ce83: recv [LCP ConfReq id=0 <mru 1400> <magic 2c737865> <pcomp> <accomp> < d 3 6 >]
[2016-01-28 13:19:31.300] ppp0: 2e91bfa274a4ce83: send [LCP ConfRej id=0  <pcomp> <accomp> < d 3 6 >]
[2016-01-28 13:19:31.303] ppp0: 2e91bfa274a4ce83: recv [LCP ConfReq id=1 <mru 1400> <magic 2c737865>]
[2016-01-28 13:19:31.303] ppp0: 2e91bfa274a4ce83: send [LCP ConfAck id=1 ]
[2016-01-28 13:19:32.004] ppp0: 2e91bfa274a4ce83: send [PPTP Echo-Request <Identifier 71db7e02>]
[2016-01-28 13:19:32.005] ppp0: 2e91bfa274a4ce83: recv [PPTP Echo-Reply <Identifier 71db7e02>]
[2016-01-28 13:19:33.004] ppp0: 2e91bfa274a4ce83: send [PPTP Echo-Request <Identifier 1fa33267>]
[2016-01-28 13:19:33.005] ppp0: 2e91bfa274a4ce83: recv [PPTP Echo-Reply <Identifier 1fa33267>]
[2016-01-28 13:19:34.004] ppp0: 2e91bfa274a4ce83: send [PPTP Echo-Request <Identifier 174bde99>]
[2016-01-28 13:19:34.004] ppp0: 2e91bfa274a4ce83: fsm timeout 9
[2016-01-28 13:19:34.004] ppp0: 2e91bfa274a4ce83: send [LCP ConfReq id=1 <mru 1436> <magic 2bf876ee>]
[2016-01-28 13:19:34.005] ppp0: 2e91bfa274a4ce83: recv [PPTP Echo-Reply <Identifier 174bde99>]
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: recv [LCP ConfAck id=1 <mru 1436> <magic 2bf876ee>]
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: lcp_layer_started
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: auth_layer_start
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: auth_layer_started
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: ccp_layer_start
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: ipcp_layer_start
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: send [IPCP ConfReq id=1 <addr 0.0.0.0>]
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: ipv6cp_layer_start
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: recv [PPTP Set-Link-Info]
[2016-01-28 13:19:34.006] ppp0: 2e91bfa274a4ce83: recv [LCP Ident id=2 <MSRASV5.20>]
[2016-01-28 13:19:34.007] ppp0: 2e91bfa274a4ce83: recv [LCP Ident id=3 <MSRAS-0-NB-PC>]
[2016-01-28 13:19:34.007] ppp0: 2e91bfa274a4ce83: recv [LCP Ident id=4 <K▒=▒=▒C▒▒▒>▒RE>]
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: recv [IPCP ConfReq id=5 <addr 0.0.0.0> <dns1 0.0.0.0> <wins1 0.0.0.0> <dns2 0.0.0.0> <wins2 0.0.0.0>]
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: send [IPCP ConfNak id=5 <addr 10.0.0.2>]
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: recv [IPCP ConfRej id=1]
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: terminate
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: lcp_layer_finish
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: send [LCP TermReq id=3]
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: auth_layer_finish
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: auth_layer_finished
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ccp_layer_finish
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ccp_layer_finished
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ipcp_layer_finish
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ipcp_layer_finished
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ipv6cp_layer_finish
[2016-01-28 13:19:34.011] ppp0: 2e91bfa274a4ce83: ipv6cp_layer_finished
[2016-01-28 13:19:34.013] ppp0: 2e91bfa274a4ce83: IPCP: discarding packet
[2016-01-28 13:19:34.013] ppp0: 2e91bfa274a4ce83: recv [PPTP Set-Link-Info]
[2016-01-28 13:19:34.014] ppp0: 2e91bfa274a4ce83: recv [LCP TermAck id=3]
[2016-01-28 13:19:34.014] ppp0: 2e91bfa274a4ce83: lcp_layer_finished
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: lcp_layer_free
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: auth_layer_free
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: ccp_layer_free
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: ipcp_layer_free
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: ipv6cp_layer_free
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: ppp destablished
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: pptp: ppp finished
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: send [PPTP Call-Disconnect-Notify <Call-ID acca> <Result 3> <Error 0> <Cause 0>]
[2016-01-28 13:19:34.055] ppp0: 2e91bfa274a4ce83: send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2016-01-28 13:19:34.223] ppp0: 2e91bfa274a4ce83: recv [PPTP Call-Clear-Request <Call-ID caac>]
[2016-01-28 13:19:34.223] ppp0: 2e91bfa274a4ce83: send [PPTP Call-Disconnect-Notify <Call-ID acca> <Result 4> <Error 0> <Cause 0>]
[2016-01-28 13:19:34.223] ppp0: 2e91bfa274a4ce83: recv [PPTP Stop-Ctrl-Conn-Reply <Result 1> <Error 0>]
[2016-01-28 13:19:34.223] ppp0: 2e91bfa274a4ce83: pptp: disconnect
[2016-01-28 13:19:34.223] ppp0: 2e91bfa274a4ce83: disconnected
модуль pptp подружен

Code: Select all

lsmod | grep pp
pptp                   20986  0
gre                    12777  1 pptp
pppox                  12594  1 pptp
ppp_generic            30387  2 pptp,pppox
slhc                   12531  1 ppp_generic
iTCO_vendor_support    12649  1 iTCO_wdt
pps_core               17225  1 ptp
подскажите, если не трудно, в какую сторону копать

bodigard
Posts: 24
Joined: 24 Mar 2015, 04:37

Re: Не поднимает PPTP сессию

Post by bodigard » 28 Jan 2016, 12:38

с авторизацией вроде разобрался

нужно было включить модули авторизации ppp

но соединение так и не устанавливается

лог

Code: Select all

cat debug.log
[2016-01-28 17:25:04.520] accel-ppp version 5b44e480d387916fe19f93caa45faac954444f9c
[2016-01-28 17:25:11.972] pptp: new connection from 10.184.0.201
[2016-01-28 17:25:11.972] : : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 1> <Bearer 1> <Max-Chan 0>]
[2016-01-28 17:25:11.972] : : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2016-01-28 17:25:11.973] : : recv [PPTP Outgoing-Call-Request <Call-ID 878a> <Call-Serial 5f> <Min-BPS 300> <Max-BPS 100000000> <Bearer 3> <Framing 3> <Window-Size 64> <Delay 0>]
[2016-01-28 17:25:11.973] : : send [PPTP Outgoing-Call-Reply <Call-ID 56> <Peer-Call-ID 878a> <Result 1> <Error 0> <Cause 0> <Speed 100000000> <Window-Size 64> <Delay 0> <Channel 0>]
[2016-01-28 17:25:11.973] : : lcp_layer_init
[2016-01-28 17:25:11.973] : : auth_layer_init
[2016-01-28 17:25:11.973] : : ccp_layer_init
[2016-01-28 17:25:11.973] : : ipcp_layer_init
[2016-01-28 17:25:11.973] : : ipv6cp_layer_init
[2016-01-28 17:25:11.973] : : ppp establishing
[2016-01-28 17:25:11.973] : 2e91bfa274a56ee4: lcp_layer_start
[2016-01-28 17:25:11.973] : 2e91bfa274a56ee4: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1436> <magic 3ba0794b>]
[2016-01-28 17:25:12.255] : 2e91bfa274a56ee4: recv [PPTP Set-Link-Info]
[2016-01-28 17:25:12.281] : 2e91bfa274a56ee4: recv [LCP ConfReq id=0 <mru 1400> <magic 33910c67> <pcomp> <accomp> < d 3 6 >]
[2016-01-28 17:25:12.281] : 2e91bfa274a56ee4: send [LCP ConfRej id=0  <pcomp> <accomp> < d 3 6 >]
[2016-01-28 17:25:12.284] : 2e91bfa274a56ee4: recv [LCP ConfReq id=1 <mru 1400> <magic 33910c67>]
[2016-01-28 17:25:12.284] : 2e91bfa274a56ee4: send [LCP ConfAck id=1 ]
[2016-01-28 17:25:12.974] : 2e91bfa274a56ee4: send [PPTP Echo-Request <Identifier 24c29fd1>]
[2016-01-28 17:25:12.974] : 2e91bfa274a56ee4: recv [PPTP Echo-Reply <Identifier 24c29fd1>]
[2016-01-28 17:25:13.973] : 2e91bfa274a56ee4: send [PPTP Echo-Request <Identifier 30bb2b99>]
[2016-01-28 17:25:13.974] : 2e91bfa274a56ee4: recv [PPTP Echo-Reply <Identifier 30bb2b99>]
[2016-01-28 17:25:14.973] : 2e91bfa274a56ee4: send [PPTP Echo-Request <Identifier 7a61d75b>]
[2016-01-28 17:25:14.974] : 2e91bfa274a56ee4: fsm timeout 9
[2016-01-28 17:25:14.974] : 2e91bfa274a56ee4: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1436> <magic 3ba0794b>]
[2016-01-28 17:25:14.974] : 2e91bfa274a56ee4: recv [PPTP Echo-Reply <Identifier 7a61d75b>]
[2016-01-28 17:25:14.976] : 2e91bfa274a56ee4: recv [LCP ConfAck id=1 <auth MSCHAP-v2> <mru 1436> <magic 3ba0794b>]
[2016-01-28 17:25:14.976] : 2e91bfa274a56ee4: lcp_layer_started
[2016-01-28 17:25:14.976] : 2e91bfa274a56ee4: auth_layer_start
[2016-01-28 17:25:14.976] : 2e91bfa274a56ee4: send [MSCHAP-v2 Challenge id=1 <3536179ee693938f1dbdb3d56d95d4db>]
[2016-01-28 17:25:14.976] : 2e91bfa274a56ee4: recv [PPTP Set-Link-Info]
[2016-01-28 17:25:14.977] : 2e91bfa274a56ee4: recv [LCP Ident id=2 <MSRASV5.20>]
[2016-01-28 17:25:14.977] : 2e91bfa274a56ee4: recv [LCP Ident id=3 <MSRAS-0-NB-PC>]
[2016-01-28 17:25:14.977] : 2e91bfa274a56ee4: recv [LCP Ident id=4 <{▒▒▒D▒%▒C-▒a>]
[2016-01-28 17:25:14.984] : 2e91bfa274a56ee4: recv [MSCHAP-v2 Response id=1 <a2f444b79e7452e80153b666c6a062>, <1e811679e72d445ec68f8728023f75ea4fc647de58854>, F=0, name="test10"]
[2016-01-28 17:25:14.984] : 2e91bfa274a56ee4: send [RADIUS(1) Access-Request id=1 <User-Name "test10"> <NAS-Identifier "accel-ipoe1"> <NAS-IP-Address 10.184.0.10> <NAS-Port 4294967295> <NAS-Port-Id ""> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "10.184.0.201"> <Called-Station-Id "10.184.0.10"><Microsoft MS-CHAP-Challenge ><Microsoft MS-CHAP2-Response >]
[2016-01-28 17:25:15.047] : 2e91bfa274a56ee4: recv [RADIUS(1) Access-Accept id=1 <Framed-Protocol PPP> <Framed-Compression Van-Jacobson-TCP-IP> <Framed-Pool "test"> <PPPD-Downstream-Speed-Limit 1000> <PPPD-Upstream-Speed-Limit 1000> <Session-Timeout 1800><Microsoft MS-CHAP2-Success ><Microsoft MS-MPPE-Recv-Key ><Microsoft MS-MPPE-Send-Key ><Microsoft MS-MPPE-Encryption-Policy 1><Microsoft MS-MPPE-Encryption-Type 6>]
[2016-01-28 17:25:15.047] ppp0: 2e91bfa274a56ee4: connect: ppp0 <--> pptp(10.184.0.201)
[2016-01-28 17:25:15.047] ppp0: 2e91bfa274a56ee4: ppp connected
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: send [MSCHAP-v2 Success id=1 "S=FE2D0E8B43AF69E5939C30065552ABF004BB8AB4 M=Authentication succeeded"]
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: auth_layer_started
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: ccp_layer_start
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: send [CCP ConfReq id=1 <mppe +H -M +S -L -D -C>]
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: ipcp_layer_start
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: send [IPCP ConfReq id=1 <addr 0.0.0.0>]
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: ipv6cp_layer_start
[2016-01-28 17:25:15.048] ppp0: 2e91bfa274a56ee4: test10: authentication succeeded
[2016-01-28 17:25:15.053] ppp0: 2e91bfa274a56ee4: recv [CCP ConfReq id=5 <mppe +H -M -S -L -D -C>]
[2016-01-28 17:25:15.053] ppp0: 2e91bfa274a56ee4: send [CCP ConfNak id=5 <mppe +H -M +S -L -D -C>]
[2016-01-28 17:25:15.054] ppp0: 2e91bfa274a56ee4: recv [IPCP ConfReq id=6 <addr 0.0.0.0> <dns1 0.0.0.0> <wins1 0.0.0.0> <dns2 0.0.0.0> <wins2 0.0.0.0>]
[2016-01-28 17:25:15.054] ppp0: 2e91bfa274a56ee4: send [IPCP ConfNak id=6 <addr 10.10.0.2> <dns1 8.8.8.8> <dns2 8.8.4.4>]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: recv [CCP ConfAck id=1 <mppe +H -M +S -L -D -C>]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: recv [IPCP ConfRej id=1]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: terminate
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: lcp_layer_finish
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: send [LCP TermReq id=3]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: auth_layer_finish
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: auth_layer_finished
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ccp_layer_finish
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ccp_layer_finished
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ipcp_layer_finish
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ipcp_layer_finished
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ipv6cp_layer_finish
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: ipv6cp_layer_finished
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: CCP: discarding packet
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: send [LCP ProtoRej id=4 <80fd>]
[2016-01-28 17:25:15.057] ppp0: 2e91bfa274a56ee4: IPCP: discarding packet
[2016-01-28 17:25:15.057] ppp0: 2e91bfa274a56ee4: recv [PPTP Set-Link-Info]
[2016-01-28 17:25:15.058] ppp0: 2e91bfa274a56ee4: recv [LCP TermAck id=3]
[2016-01-28 17:25:15.058] ppp0: 2e91bfa274a56ee4: lcp_layer_finished
[2016-01-28 17:25:15.058] ppp0: 2e91bfa274a56ee4: ppp destablished
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: lcp_layer_free
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: auth_layer_free
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: ccp_layer_free
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: ipcp_layer_free
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: ipv6cp_layer_free
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: pptp: ppp finished
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: send [PPTP Call-Disconnect-Notify <Call-ID 8a87> <Result 3> <Error 0> <Cause 0>]
[2016-01-28 17:25:15.091] ppp0: 2e91bfa274a56ee4: send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2016-01-28 17:25:15.270] ppp0: 2e91bfa274a56ee4: recv [PPTP Call-Clear-Request <Call-ID 878a>]
[2016-01-28 17:25:15.270] ppp0: 2e91bfa274a56ee4: send [PPTP Call-Disconnect-Notify <Call-ID 8a87> <Result 4> <Error 0> <Cause 0>]
[2016-01-28 17:25:15.270] ppp0: 2e91bfa274a56ee4: recv [PPTP Stop-Ctrl-Conn-Reply <Result 1> <Error 0>]
[2016-01-28 17:25:15.270] ppp0: 2e91bfa274a56ee4: pptp: disconnect
[2016-01-28 17:25:15.271] ppp0: 2e91bfa274a56ee4: disconnected


интересны строки

Code: Select all

[2016-01-28 17:25:15.054] ppp0: 2e91bfa274a56ee4: recv [IPCP ConfReq id=6 <addr 0.0.0.0> <dns1 0.0.0.0> <wins1 0.0.0.0> <dns2 0.0.0.0> <wins2 0.0.0.0>]
[2016-01-28 17:25:15.054] ppp0: 2e91bfa274a56ee4: send [IPCP ConfNak id=6 <addr 10.10.0.2> <dns1 8.8.8.8> <dns2 8.8.4.4>]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: recv [CCP ConfAck id=1 <mppe +H -M +S -L -D -C>]
[2016-01-28 17:25:15.055] ppp0: 2e91bfa274a56ee4: recv [IPCP ConfRej id=1]
т.е. получается что сервер предлагает адрес клиенту а он от него отказывается, почему ?

подумал может из-за сжатия, на клиенте стоит необезательно, на сервере в секции ppp и pppd написал mppe=prefer, результата не дало :(
клиентов пробовал winxp и win7

hojuruku
Posts: 10
Joined: 23 Jul 2016, 21:08

Re: Не поднимает PPTP сессию

Post by hojuruku » 25 Jul 2016, 19:37

So PPTP works using the pptp driver works bundled with linux instead of the accel-ppp one?

Dmitry
Администратор
Posts: 953
Joined: 09 Oct 2014, 10:06

Re: Не поднимает PPTP сессию

Post by Dmitry » 26 Jul 2016, 06:51

в [radius] надо добавить gw-ip-address=x.x.x.x, это адрес на стороне сервера, любой подойдёт

Dmitry
Администратор
Posts: 953
Joined: 09 Oct 2014, 10:06

Re: Не поднимает PPTP сессию

Post by Dmitry » 26 Jul 2016, 06:52

hojuruku wrote:So PPTP works using the pptp driver works bundled with linux instead of the accel-ppp one?
yes, he has 3.16, so only option - native linux pptp kernel module

hojuruku
Posts: 10
Joined: 23 Jul 2016, 21:08

Re: Не поднимает PPTP сессию

Post by hojuruku » 28 Jul 2016, 21:12

Yeah I worked that out from playing around and seeing the gentoo ebuild :) You offer great support so I'm giving back. In a few hours I'll push accel-ppp's to openwrt's on github.

You'll be able to get lots of new accel-ppp users on the small end of town using it with ipsec etc on home routers, and maybe some people running other commercial router appliances including your package. Hope that leads to them donating money to you - because I"m broke :P

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest