net/mpd5, ppp, proxy-arp issues

Marin Atanasov dnaeon at gmail.com
Mon Apr 19 07:18:56 UTC 2010


Hi,

I was setting up mpd5 from ports, but this proxy-arp issue still exists in
8.0.

> uname -r
8.0-RELEASE-p2

I've attached the output from the mpd5 daemon, where you can still see that
the issue is relevant.

I've also tried to apply the patch, but it's no longer on that location.
Something else to add - I've a dns server running on the same machine that
mpd5 was set up. I'm not sure if this is caused by mpd5 daemon or the arp
issue, but after a couple of start/stops of mpd5 the name resolving from the
gateway machine is not possible, all other systems from the internal network
are able to use the dns server on the gateway, but the gateway itself
cannot.

Restart of named, doesn't help either, so I had to completely reboot the
machine, so that arp entries are flushed as well.

Could you please have a look at the issue? If you need some additional
information, please let me know.

Regards,
Marin

On Wed, Dec 16, 2009 at 6:09 PM, Prokofiev S.P. <proks at skylinetele.com>wrote:

> Thank you !
> The problem with proxy-arp has disappeared (FreeBSD 8-STABLE amd64 with
> mpd5).
>
> Please, somebody  fix  the bug kern/141285...
>
>
> Li, Qing wrote:
>
>> Hi,
>>
>> Recently there have been several reports regarding issues with ppp, mpd5
>> and proxy-arp configuration over the ppp links. I read through the
>> various postings and the problems seem to be:
>>
>> 1. Unable to add proxy-arp entries for the remote ppp clients.
>>
>> 2. Log showing "ifa_add_loopback_route: insertion failed" causing    some
>> userland applications to fail.
>>
>> May I ask that you try applying patch
>>
>>  http://people.freebsd.org/~qingli/ppp-proxy-arp-patch-121515.diff<http://people.freebsd.org/%7Eqingli/ppp-proxy-arp-patch-121515.diff>
>>
>> and report back if the patch fixes your problems. And if not, please
>> describe what additional issues you are having.
>>
>> Thanks,
>>
>> -- Qing
>>
>>
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>>
>>
>>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



-- 
Marin Atanasov Nikolov
dnaeon AT gmail DOT com
daemon AT unix-heaven DOT org
-------------- next part --------------
# /usr/local/sbin/mpd5
Multi-link PPP daemon for FreeBSD
 
process 2295 started, version 5.5 (root at domain 02:21 17-Apr-2010)
Usage: set user {name} {password} [{priv}]
CONSOLE: listening on 127.0.0.1 5005
web: listening on 0.0.0.0 5006
PPTP: waiting for connection on <external-ip-here> 1723
[L] [L-1] Accepting PPTP connection
[L-1] Link: OPEN event
[L-1] LCP: Open event
[L-1] LCP: state change Initial --> Starting
[L-1] LCP: LayerStart
[L-1] PPTP: attaching to peer's outgoing call
[L-1] Link: UP event
[L-1] LCP: Up event
[L-1] LCP: state change Starting --> Req-Sent
[L-1] LCP: SendConfigReq #1
[L-1]   ACFCOMP
[L-1]   PROTOCOMP
[L-1]   MRU 1500
[L-1]   MAGICNUM 102c4d22
[L-1]   AUTHPROTO CHAP MSOFTv2
[L-1]   MP MRRU 2048
[L-1]   MP SHORTSEQ
[L-1]   ENDPOINTDISC [802.1] 00 10 dc 10 55 3f
[L-1] LCP: rec'd Configure Reject #1 (Req-Sent)
[L-1]   MP MRRU 2048
[L-1]   MP SHORTSEQ
[L-1]   ENDPOINTDISC [802.1] 00 10 dc 10 55 3f
[L-1] LCP: SendConfigReq #2
[L-1]   ACFCOMP
[L-1]   PROTOCOMP
[L-1]   MRU 1500
[L-1]   MAGICNUM 102c4d22
[L-1]   AUTHPROTO CHAP MSOFTv2
[L-1] LCP: rec'd Configure Ack #2 (Req-Sent)
[L-1]   ACFCOMP
[L-1]   PROTOCOMP
[L-1]   MRU 1500
[L-1]   MAGICNUM 102c4d22
[L-1]   AUTHPROTO CHAP MSOFTv2
[L-1] LCP: state change Req-Sent --> Ack-Rcvd
[L-1] LCP: rec'd Configure Request #1 (Ack-Rcvd)
[L-1]   MRU 1400
[L-1]   MAGICNUM 7fe5744d
[L-1]   PROTOCOMP
[L-1]   ACFCOMP
[L-1]   CALLBACK 6
[L-1] LCP: SendConfigRej #1
[L-1]   CALLBACK 6
[L-1] LCP: rec'd Configure Request #2 (Ack-Rcvd)
[L-1]   MRU 1400
[L-1]   MAGICNUM 7fe5744d
[L-1]   PROTOCOMP
[L-1]   ACFCOMP
[L-1] LCP: SendConfigAck #2
[L-1]   MRU 1400
[L-1]   MAGICNUM 7fe5744d
[L-1]   PROTOCOMP
[L-1]   ACFCOMP
[L-1] LCP: state change Ack-Rcvd --> Opened
[L-1] LCP: auth: peer wants nothing, I want CHAP
[L-1] CHAP: sending CHALLENGE #1 len: 21
[L-1] LCP: LayerUp
[L-1] LCP: rec'd Ident #3 (Opened)
[L-1]   MESG: MSRASV5.10
[L-1] LCP: rec'd Ident #4 (Opened)
[L-1]   MESG: MSRAS-0-TSUNAMI
[L-1] CHAP: rec'd RESPONSE #1 len: 61
[L-1]   Name: "mratest"
[L-1] AUTH: Trying INTERNAL
[L-1] AUTH: INTERNAL returned: undefined
[L-1] CHAP: Auth return status: undefined
[L-1] CHAP: Response is valid
[L-1] CHAP: Reply message: S=8BE305F08FBAEB4E801B6201037B4B4AEB76A73B
[L-1] CHAP: sending SUCCESS #1 len: 46
[L-1] LCP: authorization successful
[L-1] Link: Matched action 'bundle "B" ""'
[L-1] Creating new bundle using template "B".
[B-1] Bundle: Interface ng0 created
[L-1] Link: Join bundle "B-1"
[B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
[B-1] IPCP: Open event
[B-1] IPCP: state change Initial --> Starting
[B-1] IPCP: LayerStart
[B-1] CCP: Open event
[B-1] CCP: state change Initial --> Starting
[B-1] CCP: LayerStart
[B-1] IPCP: Up event
[B-1] IPCP: Got IP 10.1.16.50 from pool "pool1" for peer
[B-1] IPCP: state change Starting --> Req-Sent
[B-1] IPCP: SendConfigReq #1
[B-1]   IPADDR <external-ip-here>
[B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[B-1] CCP: Up event
[B-1] CCP: state change Starting --> Req-Sent
[B-1] CCP: SendConfigReq #1
[B-1]   MPPC
[B-1]     0x01000060:MPPE(40, 128 bits), stateless
[B-1] CCP: rec'd Configure Request #5 (Req-Sent)
[B-1]   MPPC
[B-1]     0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
[B-1] CCP: SendConfigNak #5
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] IPCP: rec'd Configure Request #6 (Req-Sent)
[B-1]   IPADDR 0.0.0.0
[B-1]     NAKing with 10.1.16.50
[B-1]   PRIDNS 0.0.0.0
[B-1]     NAKing with 10.1.16.1
[B-1]   PRINBNS 0.0.0.0
[B-1]   SECDNS 0.0.0.0
[B-1]   SECNBNS 0.0.0.0
[B-1] IPCP: SendConfigRej #6
[B-1]   PRINBNS 0.0.0.0
[B-1]   SECDNS 0.0.0.0
[B-1]   SECNBNS 0.0.0.0
[B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
[B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[B-1] IPCP: SendConfigReq #2
[B-1]   IPADDR <external-ip-here>
[B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] CCP: SendConfigReq #2
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] CCP: rec'd Configure Request #7 (Req-Sent)
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] CCP: SendConfigAck #7
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] CCP: state change Req-Sent --> Ack-Sent
[B-1] IPCP: rec'd Configure Request #8 (Req-Sent)
[B-1]   IPADDR 0.0.0.0
[B-1]     NAKing with 10.1.16.50
[B-1]   PRIDNS 0.0.0.0
[B-1]     NAKing with 10.1.16.1
[B-1] IPCP: SendConfigNak #8
[B-1]   IPADDR 10.1.16.50
[B-1]   PRIDNS 10.1.16.1
[B-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
[B-1]   IPADDR <external-ip-here>
[B-1] IPCP: state change Req-Sent --> Ack-Rcvd
[B-1] CCP: rec'd Configure Ack #2 (Ack-Sent)
[B-1]   MPPC
[B-1]     0x01000040:MPPE(128 bits), stateless
[B-1] CCP: state change Ack-Sent --> Opened
[B-1] CCP: LayerUp
[B-1] CCP: Compress using: mppc (MPPE(128 bits), stateless)
[B-1] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
[B-1] IPCP: rec'd Configure Request #9 (Ack-Rcvd)
[B-1]   IPADDR 10.1.16.50
[B-1]     10.1.16.50 is OK
[B-1]   PRIDNS 10.1.16.1
[B-1] IPCP: SendConfigAck #9
[B-1]   IPADDR 10.1.16.50
[B-1]   PRIDNS 10.1.16.1
[B-1] IPCP: state change Ack-Rcvd --> Opened
[B-1] IPCP: LayerUp
[B-1]   <external-ip-here> -> 10.1.16.50
[B-1] system: command "/usr/sbin/arp" returned 256
[B-1] IFACE: Up event


More information about the freebsd-net mailing list