Skip to content

Instantly share code, notes, and snippets.

View hooliowobbits's full-sized avatar
💭
Moved to Gitlab ;)

Hoolio Wobbits hooliowobbits

💭
Moved to Gitlab ;)
View GitHub Profile
ubuntu@fudging-core:~/Desktop$ sudo apt-get remove pulseaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gnome-menus gnome-session-bin indicator-bluetooth libaccount-plugin-1.0-0 libaccount-plugin-generic-oauth
libaccount-plugin-google libfftw3-single3 libgeonames0 libgnome-menu-3-0 libido-0.1-0 libpulsedsp
libtimezonemap-data libtimezonemap1 libunity-control-center1 libwebrtc-audio-processing-0
signon-keyring-extension signon-plugin-oauth2
Use 'sudo apt autoremove' to remove them.
remote machine (144.6.224.56):
hoolio@extjess:~$ mkdir files
hoolio@extjess:~$ for i in {1..10}; do dd if=/dev/urandom of=./files/$i.dat bs=1M count=$i; done
hoolio@extjess:~$ ls -lha files/
total 56M
drwxr-xr-x 2 hoolio hoolio 4.0K Jun 21 15:33 .
drwxr-xr-x 38 hoolio hoolio 4.0K Jun 21 15:29 ..
-rw-r--r-- 1 hoolio hoolio 10M Jun 21 15:42 10.dat
-rw-r--r-- 1 hoolio hoolio 1.0M Jun 21 15:42 1.dat
-rw-r--r-- 1 hoolio hoolio 2.0M Jun 21 15:42 2.dat
2015-06-10T15:24:25.984329+10:00 ss-01 account-server: ERROR __call__ error with PUT /store05/9715/AUTH_7aaf95983f1f4d208f8b526ccbbfe36a/DataSet_2 : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/account/server.py", line 284, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 2217, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 837, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.7/dist-packages/swift/account/server.py", line 128, in PUT#012 req.headers['x-bytes-used'])#012 File "/usr/lib/python2.7/dist-packages/swift/account/backend.py", line 210, in put_container#012 raise DatabaseConnectionError(self.db_file, "DB doesn't exist")#012DatabaseConnectionError: DB connection error (/srv/node/store05/accounts/9715/c10/ad06d217780a50ce088d1f95e8e48c10/ad06d217780a50ce088d1f95e8e48c10.db, 0):#012DB doesn'
root@ss-01:~# tcpdump -nn host 115.146.81.225 and port 6002
tcpdump: WARNING: bond0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:06:01.752350 IP 115.146.81.225.38386 > 144.6.255.16.6002: Flags [S], seq 2528212874, win 24456, options [mss 8152,sackOK,TS val 4078975694 ecr 0,nop,wscale 7], length 0
13:06:02.432504 IP 115.146.81.225.38397 > 144.6.255.16.6002: Flags [S], seq 3162723375, win 24456, options [mss 8152,sackOK,TS val 4078975864 ecr 0,nop,wscale 7], length 0
13:06:02.572713 IP 115.146.81.225.37845 > 144.6.255.16.6002: Flags [S], seq 1940149995, win 24456, options [mss 8152,sackOK,TS val 4078975900 ecr 0,nop,wscale 7], length 0
13:06:02.748791 IP 115.146.81.225.38386 > 144.6.255.16.6002: Flags [S], seq 2528212874, win 24456, options [mss 8152,sackOK,TS val 4078975944 ecr 0,nop,wscale 7], length 0
13:06:03.195761 IP 115.146.81.225.38402 > 144.6.255.16.6002: Flags [S], seq 1
root@ss-01:~# tcpdump | grep swift
tcpdump: WARNING: bond0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:02:29.623025 IP cw-swift-storage-01-public.sa.nectar.org.au.50623 > 144.6.255.16.x11-2: Flags [S], seq 1858978454, win 26814, options [mss 1460,sackOK,TS val 1529937946 ecr 0,nop,wscale 7], length 0
13:02:29.640184 IP cw-swift-storage-05-public.sa.nectar.org.au.43359 > 144.6.255.16.x11-2: Flags [S], seq 2787327305, win 26814, options [mss 1460,sackOK,TS val 1529801616 ecr 0,nop,wscale 7], length 0
13:02:30.047001 IP cw-swift-storage-03-public.sa.nectar.org.au.55831 > 144.6.255.16.x11-2: Flags [S], seq 530488244, win 26814, options [mss 1460,sackOK,TS val 3944312376 ecr 0,nop,wscale 7], length 0
13:02:30.223014 IP cw-swift-storage-03-public.sa.nectar.org.au.55943 > 144.6.255.16.x11-2: Flags [S], seq 2428349114, win 26814, options [mss 1460,sackOK,TS val 3944312420 ecr 0,nop,wsc
root@ss-01:~# iptables-save | grep swift
-A INPUT -s 115.146.81.224/29 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 115.146.81.225/29" -j ACCEPT
-A INPUT -s 115.146.83.224/29 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 115.146.83.225/29" -j ACCEPT
-A INPUT -s 115.146.84.105/32 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 115.146.84.105" -j ACCEPT
-A INPUT -s 115.146.92.105/32 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 115.146.92.105" -j ACCEPT
-A INPUT -s 118.138.240.103/32 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 118.138.240.103/32" -j ACCEPT
-A INPUT -s 118.138.240.104/32 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hosts 118.138.240.104/32" -j ACCEPT
-A INPUT -s 118.138.240.105/32 -p tcp -m multiport --dports 873,6000,6001,6002 -m comment --comment "100 swift hos