[Chilli] Bugs and patches

Sven Anders anders at anduras.de
Wed Jan 30 15:20:40 UTC 2013


Bug reports for "coova-chilli-1.3.0"

I compile with the following options:
 --with-openssl --with-mmap --with-poll --enable-largelimits --enable-binstatusfile --enable-statusfile \
 --enable-chilliproxy --enable-chilliradsec --enable-chilliredir --enable-chilliscript --enable-ieee8023 \
 --enable-multiroute

1) If I try to compile without the "--enable-multiroute" option:

chilli.c: In function 'chilli_main':
chilli.c:7540:26: error: 'struct tun_t' has no member named '_interface_count'
chilli.c:7541:16: error: 'struct tun_t' has no member named '_interfaces'

Compiling with this option enabled works fine.


2) I get the following warnings, which are treated as errors:

cc1: warnings being treated as errors
net.c: In function 'net_open_eth':
net.c:1189:22: error: unused variable 'mr'
net.c: At top level:
net.c:1938:13: error: 'setup_filter' defined but not used

I removed the -Werror option from the Makefile.


3) If you start chilli without stdin/stdout/stderr, the file descriptor of opened
   files may be 0.

Patch attached.

4) The default parameters should be initialized right after it's creation.
   (This solved a problem I did not remember).

Patch attached.

5) It should be possible to use the chilli with its own DNS server settings.
   Currently the DNS server settings from the host are used, if none are
   configured.
   I added a new option "--nosystemdns" for that.

Patch attached.


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: coova-macallowed.patch
Type: text/x-diff
Size: 2079 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130130/b1f0953c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coova-nosystemdns.patch
Type: text/x-diff
Size: 6204 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130130/b1f0953c/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coova-options-load.patch
Type: text/x-diff
Size: 1253 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130130/b1f0953c/attachment-0002.patch>


More information about the Chilli mailing list