Skip to content

Commit

Permalink
Python scripts testing
Browse files Browse the repository at this point in the history
  • Loading branch information
miloradvojnovic committed Jun 5, 2017
1 parent 1957488 commit 6bfd11b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
Binary file added deployment/log_generator/apache_generator.pyc
Binary file not shown.
9 changes: 9 additions & 0 deletions deployment/log_generator/file_apache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@
200.49.190.101 - - [03/Jun/2017:12:39:11 +0000] "GET /reset.css HTTP/1.1" 200 1015 "-" "-"
71.212.224.97 - - [03/Jun/2017:12:39:11 +0000] "GET /images/jordan-80.png HTTP/1.1" 200 6146 "http://www.semicomplete.com/projects/xdotool/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"
66.249.73.185 - - [03/Jun/2017:12:39:12 +0000] "GET /doc/index.html?org/elasticsearch/action/search/SearchResponse.html HTTP/1.1" 404 294 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
83.149.9.216 - - [05/Jun/2017:15:06:33 +0000] "GET /presentations/logstash-monitorama-2013/css/fonts/Roboto-Bold.ttf HTTP/1.1" 200 38720 "http://semicomplete.com/presentations/logstash-monitorama-2013/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"
66.249.73.135 - - [05/Jun/2017:15:06:33 +0000] "GET /blog/tags/firefox?flav=rss20 HTTP/1.1" 200 16021 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
81.220.24.207 - - [05/Jun/2017:15:06:34 +0000] "GET /images/jordan-80.png HTTP/1.1" 200 6146 "http://www.semicomplete.com/blog/geekery/ssl-latency.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11"
200.49.190.101 - - [05/Jun/2017:15:06:34 +0000] "GET /style2.css HTTP/1.1" 200 4877 "-" "-"
93.114.45.13 - - [05/Jun/2017:15:06:35 +0000] "GET /style2.css HTTP/1.1" 200 4877 "http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/" "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0"
83.149.9.216 - - [05/Jun/2017:15:06:35 +0000] "GET /presentations/logstash-monitorama-2013/plugin/highlight/highlight.js HTTP/1.1" 200 26185 "http://semicomplete.com/presentations/logstash-monitorama-2013/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"
110.136.166.128 - - [05/Jun/2017:15:06:36 +0000] "GET /favicon.ico HTTP/1.1" 200 3638 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
81.220.24.207 - - [05/Jun/2017:15:06:36 +0000] "GET /reset.css HTTP/1.1" 200 1015 "http://www.semicomplete.com/blog/geekery/ssl-latency.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11"
50.150.204.184 - - [05/Jun/2017:15:06:37 +0000] "GET /images/googledotcom.png HTTP/1.1" 200 65748 "http://www.google.com/search?q=https//:google.com&source=lnms&tbm=isch&sa=X&ei=4-r8UvDrKZOgkQe7x4CICw&ved=0CAkQ_AUoAA&biw=320&bih=441" "Mozilla/5.0 (Linux; U; Android 4.0.4; en-us; LG-MS770 Build/IMM76I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
9 changes: 9 additions & 0 deletions deployment/log_generator/file_firewall.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@
2017-06-03 12:39:11 REJECT TCP 128.169.3.65 128.168.3.64 5 8 - Ack 12 8 18 7 - 6 SEND
2017-06-03 12:39:11 DROP ICMPv6 127.168.1.65 127.168.1.65 17 8 8 Syn 14 12 6 - 10 11 SEND
2017-06-03 12:39:12 REJECT UDP 127.169.0.65 127.168.1.64 10 10 - Fin - - - 17 14 19 RECEIVE
2017-06-05 15:06:33 ALLOW ICMP 127.168.2.65 127.168.0.64 7 17 - Rst - 16 - - - 11 SEND
2017-06-05 15:06:33 REJECT ICMPv6 127.169.2.64 128.169.3.65 1 12 - Psh - - 15 11 - - SEND
2017-06-05 15:06:34 REJECT ICMPv6 128.168.3.65 127.168.0.65 3 16 - Rst 0 - - - 17 14 RECEIVE
2017-06-05 15:06:34 REJECT ICMPv6 127.169.0.64 128.168.2.65 5 11 18 Psh 3 - - 19 3 - SEND
2017-06-05 15:06:35 ALLOW TCP 128.169.2.65 128.169.2.64 2 15 3 Syn - 4 0 6 - 13 SEND
2017-06-05 15:06:35 REJECT UDP 128.168.2.64 127.169.1.65 5 13 5 Rst - - - - - - RECEIVE
2017-06-05 15:06:36 ALLOW ICMPv6 128.169.3.64 128.169.2.65 5 9 9 Psh 8 - 7 - 8 15 SEND
2017-06-05 15:06:36 REJECT TCP 128.169.0.64 128.169.0.64 18 11 - Fin - 3 - 10 16 15 SEND
2017-06-05 15:06:37 DROP UDP 127.168.1.65 127.169.1.65 5 13 - Syn 10 19 1 - 16 12 RECEIVE
Binary file added deployment/log_generator/firewall_generator.pyc
Binary file not shown.
Binary file added deployment/log_generator/generator.pyc
Binary file not shown.

0 comments on commit 6bfd11b

Please sign in to comment.