[Bug 5210] httpd.c:parse_conf() does not understand IPv6 addressing in ACLs

bugzilla at busybox.net bugzilla at busybox.net
Thu Jun 14 22:43:17 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=5210

--- Comment #1 from Brandon Hume <hume-ml+busybox at bofh.ca> 2012-06-14 22:43:16 UTC ---
Created attachment 4388
  --> https://bugs.busybox.net/attachment.cgi?id=4388
Possible patch to add IPv6 support to ACLs

Put together a patch to add IPv6 ACL support to httpd.conf.  Needs testing, and
I don't have a big-endian machine to test the compiled binary on.  Adds about
700 bytes to the compiled httpd.o.

Htaccess_IP->ip and rmt_ip become arrays when IPv6 is enabled.

Removes scan_ip() and scan_ip_mask(), replaces them with parse_ip() and
parse_mask().  Adds an inline function to compare the ints of the address, used
when IPv6 is enabled and not.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list