Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Apache module for Outlook Anywhere support in reverse proxy setups
C Perl

Add support for "oldie" kernels

Older Linux kernels do not support the close-on-exec feature.
On these kernels the function inotify_init1() and the macros
O_CLOEXEC and IN_CLOEXEC are not available.

This is a fix for issue #24.
latest commit 9065a97f0c
@bombadil authored
Failed to load latest commit information.
src Add support for "oldie" kernels
test
.gitignore Added Autoconf-based build system
Makefile.in Remove autoconf-generated files in clean target
README.pod Fix wording in README.pod
TODO Clarify AssociationId in TODO list
configure Add support for "oldie" kernels
configure.ac Add support for "oldie" kernels

README.pod

NAME

mod_proxy_msrpc - Apache module for Outlook Anywhere support in reverse proxy setups

SYNOPSIS

Build the module:

    ./configure
    make

Load the module:

    LoadModule proxy_msrpc_module /path/to/your/mod_proxy_msrpc.so

Enable the module inside a <VirtualHost> configuration container (or globally):

    OutlookAnywherePassthrough On

DESCRIPTION

This module intends to make Apache httpd work in a reverse proxy setup in front of a MS Exchange server offering Outlook Anywhere services. Without it, Apache would block any Outlook Anywhere requests for reasons documented very well in https://issues.apache.org/bugzilla/show_bug.cgi?id=40029.

Outlook and Exchange use an extended version of DCE RPC called MSRPC to communicate with each other. When Outlook Anywhere is in use, the MSRPC messages are wrapped into HTTP alike requests and responses. The mod_proxy_msrpc module detects these MSRPC messages and forwards them to the server or client as needed. As soon as the initial handshake completed, i.e. Exchange accepted the connecting client, the mod_proxy_msrpc module switches into tunnel mode and forwards all data from client to server and vice versa.

CAVEATS

Some older Exchange versions (e.g. Exchange Server 2007) are known to sync offline address books and calendar information via other protocols than Outlook Anywhere (i.e. MSRPC via HTTP). For these Exchange versions functionality of this module is limited to enabling receiving and sending mail. I.e. Address book and calendar synchronization doesn't work with these Exchange versions.

DIAGNOSTICS

If you encounter any problems, you can set following directive:

    LogLevel info proxy_msrpc:trace2

This will enable detailed debug logging for the proxy_msrpc module, which will be written to the usual Apache log destinations (e.g. to file error.log).

BUGS

Please use the GitHub issue tracker to check for any pending issues or to report any new bugs.

https://github.com/bombadil/mod_proxy_msrpc/issues

HISTORY

This module was initially written by Micha Lenk as employee of Astaro GmbH & Co. KG, Germany, to facilitate Outlook Anywhere passthrough for the Sophos UTM's Web Application Firewall. It was first released as part of UTM 9.1 in May 2013. Sophos generously agreed to contribute the source code to the open source community under the terms of the Apache License 2.0.

AUTHOR

This module was written by Micha Lenk <micha@lenk.info>.

COPYRIGHT

Copyright 2013 Micha Lenk <micha@lenk.info>, Astaro GmbH & Co. KG - a Sophos company.

LICENSE

This module is free software; you may redistribute it and/or modify it under the terms of the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Something went wrong with that request. Please try again.