OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Justin Georgeson (jgeorgeson_at_unboundtech.com)
Date: Sat Nov 02 2002 - 21:10:11 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Ok, so I know from netstat --ip -lnp that the only ports smbd and nmbd
    are using are TCP 139, and UDP 137 and 138. I find it a little odd
    though that nmbd is bound to both 0.0.0.0 AND my primary interface. My
    problem is that I can't access shares on a windows machine unless I turn
    off my firewall. I'm using RH 8 and the 2.2.6-2 RPMs from the web page
    (working fine so far, barring this firewall thing). I have these rules
    added in iptables

    -A INPUT -p tcp -m tcp -s 192.168.1.0/24 --dport 139 --syn -j ACCEPT
    -A INPUT -p udp -m udp -s 192.168.1.0/24 --dport 137 -j ACCEPT
    -A INPUT -p udp -m udp -s 192.168.1.0/24 --dport 138 -j ACCEPT

    tcpdump shows ports TCP 139 and UDP 137 being accessed when I run
    findsmb. But nothing is listed when I do. If I turn off my firewall, the
    other machine on the LAN, my windows box, is listed. What am I missing?

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users