Ticket #36 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Error when first attempting to upload blacklist via Walleye

Reported by: david Owned by: [email protected]
Priority: minor Milestone: roo-1.4
Component: Walleye Version: 1.4b3
Keywords: Cc:

Description

Attempting to upload a blacklist file via Walleye "System Admin" --> "Honeywall Configuration" --> "Black and White list" produced this error:

Could not run command: mv -f /tmp/blacklist.txt /etc/blacklist.txt 256

Subsequent attempts to upload either blacklist or whitelist files suceeded.

Change History

Changed 10 years ago by rmcmillen

I created a file on my system named blac.txt with 1.1.1.1 as its contents. I then uploaded it via walleye as you described above. No errors and the blacklist was replaced.

I went back to the Black and White List Variables page and checked the Enable Black and White List check box. Hit configure and was able to verify the contents of the file I uploaded were in the firewall rule set and bpf filtering was in place to ensure the ip was not logged in pcap or flows.

This said, I did notice something that I think may be an issue. If I modify the blac.txt file on my local system and upload it via the UI, the new list is not in effect unless I go back to the Honeywall Configuration -> Black and White List page and hit Configure again (even if the check box for Enable Black and White List is already checked).

Should we add a check box to the Upload file form that tells the system it should place the list into operation or should we do it automatically when someone uploads a list? I would say do it automatically because the upload form results in the system black list being replaced. If the system is restarted or the honeywall services are reloaded, the black list is placed into operation without user intervention (unless black and white listing is disabled).

Changed 10 years ago by rmcmillen

  • status changed from new to closed
  • resolution set to fixed

ChangeSet? [56] now restarts the services that use the black/white lists when a new file is uploaded and black/white lists are enabled.

Note: See TracTickets for help on using tickets.