[Chilli] Problem with mmap!

Sven Anders anders at anduras.de
Mon Feb 18 15:47:30 UTC 2013


Hello!

If I compile chilli with "--with-mmap", DHCP does not work.
In this case chilli always reports "dhcp.c: 4930: 0 (Debug) bad packet length 0".

I compiled chilli with the following options:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-openssl --with-mmap --with-poll --enable-largelimits --enable-binstatusfile
--enable-statusfile --enable-chilliproxy --enable-chilliradsec --enable-chilliredir --enable-chilliscript --enable-ieee8023 --enable-multiroute
--enable-dhcpopt --enable-multilan --disable-cluster

If I remove "--with-mmap" anything works as expected...

What me makes curious is, that in the old version 1.2.4 I used (compiled it with the "--with-mmap")
anything worked. I'm using the same Kernel (3.2.13) for both versions.

David, in your last mail you wrote the following:

> Also updated, when using --with-mmap, you can now selectively use
> --mmapring to enable the RX/TX rings, otherwise you are running without
> them (the standard way). 

Does this have anything to do with it?
Or is this only the fix for the ">> net.c:1189:22: error: unused variable 'mr'" warning?

Is there a web interface to the SVN repository?

Regards
 Sven Anders

-- 
 Sven Anders <anders at anduras.de>                 () UTF-8 Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS intranet security AG
 Messestrasse 3 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anders.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130218/6a25c8c7/attachment.vcf>


More information about the Chilli mailing list