|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Anonymous Ftp is too slow
Hi everybody !
I've set my Ftp server following the official FAQ .. it does work (OpenBSD to OpenBSD) but unbelievely slow .. What might be the problem ? pf ? Thank you so much ! |
|
|||
This is unclear. What site(s) were used?
Quote:
Last edited by ocicat; 24th July 2012 at 11:54 PM. |
|
|||
I mean both machines are OpenBSD ..
ping : Code:
PING 192.168.1.3 (192.168.1.3): 56 data bytes 64 bytes from 192.168.1.3: icmp_seq=0 ttl=255 time=2.682 ms 64 bytes from 192.168.1.3: icmp_seq=1 ttl=255 time=4.783 ms 64 bytes from 192.168.1.3: icmp_seq=2 ttl=255 time=4.806 ms 64 bytes from 192.168.1.3: icmp_seq=3 ttl=255 time=3.814 ms 64 bytes from 192.168.1.3: icmp_seq=4 ttl=255a time=4.814 ms 64 bytes from 192.168.1.3: icmp_seq=5 ttl=255 time=4.817 ms 64 bytes from 192.168.1.3: icmp_seq=6 ttl=255 time=4.813 ms 64 bytes from 192.168.1.3: icmp_seq=7 ttl=255 time=3.809 ms 64 bytes from 192.168.1.3: icmp_seq=8 ttl=255 time=3.806 ms 64 bytes from 192.168.1.3: icmp_seq=9 ttl=255 time=3.805 ms 64 bytes from 192.168.1.3: icmp_seq=10 ttl=255 time=4.810 ms 64 bytes from 192.168.1.3: icmp_seq=11 ttl=255 time=3.804 ms 64 bytes from 192.168.1.3: icmp_seq=12 ttl=255 time=4.800 ms 64 bytes from 192.168.1.3: icmp_seq=13 ttl=255 time=4.804 ms 64 bytes from 192.168.1.3: icmp_seq=14 ttl=255 time=4.808 ms 64 bytes from 192.168.1.3: icmp_seq=15 ttl=255 time=4.813 ms 64 bytes from 192.168.1.3: icmp_seq=16 ttl=255 time=3.808 ms 64 bytes from 192.168.1.3: icmp_seq=17 ttl=255 time=6.800 ms 64 bytes from 192.168.1.3: icmp_seq=18 ttl=255 time=5.811 ms 64 bytes from 192.168.1.3: icmp_seq=19 ttl=255 time=5.814 ms 64 bytes from 192.168.1.3: icmp_seq=20 ttl=255 time=4.816 ms --- 192.168.1.3 ping statistics --- 21 packets transmitted, 21 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 2.682/4.611/6.800/0.866 ms Code:
1 192.168.1.3 (192.168.1.3) 4.776 ms 75.448 ms 15.882 ms |
|
|||
Quote:
This doesn't make sense on multiple levels:
Quote:
Outside of not being able to reconcile why an external ftp server would have an private non-routable address, you are presenting data which indicates that the server may be across the street. Somehow, this seems a bit too fantastic to be true... |
|
|||
Sir @ocicat , I'm home .. having 4 machines as a practice field .. the 2 machines I test ftp on are in 1 room even .. :-) .. I don't know what else to provide that clearifies about the problem ..
|
|
|||
So, the ftp server is one of your local machines? If not, what is the IP address of the ftp server used?
|
|
|||
Yes it is .. just learning by trying .. not a business or something :-)
(Router is 192.168.1.1) The IP address of the ftp server is 192.168.1.3 and I can access it and get data .. simply it's unbelievably slow responding . |
|
|||
Quote:
Now, back to the original question as to why ftp(1) is perceived to be slow.
|
|
|||
Quote:
Code:
ftpproxy_flags="-R 192.168.1.3 -p 21 -b 192.168.1.1" ftpd_flags="-DllUSA" Quote:
Code:
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:19:d2:28:eb:bc priority: 4 groups: wlan egress media: IEEE802.11 autoselect (OFDM24 mode 11g) status: active ieee80211: nwid Conceptronic chan 6 bssid 00:80:5a:5a:36:33 20dB inet6 fe80::219:d2ff:fe28:ebbc%wpi0 prefixlen 64 scopeid 0x1 inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 Code:
rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:19:5b:6c:d2:5e priority: 4 groups: wlan egress media: IEEE802.11 autoselect (DS11 mode 11b) status: active ieee80211: nwid Conceptronic chan 6 bssid 00:80:5a:5a:36:33 115dB 100dBm inet6 fe80::219:5bff:fe6c:d25e%rum0 prefixlen 64 scopeid 0x4 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 ifconfig wpi0 media : Code:
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:19:d2:28:eb:bc priority: 4 groups: wlan egress media: IEEE802.11 autoselect (OFDM24 mode 11g) status: active ieee80211: nwid Conceptronic chan 6 bssid 00:80:5a:5a:36:33 23dB supported media: media autoselect media autoselect mediaopt monitor media autoselect mode 11a media autoselect mode 11a mediaopt monitor media autoselect mode 11b media autoselect mode 11b mediaopt monitor media DS1 mode 11b media DS1 mode 11b mediaopt monitor media DS2 mode 11b media DS2 mode 11b mediaopt monitor media DS5 mode 11b media DS5 mode 11b mediaopt monitor media DS11 mode 11b media DS11 mode 11b mediaopt monitor media autoselect mode 11g media autoselect mode 11g mediaopt monitor media DS1 mode 11g media DS1 mode 11g mediaopt monitor media DS2 mode 11g media DS2 mode 11g mediaopt monitor media DS5 mode 11g media DS5 mode 11g mediaopt monitor media DS11 mode 11g media DS11 mode 11g mediaopt monitor media OFDM6 mode 11g media OFDM6 mode 11g mediaopt monitor media OFDM9 mode 11g media OFDM9 mode 11g mediaopt monitor media OFDM12 mode 11g media OFDM12 mode 11g mediaopt monitor media OFDM18 mode 11g media OFDM18 mode 11g mediaopt monitor media OFDM24 mode 11g media OFDM24 mode 11g mediaopt monitor media OFDM36 mode 11g media OFDM36 mode 11g mediaopt monitor media OFDM48 mode 11g media OFDM48 mode 11g mediaopt monitor media OFDM54 mode 11g media OFDM54 mode 11g mediaopt monitor media DS1 media DS1 mediaopt monitor media DS2 media DS2 mediaopt monitor media DS5 media DS5 mediaopt monitor media DS11 media DS11 mediaopt monitor media OFDM6 media OFDM6 mediaopt monitor media OFDM9 media OFDM9 mediaopt monitor media OFDM12 media OFDM12 mediaopt monitor media OFDM18 media OFDM18 mediaopt monitor media OFDM24 media OFDM24 mediaopt monitor media OFDM36 media OFDM36 mediaopt monitor media OFDM48 media OFDM48 mediaopt monitor media OFDM54 media OFDM54 mediaopt monitor inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 Last edited by daemonfowl; 25th July 2012 at 02:51 PM. Reason: typo |
|
|||
Quote:
daemonfowl, what does simplex mean? http://www.inetdaemon.com/tutorials/..._simplex.shtml |
|
|||
Thanks @ocicat !
Quote:
|
|
|||
My account name is ocicat.
Quote:
Compare full-duplex. jggimi mentioned to me another interpretation which I don't have time today to pursue. Quote:
|
|
|||
Looool !!
well it's somehacker@ocicat@daemoforums@Gaia@MilkyWay@soon-comingBlackHole@Ragnarok .. hopefully you'll be vitharr :-) .. I do have a login named vitharr@ragnarok lol .. on a flash running puffy .. Is there anything wrong with this : bridge0 : add wpi0 add bce0 up and bce0 set : up media 10base2 and I connect via wpi0 using dhcp .. |
|
|||
You will be doing everyone (including yourself...) a great service if you would provide a diagram of your network. This is discussed in the "perfect newbies" thread you should know better than your name at this point. We certainly have pointed you to it for guidance countless times. We do so for a reason.
Your network topology is a complete unknown at this time. No one has any clue as to what you have connected to what, why it is done as it is, & whether any decisions made here adversely affects transmission rates. I have the suspicion that to both understand & solve this problem you need to simplify the network -- just connect the "server" to a "client" using Ethernet. As it is, there are too many unknowns involved, & you have a very bad habit of not disclosing vital information until we have beaten the problem senseless. Wasting time might be minimized if you would simply state necessary details up front. Again, the thread referenced above can serve as a guide. One of the things you should take away from this message is that one proven technique to problem solving & troubleshooting is to simplify the problem down to the simplest configuration which still exhibits the problem. This eliminates variables which have no effect early on, so time is not wasted chasing irrelevant details. Anything you do at this point which eliminates clutter & unnecessary details will make this process go much quicker. |
|
|||
I removed bridge0 and related bce0 .. It's now a simple home network :
Router : 192.168.1.1 5 Machines : Acer is using wpi0 or bce0 for wired connection (as FTP server ) As Clients : Dell/iBook/iMac/CompaqMini .. I have to use either wired connection or that Dlink Wireless Adapter .. Yesterday I tried to ftp connect to Acer from CompaqMini using Dlink Adapter. |
|
|||
ok .. it seems it's not an OpenBSD related issue .. rather the cause is simply my legacy hardware/chips/Router .. lol
I tried accessing that very ftp server using Fugu (on a MacOsX tiger box) .. that was horribly slow .. I tried both via airport & wired .. so OpenBSD Rox rocks & is not to blame :-) If ocicat can prove me wrong and offer a clue maybe .. it'll make me happier .. |
|
|||
I tried it the other way round , an ftp session between Mr ibook (ftp server) and Sir Acer (client) :
Code:
$ ftp 192.168.1.2 Connected to 192.168.1.2. 220 sanshiros-ibook.local FTP server (tnftpd 20061217) ready. Name (192.168.1.2:pawaan): sanshiro 331 Password required for sanshiro. Password: 530 Login incorrect. ftp: Login sanshiro failed. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 530 Please login with USER and PASS. 530 Please login with USER and PASS. 530 Please login with USER and PASS. ftp> user (username) sanshiro 331 Password required for sanshiro. Password: 230- Welcome to Darwin! 230 User sanshiro logged in. ftp> ls 200 PORT command successful. pwd 425 Can't build data connection: Operation timed out. ftp> ftp> pwd 257 "/Users/sanshiro" is the current directory. ftp> ls 200 PORT command successful. Code:
425 Can't build data connection: Operation timed out. Now , what are a few preconditions to a fast and robust FTP server ? Thanks ! |
|
|||
Quote:
In case this has not been clear enough, your network toplogy is a complete mystery. No one knows what is connected to what, or can trace packets from any arbitrary computer/laptop/device to any or all other computers/laptops/devices on your network. Last edited by ocicat; 31st July 2012 at 11:04 PM. |
|
|||
I have a suspicion the IP addresses used may not be all on the same segment, but no one can say with any authority because daemonfowl continues to refuse to supply a network diagram.
Last edited by ocicat; 31st July 2012 at 11:19 PM. Reason: clarity |
|
|||
Hi ocicat ! (sirlessly greeting :-) )
It's a star : router provides internet access to 5 machines and Acer serving FTP access to the remaining 4 .. dhcp in all , no static IPs . ( You may suggest a particular form of network that is trouble-free as far as ftp serving is concerned .. you're welcome ) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DSL throughput slow. Is it the firewall? | thefronny | OpenBSD Security | 5 | 27th October 2011 02:00 PM |
Does anyone know why Gnome is so slow on BSD? | TerryP | General software and network | 11 | 27th August 2010 06:06 PM |
Why is FreeBSD dd so slow? | sharris | FreeBSD General | 10 | 18th June 2010 08:33 AM |
slow io from hdd | knasbas | OpenBSD General | 3 | 25th July 2009 02:51 AM |
Daemonforums very slow, times out a lot | Weaseal | Feedback and Suggestions | 15 | 16th May 2008 12:44 AM |