Menu

Poptop on OBSD 3.6 - winxp auth problems

Help
James Tait
2004-12-23
2012-09-17
  • James Tait

    James Tait - 2004-12-23

    Been working on getting poptop running for a few days now. It's just down to authentication now I think (mschapv2), though I'm not completely sure. I wouldn't be surprised if I was missing something else.

    Any help would be greatly appreciated.

    The XP client is failing with an error 691.

    My configs are:

    sysctl.conf
    --snip--
    net.inet.gre.allow=1
    --END--

    pf.conf
    --snip--
    pass in quick on $ext_if proto tcp from any to ($ext_if) port 1723 modulate state
    pass in quick on $ext_if proto gre from any to ($ext_if) keep state
    pass out quick on $ext_if proto gre from ($ext_if) to any keep state
    --END--

    pptpd.conf

    speed 115200
    option /etc/ppp/options.pptpd
    localip 192.168.0.1
    remoteip 192.168.0.100-120
    --END--

    ppp.conf (note: I commented out everything in default: as well)
    --SNIP--
    pptp:
    enable mschapv2
    enable proxy
    set ifaddr 192.168.0.1 192.168.0.100-192.168.0.120 255.255.255.255
    --END--

    options.pptpd

    persist
    auth
    multilink
    nobsdcomp
    nodeflate
    nodetach
    mtu 1490
    mru 1490
    require-mschap-v2
    require-mppe-128
    debug
    ms-dns 24.226.1.93
    ms-dns 24.226.1.94
    --END--

    ppp.secret

    tait * <pass> *
    WORKGROUP\tait * <pass> *

    debug file

    Dec 23 06:42:03 gate pptpd[22000]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: pppd speed = 115200
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: pppd options file = /etc/ppp/options.pptpd
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Client 192.168.0.6 control connection started
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Received PPTP Control Message (type: 1)
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Made a START CTRL CONN RPLY packet
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: I wrote 156 bytes to the client.
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Sent packet to client
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Received PPTP Control Message (type: 7)
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Set parameters to 1525 maxbps, 64 window size
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Made a OUT CALL RPLY packet
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Starting call (launching pppd, opening GRE)
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: pty_fd = 6
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: tty_fd = 5
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: I wrote 32 bytes to the client.
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Sent packet to client
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Received PPTP Control Message (type: 15)
    Dec 23 06:42:03 gate pptpd[22000]: CTRL: Got a SET LINK INFO packet with standard ACCMs
    Dec 23 06:42:03 gate pptpd[22000]: GRE: Discarding duplicate packet
    Dec 23 06:42:03 gate ppp[10292]: Phase: Using interface: tun0
    Dec 23 06:42:03 gate ppp[10292]: Phase: deflink: Created in closed state
    Dec 23 06:42:03 gate ppp[10292]: Phase: PPP Started (direct mode).
    Dec 23 06:42:03 gate ppp[10292]: Phase: bundle: Establish
    Dec 23 06:42:03 gate ppp[10292]: Phase: deflink: closed -> opening
    Dec 23 06:42:03 gate ppp[10292]: Phase: deflink: Connected!
    Dec 23 06:42:03 gate ppp[10292]: Phase: deflink: opening -> carrier
    Dec 23 06:42:03 gate ppp[10292]: Phase: deflink: carrier -> lcp
    Dec 23 06:42:05 gate ppp[10292]: Phase: bundle: Authenticate
    Dec 23 06:42:05 gate ppp[10292]: Phase: deflink: his = none, mine = CHAP 0x81
    Dec 23 06:42:05 gate ppp[10292]: Phase: Chap Output: CHALLENGE
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: Received PPTP Control Message (type: 15)
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
    Dec 23 06:42:05 gate ppp[10292]: Phase: Chap Input: RESPONSE (49 bytes from tait)
    Dec 23 06:42:05 gate ppp[10292]: Phase: Chap Output: FAILURE
    Dec 23 06:42:05 gate ppp[10292]: Phase: deflink: Disconnected!
    Dec 23 06:42:05 gate pptpd[22000]: GRE: read(fd=6,buffer=3c004a60,len=8196) from PTY failed: status = 0 error = N$
    Dec 23 06:42:05 gate ppp[10292]: Phase: deflink: Connect time: 2 secs: 200 octets in, 232 octets out
    Dec 23 06:42:05 gate ppp[10292]: Phase: deflink: 4 packets in, 5 packets out
    Dec 23 06:42:05 gate ppp[10292]: Phase: total 216 bytes/sec, peak 0 bytes/sec on Thu Dec 23 06:42:03 2004
    Dec 23 06:42:05 gate ppp[10292]: Phase: deflink: lcp -> closed
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: PTY read or GRE write failed (pty,gre)=(6,5)
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: Closing child ppp with pid 10292
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: Client 192.168.0.6 control connection finished
    Dec 23 06:42:05 gate pptpd[22000]: CTRL: Exiting now
    Dec 23 06:42:05 gate pptpd[18507]: MGR: Reaped child 22000
    Dec 23 06:42:05 gate ppp[10292]: Phase: bundle: Dead
    Dec 23 06:42:05 gate ppp[10292]: Phase: PPP Terminated (normal).

     
    • James Tait

      James Tait - 2005-01-02

      Fixed. It was the ppp.secret file.

      I used this config for it:

      <user> <pwd> <ip>
      <workgroup>\<user> <pwd> <ip>

       

Log in to post a comment.