This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help out a newbie

Alright so I am a home user and by no means a network professional.  Now, I am not asking for the answer to my problem, just, if someone could point me in the right direction, I am trying to learn here [:)]

So, the problem happens when I am using the web proxy.  I think it has something to do with sites redirecting, but I have toggled just about everything in the web proxy settings.

With some sites I get an "mmap: Invalid argument" message instead of the site. 

Now, some sites only do this on there main page.  As an example, and I hate to use this URL, but it is so far the only perfect example I have of having this problem isolated. 

If I where to go to 

"http://www.ipfire.org"

directly, while using the proxy, I would get the error

BUT if I got to another page on that same site, say

"www.ipfire.org/.../index"

The main page loads up just fine. 

That is why I think it has something to do with redirection on the site and how that is being handled by the ASG. 

And again, I am only using that site above because it so clearly shows the problem, other sites tend to have it happening when using some kinds of dynamic content and are far less straight forward examples. 

So I have already searched google and the forms and have yet to come up with much that is usefull, mb I am just using the wrong search teams, IDK. 

But if somebody could help point me in the right direction that would be amazing, I feel like I have hit a brick wall in my research, and that is frustrating because I am sure it is something really simple I am doing wrong with how I have things setup.  So I am not looking for the answer just straight out because I really do want to learn from this.  Yes, normally I would rely on google and a search of the astraro forms to do that but I have not found those helpful (I really hope I am not missing something too obvious) 

Thanks for your time!


This thread was automatically locked due to age.
  • Hi,

    I tried the the site and had no problem, I did not see the error message. I have the http proxy running in transparent mode and tested with firefox on windows and mac. Maybe you can give some more details on your setup maybe their is something unique you have configured?
  • I actually have been spending the last hour toggling things one at a time, and testing between each toggle. 

    I just found the setting that was doing it, when I have "Block unscannable and encrypted files"  enabled in the HTTP Proxy I get the error and when it is disabled things work normally. 

    Then I had the bright idea of, humm, why don't I use this little logging feature and check the logs, here is what I found:

    httpproxy[3990]: [0xa4e03e00] regex_scan (regexscanner.c:59) mmap failed: Invalid argument

    httpproxy[3990]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="192.168.2.252" user="andrew" statuscode="500" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="22" time="753 ms" request="0xa4e03e00" url="ipfire.org/" exceptions="" error="" category="9998" reputation="neutral" categoryname="Uncategorized"
  • Hi,

    i have the same issue, but i get a "permission denied" message

    httpproxy[6471]: [0xaef34cb0] regex_scan (regexscanner.c:59) mmap failed: Permission denied 


    Does anyone have a hint?

    with best regards 

    Holger
  • This sounds like a bug - what version are you using?

    just a shot in the dark - could you try to disable all your http exceptions, and remove all URLs from ' Additional URLs/sites to block' and 'Always allow these URLs/sites'?

    Other things to try:
    -disable the HTTP cache on the asg
    -make sure 'Remove embedded objects (ActiveX/Java/Flash)' is disabled
  • Hi,

    This sounds like a bug - what version are you using?

    just a shot in the dark - could you try to disable all your http exceptions, and remove all URLs from ' Additional URLs/sites to block' and 'Always allow these URLs/sites'?

    Other things to try:
    -disable the HTTP cache on the asg
    -make sure 'Remove embedded objects (ActiveX/Java/Flash)' is disabled


    i used the 7.507 til this afternoon. Now i use the 8.001. Hope the bug will not be in this release.
    In 7.5 i disabled the option "block unscannable and encrypted files" and it works perfect.

    Greetings

    Holger