Tags » Iptables

Wallaby's Nightmare - Walkthrough

This segment of my Vulnhub series covers my walkthrough for the “Wallaby’s Nightmare (v1.0.2)” game.

Finding Host and uncover services

As always, I began finding the address of the game: 1,004 more words

Security

noob iptables cheat sheet

Notes:

  1. All rules are processed from top to down.  Once a rule is matched (with jump), the rest will be ignored.
  2. Never run iptables -F if the default rules are DROP or your system will be inaccessible.  
238 more words

Linux

Test driving App Firewall with IPTables

With more and more application moving to the cloud, web based applications have become ubiquitous. They are ideal for providing access to applications sitting on the cloud (over HTTP through a standard web browser). 1,279 more words

Linux

IPTables: Matching A GRE packet based on tunnel key

I was trying to figure out a way to match packets with a certain GRE key and take some action. IPTables does not provide a direct solution to this problem but has the u32 extension modules that can be used to extract 4 bytes of the IP header and match against a pattern. 749 more words

Linux

Infrastructure from scratch. Part 7. Security

The word we say almost everything and everywhere. The question we have to double check when implementing new feature. It’s a kind of work allows to sleep calmly. 1,737 more words

Linux

Proteção de URL com Shell Script

Procura em log do apache IPs que tentaram acessar /admin na URL e bloqueia-os

grep '/admin' /path/to/access.log | egrep -o '({1,3}\.){3}{1,3}'| sort | uniq | xargs -I% iptables -A INPUT -s % -m comment --comment "bloq /admin" -j DROP 
Shell Script