Re: FreeBSD Port: isc-dhcp41-server-4.1.2,1; Concurrent IPv4 DHCP and DHCPv6

2011-01-10 Thread mog


On 06/01/2011 18:08, Wesley Shields wrote:

On Wed, Jan 05, 2011 at 01:14:26AM -0800, Douglas Thrift wrote:

Hello,

Since ISC dhcpd 4.1 now supports DHCPv6, but a single instance of the
daemon can't do both IPv4 DHCP and DHCPv6, it would be nice if the rc.d
script from the port could be configured to start the daemon twice. Has
anyone thought about this at all or implemented anything?

I'm certainly open to the idea if you can get it to work cleanly. I'm
not entirely sure it's going to be an easy solution though. It might be
a better question for the rc list (to which I am not subscribed so you
may want to keep me on the CC).

-- WXS



Perhaps my brain isn't quite working correctly from being ill lately, 
but does anyone know why dhcpd is unable to operate on both IPv4 and 
IPv6 at the same time?


To me it would seem like a perfectly natural progression of the 
software, given that many networks are going to want to run dual stack 
IPv4 and IPv6 to help with transitioning.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: MailScanner and Perl problems (FIXED)

2009-12-18 Thread mog

Whooo! That's awesome!

Big thanks to Julian, Mike and everyone else who helped with *finally* 
getting this sorted out.


Kind regards,
mog.


Mike Jakubik wrote:

Just wanted to mention to all the frustrated mailscanner users that have
been having issues when updating perl, the problem has finally been fixed.
I have submitted a pr to update the port, you will see this fix in version
4.79.4.

The problem was caused by the way mailscanner code behaved when it was ran
under perl's taint mode. Taint mode is triggered when changing the Run As
options in mailscanner's config.

If anyone is interested in updating their port now a diff can be found
here http://www.freebsd.org/cgi/query-pr.cgi?pr=141726 .

Many thanks to Julian for fixing this.





___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
  

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


MailScanner problem with perl-5.10.1

2009-11-09 Thread Mog

Hi all,

I need some help with this one please, MailScanner and Perl are really 
starting to tick me off :(


I upgraded MailScanner a little while along with a number of other 
ports, which unfortunately included a micro update to Perl. On FreeBSD 
it went from perl-5.10.0 to perl-5.10.1, and judging by the error 
messages in the maillog, it seems that the old taint mode problem has 
resurfaced. Basically these errors are shown in the maillog and 
MailScanner cannot run properly:


Could not use Custom Function code 
/usr/local/lib/MailScanner/MailScanner/CustomFunctions/SpamWhitelist.pm, 
it could not be required. Make sure the last line is 1; and the 
module is correct with perl -wc (Error: Insecure dependency in require 
while running with -T switch at 
/usr/local/lib/MailScanner/MailScanner/Config.pm line 754.


I'm seeing this same error message being shown for these files as well: 
MyExample.pm, DavidHooton.pm, LastSpam.pm, GenericSpamScanner.pm, 
CustomAction.pm, Ruleset-from-Function.pm and ZMRouterDirHash.pm.



From what I understand, FreeBSD runs perl programs with the -T option 
(taint mode), which is basically some additional security check. If I'm 
reading this right, the additional security check (for some reason) 
seems to have a problem with 'eval { require $fullfile; };', the code 
used to require the CustomFunction modules MailScanner uses:


  $fullfile = $dir/$filename;
  next unless -f $fullfile and -s $fullfile;
  eval { require $fullfile; };
  if ($@) {
MailScanner::Log::WarnLog(Could not use Custom Function code %s,  .
  it could not be \require\d. Make sure  .
  the last line is \1;\ and the module  .
  is correct with perl -wc (Error: %s),
  $fullfile, $@);
  }


I don't believe other OSs are having this problem, so it seems to be 
something FreeBSD specific. This has happened before following a Perl 
upgrade (I believe it was when we went from 5.8.8 to 5.8.9), but the 
solution to it at the time was to upgrade to 5.10.0, which made the 
problem go away.


Unfortunately, as we can see, upgrading from 5.10.0 to 5.10.1 has made 
the issue manifest itself again and I can't figure out what the hell is 
going wrong.


Does this make sense to anyone? Naturally I've reported this problem to 
the MailScanner people as well; but I think due to time constraints and 
because this isn't affecting other OSs, they don't seem to be able to 
offer much help at the moment.


Some people have said they have been able to get it to upgrade 
successfully using 5.10.1, but still a large number of people haven't 
(despite following the exact same upgrade procedure they did). Even when 
doing a fresh FreeBSD 7.2 install completely from scratch, it seems this 
problem still occurs - it just doesn't make sense.


Thank you in advance for your time and consideration.

Regards,
mog

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org