![]() |
|
|
|
|
|||||||
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with IPFW.. Please... | fundidor | UNIX for Dummies Questions & Answers | 2 | 10-10-2005 04:23 PM |
| FreeBSD IPFW Rules clarification please... | DanUK | Security | 0 | 04-28-2005 10:51 AM |
| HP-UX: X connections...? | abhayh | HP-UX | 0 | 04-25-2005 02:22 AM |
| ipfw directives and order of precidence... | [MA]Flying_Meat | Security | 0 | 03-11-2004 08:39 PM |
| fBSD nat ipfw | hachik | UNIX for Dummies Questions & Answers | 3 | 06-07-2002 12:20 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
ipfw slow ssh and ftp connections
just as the title says.
thanks. #General Rule Sets /sbin/ipfw add 0300 check-state /sbin/ipfw add 0301 deny tcp from any to any in established /sbin/ipfw add 0302 pass tcp from any to any out setup keep-state /sbin/ipfw add 0303 pass udp from any to any out #SSH FTP /sbin/ipfw add 0400 pass tcp from any to any 22 in setup keep-state /sbin/ipfw add 0401 pass tcp from any to any 21 in setup keep-state #HTTP HTTPS /sbin/ipfw add 0500 pass tcp from any to any 80 in setup keep-state /sbin/ipfw add 0501 pass tcp from any to any 443 in setup keep-state #IMAP IMAPS POP3 SMTP /sbin/ipfw add 0600 pass udp from any to any 25 in /sbin/ipfw add 0601 pass tcp from any to any 25 in setup keep-state /sbin/ipfw add 0602 pass tcp from any to any 143 in setup keep-state /sbin/ipfw add 0603 pass udp from any to any 143 in /sbin/ipfw add 0604 pass tcp from any to any 993 in setup keep-state /sbin/ipfw add 0605 pass tcp from any to any 110 in setup keep-state /sbin/ipfw add 0606 pass udp from any to any 110 in #DNS /sbin/ipfw add 0700 pass udp from any to any 53 in /sbin/ipfw add 0701 pass tcp from any to any 53 in setup keep-state /sbin/ipfw add 0702 pass udp from xxx.xxx.xxx.xxx to any in /sbin/ipfw add 0703 pass udp from xxx.xxx.xxx.xxx to any in |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
It should be available in the ports collection. |
|
|||
|
What would be causing the slow reverse lookups? When this box wasn't running ipfw my ssh and ftp logins were quick. Also isn't my ISP responsible for my reverse dns?
Also, can I not configure BIND to do the caching ? Last edited by dwildgoose; 05-17-2005 at 08:31 AM. |
|
|||
|
this is what I have tried so far.
I started an ssh connection to my server at work. then i did a reverse lookup back to the client from my server. # host 23.44.55.66 66.55.44.23.IN-ADDR.ARPA domain name pointer s23-44-55-66.ab.hsia.telus.net then i tried adding an entry into /etc/hosts 23.44.55.66 s23-44-55-66.ab.hsia.telus.net still slow logins.. this server is running bind, and a reverse zone file is made, why am i getting a reverse lookup from my isp ? also, from users i have talked to in #freebsdhelp on efnet, bind caches by default. Last edited by dwildgoose; 05-17-2005 at 09:24 AM. |
|
|||
|
to add further..
i added localhost to /etc/resolv.conf nslookup even on www.google.ca dies... # nslookup www.google.ca *** Can't find server name for address 127.0.0.1: Timed out *** Can't find server name for address 154.11.129.59: Timed out something wrong, and im lost...... i still think its my firewall guys... |
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix curses.h cut command in unix daemon process find grep find mtime find null character in a unix file glance unix grep multiple lines grep or grep recursive gzip password hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script |