Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-24 Thread Paul Gear via Shorewall-users
On 24/8/22 19:25, Vieri Di Paola wrote: My bad... My custom script was actually calling "shorewall debug check" explicitly. That's because it was for an older shorewall release. I updated my custom script so it calls "shorewall check -D" instead. Now I get useful output such as: ERROR: Duplicat

Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-24 Thread Vieri Di Paola
My bad... My custom script was actually calling "shorewall debug check" explicitly. That's because it was for an older shorewall release. I updated my custom script so it calls "shorewall check -D" instead. Now I get useful output such as: ERROR: Duplicate DEST (WHATEVER) in table (WHICHEVER) So

Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-24 Thread Vieri Di Paola
According to https://shorewall.org/starting_and_stopping_shorewall.htm#Trace it seems that the right command isn't "shorewall trace|debug whatever" anymore but "shorewall whatever -D", eg. shorewall check -D. That does give me a full log. However, when running "shorewall check" the error message I

Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-24 Thread Vieri Di Paola
Hi, I eventually solved my problem. It was due to a wrong entry in the rules file. I had something like: $PROVIDER $DEST_IP_ADDR - ${IF_LAN}.111 $PROVIDER $DEST_IP_ADDR - ${IF_LAN}.112 where $PROVIDER, $DEST_IP_ADDR and ${IF_LAN} were the same. The error message was not clear enough, s

Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-23 Thread Justin Pryzby
On Tue, Aug 23, 2022 at 02:35:32PM +0200, Matt Darfeuille wrote: > On 8/22/2022 12:09 PM, Vieri Di Paola wrote: > > I hit this error message on a shorewall check: > > > > ERROR: Invalid command: debug ... > > What does "debug" refer to? > > As far as I can tell, the doc does not talk about 'debug

Re: [Shorewall-users] ERROR: Invalid command: debug

2022-08-23 Thread Matt Darfeuille
On 8/22/2022 12:09 PM, Vieri Di Paola wrote: Hi, I hit this error message on a shorewall check: ERROR: Invalid command: debug This happened only after I added some more lines in the routes file. They all had the same syntax;: $PROVIDER $DEST_IP_ADDR - ${IF_LAN}.111 What does "debug" refe

[Shorewall-users] ERROR: Invalid command: debug

2022-08-22 Thread Vieri Di Paola
Hi, I hit this error message on a shorewall check: ERROR: Invalid command: debug This happened only after I added some more lines in the routes file. They all had the same syntax;: $PROVIDER $DEST_IP_ADDR - ${IF_LAN}.111 What does "debug" refer to? Thanks, Vieri ___