AFP548 Changing the world one server at a time.

gcraiga

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Firewall problems in Leopard #374425
    gcraiga
    Participant

    I’m currently setting up a Mac OX X 10.5.5 server and I’m running into the same problem. Did you or anyone ever find a resolution for this?

    mDNS (Bonjour) lookups take about 60-90 seconds to resolve when the server’s firewall is running. This is the same problem across lookups for any service (SSH via terminal, web, AFP). I don’t plan to use mDNS on our network as the server will be running DNS for our LAN, but Time Machine backups always connect to the AFP share using the mDNS name rather than the server’s Fully Qualified Domain Name. I know the service is being “advertised” via mDNS because the time machine share shows up on the network, but unfortunately when this lookup takes such a long time it will more or less freeze the client system as it resolves.

    Client machines aren’t running firewalls locally.
    This happens with both tiger and leopard clients.
    I have tried setting the firewall to allow all connections from “any” to “any” but it still doesn’t work.
    I am not running DNS on the server but I have tried turning it on with still no luck.
    I’ve tried to reinstall and set up the server to no avail.

    Here are the results from running “sudo ipfw list”:

    01000 allow ip from any to any via lo0
    01010 deny ip from any to 127.0.0.0/8
    01020 deny ip from 224.0.0.0/4 to any in
    01030 deny tcp from any to 224.0.0.0/4 in
    12300 allow tcp from any to any established
    12301 allow tcp from any to any out
    12302 allow tcp from any to any dst-port 22
    12302 allow udp from any to any dst-port 22
    12303 allow udp from any to any out keep-state
    12304 allow tcp from any to any dst-port 53 out keep-state
    12304 allow udp from any to any dst-port 53 out keep-state
    12305 allow udp from any to any in frag
    12306 allow tcp from any to any dst-port 311
    12307 allow tcp from any to any dst-port 625
    12308 allow udp from any to any dst-port 626
    12309 allow icmp from any to any icmptypes 8
    12310 allow icmp from any to any icmptypes 0
    12311 allow igmp from any to any
    12312 allow ip from 192.168.15.0/24 to any via en0 keep-state
    12312 allow ip from 192.168.16.0/24 to any via en0 keep-state
    12313 allow udp from any 68 to any dst-port 67 via en0
    65534 deny ip from any to any
    65535 allow ip from any to any

    Note that this should block most services but allow machines on our internal subnets (192.168.15.0 and 192.168.16.0) to connect at any open port.

    Any help or advice will be greatly appreciated.

Viewing 1 post (of 1 total)