VMware VSHIELD APP 1.0 - API Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
vShield API Programming Guide
56 VMware, Inc.
Revert to Default Firewall Configuration
Youcanrevertthefirewallconfigurationforthenodetoitsdefaultbydeletingallrulesthatwerecreatedfor
thespecifiedcontextID,includingdefaultrules.ForadatacenterorIPnamespace,afreshsetofdefaultrules
aresubstituted.
Example 6-5. Delete firewall configuration and revert to default
Example:
DELETE https://<vsm-ip>/api/2.0/app/firewall/<contextID>/config
Working with SpoofGuard
ItispossibleforaguestoperatingsystemtospoofitsIPaddresssothatVMwareToolswouldmisreportitto
vCenterServer.TheSpoofGuardfeatureallowsthedatacenteradministratortocertifyandauthorizereported
IPaddresses,andifnecessary,alterthem.ThisisdonebycheckingtheIPaddressagainst
thevirtualmachine’s
MACaddress,whichcomesfromtheVMXandcannotbespoofed.
TheSpoofGuardfeatureisorthogonaltofirewallrules.SpoofGuardblockstrafficifitthinkstheIPisspoofed,
whetherornotfirewallrulessaytoblock.
Retrieve SpoofGuard Global Settings
YoucanretrieveSpoofGuardsettingssuchasthestatus(disabledorenabled),modeofoperation,timestamp,
andpublishingauthority.
Example 6-6. Get SpoofGuard settings
Example:
GET https://<vsm-ip>/api/2.0/spoofGuard/globalSettings
Edit SpoofGuard Global Settings
YoucanmodifytheSpoofGuardsettings.
Example 6-7. Edit SpoofGuard settings
Example:
POST https://<vsm-ip>/api/2.0/spoofGuard/globalSettings
RequestBody:
<VshieldConfiguration xmlns="vmware.vshield.global.20.spoofGuard">
<globalSettings>
<status>enabled</status>
<mode>trustOnFirstUse</mode>
</globalSettings>
</VshieldConfiguration>
Statuscanbeenabledordisabled.ModecanbetrustOnFirstUseormanual.
Retrieve SpoofGuard IP Settings
YoucanretrievealistofSpoofGuardsettings,includedIPaddressessuspectedofbeingforged,thusblocked.
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 103 104

Comentarios a estos manuales

Sin comentarios