Re: PPTP and Freeradius

James Cameron <[email protected]> Thu, 19 Jul 2012 12:43:14 +1000
Newsgroups gmane.network.poptop
Organization Netrek Vanilla Server Dictator
Message-ID <[email protected]>
pptpd has the original client IP address, from the incoming
connection.

The address is given to pppd by pptpd using the ipparam option, unless
the noipparam option is set in pptpd.conf, or the --noipparam option
is used on the command line.  There is no change made to the address.
It is either passed in full, or not passed at all.

One of the plugins available is part of the pptpd source tree, the
logwtmp plugin, which uses the pptpd-original-ip option, and calls the
logwtmp function to record the IP address in wtmp.  There is no change
made to the address.  I doubt if you are using this plugin.

pppd also passes the ipparam value to any ip-up or ip-pre-up scripts
called.  There is no change made to the address.  I don't know if you
are using ip-up or ip-pre-up scripts for this logging.

The address is given to plugins of pppd.  I don't know enough about
the freeradius plugin to say if it is used.  It seems from what you
observe that the address is changed before being used in freeradius
logging.

Is there a freeradius project mailing list you can ask?

Without understanding the cause of problem, I doubt that any tweak,
configuration or re-install will work.

-- 
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/