Hello,
I'm a user (and big fan) of CentOS 5.6 and in my /etc/sysconfig/iptables
there are few blocking rules for some annoying visitors of my website
(I run a card game there since many years and some people are "special"):
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [294:35064]
Alexander Farber wrote:
> Is there a way to add comments to the iptables file?
> A hash mark # does not seem to work.
assuming you are talking about /etc/sysconfig/iptables , hash is indeed
the comment mark, and works fine.
In my file on this system all comment lines have a hash as first
charac
Ouch you're correct. I only tried end-of-line comments, sorry
On Sun, Apr 24, 2011 at 9:30 AM, Nicolas Thierry-Mieg
wrote:
> Alexander Farber wrote:
>> Is there a way to add comments to the iptables file?
>> A hash mark # does not seem to work.
>
> assuming you are talking about /etc/sysconfig/ip
Alexander Farber wrote on Sun, 24 Apr 2011 09:04:30 +0200:
> i.e. there is "sudo service iptables save",
> but I've yet to discover its usefulness
You can add rules on the fly and save them. For instance, I have a certain
"starter script" with iptables rules and other filtering stuff grown over
Hello Michael,
On Sun, 2011-04-24 at 02:54 +, Michael D. Berger wrote:
>cerr << "some stuff" << endl;
>mat3 = matmult(mat1,mat2);
>
> I get a difference of the order 1.0e-15 depending on whether the
> cerr line does or does not end in "endl" as shown.
If the exact same input produces
I have a 1.5TB internal disk on my server.
I partitioned this with fdisk,
and CentOS-5.6 runs perfectly on it.
But fdisk gives a very strange report.
Here is the perfectly normal response to mount:
-
/dev/sdb10 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /
I have a LinkSys WRT54GL router,
which I would like to attach to my CentOS-5.6 server,
to set up a LAN 192.168.2.* .
The server is attached to the internet
through a Billion modem/router which has a single ethernet outlet.
The instructions for the LinkSys router
assume that it is being attached di
Hi there...
I scanned the archives and did some Google'ing ... can find some references
to these errors but didn't find a solution. This started when upgrading
some servers from 5.5 to 5.6 release.
It's net-snmp creating a lot of errors in the /var/log/messages suddenly. I
do believe this
2011/4/24 Timothy Murphy :
> I have a LinkSys WRT54GL router,
> which I would like to attach to my CentOS-5.6 server,
> to set up a LAN 192.168.2.* .
> The server is attached to the internet
> through a Billion modem/router which has a single ethernet outlet.
>
> The instructions for the LinkSys ro
At Sun, 24 Apr 2011 17:08:50 +0200 CentOS mailing list
wrote:
>
> 2011/4/24 Timothy Murphy :
> > I have a LinkSys WRT54GL router,
> > which I would like to attach to my CentOS-5.6 server,
> > to set up a LAN 192.168.2.* .
> > The server is attached to the internet
> > through a Billion modem/ro
Hi Timothy,
> Does fdisk not like large disks?
fdisk cannot handle drives >2TB (you can use parted to work around
this, using gpt label rather than msdos).
However, this should not affect you, as your drive is well within
fdisk's limits. Do you have any idea why the system type is Speedstor
inst
> Jussi Hirvi writes:
>
>> > A while ago I got great instructions from Pasi for migrating standalone
>> > systems to*xen*. However, now I have decided to use KVM instead, which
>> > raises a new question:
>> >
>> > How to migrate a standalone system to*KVM*?
>> >
>> > I know a two-step way to
On Sun, 24 Apr 2011, Jussi Hirvi wrote:
> Does anyone have the .iso image of virt-p2v? It is not available anymore
> through that link. The source is available, but building it requires a
> *lot* of packages, some of which seem to be hard to find.
I have a copy in my archive, but how about contac
> On Sun, 24 Apr 2011, Jussi Hirvi wrote:
>> > Does anyone have the .iso image of virt-p2v? It is not available anymore
>> > through that link. The source is available, but building it requires a
>> > *lot* of packages, some of which seem to be hard to find.
Good idea, but I begin to be short
On Sun, 24 Apr 2011, Jussi Hirvi wrote:
> RJ's website says he is (was?) in the process of rewriting virt-p2v.
>
>> I have a copy in my archive, but how about contacting Richard
>> Jones, and asking him for an update or replacement?
I'll shuttle it out into public bandwidth and advice you
privat
Kenni Lund wrote:
>> I have a LinkSys WRT54GL router,
>> which I would like to attach to my CentOS-5.6 server,
>> to set up a LAN 192.168.2.* .
>> The server is attached to the internet
>> through a Billion modem/router which has a single ethernet outlet.
> Without any information on what the pur
On 04/24/2011 01:15 PM, Timothy Murphy wrote:
> Kenni Lund wrote:
>
>>> I have a LinkSys WRT54GL router,
>>> which I would like to attach to my CentOS-5.6 server,
>>> to set up a LAN 192.168.2.* .
>>> The server is attached to the internet
>>> through a Billion modem/router which has a single ethe
Robert Heller wrote:
> I would guess that the OP just wants a Wireless Access Point. It is
> hard (impossible at retail outlets) to get 'just an Access Point',
> although I think Linksys, et. al. still make just plain Access Points
> these are no longer commonly available at the retail level.
>
On 04/24/2011 01:15 PM, Timothy Murphy wrote:
> I don't actually think my motives are relevant.
> In case I didn't described the situation clearly,
> my CentOS server is connected to an ADSL modem by ethernet (eth0).
> The modem's IP address is 192.168.1.254 .
>
> I have a second NIC on my server (
At Sun, 24 Apr 2011 21:11:31 +0200 CentOS mailing list
wrote:
>
> Robert Heller wrote:
>
> > I would guess that the OP just wants a Wireless Access Point. It is
> > hard (impossible at retail outlets) to get 'just an Access Point',
> > although I think Linksys, et. al. still make just plain A
On 25/04/11 04:15, Timothy Murphy wrote:
> Do you have a LinkSys router with an IP address other than 192.168.1.1 ,
> or even better with an address other than 192.168.1.* ?
> If you have, could you tell me _how_ you did it, please.
> I don't really care _why_ you did it.
>
> The instructions on
On 04/24/11 11:15 AM, Timothy Murphy wrote:
>> > Without any information on what the purpose of such a setup would be,
>> > it's close to impossible to give you any recommendations. Is it
>> > because you want to use your CentOS system as a firewall? a router? a
>> > HTTP proxy? a network sniff
Timothy Murphy wrote:
> I don't actually think my motives are relevant.
> In case I didn't described the situation clearly,
> my CentOS server is connected to an ADSL modem by ethernet (eth0).
> The modem's IP address is 192.168.1.254 .
It is very much relevant. I am in WISP business for last 7 ye
Anthony wrote:
> On 25/04/11 04:15, Timothy Murphy wrote:
>> Do you have a LinkSys router with an IP address other than 192.168.1.1 ,
>> or even better with an address other than 192.168.1.* ?
>> If you have, could you tell me _how_ you did it, please.
>> I don't really care _why_ you did it.
>>
John R Pierce wrote:
> On 04/24/11 11:15 AM, Timothy Murphy wrote:
Without any information on what the purpose of such a setup would be,
it's close to impossible to give you any recommendations. Is it
because you want to use your CentOS system as a firewall? a router? a
HTT
Robert Heller wrote:
>> That is more or less exactly what I'm hoping to achieve -
>> except that I would like my server also to be my DHCP server.
>> But I'll start off with you method, and see how I get on.
>
> I use my 'desktop' as a DHCP server (amoungst other things) in addition
> to being my
John R Pierce wrote:
> I don't actually think my motives are relevant.
>> In case I didn't described the situation clearly,
>> my CentOS server is connected to an ADSL modem by ethernet (eth0).
>> The modem's IP address is 192.168.1.254 .
>
> your goal is very relevant if youj are expecting us to
At Mon, 25 Apr 2011 09:10:36 +1000 CentOS mailing list
wrote:
>
> On 25/04/11 04:15, Timothy Murphy wrote:
> > Do you have a LinkSys router with an IP address other than 192.168.1.1 ,
> > or even better with an address other than 192.168.1.* ?
> > If you have, could you tell me _how_ you did
On 04/24/11 6:05 PM, Timothy Murphy wrote:
> Can one actually have two NICs on a computer in the same LAN?
> I would have thought that would cause problems?
>
you can setup a bridge to do that, but the firewall rules are a little
trickier (at least, most of the linux firewall packages assume you
On 25/04/11 09:34, Ljubomir Ljubojevic wrote:
>
> His ADSL modem is already on 192.168.1.x subnet, so CentOS WAN NIC
> already uses it. And I do not expect resetting router to defaults every
> week. Maybe never.
>
> Ljubomir
>
Ah yes - forgot that titbit of information - :(.
In that case, what y
30 matches
Mail list logo