University LAN, I dont want to log in!
(This post serves in three ways: a short story, some interesting info and finally a quick question)
Right now I'm currently attending college and it seems like I’m the only student(even among CIS students) who has Linux running on his laptop or even desktop for that matter. So the problem lies in the schools newly developed Active Directory Domain this yr. From what I learned, there is no AD4UNIX implemented on the AD(since Linux is rare around here) so it is not possible to use resources on the domain from my Linux laptop. (or so I think? any more info/links about this?)
Every computer owned by the school along with student computers that are brought in, need to be logged into the domain, via a student username and password(Yes, SSN's mostly), in order to access the Internet, print, etc.
(The last 2 paragraphs were for background information, the real problem/my question is below)
On top of this, as a security feature, before any student can access the Internet, they are forwarded to a Univ. run webpage where you sign in w/ your account credentials. This boils down to assigning your computer with the appropriate network information, IP, DNS, GW, etc, upon successful login. Well I dont want to log in.
Before I continue, I found out that this isn't used to log and track students, it is just to insure that the public can not use(steal) the University's internet. Well thankfully, I'm a student. (Outside of this, if you make them mad, they will ban your MAC. Good thing I have "macchanger")
Well I want to learn something, so I found out you can bypass this weblogon in two ways. Steal an existing computers network info, specifically the computers MAC address(though knocking that computer offline) or just assigning yourself w/ the appropriate DNS, valid IP and gateway.
However oddly enough, every 15 minutes the DHCP server kicks me off of the network and gives me a garbage IP. An IP that does nothing but lead me back to the Sign in Webpage that I mentioned above. (But thankfully i just rerun my script to get me back onto the appropriate network w/o having to log into the annoying Web Login)
But since I have static network information that I assigned myself, who needs this pesky DHCP server anyway. So I used iptables to block all traffic going to or from ports 67 and 68 in hope of staying on the network a little longer. But no dice!
It seems, from ethereal logs(which I can post if anyone wants to see them), that my computer initiates the dhcp request for a new IP. How can this be? Why the short lease time from the DHCP, if that’s the case? Can i change this?(dhcp.leases maybe, haven't looked into it yet) And I'm positive my iptable entries were correct, why can't they stop the traffic? I know these questions are vague, but I'll try to be as helpful for any future questions.
As with the AD problem, thats another story/issue.
Cheers
Fusion
P.S.
I hope you have noticed, I have clear/white/curious intentions. Please don’t start flaming me. In order to learn you have to cross the boundary every once in a while.