All of lore.kernel.org
 help / color / mirror / Atom feed
* Multi source/destination ip address
@ 2005-02-21 14:33 Marcin Giedz
  2005-02-21 14:53 ` solaris dave frost
  2005-02-21 15:59 ` Multi source/destination ip address Jose Maria Lopez Hernandez
  0 siblings, 2 replies; 12+ messages in thread
From: Marcin Giedz @ 2005-02-21 14:33 UTC (permalink / raw)
  To: netfilter

Hello...

Today I have stopped on next problem. I've just want to block almost all 
connection on 80 port in my router with destination list's addresses. 
"Almost" because some connection are forwarded to another router in my LAN. 
So this is the rule:

iptables -A FORWARD -p tcp -port 80 -d ! 192.168.131.0/24 && 192.168.110.0/24 
-j  DROP

But it doesn't work.... in iptables spec. -d is only connect with single 
address not list. I found also iprange extension but it doesn't suit me. Is 
it possible to have list destination/source addresses in iptables rule?

Thanks,
Marcin


^ permalink raw reply	[flat|nested] 12+ messages in thread
* solaris
@ 2009-09-18 13:32 Larson, Timothy E.
  0 siblings, 0 replies; 12+ messages in thread
From: Larson, Timothy E. @ 2009-09-18 13:32 UTC (permalink / raw)
  To: dash@vger.kernel.org

I've been having problems building dash on Solaris for some time.  Is there anyone working on cross-platform issues?


Thanks,
Tim

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Solaris
@ 2008-10-21 20:19 Larson, Timothy E.
  2009-04-24 13:56 ` Solaris Larson, Timothy E.
  2009-04-24 14:03 ` Solaris Larson, Timothy E.
  0 siblings, 2 replies; 12+ messages in thread
From: Larson, Timothy E. @ 2008-10-21 20:19 UTC (permalink / raw)
  To: dash

[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]

Hello list,

I cannot get dash 0.5.4 to build on Solaris.  I've made a couple small
patches that may be a step in the right direction.


$ diff -u src/mkbuiltins.orig src/mkbuiltins
--- mkbuiltins.orig     Fri Jul 13 03:26:43 2007
+++ mkbuiltins  Tue Oct 21 14:27:30 2008
@@ -35,6 +35,7 @@
 #
 #      @(#)mkbuiltins  8.2 (Berkeley) 5/4/95

+opsys=$(uname -s)
 tempfile=tempfile
 if ! type tempfile > /dev/null 2>&1; then
        tempfile=mktemp
@@ -83,9 +84,17 @@
  */

 !
+
+if [ ${opsys} = "SunOS" ]; then
+sed 's/        -[a-z]*//' $temp2 | nl -v0 | sort -u -k 3,3 |
+tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
+       awk '{  printf "#define %s (builtincmd + %d)\n", $3, $1}'
+else # not SunOS
 sed 's/        -[a-z]*//' $temp2 | nl -v 0 | sort -u -k 3,3 |
 tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
        awk '{  printf "#define %s (builtincmd + %d)\n", $3, $1}'
+fi
+
 printf '\n#define NUMBUILTINS %d\n' $(wc -l < $temp2)
 echo '
 #define BUILTIN_SPECIAL 0x1


$ diff -u configure.ac.orig configure.ac
--- configure.ac.orig   Fri Jul 13 03:26:42 2007
+++ configure.ac        Tue Oct 21 14:37:12 2008
@@ -21,6 +21,7 @@
 dnl Checks for libraries.

 dnl Checks for header files.
+AC_CHECK_HEADERS(paths.h)

 dnl Checks for library functions.
 AC_CHECK_FUNCS(bsearch getpwnam getrlimit isalpha killpg mempcpy sigsetmask
\


After regenerating configure and such, I was then able to conditionally
include paths.h or define the constants in-place as needed in the 4 files
that use it, and dash would build.  (There's probably a better way to handle
this, but I was going for a quick check first.)  It would dump core as soon
I tried executing any command in it, though, so I think I've missed
something.


Thanks,
Tim

-- 
Tim Larson        AMT2 Unix Systems Administrator
    InterCall, a division of West Corporation

               Eschew obfuscation!

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 9455 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Solaris
@ 2005-01-18  7:16 Bernhard Duebi
  0 siblings, 0 replies; 12+ messages in thread
From: Bernhard Duebi @ 2005-01-18  7:16 UTC (permalink / raw)
  To: Xen Virtual Machine Monitor

Hello,

I think Solaris is a great OS, but the x86 version lacks HW support.
I think XEN could be the solution. XEN does the HW stuff (via Linux) and
Solaris does the rest. Ok, Solaris will loose some scalability if it
can't talk to the HW directly, but who wants to build a RDBMS server
with dozens of cpus on XEN ?

Are there any SUN Solaris people on the list ?
Or, when Solaris will be published as OpenSource, are there people who
wants to port Solaris to XEN ?

Cheers
Bernhard




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-09-18 13:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 14:33 Multi source/destination ip address Marcin Giedz
2005-02-21 14:53 ` solaris dave frost
2005-02-21 14:59   ` solaris Filip Sneppe
2005-02-21 16:04     ` solaris mdpeters
2005-02-21 17:37     ` solaris R. DuFresne
2005-02-21 15:59 ` Multi source/destination ip address Jose Maria Lopez Hernandez
2005-02-21 18:05   ` Sebastian Docktor
  -- strict thread matches above, loose matches on Subject: below --
2009-09-18 13:32 solaris Larson, Timothy E.
2008-10-21 20:19 Solaris Larson, Timothy E.
2009-04-24 13:56 ` Solaris Larson, Timothy E.
2009-04-24 14:03 ` Solaris Larson, Timothy E.
2005-01-18  7:16 Solaris Bernhard Duebi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.