Displaying 20 results from an estimated 1000 matches similar to: "Allowing traffic within same zone on multi-subnet interface"
2006 Dec 19
7
routing problem
hi,
Please see the following text diagram:
10.0.15.0/24 --> 10.0.15.1 (f0/1) cisco router (f0/0) 192.168.0.5 <-- 192.168.0.0/24 --> 192.168.0.1 firewall --> internet
I have some problem after added a static route
in shorewall in /etc/sysconfig/network-scripts/route-eth0, the syntax is:
10.0.15.0/24 via 192.168.0.5
in 192.168.0.0/24 computers cannot ping or
2013 Feb 28
1
help for an R automated procedures
Dear, I would like to post the following question to the r-help on Nabble (thanks in advance for the attention, Gustavo Vieira):
Hi there.
I have a data set on hands with 5,220 cases and I'd like to automate some
procedures (but I have almost no programming knowledge). The data has some
continuous variables that are grouped by 2 others: the name of species and
the locality where they were
2009 Sep 22
1
matching pairs regardless of order,multiple matches
Dear Jim and Henrique,
thank you both for your help. I have done this but run into another problem:
?
In the example?below "loc1,loc2" occurs in the (now correct, thanks to your advice) "list" twice. ?
?
trips=("loc1,loc2","loc2,loc3")
?
DF$listoftrips=("loc1,loc2", "loc1,loc3", "loc2,loc3","loc1,loc2").
?
I?am
2007 Aug 30
2
How to multiply all dataframe rows by another dataframe's columns
Hello,
I have two data frames, X and Y, with two columns each and different numbers
of rows.
# creation of data frame X
Loc1.alleles <- c(1,5,6,7,8)
Loc1.Freq <- c(0.35, 0.15, 0.05, 0.10, 0.35)
Loc1 <- cbind( Loc1.alleles,Loc1.Freq)
X <- data.frame(Loc1)
#creation of data frame Y
Loc2.alleles <- c(1,4,6,8)
Loc2.Freq <- c(0.35, 0.35,
2009 Sep 18
3
matching pairs regardless of order
Dear list,
?
I am using match() to match pairs of locations, e.g. trip="loc1,loc2" from a list of such pairs, e.g. list=("loc1,loc2", "loc1,loc3", "loc2,loc3","loc2,loc1").
?
In this example match() will match "trip" with the first element of "list", but not the 4th, because the order is reversed.
?
How can I get a match with
2008 Mar 13
4
a more elegant way to get percentages?
Hi,
I am trying to get percentages in a more elegant way. I have a data.frame with locations and values (counts) of species at that location. Each location is repeated for each species i have values for and i would like to get percentages of each species at that location. I am not sure if i am clear in my explanations so i will paste my code below:
#####################
> x
locat val
1
2012 Apr 06
5
[LLVMdev] Incorrect result in LLVM Alias Analysis
I want to check if the values a and b in the program alias.
int main() {
int *a,*b;
a=(int *)malloc(sizeof(int));
b=(int *)malloc(sizeof(int));
*a=10;
*b=8;
return 0;
}
I use the below code for this (getAnalysisUsage method has been defined)
AliasAnalysis::Location loc1=AliasAnalysis::Location(k1); //a
AliasAnalysis::Location loc2=AliasAnalysis::Location(k2); //b
AliasAnalysis::AliasResult
2012 Apr 06
0
[LLVMdev] Incorrect result in LLVM Alias Analysis
Hi Adarsh,
> I want to check if the values a and b in the program alias.
>
> int main() {
> int *a,*b;
> a=(int *)malloc(sizeof(int));
> b=(int *)malloc(sizeof(int));
> *a=10;
> *b=8;
> return 0;
> }
>
> I use the below code for this (getAnalysisUsage method has been defined)
>
> AliasAnalysis::Location loc1=AliasAnalysis::Location(k1); //a
>
2009 Jun 29
4
[LLVMdev] Limitations of Alias Analysis?
Hi, all
According to the document "LLVM Alias Analysis Infrastructure", I
evaluated the AA performance by using the paramenters '-basicaa -ds-aa
-anders-aa'. The source code 'test.c' is listed as follow:
//------------=== Source code ===------------//
#include<stdlib.h>
typedef struct
{
int x;
int y;
} Location;
Location* getNewLocation(int x, int y)
{
2007 Sep 21
1
Help create a loopto conduct multiple pairwise operations
#Hello,
#I have three data frames, X,Y and Z with two columns each and different
numbers of rows.
# creation of data frame X
X.alleles <- c(1,5,6,7,8)
X.Freq <- c(0.35, 0.15, 0.05 , 0.10, 0.35)
Loc1 <- cbind( X.alleles,X.Freq)
X <- data.frame(Loc1)
#creation of data frame Y
Y.alleles <- c(1,4,6,8)
Y.Freq <- c(0.35, 0.35, 0.10, 0.20 )
2004 Nov 29
5
cascading LANs
I have a DMZ (eth2: 10.0.100.0) and a LOC1 (eth0: 10.0.0.0) defined on my firewall.
On one of the port on the switch serving LOC1 I have now a router and a switch
feeding a bunch of computers with net=10.0.200.0.
While I have defined a route to reach LOC2, I would like to define also a specific
zone in order to assign different rules to it.
Is it possible ? if yes, what is the syntax of the
2005 Jan 24
2
Migrate rules from iptables to shorewall - SNAT
Hi all,
I''m using Shorewall since one year (1.4, then 2.0)
I''m trying to migrate a linux firewall from iptables rules to shorewall.
The firewall has three zones
- net internet
- loc1 lan
- loc2 second lan
I have a lot of rules like this, to SNAT the ip addresses of some
computers on loc1 (192.168.16.0/24) when they connect to loc2 (10.0.0.0/8)
iptables -v -t nat -I
2017 Nov 29
4
CodeExtractor buggy?
Hi All,
I’m currently working on a simple task which needs to transform loops into tail-recursive functions. I found the CodeExtractor class a handy helper to use, but later encountered a problem.
Consider the following CU
struct S { int a, b; };
int foo(struct S *s, unsigned n) {
struct S *next = s;
unsigned i;
for (i = 0; i < n; ++i) {
if (!s[i].a)
2009 May 05
2
Way to handle variable length and numbers of columns using read.table(...)
I've got read.table to successfully read in my table of three columns. Most of the time I will have a set number of rows, but sometime that will be variable and sometimes there will be only be two variables in one row, e.g.
Time Loc1 Loc2
1 22.33 44.55
2 66.77 88.99
3 222.33344.55
4 66.77 88.99
Is there any way to have read.table handle (1) a variable number of rows, and (2) sometime there
2006 Mar 16
3
lattice tick marks
Hi,
why doesn't this work properly when 'positions' is a vector of strings? All
the data sets get totally mixed...
positions <- rep ( c("1","2","3","4","5","6","9","10","11","12","13","14",
"error", "no trial"), 45 )
compound <- matrix(
2011 Jan 20
1
Problems with ecodist
Dear Dr.Goslee and anyone may intrested in matrix manipulate,
I am using your ecodist to do mantel and partial mantel test, I have
locality data and shape variation data, and the two distance matrixs are
given as belowings. When I run the analysis, it is always report that the
matrix is not square, but I didn't know what's wrong with my data. Would you
please help me on this. I am quite
2006 Aug 01
34
Clients can't through to internet
I just setup the Shorewall in my school, but now all clients can''t through to internet, all servers can through to internet with NAT, when I disabled NAT that all servers can''t through to internet.
Below is my school network:
internet ---> shorewall ----> loc ---> ciso router ---> loc1
Below is my config files:
policy:
# If you want to force clients to
2003 Mar 28
2
DHCP+Firewall configuration
Hi. I have a Linux box with two network interfaces. The local interface has an alias so it can listen to two (completely) different subnets. I need to configure a Firewall and a DHCP server in the same machine. I have:
eth0 > net
eth1 > loc1
eth1:1 > loc2
If my DHCP server will use eth1 IP address (main IP address for that interface), How do I specify the ''dhcp'' option
2015 Jun 23
4
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
Here is a proposal for improving DbgValueHistoryCalculator and the
overall quality of debug locations.
Focus: This is about lowering the DBG_VALUE machine instructions to
DWARF location lists.
Non-focus: This is not about (typical -O0) variables that permanently
reside at a frame index and are described with dbg.declare intrinsics
in the IR. These variables are stored in the MMI side-table and
2007 Sep 27
2
create data frame(s) from a list with different numbers of rows
# Hello,
# I have a list with 6 categories and with different numbers of rows.
# I would like to change each of them into a unique data frame in order to
match
# values with other data frames and perform some calculations.
# Or I could make each category or list element have the same number of rows
and create one large data.frame.
# below is a creation of a sample list
# I apologize for the