diff --git a/roles/firewall/tasks/main.yml b/roles/firewall/tasks/main.yml index c9b0a84..15dec34 100644 --- a/roles/firewall/tasks/main.yml +++ b/roles/firewall/tasks/main.yml @@ -51,4 +51,10 @@ template: src: "{{ role_path }}/templates/app_l7_proto_id.conf.j2" dest: /home/mesasoft/sapp_run/tsgconf/app_l7_proto_id.conf - tags: template + +- name: "Template the /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf" + template: + src: "{{ role_path }}/templates/tsg_conn_sketch.inf.j2" + dest: /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf + tags: template tags: template + diff --git a/roles/firewall/templates/tsg_conn_sketch.inf.j2 b/roles/firewall/templates/tsg_conn_sketch.inf.j2 new file mode 100644 index 0000000..170f1e7 --- /dev/null +++ b/roles/firewall/templates/tsg_conn_sketch.inf.j2 @@ -0,0 +1,35 @@ +[PLUGINFO] +PLUGNAME=TSG_CONN_SKETCH +SO_PATH=./plug/business/tsg_conn_sketch/tsg_conn_sketch.so +INIT_FUNC=tsg_conn_record_init +DESTROY_FUNC=tsg_conn_record_destroy + + +[TCP] +FUNC_FLAG=ALL +FUNC_NAME=tsg_record_tcp_entry + +[TCP_ALL] +FUNC_FLAG=ALL +FUNC_NAME=tsg_record_tcpall_entry + +[UDP] +FUNC_FLAG=ALL +FUNC_NAME=tsg_record_udp_entry + +[HTTP] +FUNC_FLAG=ALL +FUNC_NAME=tsg_record_http_entry + +[SSL] +FUNC_FLAG=SSL_CLIENT_HELLO,SSL_SERVER_HELLO,SSL_APPLICATION_DATA,SSL_CERTIFICATE_DETAIL +FUNC_NAME=tsg_record_ssl_entry + +#[DNS] +#FUNC_FLAG=ALL +#FUNC_NAME=tsg_record_dns_entry + +[MAIL] +FUNC_FLAG=ALL +FUNC_NAME=tsg_record_mail_entry +