Re: Complex (sort-of) IPtables DNAT

2011-11-19 Thread shimi
On Sat, Nov 19, 2011 at 3:22 AM, Guy Tetruashvyly wrote: > > After we've dealt with not touching traffic we shouldn't by the NAT > engine, now we're talking about something else: > recognizing GRE traffic - and understanding where it SHOULD go, > based on the characteristics of the GRE packets th

Re: Complex (sort-of) IPtables DNAT

2011-11-18 Thread Guy Tetruashvyly
nd what happened then was - the ACK packets coming from an outside PPTP servers as response     to SYN's - would be redirected to the LAN PPTP server as per the router acting " OK, your a GRE packet, I got a line for you in

Re: Complex (sort-of) IPtables DNAT

2011-11-18 Thread shimi
to SYN's - would be redirected to the LAN PPTP server as per the > router acting " OK, your a GRE packet, I got a line for you in IPtables, > you go there ", - > ,rather then to the host that initiated the connection. ( Sorry for > the cheap humanization of the route

Re: Complex (sort-of) IPtables DNAT

2011-11-18 Thread Guy Tetruashvyly
is the LAN. Yes, it jumps right into mind "hey, well as far as     IPtables is concerned, they are the same interface" . Because it's been 4 months that I'm trying to solve this, I can't recall     every step that I took 1:1, but, I know that the same issu

Re: Complex (sort-of) IPtables DNAT

2011-11-18 Thread shimi
and has a LAN IP address (only) . > The Router is forwarding GRE and TCP port 1723 to that PPTP server, the > router is using Netfilter/IPtables. > > The same issue, which I'll describe pretty soon, Happens with a phone > system ( Asterisk) , that's on the LAN, which on

Complex (sort-of) IPtables DNAT

2011-11-18 Thread Guy Tetruashvyly
only) . The Router is forwarding GRE and TCP port 1723 to that PPTP server, the router is using Netfilter/IPtables. The same issue, which I'll describe pretty soon, Happens with a phone system ( Asterisk) , that's on the LAN, which only has a LAN address, as well

Re: iptables rule to allow NAT but not local access

2008-08-10 Thread Gilboa Davara
nning the connection (it's the usual > pptp tunnel). > > If I need to I can add an ethernet interface just for the that router. > > I'm using a 2.4 kernel so I need an iptables rule. > > Any ideas? > > Thanks, Geoff. Hello Geoff, I'm no iptables guru, but

Re: iptables rule to allow NAT but not local access

2008-08-07 Thread Shachar Shemesh
need to I can add an ethernet interface just for the that router. I'm using a 2.4 kernel so I need an iptables rule. Any ideas? Thanks, Geoff. I don't get what the problem is. The "INPUT" table is for access to the machine itself, the "FORWARD" chain is f

Re: iptables rule to allow NAT but not local access

2008-08-06 Thread Moish
r current setup. For that matter, define an ip on your curent network as the "External" connection, RED in IPCOP terms, a different set of ip's for the "new" lan, GREEN in IPCOP terms and last a wireless network, BLUE in IPCOP terms. Otherwise, iptables-save, iptables -D, ipta

Re: iptables rule to allow NAT but not local access

2008-08-06 Thread Geoffrey S. Mendelson
On Wed, Aug 06, 2008 at 11:35:04PM +0300, Moish wrote: > If you any old box ( or vmware server ), download and install IPCOP and > in 5 minutes you'll have it. Thanks, but how will that affect my already existing carefully crafted rules? Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAI

Re: iptables rule to allow NAT but not local access

2008-08-06 Thread Moish
If you any old box ( or vmware server ), download and install IPCOP and in 5 minutes you'll have it. Moish = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command ech

iptables rule to allow NAT but not local access

2008-08-06 Thread Geoffrey S. Mendelson
interface just for the that router. I'm using a 2.4 kernel so I need an iptables rule. Any ideas? Thanks, Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM = To unsubscribe, send mail to [EMAIL

Re: iptables question

2008-05-23 Thread shimi
On Fri, May 23, 2008 at 11:30 AM, shimi <[EMAIL PROTECTED]> wrote: > > Is the nmap traffic coming from either one of these interfaces? Because if > so, these rules allows them to pass, regardless of any other rules you have > (as you don't have any REJECT before these rules, nor your chain policy

Re: iptables question

2008-05-23 Thread shimi
On Fri, May 23, 2008 at 1:49 AM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote: > Hi, > > I'm playing here with iptables, and I have a small problem: > > Here's my iptables config: > > -A test-fw-INPUT -i eth0 -j ACCEPT > -A test-fw-INPUT -i eth0-range0 -j AC

Re: iptables question

2008-05-23 Thread Shachar Shemesh
Hetz Ben Hamo wrote: Hi, I'm playing here with iptables, and I have a small problem: Here's my iptables config: FORWARD ACCEPT [0:0] :INPUT ACCEPT [0:0] :test-fw-INPUT - [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -j test-fw-INPUT -A FORWARD -j test-fw-INPUT -A test-fw-INPUT -i lo -j

iptables question

2008-05-22 Thread Hetz Ben Hamo
Hi, I'm playing here with iptables, and I have a small problem: Here's my iptables config: FORWARD ACCEPT [0:0] :INPUT ACCEPT [0:0] :test-fw-INPUT - [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -j test-fw-INPUT -A FORWARD -j test-fw-INPUT -A test-fw-INPUT -i lo -j ACCEPT -A test-fw-INPUT

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Maxim Veksler
On 7/3/07, Gil Freund <[EMAIL PROTECTED]> wrote: On 7/3/07, Vassilii Khachaturov <[EMAIL PROTECTED]> wrote: > > Let me try explaining what is it that I find missing in Debian's > > iptables setup: > > > > If you have console access, it's a differen

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Amos Shapira
On 03/07/07, Micha Silver <[EMAIL PROTECTED]> wrote: Oded Arbel wrote: > On Tue, 2007-07-03 at 21:16 +1000, Amos Shapira wrote: > > > I think this is really bad. The only good thing in the above document > is that one of the tools suggested in the first section is shorewall which is > a brillia

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Gil Freund
On 7/3/07, Vassilii Khachaturov <[EMAIL PROTECTED]> wrote: > Let me try explaining what is it that I find missing in Debian's > iptables setup: > If you have console access, it's a different thing. I agree that, perhaps, a mid or low priority debconf option to cha

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Vassilii Khachaturov
> Let me try explaining what is it that I find missing in Debian's > iptables setup: > > The most basic use case is for a sysadmin to configure rules and > expect them to survive reboot. This is the behavior he is familiar > with from nearly every enterprise FW device. He

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Nadav Har'El
On Tue, Jul 03, 2007, Amos Shapira wrote about "Re: Keeping iptables rules across reboots on Debian (lenny) ?": > Are you serious? You recommend people to edit a file with a syntax like: Oh, and I forgot to mention the most important reason why I always - and in this case as w

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Nadav Har'El
On Tue, Jul 03, 2007, Amos Shapira wrote about "Re: Keeping iptables rules across reboots on Debian (lenny) ?": > >The approach I like better is to edit > > > > /etc/sysconfig/iptables >.. > Are you serious? You recommend people to edit a file w

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Micha Silver
d - it's a breeze to set up and maintain iptables rules. THere's even a "try" option which allows you to restart iptables reading all configs from a separate subdirectory for testing. So it's quite easy and safe (no messing with working

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Oded Arbel
On Tue, 2007-07-03 at 21:16 +1000, Amos Shapira wrote: > As a long-time debian advocate, I'm hanging my head in shame about > this - the above behaviour is the single advantage I found with FC/RH > over latest Debian. As far as I can tell, Debian Sarge used to have > some provisions for saving/res

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Oded Arbel
On Tue, 2007-07-03 at 21:24 +1000, Amos Shapira wrote: > On 03/07/07, Nadav Har'El <[EMAIL PROTECTED]> wrote: > The approach I like better is to edit /etc/sysconfig/iptables > Are you serious? You recommend people to edit a file with a syntax > like: > >

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Amos Shapira
On 03/07/07, Nadav Har'El <[EMAIL PROTECTED]> wrote: On Tue, Jul 03, 2007, Oded Arbel wrote about "Re: Keeping iptables rules across reboots on Debian (lenny) ?": > *) The SysV script offers the option of "save" to call iptables-store > for you. The standar

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Amos Shapira
On 03/07/07, Oded Arbel <[EMAIL PROTECTED]> wrote: *) The SysV script offers the option of "save" to call iptables-store for you. The standard sysadmin use case would be to setup the needed rules, then run '/etc/init.d/iptables save' and then reboot the machine an

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Nadav Har'El
On Tue, Jul 03, 2007, Oded Arbel wrote about "Re: Keeping iptables rules across reboots on Debian (lenny) ?": > *) The SysV script offers the option of "save" to call iptables-store > for you. The standard sysadmin use case would be to setup the needed > rules, then r

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Oded Arbel
On Tue, 2007-07-03 at 12:23 +0300, Maxim Veksler wrote: > On 7/2/07, Baruch Even <[EMAIL PROTECTED]> wrote: > > * Maxim Veksler <[EMAIL PROTECTED]> [070702 03:32]: > > > On 7/2/07, Lior Kaplan <[EMAIL PROTECTED]> wrote: > > > >Maxim Veksler wrot

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Maxim Veksler
On 7/2/07, Baruch Even <[EMAIL PROTECTED]> wrote: * Maxim Veksler <[EMAIL PROTECTED]> [070702 03:32]: > On 7/2/07, Lior Kaplan <[EMAIL PROTECTED]> wrote: > >Maxim Veksler wrote: > > > >Use iptables-save to save your current rules as to the iptables rules

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-01 Thread Baruch Even
* Maxim Veksler <[EMAIL PROTECTED]> [070702 03:32]: > On 7/2/07, Lior Kaplan <[EMAIL PROTECTED]> wrote: > >Maxim Veksler wrote: > > > >Use iptables-save to save your current rules as to the iptables rules > >files. It will be loaded on the next reboot usin

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-01 Thread Maxim Veksler
On 7/2/07, Lior Kaplan <[EMAIL PROTECTED]> wrote: Maxim Veksler wrote: Use iptables-save to save your current rules as to the iptables rules files. It will be loaded on the next reboot using iptables-restore. Ha? I must be missing something, I would like the rules to load _automatical

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-01 Thread Lior Kaplan
ility to save iptables rules across system reboots. I've looked at bug listings for iptables, it seems that once there was such script. It was called /etc/init.d/iptables but for some reason it has been removed. Why? Use iptables-save to save your current rules as to the iptables rules files.

Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-01 Thread Maxim Veksler
Hi list, I've installed lenny on my parents home PC, it works great (as always). They have russion login environment, the grandsons are happy with hebrew (thanks user-he) and I myself am very satisfied with english. I find something lacking - the ability to save iptables rules across s

Re: network/iptables? problem - Solved

2004-12-09 Thread Yedidyah Bar-David
On Thu, Dec 09, 2004 at 01:12:52PM +0200, Alon Barzilai wrote: > Hi, > > I plugged the cable to another port in the switch and that solved the > problem. > very strange. I have at home a cheapo Edimax 8port switch that looses few of its ports every few weeks. Rebooting it solves this. A newer on

Re: network/iptables? problem - Solved

2004-12-09 Thread Omer Zak
ess, but I am not sure) > >> > >>I cannot also ping out from the machine to other on the same network, > >>but surprisingly I can ping outside. > >> > >> > >>I suspceted theiptables are involved in the process. > >>I never used/configured

Re: network/iptables? problem.

2004-12-09 Thread Tzafrir Cohen
t; but surprisingly I can ping outside. > > > I suspceted the iptables are involved in the process. > I never used/configured iptabels on that machine > when I issued "ifup eth0" I got messages saying "ip tabels (c) Netfilter > core team" > so I removed th

Re: network/iptables? problem - Solved

2004-12-09 Thread Alon Barzilai
, but I am not sure) I cannot also ping out from the machine to other on the same network, but surprisingly I can ping outside. I suspceted the iptables are involved in the process. I never used/configured iptabels on that machine when I issued "ifup eth0" I got messages saying &qu

Re: network/iptables? problem.

2004-12-09 Thread Alon Barzilai
Hi Josh, there is no such module. Alon. Hi Alon, If you suspect that iptables are involved check that you don't have any iptables modules running. run: lsmod|grep iptable = To unsubscribe, send mail to [EMAIL PROTECTED] with the

RE: network/iptables? problem.

2004-12-09 Thread GW
Iptables is a part of kernel (either as module or compiled in), you cannot deinstall the admin package and get rid of it that easily. Check for iptables modules by running `lsmod` and then remove by `rmmod`. If it is not running as module, then you will need to recompile the kernel

Re: network/iptables? problem.

2004-12-09 Thread Jonathan Ben Avraham
rprisingly I can ping outside. > > > I suspceted the iptables are involved in the process. > I never used/configured iptabels on that machine > when I issued "ifup eth0" I got messages saying "ip tabels (c) Netfilter > core team" > so I removed the iptable

Re: network/iptables? problem.

2004-12-09 Thread Josh Zlatin-Amishav
iptables are involved in the process. I never used/configured iptabels on that machine when I issued "ifup eth0" I got messages saying "ip tabels (c) Netfilter core team" so I removed the iptables packages, but that did not help. when I try to ping into the same network I get ( I

network/iptables? problem.

2004-12-09 Thread Alon Barzilai
Hi, I have an old RH9 box that suddenly stopped responding to pings( there might be a restart in the process, but I am not sure) I cannot also ping out from the machine to other on the same network, but surprisingly I can ping outside. I suspceted the iptables are involved in the process. I

[HAIFUX LECTURE][SiL] Using IPTables and building a firewall - background, motivation and concepts

2004-05-02 Thread Adir Abraham
Hi all, The topic of Monday's (3/5) lecture is: How to protect your home/office network? Using IPTables and building a firewall - background, motivation and concepts Lecture slides are available at http://www.haifux.org/lectures/98-sil/IPTablesPresentation.pdf and in a sxi (OpenOffice) f

[HAIFUX LECTURE] Adir Abraham on SiL- Firewall with IPTables

2004-05-01 Thread Orna Agmon
Next Monday (3/5/2004), 18:30, the Haifa Linux Club will once again meet to hear Adir Abraham talk about: How to protect your home/office network? Using IPTables and building a Firewall Background, Motivation and Concepts This lecture is a "Stayi

Re: iptables AI (application intelligence)

2004-04-28 Thread Tzafrir Cohen
On Tue, Apr 27, 2004 at 07:51:33PM +0300, Shachar Shemesh wrote: > Noam Meltzer wrote: > > >Hi, > >I was wondering if any1 knows if iptables has the ability to implement > >"application intelligence"? > > The short answer is "no". > &g

Re: iptables AI (application intelligence)

2004-04-27 Thread Noam Meltzer
Noam Meltzer wrote: Hi, I was wondering if any1 knows if iptables has the ability to implement "application intelligence"? My sepcific interest is to implement something like this: I have a host, connected to the internet, and it runs iptables, while ssh's tcp port is the only one

Re: iptables AI (application intelligence)

2004-04-27 Thread Aviram Jenik
On Tuesday 27 April 2004 18:55, Noam Meltzer wrote: > Hi, > My sepcific interest is to implement something like this: > I have a host, connected to the internet, and it runs iptables, while > ssh's tcp port is the only one opened. > Now, I want that instead of open

RE: iptables AI (application intelligence)

2004-04-27 Thread Tzahi Fadida
you cannot do this as suggested as the previous list members replied. However, there are other means like openning an http server on the ssh machine and adding a script that when the page opens requires a user and password. this script will open iptables for that ip for the remainder of that

Re: iptables AI (application intelligence)

2004-04-27 Thread Shachar Shemesh
Noam Meltzer wrote: Hi, I was wondering if any1 knows if iptables has the ability to implement "application intelligence"? The short answer is "no". A slightly longer answer is that, if you have a proxy software that can act as a transparent proxy, you can direct all

Re: iptables AI (application intelligence)

2004-04-27 Thread Lior Kaplan
al Message - From: "Noam Meltzer" <[EMAIL PROTECTED]> To: "Linux-IL mailing list" <[EMAIL PROTECTED]> Sent: Tuesday, April 27, 2004 5:55 PM Subject: iptables AI (application intelligence) > Hi, > I was wondering if any1 knows if iptables has the ability to imple

iptables AI (application intelligence)

2004-04-27 Thread Noam Meltzer
Hi, I was wondering if any1 knows if iptables has the ability to implement "application intelligence"? My sepcific interest is to implement something like this: I have a host, connected to the internet, and it runs iptables, while ssh's tcp port is the only one opened. Now, I wa

Re: Israeli Cables Connection and IPTables

2004-01-10 Thread Itamar Ravid
Alright folks. I've been gathering some information about the way the connection is handled, and here's how it is. Packets going through ppp0 are just regular packets. But the point is, they're not going directly through ppp - assuming you are sending a packet, it goes through ppp0, gets packed an

Re: Israeli Cables Connection and IPTables

2004-01-09 Thread Dan Fruehauf
lack of success connecting through VPN? i'll just say that i succeeded to connect to Netvision through pptp and even with l2tp. > ## start of rc.firewall > ## define IPTABLES for late use > IPTABLES="/sbin/iptables" > ## > ## define the network card used for exit > EXTIF=eth

Re: Israeli Cables Connection and IPTables

2004-01-09 Thread Itamar Ravid
Thanks guys, I`ll look into it. I`ll report back if I found a solution. -- Regards, Itamar Ravid. pgp0.pgp Description: PGP signature

Re: Israeli Cables Connection and IPTables

2004-01-09 Thread Dotan Mazor
Hello there, You can try and look into my rc.firewall file, that works on 012.net at AZTV. Bear in mind, that this is a constant connection, due to my (and the supporters) lack of success to connect through VPN: ## start of rc.firewall ## define IPTABLES for late use IPTABLES="/sbin/ipt

Re: Israeli Cables Connection and IPTables

2004-01-08 Thread Elad Almadoi - Xtream Internet Services
> Hi folks. I have a couple of questions regarding the use of IPTables > alongside with the Israeli way of cables connection (PPTP on top of > DHCP). Now, I`m using Firehol (http://firehol.sourceforge.net) to make > IPTables configuration easier, however, adjusting the resulting

Israeli Cables Connection and IPTables

2004-01-08 Thread Itamar Ravid
Hi folks. I have a couple of questions regarding the use of IPTables alongside with the Israeli way of cables connection (PPTP on top of DHCP). Now, I`m using Firehol (http://firehol.sourceforge.net) to make IPTables configuration easier, however, adjusting the resulting script isn't a pr

iptables-tutorial.frozentux.net -> 504 Gateway Timeout

2003-08-14 Thread Shaul Karl
Can you advise about the following? $ squidclient -h iptables-tutorial.frozentux.net -p 80 /iptables-tutorial.html HTTP/1.0 504 Gateway Timeout Date: Wed, 13 Aug 2003 05:38:09 GMT Content-Length: 278 Content-Type: text/html Server: NetCache appliance (NetApp/5.3.1R3D1) 504 Gateway Timeout

Re: Snort - iptables addon

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 18:04, Nadav Har'El wrote: NH>Paranoids (like me, for example) use several lines of defense. NH> NH>For example, here are 3 lines of defense: That's exactly what I used (and use) before my paranoia progressed and i started messing up with NIDS as a fourth line of defense

Re: Snort port scan detection (was: Snort - iptables addon)

2003-07-01 Thread Aviram Jenik
On Tuesday 01 July 2003 18:40, Mycroft wrote: > AJ> > AJ>If you want that functionality, google for "portsentry". > > Erm...it appears (to me at least) that portsentry has all the firewall > ruleset blocking "functionality" that you recommended against I *don't* recommend blocking hosts by detect

Re: Snort - iptables addon

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 16:35, Shachar Shemesh wrote: SS> SS>The bottom line is this - if you have no open source, why do you care SS>whether you are scanned? SS>This mail brought to you by the person responsible for Check Point not SS>sporting any easy-to-configure automatic retaliation system,

Re: Snort port scan detection (was: Snort - iptables addon)

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 18:11, Aviram Jenik wrote: AJ> AJ>If you want that functionality, google for "portsentry". Erm...it appears (to me at least) that portsentry has all the firewall ruleset blocking "functionality" that you recommended against with the addition of rather questionable detect

Re: Snort - iptables addon

2003-07-01 Thread Aviram Jenik
On Tuesday 01 July 2003 15:58, Mycroft wrote: > [snip] > This box is my networked workstation at home, and i > don't have open server ports. I'm merely dealing with a number of script > kiddies that think scanning and DOSing people they meet on IRC channels > makes them all-powerful. [snip] > howe

Re: Snort - iptables addon

2003-07-01 Thread Nadav Har'El
On Tue, Jul 01, 2003, Shachar Shemesh wrote about "Re: Snort - iptables addon": > The bottom line is this - if you have no open source, why do you care > whether you are scanned? Paranoids (like me, for example) use several lines of defense. For example, here are 3 lines of de

Snort port scan detection (was: Snort - iptables addon)

2003-07-01 Thread Aviram Jenik
Hi, On Tuesday 01 July 2003 17:46, josh wrote: > > Your IDS will not block a simple connect scan (AFAIR snort does not save > > packets and does not know that this is the 10,000th port in a row you are > > trying to reach) > > FYI the portscan2 preprocessor on snort 2.0 tracks connection states.

RE: Snort - iptables addon

2003-07-01 Thread Tzahi Fadida
L PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Snort - iptables addon > > > On Tue, 1 Jul 2003, Aviram Jenik wrote: > > > "Idle scan" will actually work quite nicely here (I'm sure one of the servers > > written above has its idle moments), but that's no

Re: Snort - iptables addon

2003-07-01 Thread josh
On Tue, 1 Jul 2003, Aviram Jenik wrote: > "Idle scan" will actually work quite nicely here (I'm sure one of the servers > written above has its idle moments), but that's not the way I would approach > it as an attacker. > Your IDS will not block a simple connect scan (AFAIR snort does not save > p

Re: Snort - iptables addon

2003-07-01 Thread Shachar Shemesh
Mycroft wrote: Well I'm not securing a corporate web server here, most probably if i were, I'd choose other means of security responce. Leaving it to professionals is always a good idea :)). This box is my networked workstation at home, and i don't have open server ports. I'm merely dealing wit

Re: Snort - iptables addon

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 15:11, Tzafrir Cohen wrote: TC>And suppose I don't really need the results of those scan? And this is TC>all done just to make you block some computers? TC> TC>What traffic can someone make you drop? TC> What harm could that do? I do realize that you are right about the pot

Re: Snort - iptables addon

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 15:18, Aviram Jenik wrote: AJ> AJ>(if my irony went undetected, I would really recommend against this AJ>hair-triggered blocking system) AJ> Hmm, I am a big fan of constructive feedback. Don't we all? AJ>"Idle scan" will actually work quite nicely here (I'm sure one of the

Re: Snort - iptables addon

2003-07-01 Thread Aviram Jenik
On Tuesday 01 July 2003 14:43, Mycroft wrote: > On Tuesday 01 July 2003 10:13, Tzafrir Cohen wrote: > > TC>What happens if I spoof a portscan from a different address? Do you > TC>block it? Now what was the IP of your DNS server? > TC> > That's what the "preprocessor portscan2-ignorehosts:" and "pr

Re: Snort - iptables addon

2003-07-01 Thread Tzafrir Cohen
On Tue, Jul 01, 2003 at 02:43:01PM +0300, Mycroft wrote: > On Tuesday 01 July 2003 10:13, Tzafrir Cohen wrote: > > TC>What happens if I spoof a portscan from a different address? Do you > TC>block it? Now what was the IP of your DNS server? > TC> > That's what the "preprocessor portscan2-ignorehos

Re: Snort - iptables addon

2003-07-01 Thread Mycroft
On Tuesday 01 July 2003 10:13, Tzafrir Cohen wrote: TC>What happens if I spoof a portscan from a different address? Do you TC>block it? Now what was the IP of your DNS server? TC> That's what the "preprocessor portscan2-ignorehosts:" and "preprocessor portscan-ignorehosts:" sections in the /etc/s

Re: Snort - iptables addon

2003-07-01 Thread Tzafrir Cohen
On Tue, Jul 01, 2003 at 02:14:12AM +0300, Mycroft wrote: > Hello, > Have anyone heard of/used an snort add-on that could manage iptables firewall > in responce to a specific network events...like portscans or DOS attacks? What happens if I spoof a portscan from a different address? Do

Re: Snort - iptables addon

2003-06-30 Thread Oleg Kobets
Yeah, look for PSAD, it is a an addon for snort that modifies iptables automaticly in run-time :-) Oleg. - Original Message - From: "Mycroft" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 1:14 AM Subject: Snort - iptables addon > H

Re: Snort - iptables addon

2003-06-30 Thread Katriel Traum
Of Mycroft > > Sent: Tuesday, July 01, 2003 1:14 AM > > To: [EMAIL PROTECTED] > > Subject: Snort - iptables addon > > > > > > Hello, > > Have anyone heard of/used an snort add-on that could manage iptables firewall > > in responce to a specific ne

RE: Snort - iptables addon

2003-06-30 Thread Tzahi Fadida
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mycroft > Sent: Tuesday, July 01, 2003 1:14 AM > To: [EMAIL PROTECTED] > Subject: Snort - iptables addon > > > Hello, > Have anyone heard of/used an snort add-on that could manage iptables f

Snort - iptables addon

2003-06-30 Thread Mycroft
Hello, Have anyone heard of/used an snort add-on that could manage iptables firewall in responce to a specific network events...like portscans or DOS attacks? I know once it's detected, snort is capable of blocking it, but i was looking for more low-level approach to this issue, stoppin

Re: tcpdump and iptables

2003-06-21 Thread Baruch Even
* Subba Rao <[EMAIL PROTECTED]> [030622 01:16]: > I am using iptables on my system. It is very basic setup that denies all > outside connections. When an outside connection is attempted, the packet is > dropped and logged into the syslog. When I run tcpdump on the same interfac

Re: tcpdump and iptables

2003-06-21 Thread Alon Altman
On Sat, 21 Jun 2003, Subba Rao wrote: > > I am using iptables on my system. It is very basic setup that denies all > outside connections. When an outside connection is attempted, the packet is > dropped and logged into the syslog. When I run tcpdump on the same interface, > I

tcpdump and iptables

2003-06-21 Thread Subba Rao
I am using iptables on my system. It is very basic setup that denies all outside connections. When an outside connection is attempted, the packet is dropped and logged into the syslog. When I run tcpdump on the same interface, I do see a lot of ARP requests and bootps/bootpc (UDP) requests

iptables and smart routing

2003-06-08 Thread Alon Altman
1. Short question - is there any way for iptables to mangle the DESTINATION ip address after routing a packet and the SOURCE ip address before routing it? 2. Big question - I have the following network setup at home: ___ (linux

Re: Collection of sample high-quality iptables configurations?

2003-02-15 Thread Tzafrir Cohen
t; > You may wish to check out Shorewall: > > http://www.shorewall.net/ > > It is a standard firewall for iptables that is included with latest > versions of Mandrake. I did not use it yet. I'm currently using it (on debian woody). iptables is, indeed, quite a low-lev

Re: Collection of sample high-quality iptables configurations?

2003-02-14 Thread Shlomi Fish
r someone with simple and > standardized needs and wants just to get the job done without being > bothered. > Time permitting, I'll study it and make a recommendation for Israeli ADSL > users. You may wish to check out Shorewall: http://www.shorewall.net/ It is a standard firewall

Re: Collection of sample high-quality iptables configurations?

2003-02-14 Thread Boaz Rymland
Hi, Might I join the recommendation of the IPtables scripts at http://www.linuxguruz.org/iptables/ . If you're looking for "strong" configurations, then by judging from what I've found, there are some pretty complicated configuration there (sorry, dont have the exact

Re: Collection of sample high-quality iptables configurations?

2003-02-14 Thread Omer Zak
tection, etc. > > More recently I configured a 2.4.x Linux firewall with iptables.However > > I am not happy with the iptables configuration used there. > > > > Does anyone know about a collection of recommended iptables scripts for > > the following environments:

Re: Collection of sample high-quality iptables configurations?

2003-02-14 Thread Doron Ofek
e recently I configured a 2.4.x Linux firewall with iptables. However > I am not happy with the iptables configuration used there. > > Does anyone know about a collection of recommended iptables scripts for > the following environments: > 1. Single Linux PC at home (no need to expo

RE: Collection of sample high-quality iptables configurations?

2003-02-14 Thread linux_il
Here is something which should fit your needs (except maybe that I use a fixed IP address). Hope this helps. BTW - once you setup the configuration you can save/restore it in the boot scripts with iptables-save and iptables-restore. --Amos > -Original Message- > From: Omer Zak

Collection of sample high-quality iptables configurations?

2003-02-14 Thread Omer Zak
Once upon a time I configured a 2.2.x Linux firewall with ipchains, and used a script with which I was happy, as it opened only certain ports, had anti-spoofing protection, etc. More recently I configured a 2.4.x Linux firewall with iptables. However I am not happy with the iptables configuration

solved - (was iptables - Mandrake 9.0)

2002-12-12 Thread solomon
Hi, I'm answering my own post, since the solution may help someone else. I discovered that iptables refuses to run when ipchains is also active. Disableing ipchains solved the problem. The error messages from iptables were really not helpful. :-( And I didn't find any mention of th

Re: iptables - Mandrake 9.0

2002-12-10 Thread Michael Sternberg
[EMAIL PROTECTED] wrote: > [root@shlomo1 root]# iptables -L > /lib/modules/2.4.19-16mdk/kernel/net/ipv4/netfilter/ip_tables.o.gz: > init_module: Device or resource busy I never knew that kernel modules object files can be gzipped.. It does not work at my system though - is it requ

iptables - Mandrake 9.0

2002-12-10 Thread solomon
Hi, I just installed MDK 9.0 and I'm having a problem with iptables. Here's what I get when I run iptables -L: [root@shlomo1 root]# iptables -L /lib/modules/2.4.19-16mdk/kernel/net/ipv4/netfilter/ip_tables.o.gz: init_module: Device or resource busy Hint: insmod errors can be caused by

Re: Strange iptables behavior

2002-11-27 Thread Oleg Kobets
I don't know about iptables strange behavior, but you to have a mistake here. You say DROP, but do ACCEPT instead. :-))) > # Set defaults to drop: > $IPTABLES -P INPUT ACCEPT > $IPTABLES -P OUTPUT ACCEPT > $IPTABLES -P FORWARD ACCEPT --- Oleg Kobets Network Administrator w

Re: Strange iptables behavior

2002-11-27 Thread Ira Abramov
Quoting Stiven Andre, from the post of Wed, 27 Nov: > Hi List. > > I have my home network being masqueraded by linux router(RH8.0). > Network topology: > Linux router(192.168.1.1): eth0 to LAN, eth1 to adsl modem. > LAN = 192.168.1.* > I wrote iptables script that masquerade

Strange iptables behavior

2002-11-27 Thread Stiven Andre
Hi List. I have my home network being masqueraded by linux router(RH8.0). Network topology: Linux router(192.168.1.1): eth0 to LAN, eth1 to adsl modem. LAN = 192.168.1.* I wrote iptables script that masquerades my network, but the problem is when I run the script from the first time from /etc

Re: IPTABLES laps

2002-10-27 Thread Meir Michanie
Reformulation of Problem: running iptables -t nat -I PREROUTING -m mac --mac-source 00:02:2D:08:FD:67 -j ACCEPT then iptables -t nat -I PREROUTING -m mac --mac-source 00:02:2D:08:FD:67 -j DNAT --to-destination 10.0.10.2 does not work for established connections, like browsing CNN.COM man

IPTABLES laps

2002-10-24 Thread Meir Michanie
Hi there. While playing with iptables building rules on the fly and reverting them I found that it takes a while to take the new rule. I am on kernel 2.4.18-17.7.x on RH7.3 iptables-1.2.5-3 I am DNATing all my pcs to my gateway ip, in that way the computer that tries to connect to the internet

RE: iptables flush doesn't kill RELATED packets

2002-09-18 Thread Ohad . Levy
ahi Fadida [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 5:43 PM To: Levy Ohad; [EMAIL PROTECTED] Subject: RE: iptables flush doesn't kill RELATED packets If you have adsl(which u didn't mention) The fact that u can go to walla gives a hint that maybe you didn't flush every

Re: iptables flush doesn't kill RELATED packets

2002-09-18 Thread Oded Arbel
Assaf Flatto wrote: Message stop the IPtables deamon running in the background would be a good start   /etc/init.d/iptables stop or service iptables stop The IPTables "service" is not a daemon, but a simple script that loads rules from a file in sysconfin

  1   2   >