Jump to content

tvlad

Members
  • Posts

    128
  • Joined

  • Last visited

Profile Information

  • Location
    Bucharest, Romania

tvlad's Achievements

frequent

frequent (3/7)

0

Reputation

  1. I'm on a lan made of 16 computers connected with switches. Five of us agreed to share a net connection. Some time ago i made an old pc on which i installed linux act as a server, and since we only have one external ip, it does both masquerading, and serves as a firewall, for both outside, and inside the network, by denying people who are in our lan but don't pay access to the net. Though what i found out quite recently made me think on how i could prevent something like this. I found out that if you first change your mac address and then your ip, even if someone with the same ip and mac is on the network, he won't get an ip conflict message, and what i want to ask, is how can i stop someone doing this from being able to use the net. One way would be with manageable switches, where i'd assign a mac for each port, but i HOPE there is another way, since we don't have programable switches.
  2. I took the fw from the Ip masquerading howto and i blocked those that i didn't want to have net in our lan by their mac addresses, i allowed myself and a couple of others by our mac addresses and then i blocked everyone by using ip ranges. #------------BLOCK BY MAC ADDRESS----------------------- $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -m mac --mac-source 00:A0:D2:A4:91:25 \ -d $UNIVERSE -j DROP #CONTE #--------------ALLOW NET ACCESS------------------------- $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -m mac --mac-source 00:02:44:41:1E:DB \ -d $UNIVERSE -j ACCEPT #VLAD #-------------BLOCK EVERYONE ELSE---------------------- $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -s 192.168.0.0/16 -d $UNIVERSE -j DROP $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -s 172.16.0.0/12 -d $UNIVERSE -j DROP $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -s 10.0.0.0/0 -d $UNIVERSE -j DROP $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -s 169.254.0.0/8 -d $UNIVERSE -j DROP UNIVERSE="0.0.0.0/0" Is the order in which i block and allow a good one ?, And another question, would smth like -m mac --mac-source **:**:**:**:**:** block all possible mac addresses.If not, how could i do that ??? Should i remove this line # anything else outgoing on remote interface is valid # $IPTABLES -A OUTPUT -o $EXTIF -s $EXTIP -d $UNIVERSE -j ACCEPT
  3. I got all my speakers working, i just played arround with the controls on the alsamixer.( thx for the help) Do you have any idea why i can't hear my central speaker in windows while listening mp3s, because in linux i can hear it.
  4. I'll do that, but if audigy has 5.1 channel support, shouldn't this be true for Audigy 2 as well ?
  5. I've recently installed Mdk 9.2 and i chose the alsa driver for it.After i used the mixer in kde i was able to hear sound, but only on the two front speakers. Why is that ? The remaining channels are muted and the mixer in kde doesn't show'em, or the driver doesn't support 5.1 sound ???
  6. I want to setup a vpn server that will authenticate the clients that are connecting to it against an active directory running in Windows 2000. How can i do that, cause i have 0 ideas.
  7. Well, to answer the question myself :D, it's really easy -u just create a new user, login with that new user, mail and that's it, you have a new account
  8. I just finished installing and configuring postfix, still there are many things that i don't know, the most important being : How do i create mail accounts on my new, shiny postfix ????
  9. tvlad

    pam question

    Yup, the documentation has arrived, now if i pass my physics exam tommorow i'll be REALLY happy and i'll start reading the docs. UPDATE: I did pass my exam, after learning for about five days :(, now i have time for my linux and bsd experiments, if only i'd make Solaris 9 x86 to work it would make my day.
  10. tvlad

    pam question

    Now that would be nice, thx.
  11. tvlad

    pam question

    Unfortunately, the only mdk at my disposal is our lan's server, and it doesn't have the pam documentation, guess i'll try google.
  12. tvlad

    pam question

    Could you be a bit more specific, cause you gave me too many links, really.
  13. tvlad

    pam question

    I looked through the files in /etc/pam.d/ and in passwd i saw this at the end of several lines : service=system-auth, what does it do, cause i have no idea.
  14. Tell, why have both /etc/modules and modules.conf, because they do the same thing, what modules you put into /etc/modules will be loaded at startup, the same with /etc/modules.conf, so why have two files that do the same thing ??????
  15. tvlad

    tcp wrappers

    That is the syntax of tcpwrappers.For example, if i add this to hosts.allow : ALL EXCEPT in.ftpd: 123.123.123.1 would allow this ip to use all services except ftp.What i want to know is why does fptd start with "in." in the syntax and if this is also the case with sshd.If i wanted to allow all but ssh, should i do like this : ALL EXCEPT in.sshd: 123.123.123.1 OR ALL EXCEPT sshd: 123.123.123.1
×
×
  • Create New...