Skip to content

Instantly share code, notes, and snippets.

View bbg-deploy's full-sized avatar

Blue Box Implementations Team bbg-deploy

View GitHub Profile
[root@vsh205 ~]# lsmod | grep ip_tables
ip_tables 18151 3 iptable_nat,iptable_filter,iptable_mangle
[root@vsh205 ~]# vzlist -a | grep iptables
14162198 36 running 67.214.216.147 cc-iptables-vbox.c45223.blueboxgrid.com
[root@vsh205 ~]# grep ip_tables /etc/vz/conf/14162198.conf
IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ip_conntrack ip_conntrack_ftp ipt_conntrack ipt_state"
[root@vsh205 ~]# vzctl enter 14162198
entered into CT 14162198
[root@cc-iptables-vbox /]# lsmod | grep ip_tabl
[root@cc-iptables-vbox /]# logout
root@esgw:/etc/nginx/conf.d# curl -I -k -H 'Host: es-prod-gw.doximity.com' http://localhost:443/status
HTTP/1.1 401 Unauthorized
Server: nginx/1.1.19
Date: Thu, 06 Mar 2014 18:36:31 GMT
Content-Type: text/html
Content-Length: 195
Connection: keep-alive
WWW-Authenticate: Basic realm="ElasticSearch"
root@dox-sea-rails-dox-01:~# curl -I -H 'Host: bb.doximity.com' localhost:443/healthcheck
HTTP/1.1 400 Bad Request
Server: nginx/1.4.5
Date: Thu, 06 Mar 2014 20:00:44 GMT
Content-Type: text/html
Content-Length: 270
Connection: close