Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsyncd an ein interface/ip-adresse binden
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Greenpie
n00b
n00b


Joined: 28 Dec 2003
Posts: 9
Location: Germany/Munich

PostPosted: Wed Oct 20, 2004 2:23 pm    Post subject: rsyncd an ein interface/ip-adresse binden Reply with quote

<minimalismus>

Gibt es eine möglichkeit rsyncd an eine IP-Adresse oder interface zu beschränken?

</minimalismus>

Grund hierfür ist ein Server mit mehreren Externen-IP´s auf einer NIC
den einzelnen IP´s sind verschiedene Dienste zugeordnet.

Schon jetzt dankend

Greenpie
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Wed Oct 20, 2004 6:30 pm    Post subject: Reply with quote

Ja, gibts. Ich weiss nicht, ob das auch ohne xinedtd möglich ist, wenn du aber rsync via xinetd startest einfach
Code:
bind            = 192.168.0.75

in /etc/xinetd.d/rsyncd eintragen, 192.168.0.75 ist hier die IP des Devices, auf dem der rsyncd erreichbar sein soll. Mit der Option only_from kannst du auch noch weitere Einschränkungen treffen. Mit /etc/hosts.allow / hosts.deny ebenfalls (iirc, USE-flag tcpd nicht vergessen).
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Greenpie
n00b
n00b


Joined: 28 Dec 2003
Posts: 9
Location: Germany/Munich

PostPosted: Wed Oct 20, 2004 9:26 pm    Post subject: Reply with quote

laesst sich evtl. was ueber die option
"socket options" in der rsyncd.conf etwas machen?
Back to top
View user's profile Send private message
Torty
n00b
n00b


Joined: 31 Oct 2004
Posts: 3

PostPosted: Sun Oct 31, 2004 4:09 pm    Post subject: Reply with quote

--address=192.168.0.1

als RSYNC_OPTS in /etc/conf.d/rsyncd sollte helfen.

Torty
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum