pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6102: JDBC BIND Source IP Address
2+ messages / 2 participants
[nested] [flat]
* BUG #6102: JDBC BIND Source IP Address
@ 2011-07-08 15:09 Angel Dabov <onzi@ustrem.org>
0 siblings, 1 reply; 2+ messages in thread
From: Angel Dabov @ 2011-07-08 15:09 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 6102
Logged by: Angel Dabov
Email address: onzi@ustrem.org
PostgreSQL version: JDBC 8.3
Operating system: Windows
Description: JDBC BIND Source IP Address
Details:
Hi,
We have Tomcat Windows server with five applications which listen on
different IP addresses. Every application connects Postgres DB on different
server. These IP addresses are aliases on one NIC in same subnet.
The problem:
Every connection to the DB from JDBC driver bind different IP for source
address. We have firewall before DBs and need to use specific source ip
address for every application.
Is there any chance to fix in PGstream.java
socket(host, port) with socket(host, port, sourceaddress, null) and give us
prop to set sourceaddress?
Thank You,
Angel
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #6102: JDBC BIND Source IP Address
@ 2011-07-12 21:50 Bruce Momjian <bruce@momjian.us>
parent: Angel Dabov <onzi@ustrem.org>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2011-07-12 21:50 UTC (permalink / raw)
To: Angel Dabov <onzi@ustrem.org>; +Cc: pgsql-bugs
Angel Dabov wrote:
>
> The following bug has been logged online:
>
> Bug reference: 6102
> Logged by: Angel Dabov
> Email address: onzi@ustrem.org
> PostgreSQL version: JDBC 8.3
> Operating system: Windows
> Description: JDBC BIND Source IP Address
> Details:
>
> Hi,
>
> We have Tomcat Windows server with five applications which listen on
> different IP addresses. Every application connects Postgres DB on different
> server. These IP addresses are aliases on one NIC in same subnet.
> The problem:
> Every connection to the DB from JDBC driver bind different IP for source
> address. We have firewall before DBs and need to use specific source ip
> address for every application.
> Is there any chance to fix in PGstream.java
> socket(host, port) with socket(host, port, sourceaddress, null) and give us
> prop to set sourceaddress?
I think you should ask this on the PG jdbc email list:
http://archives.postgresql.org/pgsql-jdbc/
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-07-12 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 15:09 BUG #6102: JDBC BIND Source IP Address Angel Dabov <onzi@ustrem.org>
2011-07-12 21:50 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox