Deleting a firewall policy in Juniper ScreenOS 6.3 WebUI doesn't work anymore

RESOLVED INCOMPLETE

Status

()

Firefox
Untriaged
RESOLVED INCOMPLETE
5 years ago
3 years ago

People

(Reporter: Son Le, Unassigned)

Tracking

23 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments, 2 obsolete attachments)

(Reporter)

Description

5 years ago
Created attachment 796786 [details]
Capture.PNG

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

Steps to reproduce:

I typically manage our Juniper Firewall by using the WebUI interface.  Firefox is the only compatible browser with it's dynamic HTML menu.  When logged in, I can do about 99% of the things I need to do on Version 23 of FF.  


Actual results:

When I go to delete a firewall policy, I am presented with an error "404 Not Found" and the command does not follow through.


Expected results:

The actual result should be a "confirmation message" stating whether or not I really want to delete the policy. If I select "yes" - the policy gets deleted and the page is refreshed.

Comment 1

5 years ago
Did it use to work with previous versions of Firefox?

Is it possible to test this issue online? Or could you provide a simple testcase (maybe save the page as html is enough).
Flags: needinfo?(sle)

Comment 2

5 years ago
hello,
I can confirm that I'm able to reproduce this using FF 21 and higher.
version 20 and lower does not trigger '404 Not Found' error in ScreenOS 6.2 and higher version of Juniper firewall OS.
I have opened JTAC call to make sure this is not a bug withing Juniper's ScreenOS.

attached is wireshark capture of the session between my lab Juniper firewall,running ScreenOS 6.2.r08 and FF 23.0.1 running on Win7.

Comment 3

5 years ago
Created attachment 797742 [details]
wireshark capture session FF 23.0.1 and Juniper firewall - 404 Not Found

Comment 4

5 years ago
This log doesn't really help, we need a reduced testcase, especially if there is a regression in Firefox since version 21.

Comment 5

5 years ago
hello,

if you can provide some more detailed info how to create 'reduced testcase' I will do so,as this bug really bugs me a lot :]

rooter

Comment 6

5 years ago
Like saving the webUI page as HTML page if possible. Or just selecting the HTML code showing the issue. We don't need all the entire code of the app.

Comment 7

5 years ago
sure,I will.

Comment 8

5 years ago
Created attachment 797834 [details]
this is the frame,that contains the 'Remove' command,causing 404 error

Comment 9

5 years ago
Created attachment 797836 [details]
frame,that contains the pop-up message2nd webgui

Comment 10

5 years ago
These attachments don't help, there is no code inside (only text and messages).

Comment 11

5 years ago
can you please remove them - I will create new ones.
sorry,mea culpa - did not realize how to add an attachment

Updated

5 years ago
Attachment #797834 - Attachment is obsolete: true

Updated

5 years ago
Attachment #797836 - Attachment is obsolete: true

Comment 12

5 years ago
Created attachment 797841 [details]
frame that contains link to 'Remove/Edit' commands

Comment 13

5 years ago
(In reply to rootless rooter from comment #11)
> can you please remove them - I will create new ones.


Edit details of each attachment and check the box "obsolete" then save changes.

Updated

5 years ago
Attachment #797841 - Attachment mime type: text/plain → text/html

Updated

5 years ago
Attachment #797841 - Attachment filename: file_910352.txt → file_910352.html

Comment 14

5 years ago
Created attachment 797845 [details]
this one contains the expected pop-up message when removin an object

the expected pop-up message is:
,[2, 'You are about to remove one address item. Are you sure you want to continue?']

Comment 15

5 years ago
I tried to use FF with 'web developer add-on' enabled,to get some more details.
this is what I logged during session to the lab Juniper firewall:

[15:24:08.700] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. @ https://172.26.112.1/nswebui.html
[15:24:09.662] Expected identifier for class selector but found '.'.  Ruleset ignored due to bad selector. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/main.css:145
[15:24:09.663] Unknown property 'tab-stops'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/main.css:300
[15:24:09.663] Error in parsing value for 'visibility'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/main.css:343
[15:24:09.663] Error in parsing value for 'display'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/main.css:345
[15:24:09.663] Expected end of value but found ','.  Error in parsing value for 'padding'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/main.css:353
[15:24:09.765] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/home_cnt.html:229
[15:24:09.776] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/home_cnt.html:595
[15:24:10.142] Expected end of value but found ','.  Error in parsing value for 'padding'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/home_cmd.html?params=-1,0
[15:24:10.668] Error in parsing value for 'cursor'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/menu_dhtml.html:87
[15:24:20.726] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1:229
[15:24:20.731] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1:236
[15:24:20.750] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1:383
[15:24:21.115] Expected end of value but found ','.  Error in parsing value for 'padding'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?params=1,-1,-1,-1,-1,-1,-1,-1
[15:24:21.123] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?params=1,-1,-1,-1,-1,-1,-1,-1:287
[15:24:24.326] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&page_number=1&num_per_page=20&src_zone_name=Trust&filter_start=%2a&filter_end=%2a&search_name=%2a:229
[15:24:24.382] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&page_number=1&num_per_page=20&src_zone_name=Trust&filter_start=%2a&filter_end=%2a&search_name=%2a:236
[15:24:24.403] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&page_number=1&num_per_page=20&src_zone_name=Trust&filter_start=%2a&filter_end=%2a&search_name=%2a:383
[15:24:24.843] Expected end of value but found ','.  Error in parsing value for 'padding'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?filter_start=*&src_zone_name=Trust&filter_end=*&page_number=1&num_per_page=20&search_name=*&params=1,-1,-1,-1,-1,-1,-1,-1
[15:24:24.849] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?filter_start=*&src_zone_name=Trust&filter_end=*&page_number=1&num_per_page=20&search_name=*&params=1,-1,-1,-1,-1,-1,-1,-1:287
[15:24:26.737] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?filter_start=%2a&src_zone_name=Trust&filter_end=%2a&page_number=1&num_per_page=5&search_name=%2a&params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&=Trust:229
[15:24:26.742] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?filter_start=%2a&src_zone_name=Trust&filter_end=%2a&page_number=1&num_per_page=5&search_name=%2a&params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&=Trust:236
[15:24:26.802] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cnt.html?filter_start=%2a&src_zone_name=Trust&filter_end=%2a&page_number=1&num_per_page=5&search_name=%2a&params=1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1%2c-1&=Trust:278
[15:24:27.220] Expected end of value but found ','.  Error in parsing value for 'padding'.  Declaration dropped. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?filter_start=*&src_zone_name=Trust&filter_end=*&page_number=1&num_per_page=5&search_name=*&params=1,-1,-1,-1,-1,-1,-1,-1
[15:24:27.226] An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/adr_list_cmd.html?filter_start=*&src_zone_name=Trust&filter_end=*&page_number=1&num_per_page=5&search_name=*&params=1,-1,-1,-1,-1,-1,-1,-1:287
[15:24:29.964] The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. @ https://172.26.112.1/52152B8100502E555EA64A4B16945C8FA76DDD6/Remove

Comment 16

5 years ago
hello,

any update on this one,please?

Comment 17

5 years ago
Your testcase doesn't really work. Did you test it before attaching it?

Updated

5 years ago
Duplicate of this bug: 920910

Updated

5 years ago
Summary: A commands for Juniper ScreenOS 6.3 WebUI through firefox is not working → Deleting a firewall policy in Juniper ScreenOS 6.3 WebUI doesn't work anymore

Comment 19

5 years ago
Juniper is working on fixing this issue, please follow the thread " http://forums.juniper.net/t5/ScreenOS-Firewalls-NOT-SRX/Netscreen-208-ScreenOS-5-4-0r9-0-Policy-Remove-WebUI-got-Error/td-p/203439/page/3 ". Thanks and regards.
Hi,

I have looked over the Juniper forum and it seams that the issue was fixed on their end. 
Is this issue still reproducible for you on the latest Firefox release(43.0.4) or latest Nightly (https://nightly.mozilla.org)? When doing this, please try to reproduce with a new clean Firefox profile, maybe even in safe mode, as some of this issues may be caused by third party installed add-ons or custom settings(https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems).

Thanks,
Cipri
Flags: needinfo?(rootless.rooter)
Since the reporter didn't provide the requested information, I will mark this issue as RESOLVED INCOMPLETE. If you still encounter this problem, please feel free to reopen this bug, or file a new one.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(sle)
Flags: needinfo?(rootless.rooter)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.