View previous topic :: View next topic |
Author |
Message |
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Jul 12, 2004 8:32 am Post subject: |
|
|
no but that shouldn't matter. _________________ WTF?? Dude... Visit wtf?? |
|
Back to top |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Jul 12, 2004 8:33 am Post subject: |
|
|
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 |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Jul 12, 2004 10:02 am Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Jul 12, 2004 1:26 pm Post subject: |
|
|
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 |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Mon Jul 12, 2004 7:57 pm Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Jul 13, 2004 12:01 pm Post subject: |
|
|
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 |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Tue Jul 13, 2004 8:38 pm Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Jul 14, 2004 7:57 am Post subject: |
|
|
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 |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jul 14, 2004 8:59 am Post subject: |
|
|
when i changed my configuration my postfix got screwed up...
anyway the ftp got borked again _________________ WTF?? Dude... Visit wtf?? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Jul 14, 2004 10:44 am Post subject: |
|
|
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 |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jul 14, 2004 11:30 am Post subject: |
|
|
now what _________________ WTF?? Dude... Visit wtf?? |
|
Back to top |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jul 14, 2004 12:25 pm Post subject: |
|
|
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 |
|
|
Arcanum n00b
Joined: 02 May 2003 Posts: 39
|
Posted: Wed Jul 14, 2004 2:24 pm Post subject: |
|
|
Do you have the Windows XP firewall enabled? Is it possible it's blocking the connection? |
|
Back to top |
|
|
arachn1d Guru
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jul 14, 2004 9:34 pm Post subject: |
|
|
nope... _________________ WTF?? Dude... Visit wtf?? |
|
Back to top |
|
|
|