Skip site navigation (1) Skip section navigation (2)

Re: another can't connect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: BJ Freeman <bjfree(at)free-man(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: another can't connect
Date: 2009-06-29 13:51:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
BJ Freeman <bjfree(at)free-man(dot)net> writes:
> sorry about the post did not do a reply all and sent a personal replay
> yes in the chain I have
> ACCEPT     all  --  anywhere             anywhere            state
> it is the next to last rule.

You sure that works?  This notation for iptables isn't familiar to me,
but I'd have thought you have to specify the "state" module.  The
comparable line in my iptables looks like


Come to think of it, the "state NEW" test in your other line would
have to addressed to the state module as well.

BTW, usual practice is to put the established-connections rule near the
start of the chain, not the end, on the grounds that the majority of
packets the kernel will see will match this rule and so you want to test
it sooner rather than later.

			regards, tom lane

In response to

pgsql-general by date

Next:From: Tom LaneDate: 2009-06-29 14:11:30
Subject: Re: Slony-I timezone setting
Previous:From: Scott MeadDate: 2009-06-29 13:38:26
Subject: Re: masking the code

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group