Commits

György Kohut committed e9d5e26

update to latest hbbackend

  • Participants
  • Parent commits b58dd00

Comments (0)

Files changed (5)

Submodule hbbackend

-Subproject commit 445302a7dc8da9209be7d0126cb3cd89f41eb58f
+Subproject commit 2bcb262ac15ee1d7fd4a6aa18053dc18d3b01b42

File vagrant/puppet/modules/backend/files/opt/hbbackend/conf/default.template.conf

 hpfeeds.attack.channel = dionaea.capture
 hpfeeds.binary.channel = mwbinary.dionaea.sensorunique
 
+virustotal.apikey = ???
 
 # editing below is not necessary
 

File vagrant/puppet/modules/backend/files/opt/honeynet/bin/deploy-backend.sh

 #!/bin/sh -e
 
 cd /repo/hbbackend
+asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.virustotal.jar
+asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.shadowserver_asn.jar
+asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.shadowserver_geoip.jar
 asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.hpfeedsra.rar
 asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.hpfeeds.jar
 asadmin --port 9948 deploy target/modules/org.honeynet.hbbackend.stats.jar

File vagrant/puppet/modules/backend/files/opt/honeynet/bin/setup-hbbackend-domain.sh

 set configs.config.server-config.jms-service.jms-host.default_JMS_host.property.imq\\\\.autocreate\\\\.topic=false
 EOL
 
-# destinations
+# jms destinations
 asadmin --port 9948 <<EOL
 create-jmsdest --desttype topic new_attack
 create-jmsdest --desttype topic new_binary
+create-jmsdest --desttype topic new_binary_stored
 create-jmsdest --desttype topic new_ip
 create-jms-resource --restype javax.jms.Topic --property Name=new_attack jms/new_attack
 create-jms-resource --restype javax.jms.Topic --property Name=new_binary jms/new_binary
+create-jms-resource --restype javax.jms.Topic --property Name=new_binary_stored jms/new_binary_stored
 create-jms-resource --restype javax.jms.Topic --property Name=new_ip jms/new_ip
 EOL
 
-# connection factories
+# jms connection factories
 asadmin --port 9948 <<EOL
 create-jms-resource --restype javax.jms.ConnectionFactory jms/ConnectionFactory
+create-jms-resource --restype javax.jms.ConnectionFactory --property ClientId=virustotal jms/DurableConsumer/virustotal
+create-jms-resource --restype javax.jms.ConnectionFactory --property ClientId=shadowserver_asn jms/DurableConsumer/shadowserver_asn
+create-jms-resource --restype javax.jms.ConnectionFactory --property ClientId=shadowserver_geoip jms/DurableConsumer/shadowserver_geoip
 ping-connection-pool jms/ConnectionFactory
 EOL
 

File vagrant/puppet/modules/backend/files/opt/honeynet/bin/undeploy-backend.sh

 asadmin --port 9948 undeploy org.honeynet.hbbackend.stats
 asadmin --port 9948 undeploy org.honeynet.hbbackend.hpfeedsra
 asadmin --port 9948 undeploy org.honeynet.hbbackend.hpfeeds
+asadmin --port 9948 undeploy org.honeynet.hbbackend.shadowserver_geoip
+asadmin --port 9948 undeploy org.honeynet.hbbackend.shadowserver_asn
+asadmin --port 9948 undeploy org.honeynet.hbbackend.virustotal