LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-26-2013, 06:14 PM   #16
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2

Quote:
Originally Posted by Paulo2 View Post
Just did login at Banco do Brasil successfully with FirefoxESR and IcedTea/Openjava, all most recent releases.
I can use Caixa Econômica Federal home banking as well, and they are also using java for security(???!!)
Maybe what I do different is that I have an user just for home banking.
Well, I tried as root and it didn't work, even though its $HOME is quite clean.
 
Old 08-26-2013, 06:49 PM   #17
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
I've just created a new user and tried mozilla-firefox-17.0.7esr-i486-1_slack14.0 and opera-12.15-1748.i386.linux

I verified java online and on both browsers they were detected. Still no success.

I'm reluctant in installing KDE just for the sake of Konqueror, and from the test I just did I don't think it'll work anyway. Doesn't seem a browser issue to me. Am I wrong?

What are the chances it could be my MTU?

$ /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 * prefixlen 64 scopeid 0x20<link>
ether * txqueuelen 1000 (Ethernet)
RX packets 48674810 bytes 21451645096 (19.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 47545442 bytes 31236320558 (29.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Can I change the MTU on the fly (is it safe to do)?

Compass.

Last edited by compassnet; 08-26-2013 at 06:54 PM.
 
Old 08-26-2013, 06:54 PM   #18
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware current(32) (started with 13.37(32))
Posts: 122

Rep: Reputation: 27
How did you get debugging log? I can login and see if my log has something to help.
I think Openjava must have this option too.

Even with missing permissions and expired certificate, log says that validation
was successfully. I think this is a little strange, I don't know if it is right.
Quote:
cache: Adding MemoryCache entry: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
security: Trust for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar has ended: Wed Dec 31 21:00:00 BRT 1969
Missing Permissions manifest attribute for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
Missing Codebase manifest attribute for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
security: Loading Deployment certificates from /home/net/.java/deployment/security/trusted.certs
security: Loaded Deployment certificates from /home/net/.java/deployment/security/trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate5988E8C9747CE0DBB244CB8FA9130BD3
security: SHA-256 finger print: 0CFC19DB681B014BFE3F23CB3A78B67208B4E3D8D7B6A7B1807F7CD6ECB2A54E
security: SHA-256 finger print: 9ACFAB7E43C8D880D06B262A94DEEEE4B4659989C3D0CAF19BAF6405E41AB7DF
security: The certificate has expired, need to check timestamping info
security: No timestamping info available
security: The OCSP support is enabled
security: The CRL support is enabled
network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT
security: OCSP Response: GOOD
network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT
security: OCSP Response: GOOD
security: Certificate validation succeeded using OCSP/CRL
 
Old 08-26-2013, 07:04 PM   #19
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware current(32) (started with 13.37(32))
Posts: 122

Rep: Reputation: 27
Quote:
Originally Posted by compassnet View Post
I've just created a new user and tried mozilla-firefox-17.0.7esr-i486-1_slack14.0 and opera-12.15-1748.i386.linux

I verified java online and on both browsers they were detected. Still no success.

I'm reluctant in installing KDE just for the sake of Konqueror, and from the test I just did I don't think it'll work anyway. Doesn't seem a browser issue to me. Am I wrong?

What are the chances it could be my MTU?

$ /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 * prefixlen 64 scopeid 0x20<link>
ether * txqueuelen 1000 (Ethernet)
RX packets 48674810 bytes 21451645096 (19.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 47545442 bytes 31236320558 (29.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Can I change the MTU on the fly (is it safe to do)?

Compass.
Do you have another bank account to test with? Like CEF, they started using java applets
just a few months ago. I had some problems, at the beginning it did work only with Seamonkey.

About MTU, I don't think that is the problem, mine is the same
Quote:
paulo@paulo:~$ /sbin/ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.1.2 netmask 255.255.255.252 broadcast 10.10.1.3
inet6 fe80::20e:a6ff:fe0d:3512 prefixlen 64 scopeid 0x20<link>
ether 00:0e:a6:0d:35:12 txqueuelen 1000 (Ethernet)
RX packets 121898 bytes 120760080 (115.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 114382 bytes 16238677 (15.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 22 base 0xa000
ps- my connection is through ipv4, not ipv6
 
Old 08-26-2013, 07:27 PM   #20
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Paulo2 View Post
How did you get debugging log? I can login and see if my log has something to help.
I think Openjava must have this option too.

Even with missing permissions and expired certificate, log says that validation
was successfully. I think this is a little strange, I don't know if it is right.
By using /usr/local/java/bin/ControlPanel then in the Advanced Tab check all three debugging options.

Compass.
 
Old 08-26-2013, 07:29 PM   #21
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Paulo2 View Post
Do you have another bank account to test with? Like CEF, they started using java applets
just a few months ago. I had some problems, at the beginning it did work only with Seamonkey.

About MTU, I don't think that is the problem, mine is the same

ps- my connection is through ipv4, not ipv6
Nope, I don't have another bank account to test with.

Well, I guess it isn't the MTU then.

Compass.
 
Old 08-27-2013, 01:09 AM   #22
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware current(32) (started with 13.37(32))
Posts: 122

Rep: Reputation: 27
IcedTea log isn't as verbose as Oracle plugin log, nothing about certificate, etc...

Then I did try login with my regular user, just until the password page, and
at the first try didn't work, and I left the tab opened (in Firefox).
You can imagine my surprise when about 10-20 minutes later that java
warning window pop up asking to run the applet
I accepted and the password page opened
I could put ten more smilies to express my confusion


Since in Ubuntu with Openjava it works, I think that tronayne maybe has
a good opinion, can be a problem with some file or link left behind.

Last edited by Paulo2; 08-27-2013 at 01:18 AM. Reason: complementary thought
 
Old 08-27-2013, 05:05 AM   #23
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Paulo2 View Post
Since in Ubuntu with Openjava it works, I think that tronayne maybe has
a good opinion, can be a problem with some file or link left behind.
I'll have to check it a bit thoroughly then. Can't do it right now.

Compass.
 
Old 08-27-2013, 12:43 PM   #24
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.15.3) UEFI enabled
Posts: 347

Rep: Reputation: 71
This may be completely off topic BUT:
I recently had trouble setting up a new banking online account and a health insurance online account.
Tried everything with Slackware firefox konquer lynx, with no success.
Had a friend try with a windows laptop
Another friend with a MacBook
Tried an android tablet
Nothing worked
Finally in frustration I called on the landline and a "security specialist" talked me through the original process using slackware and firefox and I logged on without a hitch while she watched my keystrokes from the banks server.
OK I must have made a mistake.
But wait the same thing happened on my Aetna healthcare site two days later.

Maybe I need more tinfoil on my hat or perhaps the powers that be are starting to take security seriously
Food for thought.
John
 
Old 08-27-2013, 06:46 PM   #25
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Paulo2 View Post
Since in Ubuntu with Openjava it works, I think that tronayne maybe has
a good opinion, can be a problem with some file or link left behind.
I could agree with you on that, but I always install java like this:

1. $ cd
2. $ tar zxf programs/jre-7u25-linux-i586.tar.gz -C .
3. # mv /home/net/jre1.7.0_25/ /usr/local/
4. # cd /usr/local/
5. # mv jre1.7.0_25/ java/
6. # chown -R root:root java/
7. # cd /usr/local/bin/
8. # ln -s /usr/local/java/bin/java

If I ever need to remove/upgrade java all I have to do is to rm -rf /usr/local/java/, so there shouldn't be any stale files behind. Of course now there could be, because of the many different approaches I've tried so far, but not before when my internet banking stopped working.

I'm considering a few options here:

1. Format then reinstall a fresh Slackware 14.0 (will require a bit of work reconfiguring and updating);
2. Use Lubuntu for now;
3. Wait until Slackware 14.1/15.0 comes out.

Not in the mood for doing #1 though, adding to the fact that there is no guarantee that my internet banking will work again by doing so.

Compass.
 
Old 08-28-2013, 07:42 AM   #26
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,006

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
How are you setting your environment variables? The java.SlackBuild installs two files in /etc/profile.d, jdk.csh (for C-Shell) and jdk.sh (for all other shells) which are executed at log in:
Code:
cat /etc/profile.d/jdk.sh
#!/bin/sh
export JAVA_HOME=/usr/lib64/java
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
You should have something similar to that using your /usr/local path for JAVA_HOME (and note the path to jre/bin).

Just for grins, given that you have the current JDK tar file, how hard would it be to get the java directory from /extra and simply build the package and install it with installpkg? You can always removepkg if you prefer. Just, you know, remove the link in /usr/local/bin and give it shot -- ought to take about 10 minutes start to finish. installpkg installs the Java plug-in symbolic link in /usr/lib/mozilla/plugins for you, too.

What the heck, can't hurt, might help, eh?

Hope this helps some.

Last edited by tronayne; 08-28-2013 at 07:43 AM.
 
Old 08-28-2013, 05:24 PM   #27
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by tronayne View Post
How are you setting your environment variables? The java.SlackBuild installs two files in /etc/profile.d, jdk.csh (for C-Shell) and jdk.sh (for all other shells) which are executed at log in:
Code:
cat /etc/profile.d/jdk.sh
#!/bin/sh
export JAVA_HOME=/usr/lib64/java
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
You should have something similar to that using your /usr/local path for JAVA_HOME (and note the path to jre/bin).
I have this without doing any exports:

$ whereis java
java: /usr/local/bin/java /usr/local/java

$ which java
/usr/local/bin/java

I did the exports manually but no success.

Quote:
Originally Posted by tronayne View Post
Just for grins, given that you have the current JDK tar file, how hard would it be to get the java directory from /extra and simply build the package and install it with installpkg? You can always removepkg if you prefer. Just, you know, remove the link in /usr/local/bin and give it shot -- ought to take about 10 minutes start to finish. installpkg installs the Java plug-in symbolic link in /usr/lib/mozilla/plugins for you, too.

What the heck, can't hurt, might help, eh?

Hope this helps some.
I did install jdk-7u25-i586-1 but it didn't work, so much so that I removed it.

$ ls -lah /var/log/removed_packages/jdk-7u25-i586-1
-rw-r--r-- 1 root root 84K Aug 11 21:52 /var/log/removed_packages/jdk-7u25-i586-1

It baffles me that the online java tool detects java but my internet banking doesn't work.

One other possibility is that somehow I broke something as root. Again, the java online tool works fine, so I'm just guessing here, because there aren't many things I can think of trying right now.

Compass.
 
Old 08-28-2013, 06:57 PM   #28
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware current(32) (started with 13.37(32))
Posts: 122

Rep: Reputation: 27
Quote:
I could agree with you on that, but I always install java like this:

1. $ cd
2. $ tar zxf programs/jre-7u25-linux-i586.tar.gz -C .
3. # mv /home/net/jre1.7.0_25/ /usr/local/
4. # cd /usr/local/
5. # mv jre1.7.0_25/ java/
6. # chown -R root:root java/
7. # cd /usr/local/bin/
8. # ln -s /usr/local/java/bin/java
Mine was this, before change to Openjava
Code:
rm -rf /usr/lib/java
tar zxvf jre(java file) -C /usr/lib/
mv /usr/lib/jre* /usr/lib/java
ln -sf /usr/lib/java/bin/java /usr/local/bin/java
The difference is "/usr/lib" instead "/usr/local/"




Quote:
It baffles me that the online java tool detects java but my internet banking doesn't work.
With Openjava I get the opposite, error on java.com detection and
home banking working, go figure...
 
Old 08-28-2013, 11:26 PM   #29
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Paulo2 View Post
The difference is "/usr/lib" instead "/usr/local/"
Just tested but failed. Was worth trying. Thanks.

Compass.
 
Old 08-31-2013, 08:38 AM   #30
compassnet
LQ Newbie
 
Registered: Feb 2013
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Update

OK, an update.

I installed Slackware 14.0 32 bit over the Lubuntu version (online banking was working there but I wasn't going to reboot all the time) I had in my old secondary hard drive.
It was a full fresh mint install (I could even sense the freshness in the air) without doing any updates. Not even packages from /extra were installed and I kept with the default huge-smp kernel.

First I installed jdk-7u25-linux-i586.tar.gz using my method with no success. To be honest I only remember testing with Firefox. The java online test was OK.

Then afterwords I moved the jdk install around so it wouldn't be detected, removed the java plugin symlink I had added manually and used the tronayne install method with "./java.SlackBuild jdk-7u25-linux-i586.tar.gz", which also failed. This time I tried with Firefox (java online test OK), SeaMonkey (java online test OK) and Konqueror (my banking site says it isn't supported).

Now I'm even more annoyed.

Any ideas?

Compass.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet banking usb stick setup robuust Linux - Security 8 02-06-2010 10:41 AM
Firefox and online banking salimshahzad General 12 01-11-2010 04:43 AM
Internet banking setup robuust Linux - Security 7 07-10-2009 01:28 PM
internet banking acwaite Linux - General 2 07-16-2007 06:35 PM
Internet Banking & Linux :( SML Linux - Newbie 16 09-24-2006 08:50 PM


All times are GMT -5. The time now is 02:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration