Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(FTP-PROBLEM) *pulls out hair*
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Mon Jul 12, 2004 8:32 am    Post subject: Reply with quote

no but that shouldn't matter.
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Mon Jul 12, 2004 8:33 am    Post subject: Reply with quote

here look at this
its weird..
notice the scans one is localip one is localhost
Code:

arachn1d@server arachn1d $ nmap -sT 192.168.1.119
(The 1653 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
21/tcp    open  ftp
22/tcp    open  ssh
80/tcp    open  http
143/tcp   open  imap
993/tcp   open  imaps
10000/tcp open  snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 0.646 seconds
arachn1d@server arachn1d $ nmap -sT localhost

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-07-11 17:45 PDT
Interesting ports on localhost (127.0.0.1):
(The 1654 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
25/tcp    open  smtp
80/tcp    open  http
143/tcp   open  imap
993/tcp   open  imaps
10000/tcp open  snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 0.452 seconds
arachn1d@server arachn1d $

_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Mon Jul 12, 2004 10:02 am    Post subject: Reply with quote

i upgraded my kernel to 2.6.7-r8 it was r6 and i could ftp...

I do not think this fixed it but rather the "reboot"...

But I am not sure, and I will most likely not find out.

Maybe the nmap is some clue?
It still has the same thing...
Code:

nmap -sT 192.168.1.119

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-07-11 19:14 PDT
Interesting ports on 192.168.1.119:
(The 1653 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
21/tcp    open  ftp
22/tcp    open  ssh
80/tcp    open  http
143/tcp   open  imap
993/tcp   open  imaps
10000/tcp open  snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 0.465 seconds


Code:

nmap -sT localhost

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-07-11 19:14 PDT
Interesting ports on localhost (127.0.0.1):
(The 1654 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
25/tcp    open  smtp
80/tcp    open  http
143/tcp   open  imap
993/tcp   open  imaps
10000/tcp open  snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 0.486 seconds



weird no? everything works now too.
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Jul 12, 2004 1:26 pm    Post subject: Reply with quote

What is in your /etc/hosts file ?
It is most likely incorrect.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Mon Jul 12, 2004 7:57 pm    Post subject: Reply with quote

127.0.0.1 localhost wtf-dude.com
127.0.0.1 server.wtf-dude.com server
#192.168.1.119 server.wtf-dude.com server
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Jul 13, 2004 12:01 pm    Post subject: Reply with quote

That is not a good idea.

Never touch the first line:
Code:
127.0.0.1 localhost.localdomain localhost

Instead, use additional lines for your IP addresses and hostnames:

Code:
192.168.1.119 server.wtf-dude.com server


And lose the IPv6 stuff (unless you actually use it, which is unlikely.)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Tue Jul 13, 2004 8:38 pm    Post subject: Reply with quote

k how do i restart hosts? i did this>>


Code:

127.0.0.1       localhost.localdomain   localhost
192.168.1.119   server.wtf-dude.com     wtf-dude.com

#127.0.0.1      localhost               wtf-dude.com
#127.0.0.1      server.wtf-dude.com     server
#192.168.1.119  server.wtf-dude.com     server


_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Jul 14, 2004 7:57 am    Post subject: Reply with quote

You don't have to - if you don't run a nameserver for that host then the changes are instant.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Wed Jul 14, 2004 8:59 am    Post subject: Reply with quote

when i changed my configuration my postfix got screwed up...

anyway the ftp got borked again :(
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Jul 14, 2004 10:44 am    Post subject: Reply with quote

Hokay, let's take it from the top:
Code:
emerge unmerge pure-ftpd
emerge proftpd


Then we'll see what's what...
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Wed Jul 14, 2004 11:30 am    Post subject: Reply with quote

now what
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Wed Jul 14, 2004 12:25 pm    Post subject: Reply with quote

wow guess what.. its not related to my server its my actual local machine.

I can't connect to ANY ftp.... weird...

anyone know what would cause this on xp?

(gonna boot to gentoo partition and see if it works)
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
Arcanum
n00b
n00b


Joined: 02 May 2003
Posts: 39

PostPosted: Wed Jul 14, 2004 2:24 pm    Post subject: Reply with quote

Do you have the Windows XP firewall enabled? Is it possible it's blocking the connection?
Back to top
View user's profile Send private message
arachn1d
Guru
Guru


Joined: 15 Apr 2004
Posts: 369
Location: /var/www/wtf-dude.com lynx wtf-dude.com

PostPosted: Wed Jul 14, 2004 9:34 pm    Post subject: Reply with quote

nope... :roll:
_________________
WTF?? Dude... Visit wtf??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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