Stopping Address Options in IPCP in CDMA2k networks
Hi,
I'm trying to use pppd in a CDMA2k environment (CDMA2k uses MobileIP on
top of PPP). The CDMA spec (3GPP2 P.S0001-B) requires that the PPP
implementation does not send any address options during IPCP negotiation
(note that it also forbids using RFC2290 MobileIP extensions for IPCP).
Looking through the man pages and the code it looks like there is no way
to stop pppd sending address options during IPCP. Using pppd 2.4.1.
So two questions -- (1) Have I missed something? Is there an existing way
to stop address messages being sent? (2) If not, I've written a two-line
patch to ipcp.c that adds a parameter --no-addr-neg to do just this (it
sets neg_addr in want and allow options to zero). Any chance I can get
this accepted into the main pppd source code?
Thanks,
Antony
Re: Stopping Address Options in IPCP in CDMA2k networks
Antony Edwards <antonye@cse.unsw.EDU.AU> writes:[color=blue]
> So two questions -- (1) Have I missed something?[/color]
Yes. I don't think you're looking at the current CVS source.
[color=blue]
> Is there an existing way
> to stop address messages being sent?[/color]
Yes, at least with the current code. It's "ipcp-no-addresses
ipcp-no-address".
[color=blue]
> (2) If not, I've written a two-line
> patch to ipcp.c that adds a parameter --no-addr-neg to do just this (it
> sets neg_addr in want and allow options to zero). Any chance I can get
> this accepted into the main pppd source code?[/color]
Send it to [email]ppp-bugs@dp.samba.org[/email].
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677
Re: Stopping Address Options in IPCP in CDMA2k networks
Antony Edwards <antonye@cse.unsw.edu.au> wrote:
[color=blue]
> I'm trying to use pppd in a CDMA2k environment (CDMA2k uses MobileIP on
> top of PPP). The CDMA spec (3GPP2 P.S0001-B) requires that the PPP
> implementation does not send any address options during IPCP negotiation
> (note that it also forbids using RFC2290 MobileIP extensions for IPCP).[/color]
[color=blue]
> Looking through the man pages and the code it looks like there is no way
> to stop pppd sending address options during IPCP. Using pppd 2.4.1.[/color]
[color=blue]
> So two questions -- (1) Have I missed something? Is there an existing way[/color]
Yes.
[color=blue]
> to stop address messages being sent? (2) If not, I've written a two-line[/color]
Yes.
[color=blue]
> patch to ipcp.c that adds a parameter --no-addr-neg to do just this (it
> sets neg_addr in want and allow options to zero). Any chance I can get
> this accepted into the main pppd source code?[/color]
No. Use the pppd noip option.
-- Clifford Kite Email: "echo [email]xvgr_yvahk-ccc@ri1.arg[/email]|rot13"
PPP-Q&A links, downloads: [url]http://ckite.no-ip.net/[/url]
/* Recipe for a unified PPP debug log file: Add the line
" local2.*;*.=debug;*.=notice /var/log/ppp-debug.log "
to /etc/syslog.conf, and do " kill -HUP `pidof syslogd` "
so that syslogd rereads it. */
Re: Stopping Address Options in IPCP in CDMA2k networks
James Carlson <james.d.carlson@sun.com> wrote:[color=blue]
> Antony Edwards <antonye@cse.unsw.EDU.AU> writes:[color=green]
>> So two questions -- (1) Have I missed something?[/color][/color]
[color=blue]
> Yes. I don't think you're looking at the current CVS source.[/color]
[color=blue][color=green]
>> Is there an existing way
>> to stop address messages being sent?[/color][/color]
[color=blue]
> Yes, at least with the current code. It's "ipcp-no-addresses
> ipcp-no-address".[/color]
Heh! I was careless in suggesting noip, that simply causes pppd to
terminate the connection. But the options above are not in 2.4.1
although they are in pppd 2.4.2b3 (but not in the man pages for it),
available at ftp.samba.org in /pub/ppp.
They seem to work for what he needs, with them that pppd version sends
an empty IPCP request:
sent [IPCP ConfReq id=0x1]
--
Clifford Kite Email: "echo [email]xvgr_yvahk-ccc@ri1.arg[/email]|rot13"
PPP-Q&A links, downloads: [url]http://ckite.no-ip.net/[/url]
/* "Be liberal in what you accept, and conservative in what you send"
RFC 1122 */