Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

My firewall was complaining that IPC::Run wanted to act like a server, I tracked it down to C:\Perl\site\lib\IPC\Run\Win32IO.pm
unless ( bind $listener, sockaddr_in( $port, INADDR_ANY ) ) {
the fix was to change it to
unless ( bind $listener, sockaddr_in( $port, $loopback) ) {

Replies are listed 'Best First'.
Re: Firewall complaining about IPC::Run
by ikegami (Patriarch) on Jun 07, 2009 at 01:25 UTC
    If you wish to submit a bug report, this isn't the place. Visit the module's page on CPAN and follow the link named "Report a bug".
Re: Firewall complaining about IPC::Run
by shmem (Chancellor) on Jun 07, 2009 at 21:51 UTC

    Looks like your firewall works as expected.

      Indeed. But why does IPC::Run::Win32IO try to open a socket accepting connections from everywhere? For IPC on one machine, a loopback connection should be sufficient. Everything else could open security holes.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

        Because INADDR_ANY means just that: everywhere.

Re: Firewall complaining about IPC::Run
by Bloodnok (Vicar) on Jun 07, 2009 at 00:16 UTC
    ...and the question you wish to put to the monks is ???

    All I see is a potential problem and a resolution to said potential problem ...

    A user level that continues to overstate my experience :-))
Re: Firewall complaining about IPC::Run
by Anonymous Monk on Jun 13, 2009 at 14:57 UTC
    I found another in Test::WWW::Mechanize

    Test-WWW-Mechanize-1.24\t\TestServer.pm

    sub new { my $class = shift; die 'An instance of TestServer has already been started.' if $pid; # XXX This should really be a random port. $class = $class->SUPER::new(13432, @_); $class->host('127.0.0.1'); return $class; }
Re: Firewall complaining about IPC::Run
by Anonymous Monk on Dec 03, 2010 at 11:41 UTC
    Mojolicious-0.999950/t/mojo/client.t also tries to listen on 0.0.0.0
      Net-Server-0.99/t/Server_http.t also tries to listen on 0.0.0.0