Jump to content

seeno

Members
  • Content Count

    58
  • Joined

  • Last visited

Posts posted by seeno


  1. well, if undergroundinfection.net points to /usr/local/www/mysite using virtual vhosts, then you can make the directory /usr/local/www/mysite/uinmail and add this to httpd.conf

     

    <VirtualHost *:80>
    ServerName mail.undergroundinfection.net
    DocumentRoot /usr/local/www/mysite/uinmail
    </VirtualHost>


  2. From slashdot:

     

    iliketrash writes "The Wall Street Journal has a long front-page article

    describing how Jim Allchin approached Bill Gates in July, 2004, with the

    news that then-Longhorn, now-Vista, was '[0]so complex that its writers

    would never be able to make it run properly.' Also, the article says,

    'Throughout its history, Microsoft had let thousands of programmers each

    produce their own piece of computer code, then stitched it together into

    one sprawling program. Now, Mr. Allchin argued, the jig was up. Microsoft

    needed to start over.' And start over they did. The article is

    astonishing for its frank comments from the principles, including Allchin

    and Gates, as well as for its description of Microsoft's cowboy spaghetti

    code culture."

     

    Thought this is big so if anyone didn't know. The funny part is that the code was "so complex" :P


  3. as far as i know, afraid.org doesn't delegate free subdomains.. if you want to use your dns server, you have to assign your dns servers to be the primary servers for that host, if seeno.net points to 10.0.0.1, that doesn't mean that when anyone tries to find www.seeno.net it will query 10.0.0.1, hope you get my point :P

     

    if that's not the case and i got it wrong, try opening port 53 udp and tcp for incoming connections and see what happens, and if your box is behind a router/firewall (external) forward port 53 tcp/udp to the internal ip


  4. ok, this is a new one, it seems that this forum (site look and feel, suggestions, problems, whatever..) is having it's own pattern, you posted a reply and the forum icon didn't "light", you know, it didn't have solid colors, but when i'm in that forum the topic is "lit" (solid colors).

     

    now this is only for the (site look and feel, suggestions, problems, whatever..) forum, on other forums here's what happens..

     

    i type the url in my browser, look for new posts in the main index, click the forum that has a new post, look for the topic that has the new post, click it, read read read, click the forum index link (linux-noob.com/forums) and i'm sure there are no other new topics and/or posts in that forum, but the forum index shows a lit icon next to the forum i just read.

     

    i would attach a video to make it clear but that would be over reacting. :P


  5. well, for as long as i can remember when a new message is posted the "new post" forum icon appears (more color), well, when i read the new post(s) and go strait back to the index the forum icon still appears as there are new posts, i have to click on the specified forum and then go back to the index for it to disappear.

     

    (not so important, i agree, but i'm obsessed with details :P)


  6. X is probably not configured, in my fedora box i didn't need to configure it, but in my freebsd box /etc/X11/xorg.conf was missing.. just run

    Xorg -configure

    (that's if your running Xorg), it will create a file called xorg.conf.new or something like that.

    that configuration file is what Xorg thinks is the best, copy it to /etc/X11/xorg.conf and tweak it as you like.

  7. Hi


    nop, i have it on my P3 laptop,  forgot the cpu's GHz, but it's between 2.5-7.. gnome (the graphical user interface) runs smoothly and pretty fast, oh, and that's with 512 MB of RAM, it realy depends on your RAM+CPU.. and you could use a lightweight GUI like blackbox or fluxbox.

     

    What would you say is the minimum of ram? before lagging? im running 256mb what you think? regards L150 :huh:

    sorry i took so long to reply, didn't notice there were new posts.

    256 MB of RAM is the recommended amount for the graphical fedora install the minimum amount for a graphical install is 192 MB, take a look at the fedora core 4 release notes.

    These numbers are taken from the release notes of the fedora core 4 distro.


  8. well, not exactly. but i see your point, the thing is users won't notice they left the site since the login form can be integrated in the site (so you have to visit the site if you want to login) and when they sign out it will redirect them to the originating site, and some other stuff.


  9. well, there's a free webmail service, gawab.net so you wouldn't have to worry about setting up the service on your machine, for free, they give you 4mb space for each user, which i think is unlimited, but i doubt it, but you have to pay for pop3 access.. i have the service running for my domain if you want to check it out.

  10. Hi


    nop, i have it on my P3 laptop, forgot the cpu's GHz, but it's between 2.5-7.. gnome (the graphical user interface) runs smoothly and pretty fast, oh, and that's with 512 MB of RAM, it realy depends on your RAM+CPU.. and you could use a lightweight GUI like blackbox or fluxbox.


  11. <?php
    $reqhost = $_SERVER['HTTP_HOST'];
    $proxy = $_SERVER['HTTP_X_FORWARDED_FOR'];
    $ipaddr = $_SERVER['REMOTE_ADDR'];
    $revdns = $_SERVER['REMOTE_HOST'];
    $final = "";
    if ($revdns) {$final = $revdns;}
    else {$final = $ipaddr;}
    if ($proxy) {
           $final = $proxy;
           $prxyhost = gethostbyaddr($_SERVER['HTTP_X_FORWARDED_FOR']);
           if ($prxyhost) {$final = $prxyhost;}
           }
    echo"your ip/revdns is $final";
    ?>

     

    this little script will check if there's a proxy by checking if there is a X_FORWARDED_FOR in the header (which contains the client's ip) and will try to get the reverse dns of that ip, if there's no revdns, it prints the ip, if there's no X_FORWARDED_FOR, it will try to get the reverse dns of the remote ip (REMOTE_HOST), if there's no revdns, it will print the ip (REMOTE_ADDR).


  12. Ok, if your behind a router and your DMZ'd box is running linux, (AFAIK a DMZ'd box is a box that all the external tcp/udp ports are forwarded to from the router, that and icmp), and you want to forward a port from your DMZ'd box to another internal (aka private) IP, this is the tut for you.

     

    iptables -t nat -A PREROUTING -p tcp --dport $Port-to-forward -j DNAT --to-destination $Internal-IP
    
    iptables -t nat -A POSTROUTING -p tcp -d $Internal-IP --dport $Port-to-forward -j SNAT --to-source $DMZ-Internal-IP
    
    iptables -P FORWARD ACCEPT

     

    Where $Port-to-forward is the port you want forwarded, and $Internal-IP is the Internal IP you want the port forwarded to, and $DMZ-Internal-IP is the DMZ'd box's Internal IP.

     

     

    #

    # Explanation

    #

     

    What the first command does is when a packet is recieved it checks if the destination port is $Port-to-forward, and if it is it changes the destination IP of the packet's header from the DMZ'd IP to $Internal-IP.

     

    So now we have a packet's destination to $Internal-IP, and a source of whatever. (So when $Internal-IP wants to send the packet back it will send it through the

    gateway with the source IP of whatever, aka the *real* remote IP and the gateway will send it back to the DMZ'd box, wich is $DMZ-Internal-IP.) We're half there.

     

    Now, first of all the text between the () will not happen if the second command is put, what the second command does is match the packet to see if the

    destination is $Internal-IP and the destination port is $Port-to-forward, then it will change the *source* IP from the remote host to $DMZ-Internal-IP, so the packet comes back to the DMZ'd box so that it could re-route it.

     

    EDIT: The last command sets the default policy of FORWARD to ACCEPT

     

    And I think you should

    echo 1 > /proc/sys/net/ipv4/conf/all/forwarding && echo 1 > /proc/sys/net/ipv4/ip_forward

    to enable forwarding.

×
×
  • Create New...