[Job Offer] Postgresql expert needed

2007-07-29 Thread Oded Arbel
Hi list. The company I work for needs a consultant to help us optimize postgresql for our application, and to help us set up replication and stuff like that. We are not offering full time employment (at this time) and we'd prefer to work with a freelance that is "osek murshe" and can bill us dir

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Gilad Ben-Yossef
Shachar Shemesh wrote: Gilad Ben-Yossef wrote: What BINDTODEVICE does is force the routing code to consider only routes that go through the requested interface. But what does it do when it sees "eth0:1"? It means the the specific IP address is labeled with the string "eth0:1". ifconfig onl

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: > > > What BINDTODEVICE does is force the routing code to consider only > routes that go > through the requested interface. But what does it do when it sees "eth0:1"? On an amusing OT: if you involve vlans and virtual interfaces, you may end up with the interface name being

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Gilad Ben-Yossef
Shachar Shemesh wrote: It gets slightly more complicated than that. I need it cross platform :-). Searching http://msdn2.microsoft.com for "BINDTODEVICE" returns no results (well, none that seem relevant, anyways). Even if it did, I'm not sure how you specify the device's name in Windows, being

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Shachar Shemesh
guy keren wrote: > > the only question regarding what you found, is whether this is a > supported feature, or a "bug", that might get "fixed" in a later > version of the kernel.if it's a feture, it surely is simple enough to > use. note that unlike you, i didn't test my method, so currently > shach

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Amos Shapira
On 29/07/07, guy keren <[EMAIL PROTECTED]> wrote: > > i sent my mail before i saw yours, or i wouldn't have bothered ;) I got my mail out later than you because I was busy writing a program to test it. And it's good you sent it so I know about this option (of binding to a device) now. the only q

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread guy keren
Amos Shapira wrote: On 29/07/07, *Gilad Ben-Yossef* <[EMAIL PROTECTED] > wrote: guy keren wrote: > here is something interesting: man 7 socket >and look for 'SO_BINDTODEVICE' You might find the following example useful

Re: Binding to an IP but using anonymous ports

2007-07-29 Thread Amos Shapira
On 29/07/07, Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote: > > guy keren wrote: > > here is something interesting: man 7 socket > >and look for 'SO_BINDTODEVICE' > > You might find the following example useful: > > http://www.codefidence.com/src/bindtodevice.c What's