Koozali.org: home of the SME Server

Way-out request for anyone attemping.....

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« on: August 29, 2005, 10:59:39 PM »
We are currently running SME 6.0.1 at two schools I manage. The SAU was implemented a new SIS (Student Information System) by PowerSchool (www.poerschool.com - An Apple product now). The issue I have is that utilizing PowerGrade, a fat-client application on the teachers computer. It is supposed to connect to the PowerSchool server to synch attendance and grades. It seems that SME, or some component within the SME structure is blocking request from the client to the server. The client uses port 80 to communicate with the server.

I ahve tried disabling DansGuardian as a possible suspect, but that didn't work.

So....my question is, and please consider me a SME/Linux newb, what else could be running that would block access on port 80? And if you know, how do I work around it?

And for additional brownie points.....one of my SME 6.0.1 installs has some issues, and I am considering migrating to 6.5. Is there an easy way to do this?

Thanks,
grattman
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Way-out request for anyone attemping.....
« Reply #1 on: August 30, 2005, 04:27:06 AM »
grattman

> It seems that SME, or some component within the
> SME structure is blocking request from the client > to the server.

Not necessarily. Perhaps you need to configure the client application to access the sme proxy port (3128 or 8080 if using Dansguardian), that fixes the issue in similar sort of situations.


> I am considering migrating to 6.5.
> Is there an easy way to do this?

Insert CD, run upgrade

To be safe, uninstall any incompatible contribs first.
You may even like to try it on a test installation to be familiar with the process and discover any problems before doing it on your production server.
...

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #2 on: August 30, 2005, 11:40:11 AM »
Ray,

Thanks for the quick reply. Wouldn't turning off DansGuardian have resolved it using port 8080?

[Update] I completely removed DansGuardian from the server and this had no impact on my issue.

Where can I look to see what is being logged on the SME server with regards to the outgoing request? If there is such a place, that might clue me in to the issue. Forgive my SME/Linux ineptness, I come from a Windowz world.

Also, there is no way that I know of to alter the application.

Thanks,
garttman
...

Offline grattman

  • ****
  • 122
  • +0/-0
Some more info
« Reply #3 on: September 12, 2005, 11:03:32 PM »
Not sure who will pick up on this, but we figured out what we think is going on.

The program uses (by default with no way of changing it) port 80 to access the remote server. It would seem that it sends out a request with out any http header information. Squid then picks up the request and inserts some type of header information. The remote server sees this is denies access. We changed the port to another port  and it works fine.

I know the obvious answer is "just use another port." However, the TECH Coordinator wants to use port 80 and this is a battle I don't think I can win.

I have tried several work arounds, such as:
http://www.bmannconsulting.com/node/652
http://www.tech-geeks.org/contrib/loveless/SMEServer/contribs/squidProperties/

Neither of which made a difference. Does anyone have anything else to lend to this issue. The alternative is for me to switch to another flavor of Linux which I do not want to do.

Thanks,
grattman
...

Offline gregswallow

  • *
  • 651
  • +1/-0
Way-out request for anyone attemping.....
« Reply #4 on: September 13, 2005, 01:16:56 AM »
Did you try just disabling squid?

/sbin/e-smith/config setprop squid status disabled

then post upgrade and reboot...

/sbin/e-smith/signal-event post-upgrade
reboot

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #5 on: September 13, 2005, 01:41:21 AM »
Quote from: "gregswallow"

then post upgrade and reboot


Can you expand on this a bit. I don't understand the post upgrade aspect? What does post upgrade do with regards to squid?

And if this does not work, or renders DansGuardian ineffective, does

/sbin/e-smith/config setprop squid status enabled

/sbin/e-smith/signal-event post-upgrade

Return it to normal?
...

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #6 on: September 13, 2005, 02:13:56 AM »
Quote from: "gregswallow"
Did you try just disabling squid?

/sbin/e-smith/config setprop squid status disabled

then post upgrade and reboot...

/sbin/e-smith/signal-event post-upgrade
reboot


As I suspected, this is not a viable option. DansGuardian relies on squid for proxying. This being an Elementary School server, DG has to be there by law. Anyone else got a suggestion?

Thanks,
grattman
...

Offline gregswallow

  • *
  • 651
  • +1/-0
Way-out request for anyone attemping.....
« Reply #7 on: September 13, 2005, 04:38:06 PM »
I thought you "completely removed DansGuardian from the server".  

Did you try it at least for a second to make sure that squid is the problem?  Do that.

Offline gregswallow

  • *
  • 651
  • +1/-0
Way-out request for anyone attemping.....
« Reply #8 on: September 13, 2005, 04:42:39 PM »
Quote from: "grattman"
does

/sbin/e-smith/config setprop squid status enabled

/sbin/e-smith/signal-event post-upgrade

Return it to normal?


No, you have to type 'reboot' after that.  Settings are updated after a reboot.

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #9 on: September 13, 2005, 06:34:57 PM »
I had removed DansGuardian, but only over the weekend. It had to be in place when school is in session. Squid is definitely the issue, not DG. I have renabled both squid and DG and am awaiting any other ideas.

Thanks,
grattman
...

Offline raem

  • *
  • 3,972
  • +4/-0
Way-out request for anyone attemping.....
« Reply #10 on: September 14, 2005, 01:46:55 AM »
grattman

I don't know if this comment is really related to your problem or not.

>> Perhaps you need to configure the client
>> application to access the sme proxy port (3128 or >> 8080 if using Dansguardian), that fixes the issue >> in similar sort of situations.

> Wouldn't turning off
> DansGuardian have resolved it using port 8080?

Well it depends if you have set the transproxy port on sme server or not.
Have you ever issued this command ?

/sbin/e-smith/db configuration setprop squid TransparentPort 8080
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
...

Offline gregswallow

  • *
  • 651
  • +1/-0
Way-out request for anyone attemping.....
« Reply #11 on: September 14, 2005, 02:15:23 AM »
Even with squid and dansguardian installed I'm 99% sure nothing is set by default to block port 80.  The TransparentPort setting can be 3128 (if only squid) or 8080 (with squid+dansguardian), but SME doesn't block port 80 unless you've done something else with iptables to block it.  Would you agree, Ray?

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #12 on: September 14, 2005, 02:35:10 AM »
I have determined squid/DG it is not blocking port 80. However, squid/DG is inserting http header information in to some degree on the outgoing request. And the server receiving the request does not like whatever info it has inserted.

Thanks,
grattman
...

Offline raem

  • *
  • 3,972
  • +4/-0
Way-out request for anyone attemping.....
« Reply #13 on: September 14, 2005, 02:52:03 AM »
gregswallow

> ...SME doesn't block port 80 unless you've done something else with iptables to block it.  Would you agree, Ray?

Yes, but I think the dungog contrib implementation of DG does block port 80 to prevent users circumventing dansguardian filtering

grattman, what DG contrib are you using, dungog's (?), or did you implement it as per my how to.
Did you make any custom template/masq/iptables changes to port 80 ?
...

Offline grattman

  • ****
  • 122
  • +0/-0
Way-out request for anyone attemping.....
« Reply #14 on: September 14, 2005, 04:08:45 AM »
Dungog implementation Ray. I imagine I could do your version now that I understand it more. But when I removed DG, it still didn't fix the problem. Additionally, I have made no other iptable/masq changes. Not clue how to  :-)
...