Skip to contentSkip to conversation

Calling-Station-Id

DISCUSSION Nev 4 participants 6 messages Sep 7, 2009 – Sep 13, 2009 PPP protocol drivers and compressors

lore
Share & tools
lore

Nev

author
#0 lore raw

This is my very first post, so apologies if I'm posting to the wrong list.

OS CentOS 5.3
Kernel 2.6.18-128

My setup is PPTP client >> INTERNET >> pptpd (1.3.4) / PPP (2.4.4.-2) / Radius (2.1.6)

in /etc/pptpd I have noipparam commented in order that the client's IP address is pass to PPP

in /var/log/messages the clients ip is passed

Sep  7 21:41:32 vpn1 pppd[9945]: ipparam 78.8X.18X.XX           # (from 

command line)

But what ends in Radius is Calling-Station-Id = "8.87" and not the FULL IP.

I searched google and I can see alot of people have had this problem, but I've not be able to find a fix.

Thx
Nev

#1 lore raw

Anyone, please.

Thx
Nev
----- Original Message -----
From: "Nev" <[email protected]>
To: <[email protected]>
Sent: Monday, September 07, 2009 9:53 PM
Subject: Calling-Station-Id

Quoted 30 lines

This is my very first post, so apologies if I'm posting to the wrong list.

OS CentOS 5.3
Kernel 2.6.18-128

My setup is PPTP client >> INTERNET >> pptpd (1.3.4) / PPP (2.4.4.-2) / Radius (2.1.6)

in /etc/pptpd I have noipparam commented in order that the client's IP address is pass to PPP

in /var/log/messages the clients ip is passed

Sep  7 21:41:32 vpn1 pppd[9945]: ipparam 78.8X.18X.XX           # (from 

command line)

But what ends in Radius is Calling-Station-Id = "8.87" and not the FULL IP.

I searched google and I can see alot of people have had this problem, but I've not be able to find a fix.

Thx
Nev

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Nev
Quoted 25 lines · Neville

Anyone, please.

Thx
Nev
----- Original Message ----- From: "Nev" <[email protected]>
To: <[email protected]>
Sent: Monday, September 07, 2009 9:53 PM
Subject: Calling-Station-Id

Quoted 15 lines

This is my very first post, so apologies if I'm posting to the wrong list.

OS CentOS 5.3
Kernel 2.6.18-128

My setup is PPTP client >> INTERNET >> pptpd (1.3.4) / PPP (2.4.4.-2) / Radius (2.1.6)

in /etc/pptpd I have noipparam commented in order that the client's IP address is pass to PPP

in /var/log/messages the clients ip is passed

 Sep  7 21:41:32 vpn1 pppd[9945]: ipparam 78.8X.18X.XX           # (from
 command line)

man pppd

ipparam string
Provides an extra parameter to the ip-up, ip-pre-up and ip-down scripts. If this option is given, the string supplied is given as the 6th parameter to those scripts.

pppd does NOT do anything withit. It is up to your scripts to do something with it. pppd certainly does not send it on to the other end.

But why do you care? ppp is peer to peer . It does not use ip addresses. And usually your address is given by the remote side since it is what has to forward the packets to you, and you simply dump the packets onto the line-- there is no routing.

Note also that that line in the logs is NOT passing anything. It simply states that pppd has received that parameter from the command line. It does not say it has done anything with it.

Quoted 22 lines
Quoted 7 lines

But what ends in Radius is Calling-Station-Id = "8.87" and not the FULL IP.

I searched google and I can see alot of people have had this problem, but I've not be able to find a fix.

Quoted 8 lines

Thx
Nev

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 4 lines
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     [email protected]
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
#3 lore raw
In reply to Nev

Your problem has to do with the radius plugin ... the evidence you give shows there is no problem with pptpd or pppd.

Signature · 2 lines
James Cameron
http://quozl.linux.org.au/
#4 lore raw
In reply to Nev

Hi thanks for the response.

Any idea what list I need to write to re radius.so plug-in?

I need this in order to do a validation of the Calling IP Address as a form of Radius Authentication also.

Thx
Nev
----- Original Message -----
From: "Bill Unruh" <[email protected]>
To: "Neville" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, September 13, 2009 3:23 AM
Subject: Re: Calling-Station-Id

Quoted 89 lines · Neville
Quoted 27 lines

Anyone, please.

Thx
Nev
----- Original Message ----- From: "Nev" <[email protected]>
To: <[email protected]>
Sent: Monday, September 07, 2009 9:53 PM
Subject: Calling-Station-Id

Quoted 16 lines

This is my very first post, so apologies if I'm posting to the wrong
list.

OS CentOS 5.3
Kernel 2.6.18-128

My setup is PPTP client >> INTERNET >> pptpd (1.3.4) / PPP (2.4.4.-2) / Radius (2.1.6)

in /etc/pptpd I have noipparam commented in order that the client's IP address is pass to PPP

in /var/log/messages the clients ip is passed

 Sep  7 21:41:32 vpn1 pppd[9945]: ipparam 78.8X.18X.XX           # (from
 command line)

man pppd

ipparam string
Provides an extra parameter to the ip-up, ip-pre-up and ip-down scripts. If this option is given, the string supplied is given as the 6th parameter to those scripts.

pppd does NOT do anything withit. It is up to your scripts to do something with
it. pppd certainly does not send it on to the other end.

But why do you care? ppp is peer to peer . It does not use ip addresses. And
usually your address is given by the remote side since it is what has to forward the packets to you, and you simply dump the packets onto the line--
there is no routing.

Note also that that line in the logs is NOT passing anything. It simply states
that pppd has received that parameter from the command line. It does not say
it has done anything with it.

Quoted 23 lines
Quoted 8 lines

But what ends in Radius is Calling-Station-Id = "8.87" and not the FULL IP.

I searched google and I can see alot of people have had this problem,
but
I've not be able to find a fix.

Quoted 8 lines

Thx
Nev

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 8 lines
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     [email protected]
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html