Skocz do zawartości

dramcio

Użytkownicy
  • Zawartość

    77
  • Rejestracja

  • Ostatnio

Posty napisane przez dramcio


  1. Witajcie. // system fbsd 9.0

     

    Moje połaczenie wygląda tak:

     

    internet -> router dostawcy -> router mój -> Pc #1 + pc#2

     

    DMZ na pc#2

     

    Gdy stawiam grę na pc#2 ona wykrywa ,że publicznym ip jest ip które przypisuje mój ruter pc#2...

     

    No ale wtedy ludzie z publicznego ip nie mogą się do mnie połączyć.

     

    Więc dodałem alias na ip. od dostawcy wtedy tylko ludzie mogą się połączyć którzy mają internet u mojego dostawcy no też dziwna sprawa.

     

    Więc pomyślalem sobie czy jest możliwe abym wymyślił sobie jakieś ip, i do tego ip podpiął te 3x ip (publiczne,dostawcy,od rutera) aby wszystkie były łączone z tym samym ip?

     

    Czy przypadkiem tak nie działają dnsy? :P

     

    Pozdrawiam.

     

    Liczę na pomoc.


  2. Przepraszam za drugi post ale tamtegu już edytować nie mogę..

     

    Mam logi z /db/syslog

     

    Log błędnego logowania:

    Oct 14 12:12:37 :: AUTH_LOGIN id(244) login(195969) social_id(1959699) login_key(114057961), client_key(1924211412 1264961311 116648677 2009228275)
    Oct 14 12:12:38 :: LOGIN_BY_KEY success 195969 114057961 95.160.114.88
    Oct 14 12:12:38 :: RESULT_LOGIN: login success 195969 rows: 4
    Oct 14 12:12:38 :: Pavey 474300 954800 hair 0
    Oct 14 12:12:38 :: Suffer 384549 802492 hair 0
    Oct 14 12:12:38 :: Celulit 960612 270722 hair 0
    Oct 14 12:12:38 :: aaaaa 957101 255087 hair 0
    Oct 14 12:12:40 :: [    18950] return 0/0/0 async 0/0/0
    Oct 14 12:12:45 :: [    19000] return 0/0/0 async 0/0/0
    Oct 14 12:12:50 :: [    19050] return 0/0/0 async 0/0/0
    Oct 14 12:12:55 :: [    19100] return 0/0/0 async 0/0/0
    Oct 14 12:13:00 :: [    19150] return 0/0/0 async 0/0/0
    Oct 14 12:13:05 :: [    19200] return 0/0/0 async 0/0/0
    Oct 14 12:13:10 :: [    19250] return 0/0/0 async 0/0/0
    Oct 14 12:13:15 :: [    19300] return 0/0/0 async 0/0/0
    Oct 14 12:13:20 :: [    19350] return 0/0/0 async 0/0/0
    Oct 14 12:13:25 :: [    19400] return 0/0/0 async 0/0/0
    Oct 14 12:13:30 :: [    19450] return 0/0/0 async 0/0/0
    Oct 14 12:13:35 :: [    19500] return 0/0/0 async 0/0/0
    Oct 14 12:13:40 :: [    19550] return 0/0/0 async 0/0/0
    Oct 14 12:13:45 :: [    19600] return 0/0/0 async 0/0/0
    Oct 14 12:13:50 :: [    19650] return 0/0/0 async 0/0/0
    Oct 14 12:13:55 :: [    19700] return 0/0/0 async 0/0/0
    Oct 14 12:14:00 :: [    19750] return 0/0/0 async 0/0/0
    Oct 14 12:14:05 :: [    19800] return 0/0/0 async 0/0/0
    Oct 14 12:14:10 :: [    19850] return 0/0/0 async 0/0/0
    Oct 14 12:14:15 :: [    19900] return 0/0/0 async 0/0/0
    Oct 14 12:14:20 :: [    19950] return 0/0/0 async 0/0/0
    Oct 14 12:14:25 :: [    20000] return 0/0/0 async 0/0/0
    Oct 14 12:14:30 :: [    20050] return 0/0/0 async 0/0/0
    Oct 14 12:14:35 :: [    20100] return 0/0/0 async 0/0/0
    Oct 14 12:14:40 :: [    20150] return 0/0/0 async 0/0/0
    Oct 14 12:14:45 :: [    20200] return 0/0/0 async 0/0/0
    Oct 14 12:14:50 :: [    20250] return 0/0/0 async 0/0/0
    Oct 14 12:14:55 :: [    20300] return 0/0/0 async 0/0/0
    Oct 14 12:15:00 :: [    20350] return 0/0/0 async 0/0/0
    Oct 14 12:15:05 :: [    20400] return 0/0/0 async 0/0/0
    Oct 14 12:15:10 :: [    20450] return 0/0/0 async 0/0/0
    Oct 14 12:15:15 :: [    20500] return 0/0/0 async 0/0/0
    Oct 14 12:15:20 :: [    20550] return 0/0/0 async 0/0/0
    Oct 14 12:15:25 :: [    20600] return 0/0/0 async 0/0/0
    Oct 14 12:15:30 :: [    20650] return 0/0/0 async 0/0/0
    Oct 14 12:15:35 :: [    20700] return 0/0/0 async 0/0/0
    Oct 14 12:15:40 :: [    20750] return 0/0/0 async 0/0/0
    Oct 14 12:15:45 :: [    20800] return 0/0/0 async 0/0/0
    Oct 14 12:15:50 :: [    20850] return 0/0/0 async 0/0/0
    Oct 14 12:15:55 :: [    20900] return 0/0/0 async 0/0/0
    Oct 14 12:16:00 :: [    20950] return 0/0/0 async 0/0/0
    Oct 14 12:16:05 :: [    21000] return 0/0/0 async 0/0/0
    Oct 14 12:16:10 :: [    21050] return 0/0/0 async 0/0/0
    Oct 14 12:16:15 :: [    21100] return 0/0/0 async 0/0/0
    Oct 14 12:16:20 :: [    21150] return 0/0/0 async 0/0/0
    Oct 14 12:16:25 :: [    21200] return 0/0/0 async 0/0/0
    Oct 14 12:16:30 :: [    21250] return 0/0/0 async 0/0/0
    Oct 14 12:16:35 :: [    21300] return 0/0/0 async 0/0/0
    Oct 14 12:16:40 :: [    21350] return 0/0/0 async 0/0/0
    Oct 14 12:16:45 :: [    21400] return 0/0/0 async 0/0/0
    Oct 14 12:16:50 :: [    21450] return 0/0/0 async 0/0/0
    Oct 14 12:16:55 :: [    21500] return 0/0/0 async 0/0/0
    Oct 14 12:17:00 :: [    21550] return 0/0/0 async 0/0/0
    Oct 14 12:17:05 :: [    21600] return 0/0/0 async 0/0/0
    Oct 14 12:17:10 :: [    21650] return 0/0/0 async 0/0/0
    Oct 14 12:17:15 :: [    21700] return 0/0/0 async 0/0/0
    Oct 14 12:17:20 :: [    21750] return 0/0/0 async 0/0/0
    Oct 14 12:17:25 :: [    21800] return 0/0/0 async 0/0/0
    Oct 14 12:17:30 :: [    21850] return 0/0/0 async 0/0/0
    Oct 14 12:17:35 :: [    21900] return 0/0/0 async 0/0/0
    Oct 14 12:17:40 :: [    21950] return 0/0/0 async 0/0/0
    Oct 14 12:17:45 :: [    22000] return 0/0/0 async 0/0/0
    Oct 14 12:17:50 :: [    22050] return 0/0/0 async 0/0/0
    Oct 14 12:17:55 :: [    22100] return 0/0/0 async 0/0/0
    Oct 14 12:18:00 :: [    22150] return 0/0/0 async 0/0/0
    Oct 14 12:18:05 :: [    22200] return 0/0/0 async 0/0/0
    Oct 14 12:18:10 :: [    22250] return 0/0/0 async 0/0/0
    Oct 14 12:18:15 :: [    22300] return 0/0/0 async 0/0/0
    Oct 14 12:18:20 :: [    22350] return 0/0/0 async 0/0/0
    Oct 14 12:18:25 :: [    22400] return 0/0/0 async 0/0/0
    Oct 14 12:18:30 :: [    22450] return 0/0/0 async 0/0/0
    Oct 14 12:18:35 :: [    22500] return 0/0/0 async 0/0/0
    Oct 14 12:18:40 :: [    22550] return 0/0/0 async 0/0/0
    Oct 14 12:18:45 :: [    22600] return 0/0/0 async 0/0/0
    Oct 14 12:18:50 :: [    22650] return 0/0/0 async 0/0/0
    Oct 14 12:18:55 :: [    22700] return 0/0/0 async 0/0/0
    Oct 14 12:19:00 :: [    22750] return 0/0/0 async 0/0/0
    Oct 14 12:19:05 :: [    22800] return 0/0/0 async 0/0/0
    Oct 14 12:19:10 :: [    22850] return 0/0/0 async 0/0/0
    Oct 14 12:19:15 :: [    22900] return 0/0/0 async 0/0/0
    Oct 14 12:19:20 :: [    22950] return 0/0/0 async 0/0/0
    Oct 14 12:19:25 :: [    23000] return 0/0/0 async 0/0/0
    Oct 14 12:19:30 :: [    23050] return 0/0/0 async 0/0/0
    Oct 14 12:19:35 :: [    23100] return 0/0/0 async 0/0/0
    Oct 14 12:19:40 :: [    23150] return 0/0/0 async 0/0/0
    Oct 14 12:19:45 :: [    23200] return 0/0/0 async 0/0/0
    Oct 14 12:19:50 :: [    23250] return 0/0/0 async 0/0/0
    Oct 14 12:19:55 :: [    23300] return 0/0/0 async 0/0/0
    Oct 14 12:20:00 :: [    23350] return 0/0/0 async 0/0/0
    Oct 14 12:20:05 :: [    23400] return 0/0/0 async 0/0/0
    Oct 14 12:20:10 :: [    23450] return 0/0/0 async 0/0/0
    Oct 14 12:20:15 :: [    23500] return 0/0/0 async 0/0/0
    Oct 14 12:20:20 :: [    23550] return 0/0/0 async 0/0/0
    Oct 14 12:20:25 :: [    23600] return 0/0/0 async 0/0/0
    Oct 14 12:20:30 :: [    23650] return 0/0/0 async 0/0/0
    Oct 14 12:20:35 :: [    23700] return 0/0/0 async 0/0/0
    Oct 14 12:20:40 :: [    23750] return 0/0/0 async 0/0/0
    Oct 14 12:20:45 :: [    23800] return 0/0/0 async 0/0/0
    Oct 14 12:20:50 :: [    23850] return 0/0/0 async 0/0/0
    Oct 14 12:20:55 :: [    23900] return 0/0/0 async 0/0/0
    Oct 14 12:21:00 :: [    23950] return 0/0/0 async 0/0/0
    Oct 14 12:21:05 :: [    24000] return 0/0/0 async 0/0/0
    Oct 14 12:21:10 :: [    24050] return 0/0/0 async 0/0/0
    Oct 14 12:21:15 :: [    24100] return 0/0/0 async 0/0/0
    Oct 14 12:21:20 :: [    24150] return 0/0/0 async 0/0/0
    Oct 14 12:21:25 :: [    24200] return 0/0/0 async 0/0/0
    Oct 14 12:21:30 :: [    24250] return 0/0/0 async 0/0/0
    Oct 14 12:21:35 :: [    24300] return 0/0/0 async 0/0/0
    Oct 14 12:21:40 :: [    24350] return 0/0/0 async 0/0/0
    Oct 14 12:21:45 :: [    24400] return 0/0/0 async 0/0/0
    Oct 14 12:21:50 :: [    24450] return 0/0/0 async 0/0/0
    Oct 14 12:21:55 :: [    24500] return 0/0/0 async 0/0/0
    Oct 14 12:22:00 :: [    24550] return 0/0/0 async 0/0/0
    Oct 14 12:22:05 :: [    24600] return 0/0/0 async 0/0/0
    Oct 14 12:22:10 :: [    24650] return 0/0/0 async 0/0/0
    Oct 14 12:22:15 :: [    24700] return 0/0/0 async 0/0/0
    Oct 14 12:22:20 :: [    24750] return 0/0/0 async 0/0/0
    Oct 14 12:22:25 :: [    24800] return 0/0/0 async 0/0/0
    Oct 14 12:22:30 :: [    24850] return 0/0/0 async 0/0/0
    Oct 14 12:22:35 :: [    24900] return 0/0/0 async 0/0/0
    Oct 14 12:22:40 :: [    24950] return 0/0/0 async 0/0/0
    Oct 14 12:22:45 :: [    25000] return 0/0/0 async 0/0/0
    

     

    Logowanie poprawne:

     

    
    Oct 14 16:57:18 :: LOGIN_BY_KEY success test5 191784405 192.168.1.100
    Oct 14 16:57:18 :: RESULT_LOGIN: login success test5 rows: 1
    Oct 14 16:57:18 :: tescik5 459870 953805 hair 0
    Oct 14 16:57:18 :: [PLAYER_LOAD] Load from PlayerDB pid[747]
    Oct 14 16:57:19 :: QID_PLAYER 3 747
    Oct 14 16:57:19 :: SetPlay on 191784405 test5
    Oct 14 16:57:19 :: QID_ITEM 3
    Oct 14 16:57:19 :: ITEM_LOAD: count 0 pid 747
    Oct 14 16:57:19 :: QID_QUEST 3
    Oct 14 16:57:19 :: QUEST_LOAD: count 1 PID 747
    Oct 14 16:57:19 :: QID_AFFECT 3
    Oct 14 16:57:19 :: recved : HEADER_GD_BLOCK_COUNTRY_IP
    Oct 14 16:57:19 :: HEADER_GD_BLOCK_COUNTRY_IP received
    Oct 14 16:57:19 :: SendBlockedCountryIp start
    

     

    I to tez nie jest wina postaci bo juz to sprawdziłem(logowaliśmy się na tą samą postać)


  3. Serwer gier.

     

     

    Stawiam po prostu dwa rodzaje serwerów gier.

     

    Na jeden ludzie wchodzą no problemmo, na drugi mają problem, zaś ja po wewnętrznym ip wejdę.

     

    Czy mogę gdzieś do jakiegoś pliku dodać, żeby zawsze wpuszczał po danych ip do serwerów?

     

    1. Pierwsze ip, to jest moje zewnętrzne.

    2. Drugie ip to jest to co mój dostawca mi przydziela (takie wewnętrzne)

    3. A trzecie ip to jest takie jakie mój ruter przydziela mojemu komp #2

     

    Na którym stoją 2 różne(rodzaje) serwerów gier (nie jest w żaden sposób dzielony itd)

     

    Wydaje mi się ,że to ten drugi serwer na który ludzie nie moga wbic po zew. ip nie może tego pojąć,że serwer ma trzy rodzaje ip i wykrywa tylko to co mój ruter przydziela temu komp #2

     

    -- Jak mogę ustawić aby można było się łączyć z zewnątrz z bazą danych?


  4. Witajcie.

     

    Mam pewien problem.

     

    Najpierw przedstawie moje połączenie z internetem (mam zew. ip):

     

    internet -> router -> komp #1 + komp #2

     

    DMZ ustawione na komp #2.

     

    Na kompie 2, stawiam np. 2 serwery.

     

    Na 1 serwer ludzie bez problemu wchodzą (ja wchodze po ip, takim jakie ruter przydziela temu serwerowi, a ludzie wchodzą po zew. ip).

     

    Zaś na 2 serwerze ja wchodze przez ip które ruter przydziela temu #komp #2, zaś ludzie nie mogą się połączyć z zew ip.

     

    Do czego zmierzam:

     

    W niektóre programy nie akceptują połączeń z mojego zewnętrznego ip. Nie wiem ,może to jest wina jakiegoś netif czy coś takiego?

     

    System freebsd 9.0


  5. Przecież ten panel jest po polsku i za darmo? :o

     

    w /etc/bind mam tylko to co wiąże się z domeną:

     

    pri.elite-fighters.eu

    pri.elite-fighters.eu.

     

    Co do binda walnąłem całego reboota (więc zapewne musiał się przeładować)

    root@vz12308:/etc/bind# cat pri.elite-fighters.eu
    $TTL		3600
    @	   IN	  SOA	 ns1.elite-fighters.eu. mail.elite-fighters.eu. (
    					2012101101	   ; serial, todays date + todays serial #
    					7200			  ; refresh, seconds
    					540			  ; retry, seconds
    					604800			  ; expire, seconds
    					86400 )			; minimum, seconds
    ;
    
    elite-fighters.eu. 3600 A		91.228.197.30
    elite-fighters.eu. 3600	  MX	10   mail.elite-fighters.eu.
    elite-fighters.eu. 3600	  NS		ns1.elite-fighters.eu.
    elite-fighters.eu. 3600	  NS		ns2.elite-fighters.eu.
    mail 3600 A		91.228.197.30
    www 3600 A		91.228.197.30
    
    ns1 3600 IN A 91.228.197.30
    ns2 3600 IN A 91.228.197.30

     

    root@vz12308:/etc/bind# cat pri.elite-fighters.eu.
    $TTL		3600
    @	   IN	  SOA	 ns1.elite-fighters.eu.. mail.elite-fighters.eu. (
    					2012101101	   ; serial, todays date + todays serial #
    					7200			  ; refresh, seconds
    					540			  ; retry, seconds
    					604800			  ; expire, seconds
    					86400 )			; minimum, seconds
    ;
    elite-fighters.eu.. 3600 A		91.228.197.30
    elite-fighters.eu.. 3600	  MX	10   mail.elite-fighters.eu..
    elite-fighters.eu.. 3600	  NS		ns1.elite-fighters.eu..
    mail 3600 A		91.228.197.30
    www 3600 A		91.228.197.30
    

     

    Chyba o to Ci chodziło

     

    Aa. o te strefy Ci chodziło

     

    zone "elite-fighters.eu" {

    type master;

    allow-transfer {none;};

    file "/etc/bind/pri.elite-fighters.eu";

    };

     

     

    Tylko taka jest nie ma nowego wpisu.

     

    --

    Gdy dodałem nowe wpisy, tak ,że wykrywa już subdomene (metin2.elite-fighters.eu) to teraz problem polega na tym, że zamist pokazywać odpowiedniego katalogu pokazuje strone główną.


  6. Kolopik, wiem jak postawić ts3 ale potrzebuje informacji jak wrzucić pliki.

     

    Dlatego lubie mieć dostęp do wszystkich plików przez ftp.

     

    I szukałem problemu dot. subdomen w ispconfig znalazłem kilka ale żaden mi nie pomógł.

     

    - Dodałem subdomene w panelu odczekałem godzinke, ale hosta nie wykrywa.

    P.s jeszcze chciałbym aby ta subdomena czytała pliki z głowna_strona/web/subdomena


  7. To jak utworzyć użytkownika który może wrzucać wszystko wszędzie, ale żeby nie było problemu z uprawnieniami?

     

    i Czy "clamav" jest potrzebny i niezbędny ? Ciągnie sporo ramu.

     

    Oraz jak doinstalować usługe SSH2 do tego ispconfig? (Tak aby strony mogły korzystać z biblioteki ssh2)

     

    Dziękuje za pomoc pozdrawiam.


  8. Dzięki stawiam piwko bo pomogło.

     

    Tylko jeszcze jedna rzecz chce mieć dostep z zew do mysql.

     

    w tym celu

    /etc/mysql/my.cnf

    zakomentowałem bind-adress i niestety nadal nie moge wejśc na konto roota

     

    Dzięki stawiam piwko bo pomogło.

     

    Tylko jeszcze jedna rzecz chce mieć dostep z zew do mysql.

     

    w tym celu

    /etc/mysql/my.cnf

    zakomentowałem bind-adress i niestety nadal nie moge wejśc na konto roota

     

    Oraz jak w pureftpd zezwolić na dostęp roota?


  9. root@vz12308:~# cat /etc/bind/pri.elite-fighters.eu
    $TTL	    3600
    @	   IN	  SOA	 ns1.elite-fighters.eu. mail.elite-fighters.eu. (
    				    2012101101	   ; serial, todays date + todays serial #
    				    7200			  ; refresh, seconds
    				    540			  ; retry, seconds
    				    604800			  ; expire, seconds
    				    86400 )		    ; minimum, seconds
    ;
    elite-fighters.eu. 3600 A	    91.228.197.30
    elite-fighters.eu. 3600	  MX    10   mail.elite-fighters.eu.
    elite-fighters.eu. 3600	  NS	    ns1.elite-fighters.eu.
    elite-fighters.eu. 3600	  NS	    ns2.elite-fighters.eu.
    mail 3600 A	    91.228.197.30
    www 3600 A	    91.228.197.30
    


  10. Tak jest w konfiguracji bind

     

    /etc/bind/named.conf

     

    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local
    
    include "/etc/bind/named.conf.options";
    include "/etc/bind/named.conf.local";
    include "/etc/bind/named.conf.default-zones";

     

    /etc/bind/named.conf.local

    zone "elite-fighters.eu" {
    	type master;
    	allow-transfer {none;};
    	file "/etc/bind/pri.elite-fighters.eu";
    };

     

    W strefie DNS

    dodałem wpis:

    strefa SOA: elite-fighters.eu.

    NS: ns1.elite-fighters.eu.

    email: mail.elite-fighters.eu.

    reszta standardowo, a w ovh ustawiłem ns1.elite-fighters.eu ns2.elite-fighters.eu oraz podałem IP mojego vps


  11. Witajcie.

     

    MAm skrypt który zabija screena + dziecko (samo zabicie screena mnie nie obchodzi bo proces tez musi padać)

     

    Z tym ,że nie zawsze dziecko to id screena+1..

     

    I własnie dzisiaj się o tym przekonałem.

     

    Jedyne co różni się w tych screenach to ich nazwa, ale mam kilka takich samych screenów które uruchamiają te same nazwy programów (jednak w różnych miejscach na dysku)

     

    O to mój obecny skrypt:

     

    NAZWA=`screen -list | grep jail | cut -d . -f1`
    NAZWAA=`expr $NAZWA + 1`
    kill -3 $NAZWA
    kill -9 $NAZWAA


  12. Super działa ,bym liznął łapke w góre jednak mam jeszcze za mało postów.

     

    Potrzebuje jeszcze programu do wyciągnięcia pełnej mocy z procesora.

     

     

    I w zasadzie tyle , dziękuje bardzo.

     

    //skrypt nie jest bezpośrednio w usr ścieżka jest dalsza z tym ,że nie chciało już mi się pisać :P - Leniwość ludzka cecha


  13. Hello.

     

    w

    start.sh

    mam coś takiego:

     

    
    cd ..(wejscie do katalogu)
    screen -A -m -d -S nazwa ./run -cos
    
    

     

    Gdy zrobie ./start.sh elegancko się uruchamia. Jednak jak chce dodać aby uruchamiał się ten skrypt przy każdym uruchomieniu serwera w tym celu

    /etc/crontab 

     

    @reboot /usr/start.sh

     

    I niestety nie startuje a jeszcze

    /var/log/cron

    wywala:

    Oct  7 21:55:00 Dram /usr/sbin/cron[1476]: (root) CMD (/usr/libexec/atrun)
    Oct  7 22:00:00 Dram /usr/sbin/cron[1494]: (root) CMD (newsyslog)
    Oct  7 22:00:00 Dram /usr/sbin/cron[1495]: (operator) CMD (/usr/libexec/save-entropy)
    Oct  7 22:00:00 Dram /usr/sbin/cron[1496]: (root) CMD (/usr/libexec/atrun)

     

    p.s Gdyby był to nie odpowiedni dział to najmocniej przepraszam i prosze o przeniesienie.

    p.s2 Poszukuje jeszcze jakiegoś programu na freebsd abym mógł wyciągnąć pełną moc z procesora (chce go przetestować)

×