similar to: Migrate rules from iptables to shorewall - SNAT

Displaying 20 results from an estimated 3000 matches similar to: "Migrate rules from iptables to shorewall - SNAT"

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
2005 Feb 02
1
Masq errors?
Hi all, I have a problem with a new Shorewall box I''m trying to migrate from iptables rules to shorewall 2.2.0. I have a 3 interfaces setup: - eth0 ---> internet (ip address) - eth1 ---> remote office (10.0.0.0/8) - eth2 ---> lan (192.168.16.0/24) I''m using a very simple and common setup, with just a few DNAT rules in my /etc/shorewall/rules file, and about twenty
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
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 )
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(
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
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
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
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
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
2010 Nov 05
3
table with values as dots in increasing sizes
I was just thinking of a way to present data and if it is possible in R. I have a data frame that looks as follows (this is just mockup data). df location,"species1","species2","species3","species4","species5" "loc1",0.44,0.28,0.37,-0.24,0.41 "loc2",0.54,0.62,0.34,0.52,0.71 "loc3",-0.33,0.75,-0.34,0.48,0.61 location
2016 Nov 16
2
Multiple location DC's with same hostnames
Hi, Not sure exactly how I would word the subject line so appologies in advanced. We are trying to accomplish the following scenario: Location 1: PDC: fs01.loc1.example.com IP: 10.0.0.1 Location 2: SDC: fs01.loc2.example.com IP: 10.0.1.1 Clearly when we join the SDC to the PDC there is a naming conflict. The end result would be to have clients at each site resolve the fs01 name to
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
2005 May 04
6
Segmenting wireless traffic
I''m considering adding a seperate subnet to my loc network making loc1 (192.168.1.0/24) and loc2 (192.168.0.1/24) with the goal of seperating my wireless traffic from my wired LAN traffic. Has anyone had success doing this, or is it still possible to sniff the traffic of a seperate zone on the same interface with tools like ettercap?
2003 Apr 01
1
Load and unload libraries
Hi all, I'm having some problems in loading libraries. I wonder if anyone can help me with this. I have created two libraries with the same name at different locations. I want to use both of them, one at a time. So I do: library(mylib,lib.loc1) (....) detach('package:mylib') library(mylib,lib.loc2) The problem is that, after this, the used library is still the one first loaded.
2010 Feb 12
1
Need help on boxplot panel chart
Hi there: I am new to R and creating a boxplot panel chart to show a test result. I have four output variables (OV1, OV2, OV3, OV4) reflecting effects of the variation of three status parameters (SP1, SP2, SP3) on them at three different locations (Loc1, Loc2, Loc3). My plan is that displaying ONE OV change with ONE SP over three Loc in each boxplot (i.e., Loc is X axis and OV value is Y axis).