Hi all
Is there any way to log/see restriction behavior ?
Thank you
Restriction Log
Moderator: Moderators
Restriction Log
Tp-link 1043ND v1.8 gargoyle 1.11.x thank you
Buffalo AirStation WZR-600DHP DD-WRT last version
High Speed Boadband Internet
Buffalo AirStation WZR-600DHP DD-WRT last version
High Speed Boadband Internet
Re: Restriction Log
GUI or Command line?
Most things with a bit of work can be achieved via command line.
Most things with a bit of work can be achieved via command line.
Re: Restriction Log
Cli but how
Thank you
Thank you
Tp-link 1043ND v1.8 gargoyle 1.11.x thank you
Buffalo AirStation WZR-600DHP DD-WRT last version
High Speed Boadband Internet
Buffalo AirStation WZR-600DHP DD-WRT last version
High Speed Boadband Internet
Re: Restriction Log
Its possible that nobody knows.
I would have a look at logread
https://oldwiki.archive.openwrt.org/doc ... essentials
I would have a look at logread
https://oldwiki.archive.openwrt.org/doc ... essentials
Re: Restriction Log
You would need to create LOG jump entries in iptables.
For example a restriction rule which blocked port 80 on a device might look like
*not a real command*
iptables -dst 192.168.1.100 -src * -dport 80 -j DROP
If we wanted to log that event, immediately before it we add the same rule but it jumps to LOG
iptables -dst 192.168.1.100 -src * -dport 80 -j LOG
iptables -dst 192.168.1.100 -src * -dport 80 -j DROP
That’s the basic premise. To implement this in Gargoyle would be a bit of a chore, but an adventuring user could do it.
For example a restriction rule which blocked port 80 on a device might look like
*not a real command*
iptables -dst 192.168.1.100 -src * -dport 80 -j DROP
If we wanted to log that event, immediately before it we add the same rule but it jumps to LOG
iptables -dst 192.168.1.100 -src * -dport 80 -j LOG
iptables -dst 192.168.1.100 -src * -dport 80 -j DROP
That’s the basic premise. To implement this in Gargoyle would be a bit of a chore, but an adventuring user could do it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.