🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by çÅÎÅÒÁÌ æÜÊÌÕÒ Sun, 23 Dec 2012 08:03
nnrpd won't listen 563 port.
#85287
Author: çÅÎÅÒÁÌ æÜÊÌÕÒ
Date: Sun, 23 Dec 2012 08:03
8 lines
1357 bytes
inn-2.5.2, FreeBSD 9.0-RELEASE. I run nnrpd as 'news' user. The problem is he
wont listen any ports below 1024, innd - too. What is going wrong?

innbind: cannot bind socket for 4,2,0.0.0.0,563: Permission denied
innbind: cannot bind socket for 4,28,::,563: Permission denied

-- 
8DFA 30CE 08AA 901D 587D 733F 8B3A 641D 2DA8 1B4F<636F6C64696365406E67732E7275>
Re: nnrpd won't listen 563 port.
#85288
Author: Russ Allbery
Date: Sun, 23 Dec 2012 18:53
16 lines
1746 bytes
çÅÎÅÒÁÌ æÜÊÌÕÒ <dev@null.org> writes:

> inn-2.5.2, FreeBSD 9.0-RELEASE. I run nnrpd as 'news' user. The problem
> is he wont listen any ports below 1024, innd - too. What is going wrong?

> innbind: cannot bind socket for 4,2,0.0.0.0,563: Permission denied
> innbind: cannot bind socket for 4,28,::,563: Permission denied

You need to install innbind setuid root so that it can bind to
low-numbered ports.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: nnrpd won't listen 563 port.
#85289
Author: çÅÎÅÒÁÌ æÜÊÌÕÒ
Date: Mon, 24 Dec 2012 09:59
14 lines
1699 bytes
вс, 23 дек 2012 20:53:42 числа Russ Allbery написал(а):
>> inn-2.5.2, FreeBSD 9.0-RELEASE. I run nnrpd as 'news' user. The problem
>> is he wont listen any ports below 1024, innd - too. What is going wrong?
> 
>> innbind: cannot bind socket for 4,2,0.0.0.0,563: Permission denied
>> innbind: cannot bind socket for 4,28,::,563: Permission denied
> 
> You need to install innbind setuid root so that it can bind to
> low-numbered ports.
Present by default.
-r-sr-x---  1 news  news  51545 22 дек 10:58 innbind*

-- 
8DFA 30CE 08AA 901D 587D 733F 8B3A 641D 2DA8 1B4F<636F6C64696365406E67732E7275>
Re: nnrpd won't listen 563 port.
#85290
Author: Maarten Carels
Date: Mon, 24 Dec 2012 11:01
17 lines
1680 bytes
çÅÎÅÒÁÌ æÜÊÌÕÒ <dev@null.org> wrote:

> ??, 23 ??? 2012 20:53:42 ????? Russ Allbery ???????(?):
> >> inn-2.5.2, FreeBSD 9.0-RELEASE. I run nnrpd as 'news' user. The problem
> >> is he wont listen any ports below 1024, innd - too. What is going wrong?
> > 
> >> innbind: cannot bind socket for 4,2,0.0.0.0,563: Permission denied
> >> innbind: cannot bind socket for 4,28,::,563: Permission denied
> > 
> > You need to install innbind setuid root so that it can bind to
> > low-numbered ports.
> Present by default.
> -r-sr-x---  1 news  news  51545 22 ??? 10:58 innbind*
There's your problem, user news can't bind to a port below 1024
(priviliged port)

--maarten
Re: nnrpd won't listen 563 port.
#85292
Author: yamo'
Date: Mon, 24 Dec 2012 12:30
17 lines
1801 bytes
Hi,

Генерал Фэйлур a tapoté, le 24/12/2012 10:59:

> Present by default.
> -r-sr-x---  1 news  news  51545 22 дек 10:58 innbind*

On debian squeeze :
# ls -al /usr/lib/news/bin/innbind
-rwsr-xr-- 1 root news 43416 28 déc.   2010 /usr/lib/news/bin/innbind


-- 
Stéphane	<http://pasdenom.info/fortune/?>
BOFH excuse #373:

Suspicious pointer corrupted virtual machine
Re: nnrpd won't listen 563 port.
#85291
Author: Russ Allbery
Date: Mon, 24 Dec 2012 18:16
22 lines
2078 bytes
çÅÎÅÒÁÌ æÜÊÌÕÒ <dev@null.org> writes:
> вс, 23 дек 2012 20:53:42 числа Russ Allbery написал(а):

>>> inn-2.5.2, FreeBSD 9.0-RELEASE. I run nnrpd as 'news' user. The problem
>>> is he wont listen any ports below 1024, innd - too. What is going wrong?
>> 
>>> innbind: cannot bind socket for 4,2,0.0.0.0,563: Permission denied
>>> innbind: cannot bind socket for 4,28,::,563: Permission denied

>> You need to install innbind setuid root so that it can bind to
>> low-numbered ports.

> Present by default.
> -r-sr-x---  1 news  news  51545 22 дек 10:58 innbind*

That's setuid news, not setuid root.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads