Freeradius-Users Digest, Vol 102, Issue 89

Игорь Авдошкин avdoshkin at gmail.com
Wed Oct 30 06:04:44 CET 2013


There are suggestions that blocks the entry into the database via mysql.
Can you advise why the blocks?

http://pastebin.com/XWBp6uFw

------------------------------

Message: 4
Date: Fri, 25 Oct 2013 10:13:25 +0800
From: ????? ???????? <avdoshkin at gmail.com>
To: freeradius-users at lists.freeradius.org
Subject: dhcp
Message-ID:
        <CAJC1y5ynL5p-wrCOjRYdC1+EDUwL_oGB6jmV2KibMGx0PuHEAg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

radiusd: FreeRADIUS Version 2.2.2, for host x86_64-unknown-linux-gnu, built
on Oct 14 2013 at 22:41:53

dhcp.conf

server dhcp {
listen {
type = dhcp
ipaddr = 10.0.0.249
port = 67
interface = vlan10
broadcast = yes
}

dhcp DHCP-Discover {
    python
}

dhcp DHCP-Request {
    python
}

dhcp DHCP-Release {
    python
}

dhcp DHCP-Inform {
    python
}

dhcp DHCP-Decline {
    python
}

}

How can I fix these errors?

Fri Oct 25 06:41:19 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 1235289482 due to unfinished request 1265526
Fri Oct 25 06:49:11 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 417288914 due to unfinished request 1266266
Fri Oct 25 06:50:53 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 2640071483 due to unfinished request 1266459
Fri Oct 25 06:52:38 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 1828774073 due to unfinished request 1266657
Fri Oct 25 06:54:33 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 3389080412 due to unfinished request 1266856
Fri Oct 25 06:58:23 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 2209098358 due to unfinished request 1267239
Fri Oct 25 07:05:03 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 755143304 due to unfinished request 1267952
Fri Oct 25 07:07:19 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 1691312898 due to unfinished request 1268193
Fri Oct 25 07:08:24 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 776764220 due to unfinished request 1268319
Fri Oct 25 07:16:21 2013 : Error: Discarding duplicate request from client
dhcp port 67 - ID: 481491101 due to unfinished request 1269360
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.freeradius.org/pipermail/freeradius-users/attachments/20131025/ea4c37c5/attachment-0001.html
>

------------------------------

Message: 5
Date: Thu, 24 Oct 2013 22:33:59 -0400
From: Alan DeKok <aland at deployingradius.com>
To: FreeRadius users mailing list
        <freeradius-users at lists.freeradius.org>
Subject: Re: dhcp
Message-ID: <5269D897.1000509 at deployingradius.com>
Content-Type: text/plain; charset=UTF-8

????? ???????? wrote:
...
> server dhcp {
> listen {
> type = dhcp
> ipaddr = 10.0.0.249
> port = 67
> interface = vlan10
> broadcast = yes
> }
>
> |dhcp DHCP-Discover {
>     python
> }
...
> How can I fix these errors?
>
> Fri Oct 25 06:41:19 2013 : Error: Discarding duplicate request from
> client dhcp port 67 - ID: 1235289482 due to unfinished request 1265526

  As I told you on github, fix your python script so that it doesn't
break the server.

  The default dhcp configuration does NOT have this problem.  You've
deleted that, and added your python script.

  Therefore, all of the problem is the python script.  It's blocked, and
is breaking the server.

  Don't do that.

  Alan DeKok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20131030/3d53f482/attachment.html>


More information about the Freeradius-Users mailing list