<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NIC and Bastille problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507681#M745136</link>
    <description>Hi everyone. I have a problem very strangeful in my server. The NIC Cards (lan0 and lan1) don't work since I do install Bastille app in MANDMZ Mode (Managed DMZ config). Initially Bastille block all ports non-secure. First I logging on the server with ssh but at next day the ssh connection its down. The problem it's not the network cable, and it's not the switch port. I think it's the bastille configuration applied on the server, but I don't know how to comprobe this....&lt;BR /&gt;&lt;BR /&gt;Anyone can help me??&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced.&lt;BR /&gt;Regards</description>
    <pubDate>Fri, 18 Mar 2005 12:03:20 GMT</pubDate>
    <dc:creator>Francisco Díaz</dc:creator>
    <dc:date>2005-03-18T12:03:20Z</dc:date>
    <item>
      <title>NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507681#M745136</link>
      <description>Hi everyone. I have a problem very strangeful in my server. The NIC Cards (lan0 and lan1) don't work since I do install Bastille app in MANDMZ Mode (Managed DMZ config). Initially Bastille block all ports non-secure. First I logging on the server with ssh but at next day the ssh connection its down. The problem it's not the network cable, and it's not the switch port. I think it's the bastille configuration applied on the server, but I don't know how to comprobe this....&lt;BR /&gt;&lt;BR /&gt;Anyone can help me??&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced.&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 18 Mar 2005 12:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507681#M745136</guid>
      <dc:creator>Francisco Díaz</dc:creator>
      <dc:date>2005-03-18T12:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507682#M745137</link>
      <description>/sbin/init.d/ipfboot stop&lt;BR /&gt;&lt;BR /&gt;Try connecting agan.&lt;BR /&gt;&lt;BR /&gt;If it works, this proves that the setup of the ipfilter firewall is causing the problem.&lt;BR /&gt;&lt;BR /&gt;Then look at the ipf.conf configuration to make changes to allow desired protocols through. &lt;BR /&gt;&lt;BR /&gt;The configuration file is very English language like.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 18 Mar 2005 12:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507682#M745137</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-18T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507683#M745138</link>
      <description>Steven wrote:&lt;BR /&gt;&amp;gt; /sbin/init.d/ipfboot stop&lt;BR /&gt;&amp;gt; Try connecting agan.&lt;BR /&gt;&lt;BR /&gt;Well, you don't have to go to that extreme :-)&lt;BR /&gt;Just run :&lt;BR /&gt;# /sbin/ipfstat -ioh&lt;BR /&gt;&lt;BR /&gt;The output would tell you if there are any block rules&lt;BR /&gt;configured by IPFilter and if that rule is actually&lt;BR /&gt;blocking any traffic. You could post that output here&lt;BR /&gt;if you have problem interpreting (with IP addresses&lt;BR /&gt;censored, ofcourse).&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 13:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507683#M745138</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-18T13:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507684#M745139</link>
      <description>Here is the output for the /sbin/ipfstat -ioh...&lt;BR /&gt;&lt;BR /&gt;Can anyone help me??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 13:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507684#M745139</guid>
      <dc:creator>Francisco Díaz</dc:creator>
      <dc:date>2005-03-18T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507685#M745140</link>
      <description>It appears to me that you ran "/sbin/ipfstat -ioh"&lt;BR /&gt;AFTER running "/sbin/init.d/ipfboot stop". If that's&lt;BR /&gt;what you did, the "ipfstat -ioh" output is useless.&lt;BR /&gt;&lt;BR /&gt;Since you have already unloaded IPFilter, does your&lt;BR /&gt;system work fine now?&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 13:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507685#M745140</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-18T13:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507686#M745141</link>
      <description>The /sbin/ipfstat -ioh run with the IPFilter service active. &lt;BR /&gt;The system without the IPFilter service dÃ³nÂ´t work.&lt;BR /&gt;&lt;BR /&gt;The Ambiental temperature affect the lan interfaces of the system?? The air conditioned of the lab room its off for ten years&lt;BR /&gt;&lt;BR /&gt;I have two ethernet connections and nothing of these work....&lt;BR /&gt;&lt;BR /&gt;Franci</description>
      <pubDate>Fri, 18 Mar 2005 14:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507686#M745141</guid>
      <dc:creator>Francisco Díaz</dc:creator>
      <dc:date>2005-03-18T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507687#M745142</link>
      <description>Francisco wrote:&lt;BR /&gt;&amp;gt; The /sbin/ipfstat -ioh run with the IPFilter service &lt;BR /&gt;&amp;gt; active.&lt;BR /&gt;&lt;BR /&gt;That's a little odd. Since all the rules (in ipfstat -ioh)&lt;BR /&gt;output has 0 at the left, this means IPFilter is not&lt;BR /&gt;seeing any traffic (in or out) at all. One thing is clear&lt;BR /&gt;though; your problem is not related to IPFilter.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 14:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507687#M745142</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-18T14:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507688#M745143</link>
      <description>Guys, the problem is bastille configuration... But these is not good for me, because I need to configure Bastille in a DMZ, with allow the ports 443/tcp (incoming), 22/tcp (incoming), 5555/tcp (incoming), 10000/tcp (incoming), 80/tcp (incoming), 20/tcp (outcoming), 21/tcp (outcoming), 53/tcp (outcoming), 2984/tcp (incoming), 2985/udp (incoming) and 514/udp (outcoming)....&lt;BR /&gt;&lt;BR /&gt;Anyone can I help to configure bastille??&lt;BR /&gt;&lt;BR /&gt;When I try to configure bastille manually in a text interface, appear a Error associated with "Curses.pm". &lt;BR /&gt;&lt;BR /&gt;Where I can ger this library??&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced...&lt;BR /&gt;&lt;BR /&gt;Francisco</description>
      <pubDate>Fri, 18 Mar 2005 17:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507688#M745143</guid>
      <dc:creator>Francisco Díaz</dc:creator>
      <dc:date>2005-03-18T17:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507689#M745144</link>
      <description>Francisco wrote:&lt;BR /&gt;&amp;gt; ..with allow the ports 443/tcp (incoming), 22/tcp &lt;BR /&gt;&amp;gt; (incoming), 5555/tcp (incoming), 10000/tcp &lt;BR /&gt;&amp;gt; (incoming), 80/tcp (incoming), 20/tcp &lt;BR /&gt;&amp;gt; (outcoming), 21/tcp (outcoming), 53/tcp &lt;BR /&gt;&amp;gt; (outcoming), 2984/tcp (incoming), 2985/udp &lt;BR /&gt;&amp;gt; (incoming) and 514/udp (outcoming)....&lt;BR /&gt;&lt;BR /&gt;Add following rules at the TOP of &lt;BR /&gt;/etc/opf/ipf/ipf.conf file:&lt;BR /&gt;&lt;BR /&gt;pass in quick proto tcp from any to any port = 443 flags S keep state keep frags&lt;BR /&gt;pass in quick proto tcp from any to any port = 22 flags S keep state keep frags&lt;BR /&gt;pass in quick proto tcp from any to any port = 5555 flags S keep state keep frags&lt;BR /&gt;pass in quick proto tcp from any to any port = 10000 flags S keep state keep frags&lt;BR /&gt;pass in quick proto tcp from any to any port = 80 flags S keep state keep frags&lt;BR /&gt;pass out quick proto tcp from any to any port = 20 flags S keep state keep frags&lt;BR /&gt;pass out quick proto tcp from any to any port = 21 flags S keep state keep frags&lt;BR /&gt;pass out quick proto tcp from any to any port = 53 flags S keep state keep frags&lt;BR /&gt;pass in quick proto tcp from any to any port = 2984 flags S keep state keep frags&lt;BR /&gt;pass in quick proto udp from any to any port = 2985&lt;BR /&gt;pass out quick proto udp from any port = 2985 to any&lt;BR /&gt;pass out quick proto udp from any to any port = 514&lt;BR /&gt;pass in quick proto udp from any port = 514 to any&lt;BR /&gt;&lt;BR /&gt;WARNING : Test before use. Understand each rule &lt;BR /&gt;and make sure that's what you want to do. I have &lt;BR /&gt;not tried them, so there might be syntax errors in &lt;BR /&gt;them. Each rule should be in one line.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 17:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507689#M745144</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-18T17:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507690#M745145</link>
      <description>One more thing.&lt;BR /&gt;After you add the above rules to /etc/opt/ipf/ipf.conf&lt;BR /&gt;file, reload the IPFilter configuration by executing&lt;BR /&gt;following command:&lt;BR /&gt;&lt;BR /&gt;# /sbin/ipf -Fa -f /etc/opt/ipf/ipf.conf&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 17:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507690#M745145</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-18T17:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: NIC and Bastille problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507691#M745146</link>
      <description>Hi Fransico, I'm sorry you're having trouble.&lt;BR /&gt;&lt;BR /&gt;The best description of the DMZ level is found here: &lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/5990-6728/index.html" target="_blank"&gt;http://www.docs.hp.com/en/5990-6728/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The ManDMZ level blocks all incoming except for a few protocols, as you saw in your ipfstat -ioh output.  If you'd like a level that doesn't block traffic, that's the "host" level.&lt;BR /&gt;&lt;BR /&gt;Re: Curses interface.  That is only supported on Linux, not HP-UX.  That's why you won't find the library.  Bastille uses the X11 GUI, though you can create a configuration on a separate host if you don't can't run an x-window from the locked down system(with --os &lt;TARGET os="" version=""&gt; )   See bastille(1m) for details.  The resulting configuration goes to /etc/opt/sec_mgmt/bastille/config  That can be copied to the target system.  This off-host configuration is rarely necessary for single-system configuration as ssh tunnels x-traffic quite nicely. &lt;BR /&gt;&lt;BR /&gt;Biswajit gave a great rundown on how to add the ports you want to ipfilter.  I'd add those to: /etc/opt/sec_mgmt/bastille/ipf.customrules, since that's the file bastille uses to add custom rules to ipfilter's configuration file.  That way your ipf.conf changes won't get overwritten the next time you run bastille -b.&lt;BR /&gt;&lt;BR /&gt;As you'd mentioned MANDMZ blocks most inbound ports.  I *would* expect you to be able to ssh *from* the locked-down system in all cases.&lt;BR /&gt;&lt;BR /&gt;The one behavior you mentioned that did surprise me was you'd said you can't log in with ssh.  &lt;BR /&gt;&lt;BR /&gt;Assuming for the moment that ipfilter and your ssh are running fine, here are the MANDMZ settings that might prevent login (or ftp), depending on security issues present on your system:&lt;BR /&gt;&lt;BR /&gt;# Q:  Do not allow logins unless the home directory exists&lt;BR /&gt;# Q:  Should non-root users be disallowed from logging in if /etc/nologin exists?&lt;BR /&gt;# Q:  Would you like to disallow ftpd system account logins?&lt;BR /&gt;&lt;BR /&gt;Note that to remove Bastille's configuration automatically, use bastille -r.  You can then reapply a configuration or create a custom one.  To avoid confusion, we made sure Bastille only tightened a system when "-r" isn't used.&lt;BR /&gt;&lt;BR /&gt;Hope that helped,&lt;BR /&gt;-Robert&lt;/TARGET&gt;</description>
      <pubDate>Mon, 21 Mar 2005 12:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nic-and-bastille-problem/m-p/3507691#M745146</guid>
      <dc:creator>Robert Fritz</dc:creator>
      <dc:date>2005-03-21T12:43:44Z</dc:date>
    </item>
  </channel>
</rss>

