Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- coalesce(Target) - Method in class com.aoindustries.firewalld.Target
-
Combines this target with the given target if possible.
- com.aoindustries.firewalld - module com.aoindustries.firewalld
- com.aoindustries.firewalld - package com.aoindustries.firewalld
- commit(Iterable<ServiceSet>, Set<String>) - Static method in class com.aoindustries.firewalld.ServiceSet
-
Commits multiple service sets to the system configuration, reconfiguring and reloading the firewall as necessary.
- commit(Set<String>) - Method in class com.aoindustries.firewalld.ServiceSet
-
Commits this service set to the system configuration, reconfiguring and reloading the firewall as necessary.
- compareTo(Target) - Method in class com.aoindustries.firewalld.Target
-
Ordered by destination, portRange, protocol; those with port ranges before those that are protocol-only.
- createOptimizedServiceSet(Service, Iterable<? extends Target>) - Static method in class com.aoindustries.firewalld.ServiceSet
-
Creates an optimized service set for the given template and targets.
- createOptimizedServiceSet(String, Iterable<? extends Target>) - Static method in class com.aoindustries.firewalld.ServiceSet
-
Creates an optimized service set for the given name and targets.
E
- equals(Object) - Method in class com.aoindustries.firewalld.Service
-
Compares two services for equality.
- equals(Object) - Method in class com.aoindustries.firewalld.ServiceSet
-
Two service sets are equal when they have the same services.
- equals(Object) - Method in class com.aoindustries.firewalld.Target
- EXTENSION - Static variable in class com.aoindustries.firewalld.Service
-
File extension used on service XML files.
G
- getDescription() - Method in class com.aoindustries.firewalld.Service
-
The optional longer description.
- getDestination() - Method in class com.aoindustries.firewalld.Target
-
Gets the destination network range for this target.
- getDestination(AddressFamily) - Method in class com.aoindustries.firewalld.Service
-
Deprecated.
- getDestination(ProtocolFamily) - Method in class com.aoindustries.firewalld.Service
-
Gets the destination for the given
ProtocolFamily
. - getDestinationIpv4() - Method in class com.aoindustries.firewalld.Service
-
The optional IPv4 destination network.
- getDestinationIPv4() - Method in class com.aoindustries.firewalld.Service
-
Deprecated.Please use
Service.getDestinationIpv4()
instead. - getDestinationIpv6() - Method in class com.aoindustries.firewalld.Service
-
The optional IPv6 destination network.
- getDestinationIPv6() - Method in class com.aoindustries.firewalld.Service
-
Deprecated.Please use
Service.getDestinationIpv6()
instead. - getLocalServiceFile(String) - Static method in class com.aoindustries.firewalld.Service
-
Gets the file to use for local service.
- getModules() - Method in class com.aoindustries.firewalld.Service
-
The optional set of modules.
- getName() - Method in class com.aoindustries.firewalld.Service
-
The name as used by firewalld commands and XML filenames.
- getPortRange() - Method in class com.aoindustries.firewalld.Target
-
Gets the optional port range for this target.
- getPorts() - Method in class com.aoindustries.firewalld.Service
-
The optional set of ports.
- getProtocol() - Method in class com.aoindustries.firewalld.Target
-
Gets the protocol for this target.
- getProtocols() - Method in class com.aoindustries.firewalld.Service
-
The optional set of protocols.
- getServices() - Method in class com.aoindustries.firewalld.ServiceSet
-
The set of services representing this service set.
- getShortName() - Method in class com.aoindustries.firewalld.Service
-
The optional more readable short name.
- getSourcePorts() - Method in class com.aoindustries.firewalld.Service
-
The optional set of source ports.
- getSystemServiceFile(String) - Static method in class com.aoindustries.firewalld.Service
-
Gets the file to use for system service.
- getTargets() - Method in class com.aoindustries.firewalld.Service
-
Gets the set of all targets represented by this service.
- getTargets() - Method in class com.aoindustries.firewalld.ServiceSet
-
Gets the set of all targets represented by all services in this set.
- getTemplate() - Method in class com.aoindustries.firewalld.ServiceSet
-
Gets the template for this service set.
- getVersion() - Method in class com.aoindustries.firewalld.Service
-
The optional version.
H
- hashCode() - Method in class com.aoindustries.firewalld.Service
- hashCode() - Method in class com.aoindustries.firewalld.ServiceSet
- hashCode() - Method in class com.aoindustries.firewalld.Target
L
- loadLocalService(String) - Static method in class com.aoindustries.firewalld.Service
-
Loads a local service from
Service.LOCAL_SERVICES_DIRECTORY
. - loadService(String, File) - Static method in class com.aoindustries.firewalld.Service
-
Loads a service from the given
File
. - loadService(String, InputStream) - Static method in class com.aoindustries.firewalld.Service
-
Loads a service from an
InputStream
. - loadServiceSet(Service) - Static method in class com.aoindustries.firewalld.ServiceSet
-
Loads the currently configured service set for the given template.
- loadServiceSet(String) - Static method in class com.aoindustries.firewalld.ServiceSet
-
Loads the currently configured service set for the given name.
- loadSystemService(String) - Static method in class com.aoindustries.firewalld.Service
-
Loads a system service from
Service.SYSTEM_SERVICES_DIRECTORY
. - LOCAL_SERVICES_DIRECTORY - Static variable in class com.aoindustries.firewalld.Service
-
The directory containing local service files.
O
- optimize() - Method in class com.aoindustries.firewalld.ServiceSet
-
Returns an optimized version of this set.
S
- saveLocalService() - Method in class com.aoindustries.firewalld.Service
-
Write this service to its local service file.
- Service - Class in com.aoindustries.firewalld
-
Represents on specific service as configured in either
/usr/lib/firewalld/services/service.xml
or/etc/firewalld/services/service.xml
. - Service(String, String, String, String, Collection<? extends IPortRange>, Collection<Protocol>, Collection<? extends IPortRange>, Set<String>, InetAddressPrefix, InetAddressPrefix) - Constructor for class com.aoindustries.firewalld.Service
-
Creates a new service.
- ServiceSet - Class in com.aoindustries.firewalld
-
A service set is one service opened on a set of specific IP and port combinations.
- SYSTEM_SERVICES_DIRECTORY - Static variable in class com.aoindustries.firewalld.Service
-
The directory containing system service files.
T
- Target - Class in com.aoindustries.firewalld
- Target(InetAddressPrefix, IPortRange) - Constructor for class com.aoindustries.firewalld.Target
-
Creates a new target.
- Target(InetAddressPrefix, Protocol) - Constructor for class com.aoindustries.firewalld.Target
-
Creates a new target.
- toString() - Method in class com.aoindustries.firewalld.Service
- toString() - Method in class com.aoindustries.firewalld.ServiceSet
- toString() - Method in class com.aoindustries.firewalld.Target
All Classes and Interfaces|All Packages|Constant Field Values
Service.getDestination(java.net.ProtocolFamily)
as of Java 1.7.