PPPoE-Kummer, evtl. Authentifizierung?

From: Olaf Hoyer <ohoyer(at)ohoyer.de>
Date: Fri, 21 May 2004 02:43:46 +0200 (CEST)

Moin!

So, habe mittlererweile den zweiten Teil der "ich will PPTP-VPN mit
Windows-Gegenstelle sprechen" begonnen...

Situation: Zu Hause haengt mein (Firmen-gesponsertes Dienstnotebook)
ganz normal ueber die fxp0 an dem DSL-Modem, dh. pppoe muss drauf
laufen. Was nach der Anleitung von Udo Erdelhoff auch wunderbar funzt,
auch bei QSC Home, die ein kastriertes SDSL als ADSL anbieten, aber
pppoe machen.

Jetzt wollte ich, da ich durch diese pppoe-verbindung pptp machen
moechte, den mpd (/usr/ports/net/mpd) dazu bringen, dass er wenigstens
nach aussen waehlt, aber im Rahmen der Authentifizierung (oder kurz
danach) faellt er irgendwie auf die Nase.

Fazit: ppp funktioniert, mpd will nicht.
Hat jemand anhand der tcpdumps ne Idee?

(Name/Passwords unten etwas abgeaendert, aber doppelt auf Sinnigkeit
geprueft...)

TIA
Olaf

Meine /etc/ppp.conf sieht wie folgt aus:
default:
 set device PPPoE:fxp0
 set MTU 1492
 set MRU 1492
 set dial
 set crtscts off
 set speed sync
 accept lqr
 disable deflate
 disable pred1
 disable vjcomp
 disable acfcomp
 disable protocomp
 set log Phase LCP IPCP CCP Warning Error Alert
 set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
 add default HISADDR # Add a (sticky) default route
 set login
 set authname cpe0815(at)qdsl.de
 set authkey 12345678

Der entsprechende tcpdump zu diesem Vorgang:

ppp:

02:27:17.601068 PPPoE PADI [Host-Uniq UTF8]
02:27:17.606459 PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name
"bsn.qsc"] [AC-Cookie UTF8]
02:27:17.606479 PPPoE PADR [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name
"bsn.qsc"]
02:27:17.612496 PPPoE PADS [ses 0xbe69] [Host-Uniq UTF8] [AC-Cookie
UTF8] [AC-Name "bsn.qsc"]
02:27:17.613041 PPPoE [ses 0xbe69] Conf-Req(1), MRU=1492, Auth-Prot
PAP, Magic-Num=12838c6e
02:27:18.603638 PPPoE [ses 0xbe69] Conf-Req(1), MRU=1492,
Magic-Num=df4c669f
02:27:18.603657 PPPoE [ses 0xbe69] Conf-Ack(1), MRU=1492, Auth-Prot
PAP, Magic-Num=12838c6e
02:27:18.608887 PPPoE [ses 0xbe69] Conf-Ack(1), MRU=1492,
Magic-Num=df4c669f
02:27:18.609457 PPPoE [ses 0xbe69] Auth-Req(1), Peer=cpe0815(at)qdsl.de,
Name=12345678
02:27:18.644900 PPPoE [ses 0xbe69] Auth-Ack(1), Msg=
02:27:18.646091 PPPoE [ses 0xbe69] Conf-Req(1)
02:27:18.646109 PPPoE [ses 0xbe69] Conf-Req(1), IP-Addr=0.0.0.0
02:27:18.653855 PPPoE [ses 0xbe69] Conf-Req(1), IP-Addr=bsn4.fra.qsc.de
02:27:18.654185 PPPoE [ses 0xbe69] Conf-Ack(1), IP-Addr=bsn4.fra.qsc.de
02:27:18.654477 PPPoE [ses 0xbe69] Conf-Nak(1),
IP-Addr=port-195-158-169-97.dynamic.qsc.de
02:27:18.654753 PPPoE [ses 0xbe69] Prot-Rej(2), Rejected-Protocol=80fd
02:27:18.654990 PPPoE [ses 0xbe69] Conf-Req(2),
IP-Addr=port-195-158-169-97.dynamic.qsc.de
02:27:18.660277 PPPoE [ses 0xbe69] Conf-Ack(2),
IP-Addr=port-195-158-169-97.dynamic.qsc.de
02:27:19.660682 PPPoE [ses 0xbe69] Echo-Req(1), Magic-Num=12838c6e
02:27:19.660927 PPPoE [ses 0xbe69] Echo-Rep(1), Magic-Num=df4c669f
02:27:27.130592 PPPoE [ses 0xbe69] Term-Req(3)
02:27:27.136239 PPPoE [ses 0xbe69] Term-Ack(3)
02:27:27.137247 PPPoE [ses 0xbe69] Term-Req(2)
02:27:27.142632 PPPoE [ses 0xbe69] Term-Ack(2)
02:27:27.143378 PPPoE PADT [ses 0xbe69] [Generic-Error "session closed"]
02:27:27.144439 PPPoE PADT [ses 0xbe69]

Bei dem mpd siehts wie folgt aus:

mpd.conf
QSC:
        new qsc PPPoE
        set iface addrs 1.1.1.1 2.2.2.2
        set iface route default
        set iface disable on-demand
        set iface idle 0
        set bundle disable multilink
        set bundle authname "cpe0815(at)qdsl.de"
        set bundle password 12345678
        set link no acfcomp protocomp
        set link enable pap
        set link mtu 1492
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0
        set ipcp disable vjcomp
        set pppoe service ""
        set pppoe enable originate
        set link ident ""
        set link disable no-orig-auth
        set link disable magicnum
        set link disable check-magic
        open iface

tcpdump:
pris# tcpdump
tcpdump: listening on fxp0
02:28:34.114823 PPPoE PADI [Host-Uniq UTF8]
02:28:34.120048 PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name
"bsn.qsc"] [AC-Cookie UTF8]
02:28:34.120068 PPPoE PADR [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name
"bsn.qsc"]
02:28:34.126608 PPPoE PADS [ses 0xbe6b] [Host-Uniq UTF8] [AC-Cookie
UTF8] [AC-Name "bsn.qsc"]
02:28:34.127018 PPPoE [ses 0xbe6b] Conf-Req(1), MRU=1492, Auth-Prot
PAP, Magic-Num=1284b750
02:28:34.128379 PPPoE [ses 0xbe6b] Conf-Req(1), MRU=1492, Auth-Prot PAP
02:28:34.128925 PPPoE [ses 0xbe6b] Conf-Rej(1), Magic-Num=1284b750
02:28:34.133564 PPPoE [ses 0xbe6b] Conf-Ack(1), MRU=1492, Auth-Prot PAP
02:28:34.134466 PPPoE [ses 0xbe6b] Conf-Req(2), MRU=1492, Auth-Prot PAP
02:28:34.134989 PPPoE [ses 0xbe6b] Conf-Ack(2), MRU=1492, Auth-Prot PAP
02:28:34.136096 PPPoE [ses 0xbe6b] Auth-Req(1), Peer=cpe0815(at)qdsl.de,
Name=12345678
02:28:34.141233 PPPoE PADT [ses 0xbe6b]
02:28:34.141258 PPPoE PADT [ses 0xbe6b] [Generic-Error "session closed"]

-- 
Olaf Hoyer        ohoyer(at)gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 21 May 2004 - 02:44:18 CEST

search this site