Post Reply 
problem with OSX safari (webkit)
Mar. 04, 2006, 03:28 PM
Post: #1
problem with OSX safari (webkit)
when i use safari (proxy configuration set up correctly) and browse to a page, then BFilterDaemon locks itself up and uses a lot of cpu and i have to restart it.
with opera it works flawlessly.
maybe the problem lies in the mac os x proxying implementation?

nevertheless bfilter is really nice!
Quote this message in a reply
Mar. 04, 2006, 04:33 PM
Post: #2
 
My guess is: it's forwarding requests to itself, creating an infinite loop. Although it should not lock up completely in this case, so maybe it's something different.
Forwarding to itself can happen like this:
You already had your "Automatic" (or whatever) profile set to use bfilter by manually setting the proxy settings. Then bfilter's installer created a "(BF) Automatic" profile for you, configuring it to use bfilter, and to forward requests wherever "Automatic" was forwarding them, that is to bfilter again.
Yes, I should have mentioned in the docs that you are not supposed to modify system-wide proxy settings in case of the OSX version.
So, if I am right about the source of the problem, you should go to network preferences and disable http proxy for the "Automatic" profile.
Add Thank You Quote this message in a reply
Mar. 05, 2006, 05:58 PM
Post: #3
 
no, still no luck with safari...

thanks for your effort!
Quote this message in a reply
Mar. 05, 2006, 07:40 PM
Post: #4
 
OK, then do the following:
Open the terminal (you can use Spotlight to locate it).
Type the following commands:
Code:
sudo /Library/StartupItems/BFilter/BFilter stop
<you will be asked for your password here>
/Library/StartupItems/BFilter/BFilterDaemon
The code above stops bfilter and then starts it again with the permissions of the current user.

Now launch the Activity Monitor (again you can use Spotlight to locate it).
Locate the BFilterDaemon process (use the search function).
Go to some site in Safari to make BFilter lock up.
Back in the Activity Monitor, double-click the BFilterDaemon process, then press Sample.
Click Save and post the file here.
Add Thank You Quote this message in a reply
Mar. 10, 2006, 02:06 PM
Post: #5
done
here you are: see attachment


Attached File(s)
.txt  BFilterDaemon.txt (Size: 35.29 KB / Downloads: 552)
Quote this message in a reply
Mar. 10, 2006, 03:24 PM
Post: #6
 
Still it looks like it's forwarding requests to itself.
Post here a copy of the following file:
/Library/Preferences/SystemConfiguration/preferences.plist
Add Thank You Quote this message in a reply
Mar. 14, 2006, 11:47 AM
Post: #7
preferences.plist
ok
Quote this message in a reply
Mar. 14, 2006, 12:24 PM
Post: #8
dfgsdfg
attachment didn't work...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CurrentSet</key>
<string>/Sets/0</string>
<key>NetworkServices</key>
<dict>
<key>0</key>
<dict>
<key>AppleTalk</key>
<dict>
<key>ConfigMethod</key>
<string>Node</string>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>DNS</key>
<dict/>
<key>Ethernet</key>
<dict>
<key>MACAddress</key>
<string>00:03:93:c7Big Teeth2Big Teethd</string>
</dict>
<key>IPv4</key>
<dict>
<key>ConfigMethod</key>
<string>PPP</string>
</dict>
<key>IPv6</key>
<dict>
<key>ConfigMethod</key>
<string>Automatic</string>
</dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>en0</string>
<key>Hardware</key>
<string>Ethernet</string>
<key>SubType</key>
<string>PPPoE</string>
<key>Type</key>
<string>PPP</string>
<key>UserDefinedName</key>
<string>ADSL</string>
</dict>
<key>PPP</key>
<dict>
<key>ACSPEnabled</key>
<integer>0</integer>
<key>AuthName</key>
<string>[email protected]</string>
<key>AuthPassword</key>
<data>
ASNF
</data>
<key>CommUseTerminalScript</key>
<integer>0</integer>
<key>DialOnDemand</key>
<integer>0</integer>
<key>DisconnectOnFastUserSwitch</key>
<integer>0</integer>
<key>DisconnectOnIdle</key>
<integer>0</integer>
<key>DisconnectOnIdleTimer</key>
<integer>600</integer>
<key>DisconnectOnLogout</key>
<integer>0</integer>
<key>DisconnectOnSleep</key>
<integer>1</integer>
<key>IdleReminder</key>
<integer>0</integer>
<key>IdleReminderTimer</key>
<integer>900</integer>
<key>LCPEchoEnabled</key>
<integer>0</integer>
<key>LCPEchoFailure</key>
<integer>4</integer>
<key>LCPEchoInterval</key>
<integer>10</integer>
<key>Logfile</key>
<string>/var/log/ppp.log</string>
<key>VerboseLogging</key>
<integer>0</integer>
</dict>
<key>Proxies</key>
<dict>
<key>AppleProxyConfigurationSelected</key>
<integer>2</integer>
<key>ExcludeSimpleHostnames</key>
<integer>0</integer>
<key>FTPPassive</key>
<integer>1</integer>
<key>HTTPEnable</key>
<integer>1</integer>
<key>HTTPPort</key>
<integer>8080</integer>
<key>HTTPProxy</key>
<string>127.0.0.1</string>
<key>ProxyAutoDiscoveryEnable</key>
<integer>0</integer>
<key>RTSPEnable</key>
<integer>0</integer>
<key>SOCKSEnable</key>
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>ADSL</string>
</dict>
<key>0BA5221B-4860-4196-9828-07744FC89B91</key>
<dict>
<key>AppleTalk</key>
<dict>
<key>ConfigMethod</key>
<string>Node</string>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>DNS</key>
<dict/>
<key>IPv4</key>
<dict>
<key>ConfigMethod</key>
<string>DHCP</string>
</dict>
<key>IPv6</key>
<dict>
<key>ConfigMethod</key>
<string>Automatic</string>
</dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>fw0</string>
<key>Hardware</key>
<string>FireWire</string>
<key>Type</key>
<string>FireWire</string>
<key>UserDefinedName</key>
<string>Built-in FireWire</string>
</dict>
<key>PPP</key>
<dict>
<key>ACSPEnabled</key>
<integer>0</integer>
<key>CommDisplayTerminalWindow</key>
<integer>0</integer>
<key>CommRedialCount</key>
<integer>1</integer>
<key>CommRedialEnabled</key>
<integer>1</integer>
<key>CommRedialInterval</key>
<integer>5</integer>
<key>CommUseTerminalScript</key>
<integer>0</integer>
<key>DialOnDemand</key>
<integer>0</integer>
<key>DisconnectOnFastUserSwitch</key>
<integer>1</integer>
<key>DisconnectOnIdle</key>
<integer>0</integer>
<key>DisconnectOnIdleTimer</key>
<integer>1800</integer>
<key>DisconnectOnLogout</key>
<integer>1</integer>
<key>DisconnectOnSleep</key>
<integer>1</integer>
<key>IPCPCompressionVJ</key>
<integer>1</integer>
<key>IdleReminder</key>
<integer>0</integer>
<key>IdleReminderTimer</key>
<integer>1800</integer>
<key>LCPEchoEnabled</key>
<integer>0</integer>
<key>LCPEchoFailure</key>
<integer>4</integer>
<key>LCPEchoInterval</key>
<integer>10</integer>
<key>Logfile</key>
<string>/var/log/ppp.log</string>
<key>VerboseLogging</key>
<integer>0</integer>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>Proxies</key>
<dict>
<key>AppleProxyConfigurationSelected</key>
<integer>2</integer>
<key>ExcludeSimpleHostnames</key>
<integer>0</integer>
<key>FTPPassive</key>
<integer>1</integer>
<key>ProxyAutoDiscoveryEnable</key>
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>Built-in FireWire</string>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>5102C364-4F58-404A-A5BE-3970EDEBF189</key>
<dict>
<key>DNS</key>
<dict/>
<key>IPv4</key>
<dict>
<key>ConfigMethod</key>
<string>PPP</string>
</dict>
<key>IPv6</key>
<dict>
<key>ConfigMethod</key>
<string>Automatic</string>
</dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>modem</string>
<key>Hardware</key>
<string>Modem</string>
<key>SubType</key>
<string>PPPSerial</string>
<key>SupportsModemOnHold</key>
<integer>1</integer>
<key>Type</key>
<string>PPP</string>
<key>UserDefinedName</key>
<string>Internal Modem</string>
</dict>
<key>Modem</key>
<dict>
<key>ConnectionScript</key>
<string>Apple Internal 56K Modem (v.90)</string>
<key>DataCompression</key>
<integer>1</integer>
<key>DialMode</key>
<string>WaitForDialTone</string>
<key>ErrorCorrection</key>
<integer>1</integer>
<key>PulseDial</key>
<integer>0</integer>
<key>Speaker</key>
<integer>1</integer>
</dict>
<key>PPP</key>
<dict>
<key>ACSPEnabled</key>
<integer>0</integer>
<key>CommDisplayTerminalWindow</key>
<integer>0</integer>
<key>CommRedialCount</key>
<integer>1</integer>
<key>CommRedialEnabled</key>
<integer>1</integer>
<key>CommRedialInterval</key>
<integer>5</integer>
<key>CommUseTerminalScript</key>
<integer>0</integer>
<key>DialOnDemand</key>
<integer>0</integer>
<key>DisconnectOnFastUserSwitch</key>
<integer>1</integer>
<key>DisconnectOnIdle</key>
<integer>1</integer>
<key>DisconnectOnIdleTimer</key>
<integer>600</integer>
<key>DisconnectOnLogout</key>
<integer>1</integer>
<key>DisconnectOnSleep</key>
<integer>1</integer>
<key>IPCPCompressionVJ</key>
<integer>1</integer>
<key>IdleReminder</key>
<integer>0</integer>
<key>IdleReminderTimer</key>
<integer>1800</integer>
<key>LCPEchoEnabled</key>
<integer>1</integer>
<key>LCPEchoFailure</key>
<integer>4</integer>
<key>LCPEchoInterval</key>
<integer>10</integer>
<key>Logfile</key>
<string>/var/log/ppp.log</string>
<key>VerboseLogging</key>
<integer>0</integer>
</dict>
<key>Proxies</key>
<dict>
<key>AppleProxyConfigurationSelected</key>
<integer>2</integer>
<key>ExcludeSimpleHostnames</key>
<integer>0</integer>
<key>FTPPassive</key>
<integer>1</integer>
<key>ProxyAutoDiscoveryEnable</key>
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>Internal Modem</string>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>CD2EA888-3B84-442D-8CA6-81BC43CBD19A</key>
<dict>
<key>AppleTalk</key>
<dict>
<key>ConfigMethod</key>
<string>Node</string>
</dict>
<key>DNS</key>
<dict/>
<key>Ethernet</key>
<dict>
<key>MACAddress</key>
<string>00:03:93:c7Big Teeth2Big Teethd</string>
</dict>
<key>IPv4</key>
<dict>
<key>Addresses</key>
<array>
<string>192.168.100.3</string>
</array>
<key>ConfigMethod</key>
<string>Manual</string>
<key>SubnetMasks</key>
<array>
<string>255.255.255.240</string>
</array>
</dict>
<key>IPv6</key>
<dict>
<key>ConfigMethod</key>
<string>Automatic</string>
</dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>en0</string>
<key>Hardware</key>
<string>Ethernet</string>
<key>Type</key>
<string>Ethernet</string>
<key>UserDefinedName</key>
<string>Ethernet (Built-In)</string>
</dict>
<key>PPP</key>
<dict>
<key>ACSPEnabled</key>
<integer>0</integer>
<key>CommDisplayTerminalWindow</key>
<integer>0</integer>
<key>CommRedialCount</key>
<integer>1</integer>
<key>CommRedialEnabled</key>
<integer>1</integer>
<key>CommRedialInterval</key>
<integer>5</integer>
<key>CommUseTerminalScript</key>
<integer>0</integer>
<key>DialOnDemand</key>
<integer>0</integer>
<key>DisconnectOnFastUserSwitch</key>
<integer>1</integer>
<key>DisconnectOnIdle</key>
<integer>0</integer>
<key>DisconnectOnIdleTimer</key>
<integer>1800</integer>
<key>DisconnectOnLogout</key>
<integer>1</integer>
<key>DisconnectOnSleep</key>
<integer>1</integer>
<key>IPCPCompressionVJ</key>
<integer>1</integer>
<key>IdleReminder</key>
<integer>0</integer>
<key>IdleReminderTimer</key>
<integer>1800</integer>
<key>LCPEchoEnabled</key>
<integer>1</integer>
<key>LCPEchoFailure</key>
<integer>4</integer>
<key>LCPEchoInterval</key>
<integer>10</integer>
<key>Logfile</key>
<string>/var/log/ppp.log</string>
<key>VerboseLogging</key>
<integer>0</integer>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
<key>Proxies</key>
<dict>
<key>AppleProxyConfigurationSelected</key>
<integer>2</integer>
<key>ExcludeSimpleHostnames</key>
<integer>0</integer>
<key>FTPPassive</key>
<integer>1</integer>
<key>ProxyAutoDiscoveryEnable</key>
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>LAN</string>
</dict>
</dict>
<key>Sets</key>
<dict>
<key>0</key>
<dict>
<key>Network</key>
<dict>
<key>Global</key>
<dict>
<key>IPv4</key>
<dict>
<key>PPPOverridePrimary</key>
<integer>0</integer>
<key>ServiceOrder</key>
<array>
<string>0</string>
<string>CD2EA888-3B84-442D-8CA6-81BC43CBD19A</string>
<string>0BA5221B-4860-4196-9828-07744FC89B91</string>
<string>5102C364-4F58-404A-A5BE-3970EDEBF189</string>
</array>
</dict>
<key>NetInfo</key>
<dict>
<key>BindingMethods</key>
<array>
<string>Broadcast</string>
<string>DHCP</string>
</array>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
</dict>
<key>Interface</key>
<dict>
<key>en0</key>
<dict>
<key>Ethernet</key>
<dict>
<key>MTU</key>
<integer>1500</integer>
<key>MediaSubType</key>
<string>autoselect</string>
<key>__INACTIVE__</key>
<integer>1</integer>
</dict>
</dict>
</dict>
<key>Service</key>
<dict>
<key>0</key>
<dict>
<key>__LINK__</key>
<string>/NetworkServices/0</string>
</dict>
<key>0BA5221B-4860-4196-9828-07744FC89B91</key>
<dict>
<key>__LINK__</key>
<string>/NetworkServices/0BA5221B-4860-4196-9828-07744FC89B91</string>
</dict>
<key>5102C364-4F58-404A-A5BE-3970EDEBF189</key>
<dict>
<key>__LINK__</key>
<string>/NetworkServices/5102C364-4F58-404A-A5BE-3970EDEBF189</string>
</dict>
<key>CD2EA888-3B84-442D-8CA6-81BC43CBD19A</key>
<dict>
<key>__LINK__</key>
<string>/NetworkServices/CD2EA888-3B84-442D-8CA6-81BC43CBD19A</string>
</dict>
</dict>
</dict>
<key>UserDefinedName</key>
<string>Automatic</string>
</dict>
</dict>
<key>System</key>
<dict>
<key>Network</key>
<dict>
<key>HostNames</key>
<dict>
<key>LocalHostName</key>
<string>MyMac</string>
</dict>
</dict>
<key>System</key>
<dict>
<key>ComputerName</key>
<string>MyMac</string>
<key>ComputerNameEncoding</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Quote this message in a reply
Mar. 14, 2006, 12:48 PM
Post: #9
 
Well, with configuration like that, BFilter would indeed forward requests to itself. Now I'd like to know how did you end up with such configuration.

First, this configuration has just one profile: "Automatic". BFilter's installer should have created another one: "(BF) Automatic". Has the installer failed to create it or did you delete it yourself?

Your "Automatic" profile is configured to forward to 127.0.0.1:8080, that is to BFilter. Did you configure it yourself that way?

In any case, the fix would be to go to Network Preferences and configure the "Automatic" profile not to use an http proxy.
Note: there is a dropdown list with network interfaces: "ADSL", "Built-in Firewire", "Internal Modem", "LAN". Each have separate preferences. You need to disable http proxy in each one. Well, actually you only have it enabled for "ASDL".

Afther that, reinstall BFilter, and it should create a "(BF) Automatic" profile. Select that profile, and everything should work.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: