3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright 2007 Jeff Latimer
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * The firewall management interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncimport "icftypes.idl";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncimport "oaidl.idl";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundDestinationUnreachable([out, retval] VARIANT_BOOL* allow);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundDestinationUnreachable( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowRedirect( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundEchoRequest( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundEchoRequest( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundTimeExceeded( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundTimeExceeded( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundParameterProblem( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundParameterProblem( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundSourceQuench( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundSourceQuench( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundRouterRequest( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundRouterRequest( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundTimestampRequest( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundTimestampRequest( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundMaskRequest( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowInboundMaskRequest( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundPacketTooBig( [out, retval] VARIANT_BOOL* allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AllowOutboundPacketTooBig( [in] VARIANT_BOOL allow );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Protocol( [out, retval] NET_FW_IP_PROTOCOL* ipProtocol );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Protocol( [in] NET_FW_IP_PROTOCOL ipProtocol );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT BuiltIn( [out, retval] VARIANT_BOOL* builtIn );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Remove( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Item( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Type( [out, retval] NET_FW_SERVICE_TYPE* type );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Customized( [out, retval] VARIANT_BOOL* customized );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT ProcessImageFileName( [out, retval] BSTR* imageFileName );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT ProcessImageFileName( [in] BSTR imageFileName );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Add( [in] INetFwAuthorizedApplication* app );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Type( [out, retval] NET_FW_PROFILE_TYPE* type );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT FirewallEnabled( [out, retval] VARIANT_BOOL* enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT FirewallEnabled( [in] VARIANT_BOOL enabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT ExceptionsNotAllowed( [out, retval] VARIANT_BOOL* notAllowed );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT ExceptionsNotAllowed( [in] VARIANT_BOOL notAllowed );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT NotificationsDisabled( [out, retval] VARIANT_BOOL* disabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT NotificationsDisabled( [in] VARIANT_BOOL disabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT UnicastResponsesToMulticastBroadcastDisabled( [out, retval] VARIANT_BOOL* disabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT UnicastResponsesToMulticastBroadcastDisabled( [in] VARIANT_BOOL disabled );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT RemoteAdminSettings( [out, retval] INetFwRemoteAdminSettings** remoteAdminSettings );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IcmpSettings( [out, retval] INetFwIcmpSettings** icmpSettings );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Services( [out, retval] INetFwServices** services );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT AuthorizedApplications( [out, retval] INetFwAuthorizedApplications** apps );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT CurrentProfile( [out, retval] INetFwProfile** profile );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT GetProfileByType( [in] NET_FW_PROFILE_TYPE profileType,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT LocalPolicy( [out, retval] INetFwPolicy** localPolicy );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT CurrentProfileType( [out, retval] NET_FW_PROFILE_TYPE* profileType );
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IsPortAllowed( [in] BSTR imageFileName, [in] NET_FW_IP_VERSION ipVersion,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] NET_FW_IP_PROTOCOL ipProtocol, [out] VARIANT* allowed,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT IsIcmpTypeAllowed( [in] NET_FW_IP_VERSION ipVersion, [in] BSTR localAddress,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [default] interface INetFwOpenPort;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [default] interface INetFwAuthorizedApplication;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [default] interface INetFwMgr;