themighty1 / lpfw

Linux Personal Firewall
113 stars 22 forks source link

lpfw addrule wrong format #29

Open licaon-kter opened 8 years ago

licaon-kter commented 8 years ago

Via the GUI:

full_path=        /usr/bin/someprogram
permission=       ALLOW_ALWAYS
sha256_hexdigest= 1DEADBEEF2DEADBEEF3DEADBEEF4DEADBEEF5DEADBEEF6DEADBEEF7DEAD

Via lpfw --addrule=/usr/bin/someprogram:

/usr/bin/someprogram
ALLOW_ALWAYS
1DEADBEEF2DEADBEEF3DEADBEEF4DEADBEEF5DEADBEEF6DEADBEEF7DEAD

Result, on a LPFW restart those lines get deleted.