Barracuda Icon
Chat
Live Chat

Hi, I'm Rosa.
How may I help you?

How may I help you?

Click below to send us a Message

Support

A global support network of experts.
At your service.

Back to Knowledgebase

How can I get a list of all API variables on the Barracuda Spam Firewall, Web Filter, and Load Balancer?

Solution #00000951
AS OF 2013 THIS SOLUTION IS INVALID. ALL Products now use XMLRPC .
Please reference this guide in the meantime (yes its for spam but would apply to all except for variable name differences)
https://techlib.barracuda.com/BSFAPIGuide

Scope:
This solution applies to the Barracuda spam Firewall (below v5), Web Filter, and Load Balancer, models 4x0 and above, that are using the API.

and below firmware 5.x on spam
Answer:
Please follow the steps below to retrieve a list of variables that can be modified using the Barracuda's API.

  1. Navigate to the Barracuda's login page
  2. Remove index.cgi from the end of the URL in your browser's address bar.
  3. Replace index.cgi with config_get.cgi?list=1&password=<password> where <password> is the API password that has been configured on the Basic > Administration page of the Barracuda's web interface.
This will only work from workstations that have been explicitly allowed under the Allowed SNMP and API IP/Range section of the Basic > Administration page. For the Barracuda Spam Firewall, the output will look something like:

global
Outbound Queue Max Mesage Lifetime (hours)
mta_outbound_max_queue_lifetime


global
Allow The SSL Protocol v2 To Be Used In HTTPS
https_allow_ssl2


global
Default LDAP unique attribute for alias linking
mta_ldap_unique_attr

Refer to the Barracuda Spam Firewall API Guide for more details:

http://www.barracudanetworks.com/ns/support/documentation.php

Link to This Page:
http://www.barracuda.com/kb?id=50160000000GEt7