Sunday, March 13, 2011

FreeBSDipfilter serious problem


I do for a client firewall (FreeBSD (p23) + ipfilter 3.4.33pre2) die every day several times, and every time without any response and in the case of output dead, made me a good no face. I have not found the problem lie.
This is the website a few days in Ipfilter mailing list to see a man run into the same situation with me, reads as follows:
Using FreeBSD 4.9-STABLE + ipfilter 3.4.33pre2
If I have ipf rules like:
block return-icmp (port-unr) in log quick on xl0 proto udp from any to any port = 111
attempts to connect to that port cause the sytem to freeze instantly, no crash dumps, no errors etc.
The same happens using
block return-icmp-as-dest ........
I haven''t seen anything like this in recent archives.
What can I do to further debug this?

We can make a simple test:
Suppose the firewall for the A, workstation B.
Rules file in your ipf.conf the top of the inclusion of such a rule:
block return-icmp-as-dest in quick on fxp0 proto udp from any to any port = 53

Where fxp0 is the interface you want to test, modify according to your own situation.
Then in another computer B on the DNS set to test this station's IP address of the firewall A, B, run nslookup, random check of several domain names, search a few times more, and you will see a firewall A in the absence of any Information output at once to freeze, crash. Terrible, Pepsi Braun. Even if your ipf.conf not the rule in exceptional circumstances will this phenomenon, I tried 3.4.33pre1-pre3 have this wrong, is said to 3.4.32, 3.4.31 as if no such problems. It was released a patch, I tried and effective. I attach this patch has been ipfilter on recognition, you can rest assured that use.


Index: ip_fil.c
================================================== =================
RCS file / home/cvs/firewall/firewall/usrlocal/ipfilter34/ipfilter3433/ip_fil.c, v
retrIEving revision 1.3
diff-u-r1.3 ip_fil.c
--- Ip_fil.c 17 Dec 2003 12:33:56 -0000 1.3
+ + + Ip_fil.c 22 Dec 2003 11:23:28 -0000
@ @ -1285,7 +1285,7 @ @
frn.fin_ifp = fin-> fin_ifp;
frn.fin_v = fin-> fin_v;
frn.fin_out = fin-> fin_out;
- Frn.fin_mp = fin-> fin_mp;
+ Frn.fin_mp = mp;

ip = mtod (m, ip_t *);
hlen = sizeof (* ip);
@ @ -1465,7 +1465,13 @ @
# Endif

if (avail) (
+ Slen = oip-> ip_len;
+ Oip-> ip_len = htons (oip-> ip_len);
+ Soff = oip-> ip_off;
+ Oip-> ip_off = htons (oip-> ip_off);
bcopy ((char *) oip, (char *) & icmp-> icmp_ip, MIN (ohlen, avail));
+ Oip-> ip_len = slen;
+ Oip-> ip_off = soff;
avail -= MIN (ohlen, avail);
)

@ @ -1486,10 +1492,6 @ @
) Else
# Endif
(
- Slen = oip-> ip_len;
- Oip-> ip_len = htons (oip-> ip_len);
- Soff = oip-> ip_off;
- Oip-> ip_off = htons (ip-> ip_off);

ip-> ip_src.s_addr = dst4.s_addr;
ip-> ip_dst.s_addr = oip-> ip_src.s_addr;
@ @ -1509,13 +1511,7 @ @
fin-> fin_hlen = hlen;
err = send_ip (oip, fin, & m);
fin-> fin_hlen = shlen;
- # Ifdef USE_INET6
- If (fin-> fin_v == 4)
- # Endif
- (
- Oip-> ip_len = slen;
- Oip-> ip_off = soff;
-)
+
return err;
)










M4A to MP3 Converter



DVD to MPG



Wizard Personal Interest



My favorite Games Kids



Failure From Shutdown Trouble



MOD Converter



VBScript ReDim statement



Recommend Office Suites And Tools



Prerelease download ATi Catalyst 5.5



First job out OF the ivory tower beginning how the election



bridge router FUNCTIONS of the vlan classification



Friday, March 11, 2011

Recommendations addressed to Yang



February 5, Lenovo Group announced that founder and director of Liu will be re-served (non-executive) Chairman of the Board, the current Chairman Yang transferred to CEO.

Liu to get back is a lot of media attention. But Lenovo is, the personnel changes of the most important is the Yang and return to his best at the job, Lenovo has one of the most suitable CEO, as CEO of Yang has also been the most conducive to his director role Chairman of the Board as a backup. At this point, Yang truly become the heart of Lenovo Group and the first drive.

As a close to the market, familiar with the business, cost control and supply chain management class, style upright, reward and punishment, execution, powerful corporate leaders in the PC field, Yang is a fast, efficient synonymous, he served as CEO is a Legend very appropriate thing. But on Dec. 8, 2004 acquisition of Lenovo and IBM signed a definitive agreement for IBM PC business, the clear association that he will serve as Chairman of the Board. May 1, 2005, completed the acquisition, he formally take over Liu's Chairman of the Board position. The past four years, Yang more background in IBM and DELL 鏂拏鑺矁寰?background Lenovo CEO William Amelio office next to the two make plans, coordinate communication can not be enforced vigorously, they can not concentrate and secondary taste unbearable.

Of course, when the acquisition of IBM PC business case perspective, to make a just-off in the Chinese market exposure and global business leaders featuring the company's CEO, and the international board of directors of color is very strong support, but also to ensure that the the approval of the acquisition was United States, "Liu Yang with" may not be feasible, the result can only be "Liuyang back", Liu quit the Board of Directors Chairman, Yang out of CEO.

After almost four years, "Liu Yang with" finally reproduce, but face serious challenges in front of Lenovo, which makes somewhat sentimental. In recent years, Liu has been carefully cultivated Legend Holdings, the original plan to participate in the recently released McKinsey formulated plans for future development. He has rarely spoken Lenovo, Yang is also the concern of the hidden expectations, even if it sometimes is not explicitly concerned, the idea of more moved in bid for county commissioner. He has repeatedly admitted that "IT thing I read several years ago is not clear, mainly Yang them to do", "Lenovo's decision-making is hard work and it is true, I see clearly what will be their the final say it? "brought back to the Lenovo Group, and Liu, only the pressure and responsibility, can never be a" hometown celebration, but also on my "self-hi.

The association is a difficult call, as well as create a good environment for Yang responsibility for Liu back at it. Lenovo is his life, a critical situation is embodied in his bosom.

While Yang is, today he is standing re-write the history of a new starting point. Lenovo's PC, he created a miracle, he led the acquisition of IBM PC, now in his third career major event, it is to build Lenovo into a great world-class competitive company. The mission may have to exhaust all his wisdom and efforts, but he had no choice. Over the past four years has proven that the CEO and the mother of foreign background "very Chinese" companies combined, is very difficult. Some may question the "Legend After asking to do one's fellow CEO", but in turn, can be said that Lenovo can cause as a lifelong pursuit, spare no efforts to woe, the core leaders of the physical and mental tied, may be outside you born? in such a competitive global market, as a research and development is not dominant, not dominant brand value, emerging companies, even if a strong fighting spirit, and cultural forces have lost, but the same content and competitors " conventional warfare, "" conventional way ", winning is almost sure to have?

Lofty goal of the task is arduous, but today's Yang, the refinement of practice after four years of globalization, the quality is also greatly improve. We look forward to his leadership in the association to create new brilliance, I hope his CEO post to further enhance the leadership level.

First, as a vigorous and resolute leader, though, "eager to go home," but must be calm, after assuming office. If you use strong medicine, they should carefully assess and thoughtful, to distinguish what is a structural problem, which is a cyclical problem, which is a systemic problem, which is the human resource issues, which can improve short-term problems, which require long-term solution. Do not fall for a moment to negate the performance, the negative effective things. While short-term performance improvement, with particular attention to innovation can not ignore the long-term value of R & D attention.

Second, as a leader strives for efficiency, although to be results-oriented, accountable for performance, but it must be the work of a man on a very important position, as well the company's "first personnel manager." Old Legend's success is the team's success, Yang then nurtured "18 Pine" shall cases. But found people, selecting people, training people is a never-ending process, but also the Times. The new Lenovo will need to train more leaders, which requires both ideological importance, but it takes effort. If only looking at things and performance, neglect of human development, the company's long-term development will be detrimental.

Third, as a focus on industry and business leaders, although the focus should adhere to the principle of distractions, but must always maintain an open attitude toward learning. For example, a greater emphasis on interaction, affinity, novelty, surprise, the era of simple, Lenovo's brand faces the younger generation of consumers how to contact challenge, log on Lenovo's website, seems too hard, vitality and attractiveness of the not enough to look at this in depth, or "stick to the inertia." Again, more good than with the industry insight communication companies and often get inspiration and new knowledge, but only to realize that this is not "wasted time." So on, are reminded Yang, timely for its "air of a space" is necessary. Excellent often stubborn, success is often deposition, "empty", to get the new "there."

Finally, as a global corporate leaders, although the association pay more attention to China's business, but must always adhere to the vision of globalization and to explore in the global market. Methods may change, but the direction can not change. Yang returned to CEO position, not to return to the past his own shadow, the opposite, he wants to start a new departure.

In the global context of financial crisis, Yang's new departure is not easy. However, Liu in the post, Yang will not have binding the hands of the cramped, as long as the look on the road, you can step forward. "Liuyang with", from the age and qualifications, it seems that with Liu Yang is, but the responsibility and role of view, the allocation is based on Liu Yang, a 64-year-old 44-year-old Yang Liu to do with, do backup, do echo.

In 1989, Yang joined the leadership of Liu founded in 1984, Lenovo. Yang Liu Yiyi 20 years. 20 years later, Lenovo will go far, will depend on the ability of Yang's self-transcendence how strong.











Qicktime To WMV



the amazon kindle 2 review



College student hidden hard to guarantee the right to life and health worries



Infomation Components And Libraries



Icons Shop



Using De exterminate rabbits annoying ads RMVB movies



evaluation NATURE - Screen Savers



M4V to MPG



MPG to FLASH



VBScript ReDim Statement



Prerelease Download ATi Catalyst 5.5



Themes And Wallpaper Brief