Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

snf_xci.xml 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!-- SNF Xml Command Interface Examples -->
  2. <!-- Scanner -->
  3. <snf><xci><scanner><scan file='filepath'/></scanner></xci></snf>
  4. <snf><xci><scanner><result code='63'/></scanner></xci></snf>
  5. <snf><xci><scanner><scan file='filepath' xhdr='yes' log='no' ip='12.34.56.78'/></scanner></xci></snf>
  6. <snf><xci><scanner><result code='63'><xhdr>
  7. X-Signature-Violations:
  8. 57-1404199-965-976-m
  9. 57-1404199-1352-1363-m
  10. 57-1404199-965-976-f
  11. </xhdr></result></scanner></xci></snf>
  12. <!-- GBUdb -->
  13. <snf><xci><gbudb><set ip='12.34.56.78' type='good'/></gbudb></xci></snf> <!-- Set flag to good on ip -->
  14. <snf><xci><gbudb><set ip='12.34.56.78' type='bad'/></gbudb></xci></snf> <!-- Set flag to bad on ip -->
  15. <snf><xci><gbudb><set ip='12.34.56.78' type='ugly'/></gbudb></xci></snf> <!-- Set flag to ugly on ip -->
  16. <snf><xci><gbudb><set ip='12.34.56.78' type='ignore'/></gbudb></xci></snf> <!-- Set flag to ignore on ip -->
  17. <snf><xci><gbudb><set ip='12.34.56.78' type='ugly' b='1' g='0'/></gbudb></xci></snf> <!-- Set flag and counts on ip -->
  18. <snf><xci><gbudb><good ip='12.34.56.78'/></gbudb></xci></snf> <!-- Record a "good" event on ip -->
  19. <snf><xci><gbudb><bad ip='12.34.56.78'/></gbudb></xci></snf> <!-- Record a "bad" event on ip -->
  20. <snf><xci><gbudb><test ip='12.34.56.78'/></gbudb></xci></snf> <!-- Return the state of ip -->
  21. <snf><xci><gbudb><drop ip='12.34.56.78'/></gbudb></xci></snf> <!-- Forget the IP -->
  22. <!-- GBUdb Result, always -->
  23. <snf><xci><gbudb><result ip='12.34.56.78' type='ugly' p='1.0' c='0.001' b='1' g='0' range='caution' code='40'/></gbudb></xci></snf>
  24. <!-- status report request -->
  25. <snf><xci><report><request><status class='second'/></request></report></xci></snf>
  26. <!-- status report result -->
  27. <snf><xci><report><response><!-- actual status report --></response></report></xcl></snf>
  28. <!-- Server -->
  29. <snf><xci><server><command command='shutdown'/></server></xci></snf>
  30. <snf><xci><server><response message='shutdown in progress' code='0'/></server></xci></snf>
  31. <!-- Specialized Server Requests -->
  32. <snf><xci><server><command command='systemdefinedcommand'>
  33. <system-defined/><command/><elements/>
  34. </command></server></xci></snf>
  35. <snf><xci><server><response message='shutdown in progress' code='0'>
  36. <system-defined/><response/><elements/>
  37. </response></server></xci></snf>
  38. <!-- XCI Error Response -->
  39. <snf><xci><error message="What was that?"/></xci></snf>