Re: [Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-28 Thread Zenny
@Adam Using CentOS 4.9 on the shorewall host machine with selinux disabled and debian 8 in the VM with proxmox 4.5 host (also based on debian jessie), fyi. Cheers, /z On 5/15/17, Adam Cecile wrote: > SELinux shit? What distro are you running? > > Adam. > > Le 15 mai 2017 19:16:06 GMT+02:00, Tom

Re: [Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-15 Thread Adam Cecile
SELinux shit? What distro are you running? Adam. Le 15 mai 2017 19:16:06 GMT+02:00, Tom Eastep a écrit : >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >On 05/15/2017 09:21 AM, Zenny wrote: >> Thanks Tom for your input. >> >> But I have the ports already DNATed to the the DMZ VM as follows

Re: [Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-15 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/15/2017 09:21 AM, Zenny wrote: > Thanks Tom for your input. > > But I have the ports already DNATed to the the DMZ VM as follows in > my rules: > > # grep -Rn 514 /etc/shorewall/rules 128:DNATnet > dmz:192.168.20.110tcp 51

Re: [Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-15 Thread Zenny
Thanks Tom for your input. But I have the ports already DNATed to the the DMZ VM as follows in my rules: # grep -Rn 514 /etc/shorewall/rules 128:DNATnet dmz:192.168.20.110 tcp 514 129:DNATnet dmz:192.168.20.110 udp 514 132:DNAT$FW

Re: [Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-14 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/14/2017 10:07 AM, Zenny wrote: > Hi, > > I appended "*.* @@:514" in the router > running shorewall so that I can centralize logging, but it does > not log, although port 514 has been DNATed to the local DMZ VM in > shorewall rules. However,

[Shorewall-users] logging router running shorewall in the DMZ VM in NAT mode running behind

2017-05-14 Thread Zenny
Hi, I appended "*.* @@:514" in the router running shorewall so that I can centralize logging, but it does not log, although port 514 has been DNATed to the local DMZ VM in shorewall rules. However, logging from all other shorewall firewall from remote instances works with "*.* @@:514. Is there a

Re: [Shorewall-users] Logging: missing informations like IP and protocol. Onlyc interfaces and MAC addr shown

2016-12-08 Thread Gaétan QUENTIN
It works! Thanks a lot Tom. 2016-12-08 17:45 GMT+01:00 Tom Eastep : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 12/08/2016 12:23 AM, Gaétan QUENTIN wrote: > > > > plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inppkt_NFLOG.so" > > plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inpflo

Re: [Shorewall-users] Logging: missing informations like IP and protocol. Onlyc interfaces and MAC addr shown

2016-12-08 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/08/2016 12:23 AM, Gaétan QUENTIN wrote: > > plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inppkt_NFLOG.so" > plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inpflow_NFCT.so" > plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_filter_IFINDEX.so" >

Re: [Shorewall-users] Logging: missing informations like IP and protocol. Onlyc interfaces and MAC addr shown

2016-12-08 Thread Gaétan QUENTIN
plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inppkt_NFLOG.so" plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_inpflow_NFCT.so" plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_filter_IFINDEX.so" plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_filter_IP2STR.so" plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulog

Re: [Shorewall-users] Logging: missing informations like IP and protocol. Onlyc interfaces and MAC addr shown

2016-12-07 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/07/2016 05:51 AM, Gaétan QUENTIN wrote: > Hi, > > I have configured shorewall that way: > > The host: - ubuntu 16.10 - shorewall 5.0.11-1. - only 1 nic > > shorewall: /etc/shorewall/shorewall.conf: > INVALID_LOG_LEVEL=$LOG:invlev LOGFORMAT=

[Shorewall-users] Logging: missing informations like IP and protocol. Onlyc interfaces and MAC addr shown

2016-12-07 Thread Gaétan QUENTIN
Hi, I have configured shorewall that way: The host: - ubuntu 16.10 - shorewall 5.0.11-1. - only 1 nic shorewall: /etc/shorewall/shorewall.conf: INVALID_LOG_LEVEL=$LOG:invlev LOGFORMAT="Shorewall:%s:%s:" LOGTAGONLY=No MACLIST_LOG_LEVEL=$LOG:maclist RPFILTER_LOG_LEVEL=$LOG:rpfilter SFILTER_LOG_LE

Re: [Shorewall-users] Logging documentation

2016-10-26 Thread Tom Eastep
On 10/26/2016 11:10 AM, Bill Shirley wrote: > Like the attached file? > Perfect! Thanks, -Tom -- Tom Eastep\ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http

Re: [Shorewall-users] Logging documentation

2016-10-26 Thread Bill Shirley
Like the attached file? Bill On 10/25/2016 2:24 PM, Tom Eastep wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/25/2016 10:33 AM, Tom Eastep wrote: On 10/23/2016 06:41 AM, Bill Shirley wrote: Thanks Bill -- I'll get something into 5.0.14. Although it sure would be nice to have

Re: [Shorewall-users] Logging documentation

2016-10-25 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/25/2016 10:33 AM, Tom Eastep wrote: > On 10/23/2016 06:41 AM, Bill Shirley wrote: > > > Thanks Bill -- I'll get something into 5.0.14. > Although it sure would be nice to have all of your examples in a text attachment rather than in the HT

Re: [Shorewall-users] Logging documentation

2016-10-25 Thread Tom Eastep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/23/2016 06:41 AM, Bill Shirley wrote: > I was thinking you might want an example in the logging > documentation of using a comma after the log TAG: > /etc/shorewall/rules (hen is a local zone): > REJECT(icmp-proto-unreachable):notice:IPv6 hen

[Shorewall-users] Logging documentation

2016-10-23 Thread Bill Shirley
I was thinking you might want an example in the logging documentation of using a comma after the log TAG: /etc/shorewall/rules (hen is a local zone): REJECT(icmp-proto-unreachable):notice:IPv6 hen inet41 # who's using IPv6 tunneling REJECT(icmp-proto-unreachable):noti

Re: [Shorewall-users] Logging in mangle table

2016-01-02 Thread Tom Eastep
On 1/2/2016 10:54 AM, Bill Shirley wrote: I was trying to use DROP since it's on the man page: http://shorewall.net/manpages4/manpages/shorewall-mangle.html and http://shorewall.net/manpages/shorewall-mangle.html Duh -- patch attached. -Tom -- Tom Eastep\ When I die, I want to go like

Re: [Shorewall-users] Logging in mangle table

2016-01-02 Thread Bill Shirley
I was trying to use DROP since it's on the man page: http://shorewall.net/manpages4/manpages/shorewall-mangle.html and http://shorewall.net/manpages/shorewall-mangle.html Bill On 1/2/2016 12:19 PM, Tom Eastep wrote: > On 01/02/2016 06:19 AM, Bill Shirley wrote: >> [1:root@elmo shorewall 148]$ r

Re: [Shorewall-users] Logging in mangle table

2016-01-02 Thread Tom Eastep
On 01/02/2016 06:19 AM, Bill Shirley wrote: > [1:root@elmo shorewall 148]$ rpm -q shorewall > shorewall-4.6.11.1-2.fc22.noarch > > I'm trying to log any unmatched esp traffic in the mangle table and getting > an error: > Checking /etc/shorewall/mangle... > ERROR: LOG requires a level /etc/sho

[Shorewall-users] Logging in mangle table

2016-01-02 Thread Bill Shirley
[1:root@elmo shorewall 148]$ rpm -q shorewall shorewall-4.6.11.1-2.fc22.noarch I'm trying to log any unmatched esp traffic in the mangle table and getting an error: Checking /etc/shorewall/mangle... ERROR: LOG requires a level /etc/shorewall/mangle (line 63) params: MY_LOG_HASHLIMIT="-m hash

Re: [Shorewall-users] Logging question

2014-07-11 Thread Mallory, Danny
users@lists.sourceforge.net Subject: Re: [Shorewall-users] Logging question On 7/10/2014 8:21 AM, Mallory, Danny wrote: > Hello > I just upgraded from Debian 6(squeeze) to Debian 7(Wheezy) and my logging does not seem to be working anymore. "shorewall show log" looks normal pointing to /v

Re: [Shorewall-users] Logging question

2014-07-10 Thread Tom Eastep
On 7/10/2014 8:21 AM, Mallory, Danny wrote: > Hello > I just upgraded from Debian 6(squeeze) to Debian 7(Wheezy) and my logging does not seem to be working anymore. "shorewall show log" looks normal pointing to /var/log/messages but I get no logging of drops or rejects anymore. It appears to be doi

[Shorewall-users] Logging question

2014-07-10 Thread Mallory, Danny
Hello I just upgraded from Debian 6(squeeze) to Debian 7(Wheezy) and my logging does not seem to be working anymore. "shorewall show log" looks normal pointing to /var/log/messages but I get no logging of drops or rejects anymore. It appears to be doing kernel level logging as the messages are

Re: [Shorewall-users] logging TCP RST packets

2014-01-29 Thread Tom Eastep
On 1/29/2014 7:39 AM, Fred Maillou wrote: > With version 4.5.5.3 I get the following: > > Compiling /usr/share/shorewall/action.RST for chain RST... >ERROR: Invalid parameter (LOG) to action NotSyn > /usr/share/shorewall/action.RST (line 55) > from /etc/shorewall/rules (line 15) > > rul

Re: [Shorewall-users] logging TCP RST packets

2014-01-29 Thread Fred Maillou
With version 4.5.5.3 I get the following: Compiling /usr/share/shorewall/action.RST for chain RST...    ERROR: Invalid parameter (LOG) to action NotSyn /usr/share/shorewall/action.RST (line 55)   from /etc/shorewall/rules (line 15) rules has only one entry: RST(LOG)    all all Th

Re: [Shorewall-users] logging TCP RST packets

2014-01-29 Thread Fred Maillou
Hi, > Your Shorewall version isn't recent enough to be able to add such a rule > then. Version is 4.5.2.2.  I see that the most recent version includes an action.RST file.  Would it be possible to copy that file into a 4.5.2.2 installation and have it work ?  I need to do offsite troubleshooting

Re: [Shorewall-users] logging TCP RST packets

2014-01-28 Thread Tom Eastep
On 1/28/2014 12:17 PM, Fred Maillou wrote: > I'm afraid I do not understand the usage context. Eg.: > > The following in rules: > > RST(LOG)all all > > Gives: > > ERROR: Unknown action (RST(LOG)) : /etc/shorewall/rules (line 15) > Your Shorewall version isn't recent enough to be

Re: [Shorewall-users] logging TCP RST packets

2014-01-28 Thread Fred Maillou
I'm afraid I do not understand the usage context.  Eg.: The following in rules: RST(LOG)    all all Gives: ERROR: Unknown action (RST(LOG)) : /etc/shorewall/rules (line 15) Thanks. Le mardi 28 janvier 2014 15h09, Tom Eastep a écrit : On 1/28/2014 11:22 AM, Fred Maillou wrote: >

Re: [Shorewall-users] logging TCP RST packets

2014-01-28 Thread Tom Eastep
On 1/28/2014 11:22 AM, Fred Maillou wrote: > Hello, > > What would be the syntax to log TCP RST packets ? This is for > troubleshooting purposes. RST(LOG)all all -Tom -- Tom Eastep\ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in h

[Shorewall-users] logging TCP RST packets

2014-01-28 Thread Fred Maillou
Hello,   What would be the syntax to log TCP RST packets ?  This is for troubleshooting purposes. Thanks. -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real

[Shorewall-users] logging with ULOG and SYSLOG

2013-09-20 Thread Dovydas Sankauskas
Hi, I have a legal requirement to log all connections and I will use ULOG to log all ACCEPTED conenctions. However it is so much easier to look at text log file compared to binary log file. So I would like to log DROPPED/REJECTED packets with SYSLOG for rule testing/debuging purposes. Is it poss

Re: [Shorewall-users] logging to mysql - advice ?

2013-04-01 Thread Mr Dash Four
>> hen there will be nothing logged. Try generating some traffic that will >> trigger one of those rules. >> > that's the thing, i have 5 users connected to that lab environment > generating good amount of traffic. > that's exactly my problem, that even though there are traffic generated, >

Re: [Shorewall-users] logging to mysql - advice ?

2013-04-01 Thread Roland Roland
On 4/1/13 11:39 AM, Chris Boot wrote: > Do you have a stack set up in ulogd to consume ULOG messages and put > them into MySQL? Something like the following, maybe: > > stack=ulog1:ULOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,mac2str1:HWHDR,mysql1:MYSQL You're absolutely right! that's what i was mis

Re: [Shorewall-users] logging to mysql - advice ?

2013-04-01 Thread Chris Boot
Hi, Do you have a stack set up in ulogd to consume ULOG messages and put them into MySQL? Something like the following, maybe: stack=ulog1:ULOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,mac2str1:HWHDR,mysql1:MYSQL Disclaimer: I don't use ulogd with MySQL, so the above is something mostly made up

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Roland Roland
On 4/1/13 6:35 AM, Tom Eastep wrote: > hen there will be nothing logged. Try generating some traffic that will > trigger one of those rules. that's the thing, i have 5 users connected to that lab environment generating good amount of traffic. that's exactly my problem, that even though there are t

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Tom Eastep
On 3/31/13 8:03 PM, "Roland Roland" wrote: >On 4/1/13 5:49 AM, Tom Eastep wrote: >> Were there ULOG rules with non-zero packet count? >No, None whatsoever. Then there will be nothing logged. Try generating some traffic that will trigger one of those rules. -Tom You do not need a parachute to sk

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Roland Roland
On 4/1/13 5:49 AM, Tom Eastep wrote: > Were there ULOG rules with non-zero packet count? No, None whatsoever. -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo cont

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Tom Eastep
On 3/31/13 7:42 PM, "Roland Roland" wrote: >i'm using ulog 2.x and trying to collect ipv4 >setting log to ULOG and restarting the service resulted to 1064 >connection to mysql ulogd DB at one go, and then they all went to sleep >state. >and nothing happened afterwards.. Were there ULOG rules wit

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Roland Roland
i'm using ulog 2.x and trying to collect ipv4 setting log to ULOG and restarting the service resulted to 1064 connection to mysql ulogd DB at one go, and then they all went to sleep state. and nothing happened afterwards.. On 3/31/13 11:55 PM, Chris Boot wrote: > On 31/03/2013 18:40, Roland Rol

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Chris Boot
On 31/03/2013 18:40, Roland Roland wrote: > shorewall is working fine with log set to "info "on all rules. > > i'm using ulogd, but it's not working. Are you using ulogd-1.x or 2.x? Do you want to collect IPv6 netfilter messages? Make sure you have Shorewall set to log to the ULOG target (not in

Re: [Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Tom Eastep
On 3/31/13 10:40 AM, "Roland Roland" wrote: >shorewall is working fine with log set to "info "on all rules. > >i'm using ulogd, but it's not working. here's the steps i've taken so far: > >- apt-get install ulogd # installed successfully as well as ulogd-mysql >- ulogd-mysql.sql (downloaded from

[Shorewall-users] logging to mysql - advice ?

2013-03-31 Thread Roland Roland
shorewall is working fine with log set to "info "on all rules. i'm using ulogd, but it's not working. here's the steps i've taken so far: - apt-get install ulogd # installed successfully as well as ulogd-mysql - ulogd-mysql.sql (downloaded from their site project) imported into ulogd database. -

Re: [Shorewall-users] Logging specific Classified packets

2011-04-24 Thread Tom Eastep
On Apr 23, 2011, at 7:39 PM, Lee Brown wrote: > I'm not convinced I have my tcrules correctly setup and looking at the > counters in the mangle table's tcpost doesn't really help much as I can't > tell what is the final match. > Is there a way to match packets in iptables based on the classifie

[Shorewall-users] Logging specific Classified packets

2011-04-23 Thread Lee Brown
Hi All, I'm not convinced I have my tcrules correctly setup and looking at the counters in the mangle table's tcpost doesn't really help much as I can't tell what is the final match. Is there a way to match packets in iptables based on the classifier? i.e. so I can LOG packets classified with 1:1

Re: [Shorewall-users] Logging NAT traffic, time-based rules

2010-09-01 Thread Tom Eastep
On 9/1/10 12:56 PM, Shawn Wright wrote: > - "Tom Eastep" wrote: > > What are your requirements? > > - Log each connection (simple with Shorewall -- use a LOG rule or a log > level on an ACCEPT rule) > - Log every page request -- not possible with a packet filter. > > --- > Each connect

Re: [Shorewall-users] Logging NAT traffic, time-based rules

2010-09-01 Thread Shawn Wright
- "Tom Eastep" wrote: On 9/1/10 12:08 PM, Shawn Wright wrote: > In changing our campus squid proxy to transparent mode (which only > handles plain http traffic, not SSL), we are faced with having to NAT > our SSL traffic, while still wishing to maintain tight control over > access and lo

Re: [Shorewall-users] Logging NAT traffic, time-based rules

2010-09-01 Thread Tom Eastep
On 9/1/10 12:08 PM, Shawn Wright wrote: > In changing our campus squid proxy to transparent mode (which only > handles plain http traffic, not SSL), we are faced with having to NAT > our SSL traffic, while still wishing to maintain tight control over > access and logging. > I don't understand --

[Shorewall-users] Logging NAT traffic, time-based rules

2010-09-01 Thread Shawn Wright
In changing our campus squid proxy to transparent mode (which only handles plain http traffic, not SSL), we are faced with having to NAT our SSL traffic, while still wishing to maintain tight control over access and logging. I'm interested in recommendations for logging such traffic a in way th

Re: [Shorewall-users] logging rules not working for routeback interface / zone

2010-07-16 Thread Scott Ryan
Thanks for your advice, now it is logging correctly. On Fri, Jul 16, 2010 at 1:36 PM, Tom Eastep wrote: > On 7/16/10 1:24 AM, Scott Ryan wrote: >> I have traffic that comes in one interface and then goes out the same >> interface and I would like to add a rule to log some connections: >> >> ACCEP

Re: [Shorewall-users] logging rules not working for routeback interface / zone

2010-07-16 Thread Tom Eastep
On 7/16/10 1:24 AM, Scott Ryan wrote: > I have traffic that comes in one interface and then goes out the same > interface and I would like to add a rule to log some connections: > > ACCEPT:info all ent:192.9.207.100,192.9.208.15 all - > > So the idea is to log anything that

[Shorewall-users] logging rules not working for routeback interface / zone

2010-07-16 Thread Scott Ryan
I have traffic that comes in one interface and then goes out the same interface and I would like to add a rule to log some connections: ACCEPT:info all ent:192.9.207.100,192.9.208.15 all - So the idea is to log anything that comes in through any zone and out to 2 particular

Re: [Shorewall-users] Logging problem with shorewall 4.0.15

2009-02-19 Thread Tom Eastep
Niedermeier Günter wrote: >> >> Stateful firewall work oddly in cases of asymmetric routing. That is the >> nature of the beasts. > > Well, that's clear to me. > > But can you tell me in short the difference between logging in rules and > logging in zones. > > In my case, asym. back routed packe

Re: [Shorewall-users] Logging problem with shorewall 4.0.15

2009-02-19 Thread Niedermeier Günter
> > Stateful firewall work oddly in cases of asymmetric routing. That is the > nature of the beasts. Well, that's clear to me. But can you tell me in short the difference between logging in rules and logging in zones. In my case, asym. back routed packets are logged well in FW10 if I use a rule

Re: [Shorewall-users] Logging problem with shorewall 4.0.15

2009-02-18 Thread Tom Eastep
Niedermeier Günter wrote: > > Problem: > > The logging works fine, as long as packets are sent from WAN to INT. > > If I, for example, try to open a ssh session from INT to WAN it goes > via FW28 to the destination and also back via FW28 to the source. > But it may happen that answer packets co

[Shorewall-users] Logging problem with shorewall 4.0.15

2009-02-18 Thread Niedermeier Günter
Hi all, I have a little problem with logging packets filtered in policy. Following hardware situation: I have two firewalls called FW28 and FW10. Both are running as part of an OSPF area. I call this zone WAN. The internal side of FW10/28 is pure L2 with VRRP running. This zone is called INT.

Re: [Shorewall-users] logging

2008-11-30 Thread Shorewall Geek
Tom Allison wrote: > > I thought USE_ACTIONS was a previous implementation and macros are the > favored method. So I'm not sure why USE_ACTIONS=No is not supported. > Maybe I'm reading too much into this? > As clearly described in the shorewall.conf man page, USE_ACTIONS=No allows the disk (

Re: [Shorewall-users] logging

2008-11-30 Thread Tom Allison
Shorewall Geek wrote: > Tom Allison wrote: > >> This should be a large red label on the beginning of the README (or at >> least the Debian install). I see this mentioned in the docs, but I >> missed it. Sounds like the shell is deprecated. Should people think if >> migrating? > > Yes. > >>

Re: [Shorewall-users] logging

2008-11-30 Thread Shorewall Geek
Tom Allison wrote: > This should be a large red label on the beginning of the README (or at > least the Debian install). I see this mentioned in the docs, but I > missed it. Sounds like the shell is deprecated. Should people think if > migrating? Yes. > > OK, now that I've already gotten i

Re: [Shorewall-users] logging

2008-11-30 Thread Tom Allison
Shorewall Geek wrote: > Tom Allison wrote: > >> d) This intrigues me. Why Shorewall-perl? debugging support? This is >> the first I heard someone promoting the perl implimentation. > > a) The shell implementation hasn't had any active development in two > years. So all new features introduce

Re: [Shorewall-users] logging

2008-11-29 Thread Shorewall Geek
Tom Allison wrote: > d) This intrigues me. Why Shorewall-perl? debugging support? This is > the first I heard someone promoting the perl implimentation. a) The shell implementation hasn't had any active development in two years. So all new features introduced in the last year and a half are

Re: [Shorewall-users] logging

2008-11-29 Thread Tom Allison
> A few hints: > > a) Be sure that you are following one of the HOWTOs at shorewall.net > b) You are running Debian; the version of Shorewall that is included > with Etch is 3.2.6 which *isn't even supported anymore*. > c) There is a repository (maintained by the Debian Shorewall maintainer) > th

Re: [Shorewall-users] logging

2008-11-29 Thread Shorewall Geek
Tom Allison wrote: > Shorewall Geek wrote: >> Tom Allison wrote: > >> The log entries you posted are only generated when LOGALLNEW=Yes >> > > Maybe I forgot to restart it... > > Anyways, shorewall seems to be doing it's job. Now it's back to DHCP, > DNS and all the rest of the network "stuff".

Re: [Shorewall-users] logging

2008-11-29 Thread Tom Allison
Shorewall Geek wrote: > Tom Allison wrote: > > The log entries you posted are only generated when LOGALLNEW=Yes > Maybe I forgot to restart it... Anyways, shorewall seems to be doing it's job. Now it's back to DHCP, DNS and all the rest of the network "stuff". Thank you. --

Re: [Shorewall-users] logging

2008-11-29 Thread Shorewall Geek
Tom Allison wrote: > Shorewall Geek wrote: >> Tom Allison wrote: >>> OK, I got the note about using the policy "redundancy" to separate the >>> logging rules. >>> >>> >>> Making great progress. Shorewall is relatively intuitive if you are >>> familiar with the whole iptables thing. But it has b

Re: [Shorewall-users] logging

2008-11-29 Thread Tom Allison
Shorewall Geek wrote: > Tom Allison wrote: >> OK, I got the note about using the policy "redundancy" to separate the >> logging rules. >> >> >> Making great progress. Shorewall is relatively intuitive if you are >> familiar with the whole iptables thing. But it has been a few years >> since I

Re: [Shorewall-users] logging

2008-11-29 Thread Shorewall Geek
Tom Allison wrote: > OK, I got the note about using the policy "redundancy" to separate the > logging rules. > > > Making great progress. Shorewall is relatively intuitive if you are > familiar with the whole iptables thing. But it has been a few years > since I wrote my own firewalls. > >

[Shorewall-users] logging

2008-11-29 Thread Tom Allison
OK, I got the note about using the policy "redundancy" to separate the logging rules. Making great progress. Shorewall is relatively intuitive if you are familiar with the whole iptables thing. But it has been a few years since I wrote my own firewalls. 'nuther question: I have this: Nov

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Tom Eastep
Thomas Marschall wrote: > That might work... This firewall is going to be a proxy server running > squid. We will be forcing proxying so we will have this rule loaded: > REDIRECT loc 8080tcp 80,443 - You *cannot* transparently proxy HTTPS. If you could, then HTTPS (and

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
On Behalf Of teastep Sent: Thursday, December 21, 2006 3:45 PM To: Shorewall Users; Shorewall Users Subject: Re: [Shorewall-users] Logging MAC addresses On Thu, Dec 21, 2006 at 1:38pm Thomas Marschall <[EMAIL PROTECTED]> wrote: > Hmmm, that link didn't work either "

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread teastep
On Thu, Dec 21, 2006 at 1:38pm Thomas Marschall <[EMAIL PROTECTED]> wrote: > Hmmm, that link didn't work either "Not found" error. s/b http://www.shorewall.net/Actions.html#Extension But it's possible you don't even need to use an action. What's wrong with LOG:info $FW tcp

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread teastep
On Thu, Dec 21, 2006 at 1:36pm Thomas Marschall <[EMAIL PROTECTED]> wrote: > And one more question, since you didn't specifically mention this before. > Will iptables log MAC address for packets on the output chain? No. -Tom -- Tom Eastep\\ Nothing is foolproof to a sufficiently talented f

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
Hmmm, that link didn't work either "Not found" error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Eastep Sent: Thursday, December 21, 2006 3:32 PM To: Shorewall Users Subject: Re: [Shorewall-users] Logging MAC addresses T

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
ewall Users Subject: Re: [Shorewall-users] Logging MAC addresses Thomas Marschall wrote: > I'd like to write a custom rule to put in the output chain to match on > certain devices and ports, then log matched packets. Any pointers on > doing this? You can do that with an action t

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Tom Eastep
Thomas Marschall wrote: > I'd like to write a custom rule to put in the output chain to match on > certain devices and ports, then log matched packets. Any pointers on > doing this? You can do that with an action that has a companion extension script. Then invoke the action from the rules file wi

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
22 PM To: Shorewall Users Subject: Re: [Shorewall-users] Logging MAC addresses Thomas Marschall wrote: > Is there a way then to get iptables/netfilter to do it? No -- that's what I mean by Shorewall having no control over it. In general, netfilter logs the MAC address out of the INPUT chai

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Tom Eastep
Thomas Marschall wrote: > Is there a way then to get iptables/netfilter to do it? No -- that's what I mean by Shorewall having no control over it. In general, netfilter logs the MAC address out of the INPUT chain but doesn't log it out of the FORWARD chain. -Tom -- Tom Eastep\ Nothing is fo

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
Is there a way then to get iptables/netfilter to do it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Eastep Sent: Thursday, December 21, 2006 3:14 PM To: Shorewall Users Subject: Re: [Shorewall-users] Logging MAC addresses Thomas Marschall wrote

Re: [Shorewall-users] Logging MAC addresses

2006-12-21 Thread Tom Eastep
Thomas Marschall wrote: > Is there a way to have Shorewall log MAC addresses for packets logged > from the “rules” file? Right now the only time MAC addresses are being > logged is when the logging comes from the “policy” file. The following > rule is an example: > > > > ACCEPT:info

[Shorewall-users] Logging MAC addresses

2006-12-21 Thread Thomas Marschall
Is there a way to have Shorewall log MAC addresses for packets logged from the "rules" file? Right now the only time MAC addresses are being logged is when the logging comes from the "policy" file. The following rule is an example: ACCEPT:info loc net tcp