>I reported 1 bug related to ASSP

There is NO such bug in IO::Socket::INET6

maillog.txt from an IPv6 enabled system - freeBSD 10.2, Perl 5.20.2 , assp 
2.4.6 build 15176
The listeners are defined with port only!

Jun-26-15 08:02:38 [init] Listening for SMTP connections on 0.0.0.0:25 , 
[::]:25
Jun-26-15 08:02:38 [init] Listening for admin HTTP connections on 
0.0.0.0:55555 , [::]:55555
Jun-26-15 08:02:38 [init] Listening for stat HTTP connections on 
0.0.0.0:55553 , [::]:55553

use the right parameters and Perl syntax for IO::Socket::INET6 - and it 
will do what it should do
btw: even in JAVA and C it is required to quote strings !

perl and netstat from freeBSD 10.2 - the 'Domain' parameter is not 
required - but it is used by assp

use strict qw(vars subs);
use IO::Socket;
use IO::Socket::INET6();

my $socket_ipv4 = IO::Socket::INET6->new(Listen    => 10,
                                                        Domain => AF_INET,
                                                        LocalAddr => 
'0.0.0.0',
                                                        LocalPort => 
6666);

my $socket_ipv6 = IO::Socket::INET6->new(Listen    => 10,
                                                        Domain => 
AF_INET6,
                                                        LocalAddr => 
'[::]',
                                                        LocalPort => 
6666);


print "SOCKET = $socket_ipv4\n";
print "SOCKET = $socket_ipv6\n";
<STDIN>;


script output:
$ perl ipv6_test.pl
SOCKET = IO::Socket::INET6=GLOB(0x801c9e750)
SOCKET = IO::Socket::INET6=GLOB(0x801c9e660)

netstat output:
$ netstat -a -n | grep 6666
tcp6       0      0 *.6666                 *.*                    LISTEN
tcp4       0      0 *.6666                 *.*                    LISTEN

Thomas



Von:    "William L. Thomson Jr." <[email protected]>
An:     For Users of ASSP <[email protected]>
Datum:  26.06.2015 01:01
Betreff:        Re: [Assp-user] Unable to log into web admin interface



On Wednesday, June 24, 2015 08:15:29 AM Thomas Eckardt wrote:
> 
> 1. ASSP V2 can run on Perl 5.10  and is supported on Perl 5.12. - the
> whitepaper talks about Perl 5.14

Maybe ASSP should only support newer versions of Perl.

> 2. IO::Socket::IP is a "do not think about IP" module - it misses 
several
> control mechanism required by assp
> 3. IO::Socket::INET , IO::Socket::INET6 and IO::Socket::IP are simple
> PP-wrappers for IO, IO::Handle, Socket, Socket6 - it does'nt matter for
> the native socket operations which one is used - but it makes a big
> difference, if you want to have full control to all socket operations

IO::Socket::INET6 is not really being maintained as of about 2 years ago 
now
http://cpansearch.perl.org/src/SHLOMIF/IO-Socket-INET6-2.72/ChangeLog

I reported 1 bug related to ASSP
https://rt.cpan.org/Public/Bug/Display.html?id=102409

Others are open
https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Socket-INET6

> >I am not that familiar with perl.
> 
> ????

I don't code in perl, nor do I prefer it. Thus not being familiar with it 
from that 
perspective. I code in Java and C. But I have been around it, touched it, 
played with it, 
have books on it, etc. Just not a fan of perl, personal preference.

> >Clearly others and myself are having strange issues that likely stem 
from
> 
> Perl
> 
> Tell me more about the strange issues.

I have experienced all kinds. Trying to limit SSL to say TLS1.2, I had 
ASSP end up in 
strange states where it was running, connections were taking place, but it 
would not 
process any email. Reverting to allowing other SSL connections that 
problem goes 
away.

Someone recently reported ASSP crashing, though that can be due to a 
variety of 
things. I have also seen ASSP crash within the last year due to Perl 
updates and 
changes. What forced me to upgrade to v2 was changes in Perl and modules. 
Another reported ASSP going zombie, which again was likely more due to 
update in 
Perl than ASSP as that was v1 like my previous issues with v1.

There might have been more but those are just off hand. Again this is not 
really ASSP 
code base, as its Perl. But maybe ASSP does need to start requiring newer 
versions 
of Perl given there seem to be some major changes between the revisions.

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to