List Info

Thread: listening on all IPs




listening on all IPs
country flaguser name
United States
2007-09-11 02:12:02
Hi!

I have a quick question: how can I make the aolserver 4.5
listen on all 
IPs? My attempt to do achieve by setting the nssock's
address parameter to 
0.0.0.0 or {} didn't work.

Thank you!
Razvan ME


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
user name
2007-09-11 07:11:36
On 2007.09.11, Razvan Musaloiu-E. <razvanMUSALOIU.COM> wrote:
> I have a quick question: how can I make the aolserver
4.5 listen on all 
> IPs? My attempt to do achieve by setting the nssock's
address parameter to 
> 0.0.0.0 or {} didn't work.

Setting the address to "0.0.0.0" should have
worked.  What actually
happened when you tried that?

-- 
Dossy Shiobara              | dossypanoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at
your own
    folly -- then you can let go and quickly move on."
(p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
user name
2007-09-11 08:54:35
You probably have to prebind 0.0.0.0 on the startup line:

./bin/nsd -ft start.tcl -u you -g ygroup -b
"0.0.0.0:80" ...

or in a file use -B path/to/bind-file.txt

bind-file.txt:
0.0.0.0:80

Then set your nssock up. But I haven't done this recently,
you might have to 
somehow grab the ips and loop over them.

It looks like you can also use name based ip during binding,
maybe it also 
works with nssock?

tom jackson

On Tuesday 11 September 2007 00:12, Razvan Musaloiu-E.
wrote:
> Hi!
>
> I have a quick question: how can I make the aolserver
4.5 listen on all
> IPs? My attempt to do achieve by setting the nssock's
address parameter to
> 0.0.0.0 or {} didn't work.
>
> Thank you!
> Razvan ME
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email
to
> <listservlistserv.aol.com> with the body of
"SIGNOFF AOLSERVER" in the
> email message. You can leave the Subject: field of your
email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
country flaguser name
United States
2007-09-11 10:23:00
Try "*"

Not sure though.

On Sep 11, 2007, at 3:12 AM, Razvan Musaloiu-E. wrote:

> Hi!
>
> I have a quick question: how can I make the aolserver
4.5 listen on  
> all IPs? My attempt to do achieve by setting the
nssock's address  
> parameter to 0.0.0.0 or {} didn't work.
>
> Thank you!
> Razvan ME
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email
to  
> <listservlistserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email
message. You can leave the  
> Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
country flaguser name
United States
2007-09-11 11:22:11
Hi!

On Tue, 11 Sep 2007, Dossy Shiobara wrote:

> On 2007.09.11, Razvan Musaloiu-E. <razvanMUSALOIU.COM> wrote:
>> I have a quick question: how can I make the
aolserver 4.5 listen on all
>> IPs? My attempt to do it by setting the nssock's
address parameter to
>> 0.0.0.0 or {} didn't work.
>
> Setting the address to "0.0.0.0" should have
worked.  What actually
> happened when you tried that?

You are right, 0.0.0.0 works fine! I don't remember exactly
in what 
context I tried before. :(

Thank you!
Razvan ME


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
country flaguser name
United States
2007-09-12 00:14:45
Hi!

On Tue, 11 Sep 2007, Michael Andrews wrote:

> Try "*"
>
> Not sure though.

This doesn't work. It fails with the error:
 	[12/Sep/2007:01:05:15][3365.3073113008][-nssock:driver-]
Error: dns: getaddrinfo failed for *: Name or service not
known

As I acknowledged in a previous message, using 0.0.0.0 does
work. :P

Thanks everyone for the help! 
Razvan ME

> On Sep 11, 2007, at 3:12 AM, Razvan Musaloiu-E. wrote:
>
>> Hi!
>> 
>> I have a quick question: how can I make the
aolserver 4.5 listen on all 
>> IPs? My attempt to do achieve by setting the
nssock's address parameter to 
>> 0.0.0.0 or {} didn't work.
>> 
>> Thank you!
>> Razvan ME
>> 
>> 
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
country flaguser name
United States
2007-09-16 19:22:23
Hi!

One last thing: listening to all ports can also be achieved
by not 
configuring the address ns_param from nssock.

--
Razvan ME

On Wed, 12 Sep 2007, Razvan Musaloiu-E. wrote:

> Hi!
>
> On Tue, 11 Sep 2007, Michael Andrews wrote:
>
>> Try "*"
>> 
>> Not sure though.
>
> This doesn't work. It fails with the error:
>
	[12/Sep/2007:01:05:15][3365.3073113008][-nssock:driver-]
Error: dns: 
> getaddrinfo failed for *: Name or service not known
>
> As I acknowledged in a previous message, using 0.0.0.0
does work. :P
>
> Thanks everyone for the help!
> Razvan ME
>
>> On Sep 11, 2007, at 3:12 AM, Razvan Musaloiu-E.
wrote:
>> 
>>> Hi!
>>> 
>>> I have a quick question: how can I make the
aolserver 4.5 listen on all 
>>> IPs? My attempt to do achieve by setting the
nssock's address parameter to 
>>> 0.0.0.0 or {} didn't work.
>>> 
>>> Thank you!
>>> Razvan ME
>>> 
>>> 
>> 
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
user name
2007-09-16 21:53:33
On Sunday 16 September 2007 17:22, Razvan Musaloiu-E.
wrote:
> Hi!
>
> One last thing: listening to all ports can also be
achieved by not
> configuring the address ns_param from nssock.

If it is on a port < 1024 you have to prebind the
address:port (and startup as 
root with a non-root user/group), and you can't listen on
all ports, just all 
addresses.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

Re: listening on all IPs
country flaguser name
United States
2007-09-16 22:58:28
Hi!

On Sun, 16 Sep 2007, Tom Jackson wrote:

> On Sunday 16 September 2007 17:22, Razvan Musaloiu-E.
wrote:
>> Hi!
>>
>> One last thing: listening to all ports can also be
achieved by not
>> configuring the address ns_param from nssock.
>
> If it is on a port < 1024 you have to prebind the
address:port (and startup as
> root with a non-root user/group), and you can't listen
on all ports, just all
> addresses.

Right, I did a mistake in my message: "ports"
should have been "addresses" 
or "IPs". Thanks for pointing this out!

--
Razvan ME


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.

[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )