cisco_vsa_hack

2010-01-07 Thread Joe Maimon
Does turning on the hack do anything to the attributes other than adding the value to matching defined attributes? From the code: if ((vp-attribute 0x) == 1) { const char *p; DICT_ATTR *dattr; p

Re: cisco_vsa_hack

2010-01-07 Thread Alan DeKok
Joe Maimon wrote: Does turning on the hack do anything to the attributes other than adding the value to matching defined attributes? ? It doesn't add the value. It turns: Cisco-AVPair = foo = bar into foo = bar or foo = foo = bar into foo = bar

Re: strangeness with cisco_vsa_hack=yes ...

2005-07-03 Thread Roy
Ilia Chipitsine wrote: decoded fields: Cisco-AVPair = session-protocol=cisco Cisco-AVPair = h323-incoming-conf-id=D0236F56 EA0811D9 B31C9978 Cisco-AVPair = subscriber=Unknown Cisco-AVPair = call-id=766F6970 6D726B74 A04FC642 7C760600 The attributes above are

strangeness with cisco_vsa_hack=yes ...

2005-07-02 Thread Ilia Chipitsine
Dear Sirs, I'm running freeradius-1.0.4 for h323 accounting from Cisco AS5350. I turned cisco_vsa_hack to yes, but according to detail (and pgsql-voip module) not all Cisco-VSA are decoded to normal AV pairs: (I replaced several fields with in order to hide IP addresses) Sat Jul 2 09

Re: cisco_vsa_hack

2004-10-03 Thread Peter Nixon
If you can send me the patch asap I can test it (while I still have a quintum for testing) and commit it to cvs if it works ok Cheers Peter On Thursday 23 September 2004 16:16, Amedzekor Kafui wrote: I don't know how to use CVS but I am learning to do that now. I only tried it on

Re: cisco_vsa_hack

2004-09-23 Thread Amedzekor Kafui
I don't know how to use CVS but I am learning to do that now. I only tried it on postgresql using Peter Nixon's schema. I only had to do some minor changes. I will post the patch here. Thanks. Kafui Amedzekor --- Apu islam [EMAIL PROTECTED] wrote: Hello Kafui, Is that hack being sent

Re: cisco_vsa_hack

2004-09-22 Thread Peter Nixon
On Friday 06 August 2004 18:19, Amedzekor Kafui wrote: --snip-- Anyway what I am aiming at is to write a hack for quintum gateways so that Quintums sending cisco type accounting packets can use the schema provided by Peter Nixon in src/billing. Has anyone written this already? Thanks.

Re: cisco_vsa_hack

2004-09-22 Thread Amedzekor Kafui
Yes I did write it. Kafui Amedzekor. --- Peter Nixon [EMAIL PROTECTED] wrote: On Friday 06 August 2004 18:19, Amedzekor Kafui wrote: --snip-- Anyway what I am aiming at is to write a hack for quintum gateways so that Quintums sending cisco type accounting packets can use the schema

Re: cisco_vsa_hack

2004-09-22 Thread Apu islam
Hello Kafui, Is that hack being sent with CVS/Standard distribution ? Does that work with the posgreSQL billing options that are provided ? -apu --- Amedzekor Kafui [EMAIL PROTECTED] wrote: Yes I did write it. Kafui Amedzekor. --- Peter Nixon [EMAIL PROTECTED] wrote: On Friday 06

cisco_vsa_hack

2004-08-06 Thread Amedzekor Kafui
Hello, This question is for Thomas J (off course all answers are welcome) the author of cisco_vsa_hack in rlm_preprocess.c. Can you explain this line in your code? vendorcode = (vp-attribute 16); /* HACK! */ I was wondering if you couldn't compare the vp-attribute == 9 straightway instead

Re: cisco_vsa_hack

2004-08-06 Thread Alan DeKok
Amedzekor Kafui [EMAIL PROTECTED] wrote: Can you explain this line in your code? vendorcode = (vp-attribute 16); /* HACK! */ I was wondering if you couldn't compare the vp-attribute == 9 straightway instead of the hack. The vendor codes vendor-specific attribute numbers are packed

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-20 Thread Paul Hampson
On Tue, Apr 20, 2004 at 12:30:54PM +0200, Jérôme Warnier wrote: Le mar 20/04/2004 à 00:47, Paul Hampson a écrit : On Sun, Apr 18, 2004 at 03:51:12PM +0200, Jerome Warnier wrote: On Sun, 2004-04-18 at 15:13, Paul Hampson wrote: On Sun, Apr 18, 2004 at 12:33:53PM +0200, Jerome Warnier

Re: Cisco-AVPair cisco_vsa_hack()

2004-04-19 Thread Pascal Polleunus
with_cisco_vsa_hack = yes, and it works for other Cisco's VSA. In rlm_preprocess.c, in cisco_vsa_hack(), I found: /* * Cisco-AVPair's get packed as: * * Cisco-AVPair = h323-foo-bar = baz * * which makes sense only if you're a lunatic. * This code looks for the attribute

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-19 Thread Guy Fraser
Jerome Warnier wrote: ...snip... There is also a crontab file in this directory, which uses most the other scripts there, but needs fixing before being (optionally) put into /etc/cron.d. This file needs fixing anyway, because it currently points to /usr/local/... Did not use any yet, so you are

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-19 Thread Jerome Warnier
On Mon, 2004-04-19 at 17:13, Guy Fraser wrote: Jerome Warnier wrote: ...snip... There is also a crontab file in this directory, which uses most the other scripts there, but needs fixing before being (optionally) put into /etc/cron.d. This file needs fixing anyway, because it currently

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-19 Thread Paul Hampson
On Sun, Apr 18, 2004 at 03:51:12PM +0200, Jerome Warnier wrote: On Sun, 2004-04-18 at 15:13, Paul Hampson wrote: On Sun, Apr 18, 2004 at 12:33:53PM +0200, Jerome Warnier wrote: On Sun, 2004-04-18 at 05:43, Paul Hampson wrote: On Sat, Apr 17, 2004 at 11:41:27PM +0200, Jerome Warnier

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-18 Thread Jerome Warnier
On Sun, 2004-04-18 at 05:43, Paul Hampson wrote: On Sat, Apr 17, 2004 at 11:41:27PM +0200, Jerome Warnier wrote: On Sat, 2004-04-17 at 06:02, Paul Hampson wrote: On Fri, Apr 16, 2004 at 09:55:01PM +0200, Jerome Warnier wrote: On Fri, 2004-04-16 at 20:42, Alan DeKok wrote:

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-18 Thread Jerome Warnier
On Sun, 2004-04-18 at 12:33, Jerome Warnier wrote: On Sun, 2004-04-18 at 05:43, Paul Hampson wrote: On Sat, Apr 17, 2004 at 11:41:27PM +0200, Jerome Warnier wrote: On Sat, 2004-04-17 at 06:02, Paul Hampson wrote: On Fri, Apr 16, 2004 at 09:55:01PM +0200, Jerome Warnier wrote: On

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-18 Thread Jerome Warnier
[...] Please find here-attached my fixed debian/rules. It seems to work, though there is still a problem because conf gets copied *under* /etc/freeradius-dialupadmin. Fixed in this release, see attached rules. [EMAIL PROTECTED]:~/debian$ dpkg -L freeradius-dialupadmin /. /etc

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-18 Thread Jerome Warnier
[...] The debian packages should also probably depend upon libsnmp5-dev|libsnmp4.2-dev instead of libsnmp4.2-dev only. Is there any reason why not to do it like that? -- Jerome Warnier [EMAIL PROTECTED] BeezNest s.a r.l. - List info/subscribe/unsubscribe? See

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-18 Thread Jerome Warnier
On Sun, 2004-04-18 at 15:01, Paul Hampson wrote: On Sun, Apr 18, 2004 at 02:34:44PM +0200, Jerome Warnier wrote: The debian packages should also probably depend upon libsnmp5-dev|libsnmp4.2-dev instead of libsnmp4.2-dev only. Is there any reason why not to do it like that? Last time I

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-17 Thread Jerome Warnier
On Sat, 2004-04-17 at 06:02, Paul Hampson wrote: On Fri, Apr 16, 2004 at 09:55:01PM +0200, Jerome Warnier wrote: On Fri, 2004-04-16 at 20:42, Alan DeKok wrote: ?ISO-8859-1?Q?J=E9r=F4me?= Warnier [EMAIL PROTECTED] wrote: ... Try the latest CVS snapshot, it may work better there.

We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-16 Thread Jérôme Warnier
Le lun 12/04/2004 à 17:37, Pascal Polleunus a écrit : Hi, We are trying to do VoIP accounting using Cisco material but we've problems with the attribute Cisco-AVPair. We've defined with_cisco_vsa_hack = yes, and it works for other Cisco's VSA. In rlm_preprocess.c, in cisco_vsa_hack

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-16 Thread Alan DeKok
?ISO-8859-1?Q?J=E9r=F4me?= Warnier [EMAIL PROTECTED] wrote: ... Try the latest CVS snapshot, it may work better there. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-16 Thread Jerome Warnier
On Fri, 2004-04-16 at 20:42, Alan DeKok wrote: ?ISO-8859-1?Q?J=E9r=F4me?= Warnier [EMAIL PROTECTED] wrote: ... Try the latest CVS snapshot, it may work better there. My first remarks: I was surprised to find the dialup-admin as a Debian package. Though, it is completely broken. The files

Re: We are willing to pay to get support on this (Was: Cisco-AVPair cisco_vsa_hack())

2004-04-16 Thread Paul Hampson
On Fri, Apr 16, 2004 at 09:55:01PM +0200, Jerome Warnier wrote: On Fri, 2004-04-16 at 20:42, Alan DeKok wrote: ?ISO-8859-1?Q?J=E9r=F4me?= Warnier [EMAIL PROTECTED] wrote: ... Try the latest CVS snapshot, it may work better there. My first remarks: I was surprised to find the