Search Results

Search: Posts Made By: putter1900
3,094
Posted By putter1900
You're a STAR! Worked like a charm. :b: Thank...
You're a STAR! Worked like a charm. :b: Thank you!!

Shell scripting is something of a "dark art" I have yet to get my head around.

putter
3,094
Posted By putter1900
BASH Batch renaming insert additional zero into filename
Hi all,

Wondering how this could be accomplished........

a directory contains sequentially numbered files from fw01 to fw999.

How would I insert an additional zero so that the directory...
Forum: IP Networking 04-11-2012
1,812
Posted By putter1900
Test for overlapping IP ranges
Greetings folks,

I have a rather lengthy list of banned IP ranges in iptables. Initially it was constructed as a rather ad-hoc affair, then later I discovered a site which had IP Block By Country...
1,622
Posted By putter1900
ABSOLUTELY DEAD-ON!! Thanks so much for the...
ABSOLUTELY DEAD-ON!! Thanks so much for the clarification

Running either one against a static instance of iptables -nvl works like a charm, like this;

iptables -nvL | awk '$1!=0 &&...
1,622
Posted By putter1900
Tool to suppress lines where value=0
Hello everyone,

Here's the problem, I have a list generated by this command;

watch -n 5 'iptables -nvL | grep "DROP"'

It generates output that looks like this (severely truncated for...
Forum: IP Networking 03-28-2011
10,710
Posted By putter1900
iptables: syntax from drop AND log packets
Wow - thanks on a number of levels for this. First and foremost for absolute clarity. I actually understand the guidance you've given.

Secondly for decoding some of the rather opaque writeups...
Forum: IP Networking 03-28-2011
10,710
Posted By putter1900
iptables: syntax from drop AND log packets
Good afternoon everyone,
It's the iptables n00b again. valiantly learning and reading (and asking for occasional help when I hit a wall - which I think I just did)

So far I've gotten logging...
Forum: IP Networking 03-25-2011
2,235
Posted By putter1900
iptables: banned IP making it through!
Well, it seems to not be throwing errors any longer. If I may ask, should I also use a netmask on an individual IP? like 10.1.15.22/32?

THANKS FOR YOUR HELP! THANKS A LOT!

putter
Forum: IP Networking 03-25-2011
2,235
Posted By putter1900
iptables: banned IP making it through!
ouch!

I get errors if I try and do:
/sbin/iptables -A INPUT -j DROP -s 66.249.0.0/16 is there another way I should be doing it?

As you may have gathered, I'm somewhat new to iptables, but I...
Forum: IP Networking 03-25-2011
2,235
Posted By putter1900
iptables: banned IP making it through!
Hey folks!

Debian VPS running on proxmox host.
Linux ve2 2.6.18-3-pve #1 SMP Mon Sep 20 14:57:48 CEST 2010 i686

I have a most perplexing problem. I have 17 Drop rules in place in this VPS -...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 03:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy