refactor: moved to hugo
This commit is contained in:
		
							parent
							
								
									4c6912edd0
								
							
						
					
					
						commit
						e77e5583c2
					
				
					 604 changed files with 1675 additions and 2279 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 90 KiB  | 
							
								
								
									
										19
									
								
								content/blog/2013/02/27/manga-recommendation-enigma/index.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								content/blog/2013/02/27/manga-recommendation-enigma/index.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
+++
 | 
			
		||||
title = "Manga recommendation: Enigma"
 | 
			
		||||
date = 2013-02-27
 | 
			
		||||
+++
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Summary
 | 
			
		||||
 | 
			
		||||
Haiba Sumio is a student at a Tokyo High School with an interesting ability…
 | 
			
		||||
He occasionally falls asleep and wakes up with premonitions of the future
 | 
			
		||||
written out on his "Dream Diary". With this ability, Sumio helps out people in
 | 
			
		||||
trouble before anything bad happens, until one day when his peaceful life
 | 
			
		||||
completely changes.
 | 
			
		||||
 | 
			
		||||
**Volumes**: 7
 | 
			
		||||
**Chapters**: 56 (finished)
 | 
			
		||||
**Genre**: Adventure, Mystery, School, Shounen, Supernatural
 | 
			
		||||
**Story/Art**: Sakaki, Kenji
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,28 @@
 | 
			
		|||
+++
 | 
			
		||||
title = "Server going slow after IPTables configuration? Try this"
 | 
			
		||||
date = 2013-02-27
 | 
			
		||||
+++
 | 
			
		||||
 | 
			
		||||
Recently I've started the migration of my company's servers to a new provider.
 | 
			
		||||
After checking that the OS installed on the -now- old servers was Ubuntu 8.04
 | 
			
		||||
(holy shit), I decided to make a fresh install of CentOS 6.3, cleaning up all
 | 
			
		||||
the servers contents and setting up everything from scratch.
 | 
			
		||||
 | 
			
		||||
After setting my iptables rules (INPUT whitelisted, OUTPUT accept all) I
 | 
			
		||||
noticed a big delay on every connection made to my server. After checking a
 | 
			
		||||
lot of things, these two solved the issue:
 | 
			
		||||
 | 
			
		||||
## Enable unilimited traffic on your loopback interface
 | 
			
		||||
 | 
			
		||||
``` text
 | 
			
		||||
iptables -A INPUT -i lo -j ACCEPT
 | 
			
		||||
iptables -A OUTPUT -o lo -j ACCEPT
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Enable traffic for connections started by your server
 | 
			
		||||
 | 
			
		||||
``` text
 | 
			
		||||
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Hope this solves your issue as it did with mine.
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue