module development suggestion request

2011-11-28 Thread Reza Shadmani
Dear all, I am an experienced C programmer and would like to write a module for Apache platform to accomplish following requirements: - receiving raw TCP traffic destined from connected clients. - retain the connections established for a long time. - process incomming TCP traffic based on

Re: module development suggestion request

2011-11-28 Thread Nick Kew
On 28 Nov 2011, at 07:58, Reza Shadmani wrote: Give me a clue where to start... I kindly please to receive your hints and experience in this matter. What you describe is a protocol module. There are a few examples available: mod_ftpd is probably the most mature at apache.org implementing

Re: Binary Tree Shared Memory Problem

2011-11-28 Thread Ignaz Birnstingl
Hi, apr_shm_baseaddr_get returns the base address for the shared memory segment. You will have to implement your own allocator within the shared memory. Also keep in mind that you can't reliably use pointers inside the shared memory segment, because - as the documentation states - the

Re: Binary Tree Shared Memory Problem

2011-11-28 Thread Oğuzhan TOPGÜL
Hi, is there any example mod_slotmem codes that we can understand the usage? Or could you give me an usage example? For example we are using apr_shm_create() in post_config, but mod_slotmem is a little bit hard to understand i think. And i want to ask a question, is it a problem to create typedef

Re: Icons for 2.4

2011-11-28 Thread Igor Galić
- Original Message - On 11/27/2011 6:56 PM, Gregg L. Smith wrote: No, I looked it up after, it's one of the Swiss fonts from MS Office, couldn't grab back the mail. It looks pretty '90's style now... maybe a bump up to some more modern face? Oh well, the last two or three

Re: Proposal: error codes

2011-11-28 Thread Guenter Knauf
Am 27.11.2011 18:14, schrieb Stefan Fritsch: Yes, that would be a good idea and I agree with Daniel that we should use a distinct prefix or format. We currently have around 2700 calls to *_log_?error in trunk, so a 4-digit number should be ok. Together with for example AH as prefix for Apache

Re: Icons for 2.4

2011-11-28 Thread Jim Jagielski
It would be great if we had the orig's somewhere... Long ago I did the ASF logo so let me look around to see if I can find the orig Powered By logo. PS: Can we *please* drop gifs? :) On Nov 27, 2011, at 4:50 AM, Stefan Fritsch wrote: Hi, docs/icons/apache_pb2* contain the version number

Re: [RFC] further proxy/rewrite URL validation security issue (CVE-2011-4317)

2011-11-28 Thread Joe Orton
On Wed, Nov 23, 2011 at 04:53:46PM +0100, Plüm, Rüdiger, VF-Group wrote: One comment though: Shouldn't we check r-unparsed_uri as well (at least in the proxy case, as it may be used by ap_proxy_trans_match instead of r-uri)? Thanks for looking at this! I'm not sure how we could check

Re: [RFC] further proxy/rewrite URL validation security issue (CVE-2011-4317)

2011-11-28 Thread Joe Orton
On Thu, Nov 24, 2011 at 11:37:34PM +0100, Rainer Jung wrote: Don't know whether that could happen here, but could OPTIONS * be a problem? Hmmm, another good question. What should mod_rewrite or mod_proxy's translate_name hook do for a request-URI of *? 2616 says: The asterisk *

Re: Can we be less forgiving about what we accept?

2011-11-28 Thread Stefan Fritsch
On Monday 28 November 2011, Nick Kew wrote: On 28 Nov 2011, at 00:37, Stefan Fritsch wrote: Hi, while browsing a bit through Michael Zalewski's new Tangled Web book, I was reminded again that we are very forgiving about what we accept as a request. Is this really a good idea in the

Re: mod_xml2enc comments

2011-11-28 Thread Stefan Fritsch
On Sunday 13 November 2011, Nick Kew wrote: Indeed, checking those return values would be better. May have been lost when I separated out the i18n code from its origins in markup filtering. I have added some error checks and a few ap_asserts(). Do you want to review it before I merge it into

Re: mod_xml2enc comments

2011-11-28 Thread Nick Kew
On Mon, 28 Nov 2011 17:31:59 +0100 Stefan Fritsch s...@sfritsch.de wrote: On Sunday 13 November 2011, Nick Kew wrote: Indeed, checking those return values would be better. May have been lost when I separated out the i18n code from its origins in markup filtering. I have added some

Re: mod_xml2enc comments

2011-11-28 Thread Igor Galić
- Original Message - On Mon, 28 Nov 2011 17:31:59 +0100 Stefan Fritsch s...@sfritsch.de wrote: On Sunday 13 November 2011, Nick Kew wrote: Indeed, checking those return values would be better. May have been lost when I separated out the i18n code from its origins in markup

Re: Proposal: error codes

2011-11-28 Thread Mikhail T.
On 27.11.2011 12:14, Stefan Fritsch wrote: Yes, that would be a good idea and I agree with Daniel that we should use a distinct prefix or format. We currently have around 2700 calls to *_log_?error in trunk, so a 4-digit number should be ok. Together with for example AH as prefix for Apache

mod_fcgid bugs

2011-11-28 Thread Steffen
mod_fcgid has serious long standing bugs which are reported in bugzilla, see 51020, 50309 and 48949 . Please look at it.

mod_fcgid bugs

2011-11-28 Thread Steffen
mod_fcgid has serious long standing bugs which are reported in bugzilla, see 51020, 50309 and 48949 . Please look at it.

Re: Can we be less forgiving about what we accept?

2011-11-28 Thread Tim Bannister
On 28 Nov 2011, at 00:37, Stefan Fritsch wrote: * With 'ProxyRequests off', we accept absolute urls like http://hostname/path for local requests, but we don't check that the hostname contained in it actually matches the Host header if there is one. The hostname from the URI is then used

Re: svn commit: r1207721 - in /httpd/httpd/branches/2.4.x: ./ build/rpm/httpd.spec.in

2011-11-28 Thread Jeff Trawick
On Mon, Nov 28, 2011 at 7:24 PM, minf...@apache.org wrote: Author: minfrin Date: Tue Nov 29 00:24:35 2011 New Revision: 1207721 URL: http://svn.apache.org/viewvc?rev=1207721view=rev Log: RPM: The default httpd mpm is now worker instead of prefork. FWIW * a normal build defaults to event

Re: svn commit: r1207721 - in /httpd/httpd/branches/2.4.x: ./ build/rpm/httpd.spec.in

2011-11-28 Thread Graham Leggett
On 29 Nov 2011, at 02:37, Jeff Trawick wrote: FWIW * a normal build defaults to event * a multi-MPM build of 2.4 should build the MPMs as DSOs +1. This is what I'm trying to nail down - to get the packaging to work against the ideal installation of httpd. What I am also keen to do is

Re: Test failures and libwww-perl 6.0.3

2011-11-28 Thread Kaspar Brand
On 23.11.2011 15:06, Joe Orton wrote: On Wed, Nov 23, 2011 at 08:37:31AM +0100, Kaspar Brand wrote: There are two approaches to fix 1): a) turn off verify_hostname where needed (t/ssl/pr12355.t and t/ssl/pr43738.t are doing this right now) or b) specify the CA cert (generated in t/conf/ca/...)