pptp+mppe (3)
6. pppおよびpptp入れ換え
前述の通り古いppp/pptpでないとカーネルにパッチしたmppeと接続できない
ということで、入れ換える。依存関係のあるパッケージも削除。
$ wget http://public.www.planetmirror.com/pub/mppe/ppp-2.4.1-3mppe.src.rpm
$ rpm --rebuild ppp-2.4.1-3mppe.src.rpm
# rpm -e rp-pppoe
# rpm -e ppp
# rpm -ivh ppp-2.4.1-3mppe.i386.rpm
準備中... ########################################### [100%]
1:ppp ########################################### [100%]
$ wget http://jaist.dl.sourceforge.net/sourceforge/pptpclient/pptp-linux-1.0.3-1.src.rpm
$ rpm --rebuild pptp-linux-1.1.0-1.src.rpm
# rpm -ivh pptp-linux-1.1.0-1.i386.rpm
-- /etc/ppp/options.pptp
#
# Lock the port
#
lock
debug
#
# We don't need the tunnel server to authenticate itself
#
noauth
#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate
#novj
#noccp
nopcomp
#
# We want MPPE
#
mppe-40 << optionが違う
#nomppe-128
mppe-stateless << 必要
#
# We want a sane mtu/mru
#
mtu 1000
mru 1000
#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10
7. テスト
同様にCisco3600に対してテストを行なう。
今度はMPPEが接続されたが、中身が通らない。
-- /var/log/messages --
Sep 27 10:52:30 localhost pppd[5696]: Connect: ppp0 <--> /dev/pts/3
Sep 27 10:52:33 localhost pppd[5696]: MPPE 40 bit, stateless compression enabledSep 27 10:52:33 localhost pppd[5696]: local IP address 192.168.100.1
Sep 27 10:52:33 localhost pppd[5696]: remote IP address 192.168.100.254
Sep 27 10:52:52 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xf893
Sep 27 10:52:54 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xa2e8
Sep 27 10:52:57 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xa638
Sep 27 10:53:05 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xeaad
Sep 27 10:53:07 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xf0f3
Sep 27 10:53:09 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xb67d
Sep 27 10:53:10 localhost pppd[5696]: Protocol-Reject for unsupported protocol 0xf20e
Sep 27 10:56:02 localhost pptp[5694]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection
Sep 27 10:56:02 localhost pptp[5694]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection
Sep 27 10:56:02 localhost pppd[5696]: Hangup (SIGHUP)
繋がったアドレス192.168.100.254にpingするとCisco側で解読できないらしい。
pingが通らず、しばらくすると上記のエラーが出る。
今日はここまで。