1 |
Leandro Melo de Sales wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I setup cvsd as shown in http://gentoo-wiki.com/HOWTO_CVS_Server. |
5 |
> When I test if I connect locally, in the shell everything works fine, |
6 |
> as it is shown in /var/log/message: |
7 |
> |
8 |
> Jun 3 16:31:24 embedded cvsd[13679]: connection from 127.0.0.1 43619 |
9 |
> Jun 3 16:31:24 embedded cvsd[13679]: cvs command exited with exit-status 0 |
10 |
> |
11 |
> But when I try this from a remote machine (in the same network |
12 |
> range, no firewalls) I can't connect: |
13 |
> |
14 |
> Jun 3 16:42:01 embedded cvsd[13679]: connection from 192.168.0.228 1290 |
15 |
> Jun 3 16:42:01 embedded cvsd[13679]: cvs command exited with exit-status 1 |
16 |
> |
17 |
> Here are the netstat -na output: |
18 |
> |
19 |
> Active Internet connections (servers and established) |
20 |
> Proto Recv-Q Send-Q Local Address Foreign Address State |
21 |
> tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN |
22 |
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN |
23 |
> tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN |
24 |
> tcp 0 0 :::2401 :::* LISTEN |
25 |
> tcp 0 0 :::22 :::* LISTEN |
26 |
> tcp 0 0 ::ffff:192.168.0.1:22 ::ffff:192.168.0.:1496 |
27 |
> ESTABLISHED |
28 |
> tcp 0 0 ::ffff:192.168.0.1:22 ::ffff:192.168.0.:1446 |
29 |
> ESTABLISHED |
30 |
> tcp 0 128 ::ffff:192.168.0.1:22 ::ffff:192.168.0.:1153 |
31 |
> ESTABLISHED |
32 |
> |
33 |
> What I need to do? To certify that the remote machine can reach the |
34 |
> cvs server and connect to 2401 port I telned to 2401 port: |
35 |
> |
36 |
> # telnet 192.168.0.1 2401 |
37 |
> <press enter> |
38 |
> |
39 |
> cvs [pserver aborted]: bad auth protocol start: |
40 |
> |
41 |
> connection reset by peer. |
42 |
> |
43 |
> So, what is the problem? |
44 |
> |
45 |
> Leandro. |
46 |
|
47 |
Did you try to put an entry in /etc/hosts.allow? Put a line like: |
48 |
|
49 |
ALL : 192.168.0. |
50 |
|
51 |
Replace the IP with your network setup and restart cvs. |
52 |
|
53 |
Jim |
54 |
-- |
55 |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
56 |
You roll an 18 in Dex and see if you |
57 |
don't end up with a girlfriend |
58 |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
59 |
JimD |
60 |
Central FL, USA, Earth, Sol |
61 |
-- |
62 |
gentoo-user@g.o mailing list |