Package: pptpd Version: 1.3.4 When using RADIUS plugin in pppd, it send Caller-Station-ID attribuse to radius server. But pppd needs to know remote user IP.
To send Caller-Station-ID information for radius server, pppd using information (if provided) from "remotenumber" command line option. Withowt it, pppd don't send any information about remote user IP to radiuis server. I created very small path to pptpd. When starting pppd it add "remotenumber" command line option. I'm already using this patch many years in my ISP platform and it's working great ! Just a 2 additional lines in source code makes life mutch easy !!! Please, consider to include this patch in distribution. ----- pptpd.remotenumber.patch ------------------- diff -ru pptpd-1.3.3.orig/pptpctrl.c pptpd-1.3.3/pptpctrl.c --- pptpd-1.3.3.orig/pptpctrl.c 2005-10-31 00:40:41.000000000 +0200 +++ pptpd-1.3.3/pptpctrl.c 2006-12-09 15:08:22.000000000 +0200 @@ -781,6 +781,9 @@ pppd_argv[an++] = inet_ntoa(inetaddrs[1]); } + pppd_argv[an++] = "remotenumber"; + pppd_argv[an++] = inet_ntoa(inetaddrs[1]); + /* argv arrays must always be NULL terminated */ pppd_argv[an++] = NULL; /* make sure SIGCHLD is unblocked, pppd does not expect it */ --------------------------------------------------------------------- No other workaround I know to make pppd sending Caller-Station-ID for radius server without remotenumber command line argument. Thank you. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org