Date: Mon, 20 May 2002 18:23:20 -0400 From: Scott Ullrich <sullrich@CRE8.COM> To: 'John Angelmo' <john@veidit.net>, net@freebsd.org Subject: RE: "dynamic" ipfw Message-ID: <2F6DCE1EFAB3BC418B5C324F13934C96016C9B4C@exchange.corp.cre8.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Check out http://www.bsdshell.com 's EtherFirewall project. It will allow you to maintain Mac addresses with your IPFW rules. Now regarding the hostname to ip address conversion for firewall rules. I have a feeling it is translating the IP address at the time of entry so this is not really going to work for your round-robin situation. EtherFirewall is the clear choice for this. Good luck! -Scott > -----Original Message----- > From: John Angelmo [mailto:john@veidit.net] > Sent: Monday, May 20, 2002 1:40 PM > To: net@freebsd.org > Subject: "dynamic" ipfw > > > Hello > > I have a small problem with IPFW > > How can I handle adding and removing rules based on IP/MAC per user? > I can add a rule for a specific IP/MAC without the need to > flush but can > I remove it in the same way? > > now lets say I have a user that only needs access to it's mailserver > mail.user.com with pop3 and smtp > then the rule for pop3 would be something like > add allow ip from mail.user.com 110 to IP/HOST (MAC dosn't > work here right?) > > Now mail.user.com uses runrobin so the IP changes from request to > request but dosn't the IPFW resolve the IP when its added to > the rules, > how can this be solved for the user? > > /John > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>RE: "dynamic" ipfw</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>Check out <A HREF="http://www.bsdshell.com" TARGET="_blank">http://www.bsdshell.com</A> 's EtherFirewall project. It will allow you to maintain Mac addresses with your IPFW rules. </FONT></P> <P><FONT SIZE=2>Now regarding the hostname to ip address conversion for firewall rules. I have a feeling it is translating the IP address at the time of entry so this is not really going to work for your round-robin situation. EtherFirewall is the clear choice for this.</FONT></P> <P><FONT SIZE=2>Good luck!</FONT> </P> <P><FONT SIZE=2>-Scott</FONT> </P> <BR> <P><FONT SIZE=2>> -----Original Message-----</FONT> <BR><FONT SIZE=2>> From: John Angelmo [<A HREF="mailto:john@veidit.net">mailto:john@veidit.net</A>]</FONT> <BR><FONT SIZE=2>> Sent: Monday, May 20, 2002 1:40 PM</FONT> <BR><FONT SIZE=2>> To: net@freebsd.org</FONT> <BR><FONT SIZE=2>> Subject: "dynamic" ipfw</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Hello</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> I have a small problem with IPFW</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> How can I handle adding and removing rules based on IP/MAC per user?</FONT> <BR><FONT SIZE=2>> I can add a rule for a specific IP/MAC without the need to </FONT> <BR><FONT SIZE=2>> flush but can </FONT> <BR><FONT SIZE=2>> I remove it in the same way?</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> now lets say I have a user that only needs access to it's mailserver </FONT> <BR><FONT SIZE=2>> mail.user.com with pop3 and smtp</FONT> <BR><FONT SIZE=2>> then the rule for pop3 would be something like</FONT> <BR><FONT SIZE=2>> add allow ip from mail.user.com 110 to IP/HOST (MAC dosn't </FONT> <BR><FONT SIZE=2>> work here right?)</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Now mail.user.com uses runrobin so the IP changes from request to </FONT> <BR><FONT SIZE=2>> request but dosn't the IPFW resolve the IP when its added to </FONT> <BR><FONT SIZE=2>> the rules, </FONT> <BR><FONT SIZE=2>> how can this be solved for the user?</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> /John</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=2>> with "unsubscribe freebsd-net" in the body of the message</FONT> <BR><FONT SIZE=2>> </FONT> </P> </BODY> </HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F6DCE1EFAB3BC418B5C324F13934C96016C9B4C>
