Re: [CentOS] IPTABLES question
James B. Byrne writes: > > Would someone please explain to me the difference in effect between > the following two IPTABLES conditions and the significance thereof in > concurrent connection limiting? > > --tcp-flags SYN,ACK,FIN,RST SYN -j REJECT \ > --connlimit-above 3 --connlimit-mask 32 > > --state NEW -j REJECT \ > --connlimit-above 3 --connlimit-mask 32 > Your first example will review only TCP packets and ensure out of SYN,ACK,FIN, and RST the only flag set is SYN (it doesn't care about the URG flag). The --state NEW example on the other hand matches ANY new packet. This will capture protocols including OSPF, UDP, etc.. An easy way to see what it captures is to set the target to LOG: [13982781.141620] IN= OUT=homework0 SRC=192.168.254.2 DST=224.0.0.5 LEN=84 TOS=0x00 PREC=0xC0 TTL=1 ID=64815 PROTO=89 [13982784.953439] IN= OUT=br0 SRC=192.168.2.206 DST=8.8.8.8 LEN=63 TOS=0x00 PREC=0x00 TTL=64 ID=65012 PROTO=UDP SPT=58492 DPT=53 LEN=43 I hope that's of help to you, Matthew Gillespie CTI Networks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] plug in phones, speaker does not mute.
Fred Smith writes: > > Hi all! > > Using C6 on an Asus M5A99X EVO R2.0 motherboard with AMD six core FX6300. > That board uses Realtek ALC892 audio chipset. > > For the first time since I got that motherboard I tried plugging in > headphones to the front panel speaker output. I was somewhat displeased > to note that the speakers don't mute when that happens. > > I recall seeing info on that in Fedora, but not Centos, and haven't > so far scared up how to troubleshoot it. > > I can MANUALLY change the setting in sound preferences, which offers > only two choices: "Analog Output" and "Analog Headphones". > > Suggestions will be welcomed! > > Fred Might have a look at amixer and see if you have an option you can alter similar to: Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker' Item0: 'Line Out+Speaker' And see if you can set it ala: /usr/bin/amixer -c0 set "Auto-Mute Mode" "Line Out+Speaker" -Matthew Gillespie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos