Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 24.01.06 13:11 
Hallo,

in unserer Schule verwenden die Lehrer das Programm INiS Smile zum Freigeben und Sperren des Internets. Diese Software ist vollständig in Delphi geschrieben. Das Internet scheint über einen Proxy Server zu kommen, aber sicher bin ich nicht. Wie schafft das Programm, den Internet Explorer zu der Meldung "Die Suchseite konnte nicht geöffnet werden" zu bewegen? Werden Werte in der Registry geändert (wenn ja welche?) oder blockiert es einen bestimmten Port?

KOLLER

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Do 26.01.06 21:47 
Das Ding wird dir wahrscheinlich in der Registry einfach nur den Proxy austragen und da wahrscheinlich in den Netzwerkeinstellungen der Gateway nicht gesetzt ist, kriegst du keine Internetverbindung.
Denk ich mir zu mindest, denn so läufts bei uns und wir haben ne Selbstentwickelte Lösung, die aber das gleiche kann wie dieses System.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 26.01.06 21:53 
Kannst du bitte mehr ins Detail gehen?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 26.01.06 22:08 
Wie trägt man den Proxy aus?
Und wie entfernt man das Gateway?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Do 26.01.06 22:13 
Schau mal bei google oder such hier im Forum, dass hab ich schon oft gelesen.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 26.01.06 22:20 
Hallo,

bisher habe ich nur das gefunden:

www.swissdelphicente...showcode.php?id=2110

Ich weiß nicht, welche Stichworte ich eingeben soll. Mit 'Proxy austragen' kommt nur ein Ergebnis, und nun rate mal
welches!!! :wink:

Ich frage nicht gerne danach, aber kannst du ein paar Links posten?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Fr 27.01.06 15:51 
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
da stehts drinnen

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 28.01.06 12:06 
Hallo,

ich habe dort mal nachgeguckt. Dort sind mehrere Schlüssel und Unterordner. Im Anhang ein Screenshot. Wie muss ich nun weiter verfahren?
Einloggen, um Attachments anzusehen!
_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Sa 28.01.06 13:16 
Du schreibst dir ein Delphiprogramm, dass dir den Registryschlüssel ausliest, wenn das Internet freigegeben ist.
Diese Einstellungen kannst du dann mit Delphi wenns wieder gesperrt ist wieder in die Registry laden.
Wenn ein Proxy eingetragen ist, schaut das ganze nämlich so wie im angehängten Screenshot aus.
Einloggen, um Attachments anzusehen!
_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 28.01.06 16:24 
user profile iconHansi@OMG hat folgendes geschrieben:
Du schreibst dir ein Delphiprogramm, dass dir den Registryschlüssel ausliest, wenn das Internet freigegeben ist.


OK. Aber welchen Schlüssel meisnt du mit 'den Registryschlüssel'? Dort stehen mehrere :oops:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 28.01.06 17:57 
user profile iconKoller hat folgendes geschrieben:
user profile iconHansi@OMG hat folgendes geschrieben:
Du schreibst dir ein Delphiprogramm, dass dir den Registryschlüssel ausliest, wenn das Internet freigegeben ist.


OK. Aber welchen Schlüssel meisnt du mit 'den Registryschlüssel'? Dort stehen mehrere :oops:


Dann lies am besten alle aus. Falls ihr in der Schule allerdings nur eingeschränkte Rechte habt, könnte es evtl sein, dass du nichts in die Registry schreiben darfst...

AXMD
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 28.01.06 18:03 
Das mit den eingeschränkten Rechten stellt kein Problem dar. Ich bekomme auf Wunsch auch Admin-Rechte, wenn ich den Lehrer drum bitte. (Das müsst ihr jetzt nicht verstehen :wink: )

Also ich soll wenn Internet zu ist alle auslesen und wenn Internet an ist wieder alle auslesen und dann vergleichen, oder?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Sa 28.01.06 18:08 
Genau so.
Wenn sich da aber nichts verändert, dann tragen die den Gateway in den Netzwerkeinstellungen aus und wieder ein.
Das ist allerdings bisschen komplizierter zu machen.
Das kann ich auch nicht so, ohne größeren Zeitaufwand.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 31.01.06 16:56 
Also, ich habe mal die Registry 'fotografiert'.

Beide Screenshots sehen gleich aus. Ich kann sie nicht hochladen:

Zitat:

Fehler
Upload Error: Kann den Dateianhang ./../../../files/attachment/productiv/zu_695.bmp nicht hochladen.


Wie trägt man nun die Gatewayeinstellungen aus?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Di 31.01.06 19:24 
Also das läuft so, der Wert steht auch in der Registry und zwar da:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\{CC7DA99B-32FC-45BE-8F74-3EEA092B3A42}\Parameters\Tcpip]

Das Problem an der Sache ist jetzt der Teil mit CC7DA...
weil das abhängig von deiner Netzwerkkarte ist.
Aber schau mal in die Registry, was da drinensteht. Da ist ein Eintrag mit Defaultgateway.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 31.01.06 22:36 
Kann man nicht durch z.B. die Seriennummer der Netzwerkkarte dieses Zeichenwirrwarr errechnen?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 02.02.06 22:33 
Ja, es gibt zwei solche Ordner, die solches Zeichenwirrwarr sind. In beiden gibt es ein DefaultGateway. Was hat es denn mit diesem Schlüssel auf sich?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot